L3odr0id 6d67ad9158 Some test | 1 éve | |
---|---|---|
.. | ||
.devcontainer | 1 éve | |
.yarn | 2 éve | |
src | 1 éve | |
test | 1 éve | |
.gitignore | 2 éve | |
.yarnrc | 2 éve | |
.yarnrc.yml | 2 éve | |
LICENSE | 4 éve | |
README.md | 2 éve | |
babel.config.js | 2 éve | |
package-lock.json | 1 éve | |
package.json | 1 éve | |
tsconfig.json | 2 éve | |
webpack.config.js | 2 éve | |
yarn.lock | 1 éve |
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.