Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
RomeroYang committed Apr 24, 2022
2 parents a043659 + d441fc0 commit 6a5a932
Show file tree
Hide file tree
Showing 10 changed files with 407 additions and 397 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## [0.4.5] - 20220421

* bump polkadot-js/api v8.1.1

## [0.4.4] - 20220321

* add new property TokenBalanceData.src.
Expand Down
2 changes: 1 addition & 1 deletion js_api/dist/main.js

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions js_api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,13 @@
"build-dev": "webpack --mode development"
},
"resolutions": {
"@polkadot/api": "^7.10.1",
"@polkadot/api": "^8.1.1",
"bn.js": "4.12.0"
},
"dependencies": {
"@polkadot/api": "^7.10.1",
"@polkadot/extension-dapp": "^0.42.7",
"@polkadot/ui-shared": "^1.1.1",
"@polkadot/api": "^8.1.1",
"@polkadot/extension-dapp": "^0.43.1",
"@polkadot/ui-shared": "^2.0.1",
"@walletconnect/client": "2.0.0-alpha.26",
"bn.js": "^5.1.2",
"oo7-substrate": "^0.8.0",
Expand Down
4 changes: 2 additions & 2 deletions js_api/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,12 @@ async function connect(nodes: string[]) {
});
if (!(<any>window).api) {
(<any>window).api = res;
const url = nodes[(<any>res)._options.provider.__private_27_endpointIndex];
const url = nodes[(<any>res)._options.provider.__private_29_endpointIndex];
send("log", `${url} wss connected success`);
resolve(url);
} else {
res.disconnect();
const url = nodes[(<any>res)._options.provider.__private_27_endpointIndex];
const url = nodes[(<any>res)._options.provider.__private_29_endpointIndex];
send("log", `${url} wss success and disconnected`);
resolve(url);
}
Expand Down
Loading

0 comments on commit 6a5a932

Please sign in to comment.