shawn f95d86d002 bump polkadot-js/api 12.4.2 | il y a 2 mois | |
---|---|---|
.. | ||
.yarn | il y a 2 ans | |
src | il y a 4 mois | |
test | il y a 10 mois | |
.gitignore | il y a 1 an | |
.yarnrc | il y a 2 ans | |
.yarnrc.yml | il y a 2 ans | |
LICENSE | il y a 3 ans | |
README.md | il y a 2 ans | |
babel.config.js | il y a 1 an | |
package.json | il y a 2 mois | |
tsconfig.json | il y a 1 an | |
webpack.config.js | il y a 1 an | |
yarn.lock | il y a 2 mois |
Wrap @polkadot-js/api
to provide APIs for polkawallet/sdk.
@polkadot-js/api: ^7.9.1
To build:
yarn install
yarn run build
To test:
open ./test/index.html
in chrome.
open chrome dev console and run runTests().then(console.log)
polkadot-js/api
hackconnectWithRetry()
in node_modules/@polkadot/rpc-provider/ws/index.js
to avoid auto-connect.packageInfo.path
in node_modules/@polkadot/api/packageInfo.js
to avoid Invalid URL
issue in webview.bn.js: 4.12.0
to avoid this issue.