L3odr0id f84461a7d2 wip | hai 1 mes | |
---|---|---|
.. | ||
.yarn | %!s(int64=2) %!d(string=hai) anos | |
src | hai 1 mes | |
test | hai 10 meses | |
.gitignore | hai 1 ano | |
.yarnrc | %!s(int64=2) %!d(string=hai) anos | |
.yarnrc.yml | %!s(int64=2) %!d(string=hai) anos | |
LICENSE | %!s(int64=3) %!d(string=hai) anos | |
README.md | %!s(int64=2) %!d(string=hai) anos | |
babel.config.js | hai 1 ano | |
package-lock.json | hai 1 mes | |
package.json | hai 1 mes | |
tsconfig.json | hai 1 ano | |
webpack.config.js | hai 1 ano | |
yarn.lock | hai 1 mes |
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.