Skip to content

Commit 6a5a932

Browse files
committed
Merge branch 'develop'
2 parents a043659 + d441fc0 commit 6a5a932

File tree

10 files changed

+407
-397
lines changed

10 files changed

+407
-397
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## [0.4.5] - 20220421
2+
3+
* bump polkadot-js/api v8.1.1
4+
15
## [0.4.4] - 20220321
26

37
* add new property TokenBalanceData.src.

js_api/dist/main.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

js_api/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,13 @@
2424
"build-dev": "webpack --mode development"
2525
},
2626
"resolutions": {
27-
"@polkadot/api": "^7.10.1",
27+
"@polkadot/api": "^8.1.1",
2828
"bn.js": "4.12.0"
2929
},
3030
"dependencies": {
31-
"@polkadot/api": "^7.10.1",
32-
"@polkadot/extension-dapp": "^0.42.7",
33-
"@polkadot/ui-shared": "^1.1.1",
31+
"@polkadot/api": "^8.1.1",
32+
"@polkadot/extension-dapp": "^0.43.1",
33+
"@polkadot/ui-shared": "^2.0.1",
3434
"@walletconnect/client": "2.0.0-alpha.26",
3535
"bn.js": "^5.1.2",
3636
"oo7-substrate": "^0.8.0",

js_api/src/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,12 +43,12 @@ async function connect(nodes: string[]) {
4343
});
4444
if (!(<any>window).api) {
4545
(<any>window).api = res;
46-
const url = nodes[(<any>res)._options.provider.__private_27_endpointIndex];
46+
const url = nodes[(<any>res)._options.provider.__private_29_endpointIndex];
4747
send("log", `${url} wss connected success`);
4848
resolve(url);
4949
} else {
5050
res.disconnect();
51-
const url = nodes[(<any>res)._options.provider.__private_27_endpointIndex];
51+
const url = nodes[(<any>res)._options.provider.__private_29_endpointIndex];
5252
send("log", `${url} wss success and disconnected`);
5353
resolve(url);
5454
}

0 commit comments

Comments
 (0)