Conversation
Reworded some sections for clarity Added npm installation example Updated code example to work with wasm-node Removed reverences to didkit-neon as I could not find a package by this name to install via npm.
docs/didkit-packages/Node.md
Outdated
|
|
||
| - [WASM](https://github.com/spruceid/didkit/tree/main/lib/web) | ||
| - [Neon](https://github.com/spruceid/didkit/tree/main/lib/node) | ||
| - [WASm-node](https://github.com/spruceid/didkit/tree/main/lib/node) |
There was a problem hiding this comment.
Could there be some confusion around the Neon version and the node specific WASM package?
There was a problem hiding this comment.
I could only find 2 versions to install via npm, the WASM version, and the node specific version. I could not find a third neon version to install.
There was a problem hiding this comment.
It's this one https://www.npmjs.com/package/@spruceid/didkit
There was a problem hiding this comment.
Thanks @sbihel. I tried to install it via 'npm install @spruceid/didkit' and got errors. Attached is the npm error log. I don't have time at the moment to debug, but will look when I get a chance. Am open to ideas/suggestions. TIA
2022-03-09T21_53_08_161Z-debug-0.log
There was a problem hiding this comment.
I see, looks like the Neon version doesn't support Windows. I think you can drop the PR for now, we'll have to decide internally what to do with the Neon version and the other packages.
There was a problem hiding this comment.
Thanks. I'll try it out on Windows WSL also when I get a chance. See if I get the same/similar errors.
There was a problem hiding this comment.
Also go errors when trying to install "@spruceid/didkit" on Windows WSL (Ubuntu). I think I'll make one more update to Node,md to clarify what works on Linux and what works on Windows.
Fixed example JavaScrip code to properly handle the promise returned by keyToVerificationMethod. Also fixed minor typo in ## Code section
Reworded some sections for clarity
Added npm wasm-node installation example
Updated code example to work with wasm-node
Removed reverences to didkit-neon as I could not find a package by this name to install via npm.