L3odr0id 45564145bc fix: set right method | il y a 3 mois | |
---|---|---|
.. | ||
.devcontainer | il y a 1 an | |
.yarn | il y a 2 ans | |
src | il y a 3 mois | |
test | il y a 2 ans | |
.gitignore | il y a 2 ans | |
.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 2 ans | |
package-lock.json | il y a 1 an | |
package.json | il y a 1 an | |
tsconfig.json | il y a 2 ans | |
webpack.config.js | il y a 2 ans | |
yarn.lock | il y a 1 an |
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.