We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Simply using @polkadot/api as a dependency in a project with @cennznet/api seems to cause type decoding issues at runtime.
@polkadot/api
@cennznet/api
By setting a common version for @polkadot/metadata it fixes the issues
@polkadot/metadata
{ //.. "dependencies": { "@cennznet/api": "^1.3.2", "@polkadot/api": "^2.7.1" }, "resolutions": { "@polkadot/metadata": "2.7.1" } // .. }
simple initialization fails:
// test.js const { Api, WsProvider } = require('@cennznet/api'); let provider = new WsProvider('ws://example.com:9944');
Not sure this is a true bug but leaving here as reference
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Simply using
@polkadot/api
as a dependency in a project with@cennznet/api
seems to cause type decoding issues at runtime.By setting a common version for
@polkadot/metadata
it fixes the issuessimple initialization fails:
Not sure this is a true bug but leaving here as reference
The text was updated successfully, but these errors were encountered: