L3odr0id 4456a3132e lock files | 2 лет назад | |
---|---|---|
.. | ||
.devcontainer | 2 лет назад | |
dist | 2 лет назад | |
src | 2 лет назад | |
test | 3 лет назад | |
.gitignore | 3 лет назад | |
LICENSE | 3 лет назад | |
README.md | 2 лет назад | |
babel.config.js | 2 лет назад | |
package-lock.json | 2 лет назад | |
package.json | 2 лет назад | |
tsconfig.json | 2 лет назад | |
webpack.config.js | 2 лет назад | |
yarn.lock | 2 лет назад |
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.