L3odr0id 45564145bc fix: set right method | 3 mēneši atpakaļ | |
---|---|---|
.. | ||
.devcontainer | 1 gadu atpakaļ | |
.yarn | 2 gadi atpakaļ | |
src | 3 mēneši atpakaļ | |
test | 2 gadi atpakaļ | |
.gitignore | 2 gadi atpakaļ | |
.yarnrc | 2 gadi atpakaļ | |
.yarnrc.yml | 2 gadi atpakaļ | |
LICENSE | 3 gadi atpakaļ | |
README.md | 2 gadi atpakaļ | |
babel.config.js | 2 gadi atpakaļ | |
package-lock.json | 1 gadu atpakaļ | |
package.json | 1 gadu atpakaļ | |
tsconfig.json | 2 gadi atpakaļ | |
webpack.config.js | 2 gadi 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.