L3odr0id 48c86bd7d0 Try release 0.5.4 | 1 gadu atpakaļ | |
---|---|---|
.. | ||
.yarn | 2 gadi atpakaļ | |
src | 1 gadu atpakaļ | |
test | 2 gadi atpakaļ | |
.gitignore | 1 gadu atpakaļ | |
.yarnrc | 2 gadi atpakaļ | |
.yarnrc.yml | 2 gadi atpakaļ | |
LICENSE | 3 gadi atpakaļ | |
README.md | 2 gadi atpakaļ | |
babel.config.js | 1 gadu atpakaļ | |
package-lock.json | 1 gadu atpakaļ | |
package.json | 1 gadu atpakaļ | |
tsconfig.json | 1 gadu atpakaļ | |
webpack.config.js | 1 gadu atpakaļ | |
yarn.lock | 1 gadu atpakaļ |
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.