hub-node-core
hub-node-core copied to clipboard
Cypto library deprecated
When I run the project in VScode it provides the following errors and exits the application. About googling the information I have to make changes to the codebase with the changes in the crypto wallet. Can someone help with this issue? How can I run this? Or should I get a pull request and fix this issue with the proper working around the deprecated codebase?

@codeglobally @alundeen is there something we can do to help Abdul while the requisite pieces are added that allow folks to run/contribute to Hub development?
Hi Abdul - These warnings are currently known but shouldn't be causing a crash.
Are you able to run the tests locally (npm run test)?
Please note that this repo is only a library and can't be run independently. Typically you would need to write your own server to accept requests (e.g. using Express or Koa or similar) and then pass the request buffer to the Hub.handleRequest() method of this library.
We're planning to release an example of this soon that can be cloned and run directly for an easier way to get started.
(That said, if you'd be interested in submitting a PR to properly work around the deprecated calls, we'd be happy to review it. I believe the warnings are originating from the did-auth-jose library so the fix would probably need to be made in that repo).