shawn c5711e2a1d replace jaguar server with inAppWebViewServer | 2 rokov pred | |
---|---|---|
.. | ||
dist | 2 rokov pred | |
src | 2 rokov pred | |
test | 3 rokov pred | |
.gitignore | 4 rokov pred | |
LICENSE | 4 rokov pred | |
README.md | 2 rokov pred | |
babel.config.js | 2 rokov pred | |
package.json | 2 rokov pred | |
tsconfig.json | 2 rokov pred | |
webpack.config.js | 2 rokov pred | |
yarn.lock | 2 rokov pred |
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.