pokt-network / pocket-js-web3-provider

Pocket JavaScript Web3-Provider
MIT License
3 stars 1 forks source link

📦 Support more node versions #42

Closed dawsbot closed 2 years ago

dawsbot commented 2 years ago

This package should compile properly on node 14 (and likely all newer versions).

I reached this conclusion by originally trying to run yarn test in frontend on https://github.com/pokt-network/pocket-dashboard

Unfortunately, the tests in this repo fail from the beginning with "(node:18300) UnhandledPromiseRejectionWarning: Error: Failed to send dispatch request with error: connect ECONNREFUSED 127.0.0.1:8081 at new RpcError (/Users/dawsonbotsford/code/scratch/pokt/pocket-js-web3-provider/node_modules/@pokt-network/pocket-js/dist/rpc/errors/rpc-error.js:50:28" but this version change does not seem to be an issue