Replies: 2 comments 2 replies
-
Looking at the xml-crypto docs, there is an indeed a method named https://www.npmjs.com/package/xml-crypto You should review the versions of passort-saml, node-saml, xml-crypto and xpath that you are using. If you are reading docs online, you may viewing docs for a different version of one of these modules than what you are actually running. |
Beta Was this translation helpful? Give feedback.
2 replies
-
Looks like I am not the first person to notice this. I had looked in issues for other people having this problem but I did not look in discussions. #496 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
When I look in your examples in the README file I see the following line:
However, when I use this code I get an error about
select
not being a function. When I look into the code it appears that xpath is not being exported soselect
isundefined
.Is this a mistake in the example or a mistake in the code. I am seeing a lot of other issues where people are using
require("xml-crypto").xpath
but seemingly not having the same issue I am. I tried to look through the commit history to see if maybe it was being exported in a previous version but I didn't spot it (yet). Maybe I am just doing something wrong, not sure.Beta Was this translation helpful? Give feedback.
All reactions