Skip to content

Commit 0c997d2

Browse files
authored
4.13 (#3623)
1 parent cb0beea commit 0c997d2

File tree

13 files changed

+207
-205
lines changed

13 files changed

+207
-205
lines changed

CHANGELOG.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,15 @@
11
# CHANGELOG
22

3-
## master
3+
## 4.13.1 Jun 6, 2021
4+
5+
Upgrade priority: Medium. Required for users connecting to Statemine and future Kusama upgrades.
46

57
Changes:
68

79
- Overrides for `westmint` spec (same as `statemint`)
810
- Adjust `tx.session.setKeys` TS augmentation to allow `string` & `Uint8Array` keys
911
- Add & adjust types for latest Cumulus code
10-
- Added 9031 upgrade block for Westend
12+
- Added 9031-9033 upgrade block for Westend
1113
- Update static metadata to latest Substrate
1214
- Optimize map retrieval with split page sizes for keys & values
1315
- Sanitizing `BN` imports to `type`-only as required

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,11 @@
2828
"@babel/core": "^7.14.3",
2929
"@babel/register": "^7.13.16",
3030
"@babel/runtime": "^7.14.0",
31-
"@polkadot/dev": "^0.62.33",
32-
"@polkadot/ts": "^0.3.81",
31+
"@polkadot/dev": "^0.62.38",
32+
"@polkadot/ts": "^0.3.86",
3333
"@polkadot/typegen": "workspace:packages/typegen",
3434
"@types/jest": "^26.0.23",
3535
"copyfiles": "^2.4.1"
3636
},
37-
"version": "4.12.2-20"
37+
"version": "4.13.0"
3838
}

packages/api-contract/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@polkadot/api-contract",
3-
"version": "4.12.2-20",
3+
"version": "4.13.0",
44
"type": "module",
55
"description": "Interfaces for interacting with contracts and contract ABIs",
66
"main": "index.js",
@@ -20,10 +20,10 @@
2020
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/api-contract#readme",
2121
"dependencies": {
2222
"@babel/runtime": "^7.14.0",
23-
"@polkadot/api": "4.12.2-20",
24-
"@polkadot/types": "4.12.2-20",
25-
"@polkadot/util": "^6.6.2-13",
26-
"@polkadot/x-rxjs": "^6.6.2-13",
23+
"@polkadot/api": "4.13.0",
24+
"@polkadot/types": "4.13.0",
25+
"@polkadot/util": "^6.7.1",
26+
"@polkadot/x-rxjs": "^6.7.1",
2727
"bn.js": "^4.11.9"
2828
}
2929
}

packages/api-derive/package.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@polkadot/api-derive",
3-
"version": "4.12.2-20",
3+
"version": "4.13.0",
44
"type": "module",
55
"description": "Common functions used across Polkadot, derived from RPC calls and storage queries.",
66
"main": "index.js",
@@ -20,16 +20,16 @@
2020
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/api-derive#readme",
2121
"dependencies": {
2222
"@babel/runtime": "^7.14.0",
23-
"@polkadot/api": "4.12.2-20",
24-
"@polkadot/rpc-core": "4.12.2-20",
25-
"@polkadot/types": "4.12.2-20",
26-
"@polkadot/util": "^6.6.2-13",
27-
"@polkadot/util-crypto": "^6.6.2-13",
28-
"@polkadot/x-rxjs": "^6.6.2-13",
23+
"@polkadot/api": "4.13.0",
24+
"@polkadot/rpc-core": "4.13.0",
25+
"@polkadot/types": "4.13.0",
26+
"@polkadot/util": "^6.7.1",
27+
"@polkadot/util-crypto": "^6.7.1",
28+
"@polkadot/x-rxjs": "^6.7.1",
2929
"bn.js": "^4.11.9"
3030
},
3131
"devDependencies": {
32-
"@polkadot/keyring": "^6.6.2-13",
33-
"@polkadot/rpc-provider": "4.12.2-20"
32+
"@polkadot/keyring": "^6.7.1",
33+
"@polkadot/rpc-provider": "4.13.0"
3434
}
3535
}

packages/api/package.json

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@polkadot/api",
3-
"version": "4.12.2-20",
3+
"version": "4.13.0",
44
"type": "module",
55
"description": "Promise and RxJS wrappers around the Polkadot JS RPC",
66
"main": "index.js",
@@ -20,16 +20,16 @@
2020
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/api#readme",
2121
"dependencies": {
2222
"@babel/runtime": "^7.14.0",
23-
"@polkadot/api-derive": "4.12.2-20",
24-
"@polkadot/keyring": "^6.6.2-13",
25-
"@polkadot/metadata": "4.12.2-20",
26-
"@polkadot/rpc-core": "4.12.2-20",
27-
"@polkadot/rpc-provider": "4.12.2-20",
28-
"@polkadot/types": "4.12.2-20",
29-
"@polkadot/types-known": "4.12.2-20",
30-
"@polkadot/util": "^6.6.2-13",
31-
"@polkadot/util-crypto": "^6.6.2-13",
32-
"@polkadot/x-rxjs": "^6.6.2-13",
23+
"@polkadot/api-derive": "4.13.0",
24+
"@polkadot/keyring": "^6.7.1",
25+
"@polkadot/metadata": "4.13.0",
26+
"@polkadot/rpc-core": "4.13.0",
27+
"@polkadot/rpc-provider": "4.13.0",
28+
"@polkadot/types": "4.13.0",
29+
"@polkadot/types-known": "4.13.0",
30+
"@polkadot/util": "^6.7.1",
31+
"@polkadot/util-crypto": "^6.7.1",
32+
"@polkadot/x-rxjs": "^6.7.1",
3333
"bn.js": "^4.11.9",
3434
"eventemitter3": "^4.0.7"
3535
}

packages/metadata/package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@polkadot/metadata",
3-
"version": "4.12.2-20",
3+
"version": "4.13.0",
44
"type": "module",
55
"description": "Helpers to extract information from runtime metadata",
66
"main": "index.js",
@@ -20,13 +20,13 @@
2020
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/type-metadata#readme",
2121
"dependencies": {
2222
"@babel/runtime": "^7.14.0",
23-
"@polkadot/types": "4.12.2-20",
24-
"@polkadot/types-known": "4.12.2-20",
25-
"@polkadot/util": "^6.6.2-13",
26-
"@polkadot/util-crypto": "^6.6.2-13",
23+
"@polkadot/types": "4.13.0",
24+
"@polkadot/types-known": "4.13.0",
25+
"@polkadot/util": "^6.7.1",
26+
"@polkadot/util-crypto": "^6.7.1",
2727
"bn.js": "^4.11.9"
2828
},
2929
"devDependencies": {
30-
"@polkadot/keyring": "^6.6.2-13"
30+
"@polkadot/keyring": "^6.7.1"
3131
}
3232
}

packages/rpc-core/package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@polkadot/rpc-core",
3-
"version": "4.12.2-20",
3+
"version": "4.13.0",
44
"type": "module",
55
"description": "A JavaScript wrapper for the Polkadot JsonRPC interface",
66
"main": "index.js",
@@ -20,13 +20,13 @@
2020
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/rpc-core#readme",
2121
"dependencies": {
2222
"@babel/runtime": "^7.14.0",
23-
"@polkadot/metadata": "4.12.2-20",
24-
"@polkadot/rpc-provider": "4.12.2-20",
25-
"@polkadot/types": "4.12.2-20",
26-
"@polkadot/util": "^6.6.2-13",
27-
"@polkadot/x-rxjs": "^6.6.2-13"
23+
"@polkadot/metadata": "4.13.0",
24+
"@polkadot/rpc-provider": "4.13.0",
25+
"@polkadot/types": "4.13.0",
26+
"@polkadot/util": "^6.7.1",
27+
"@polkadot/x-rxjs": "^6.7.1"
2828
},
2929
"devDependencies": {
30-
"@polkadot/keyring": "^6.6.2-13"
30+
"@polkadot/keyring": "^6.7.1"
3131
}
3232
}

packages/rpc-provider/package.json

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@polkadot/rpc-provider",
3-
"version": "4.12.2-20",
3+
"version": "4.13.0",
44
"type": "module",
55
"description": "Transport providers for the API",
66
"main": "index.js",
@@ -20,19 +20,19 @@
2020
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/rpc-provider#readme",
2121
"dependencies": {
2222
"@babel/runtime": "^7.14.0",
23-
"@polkadot/types": "4.12.2-20",
24-
"@polkadot/util": "^6.6.2-13",
25-
"@polkadot/util-crypto": "^6.6.2-13",
26-
"@polkadot/x-fetch": "^6.6.2-13",
27-
"@polkadot/x-global": "^6.6.2-13",
28-
"@polkadot/x-ws": "^6.6.2-13",
23+
"@polkadot/types": "4.13.0",
24+
"@polkadot/util": "^6.7.1",
25+
"@polkadot/util-crypto": "^6.7.1",
26+
"@polkadot/x-fetch": "^6.7.1",
27+
"@polkadot/x-global": "^6.7.1",
28+
"@polkadot/x-ws": "^6.7.1",
2929
"bn.js": "^4.11.9",
3030
"eventemitter3": "^4.0.7"
3131
},
3232
"devDependencies": {
33-
"@polkadot/keyring": "^6.6.2-13",
34-
"@polkadot/metadata": "4.12.2-20",
33+
"@polkadot/keyring": "^6.7.1",
34+
"@polkadot/metadata": "4.13.0",
3535
"mock-socket": "^9.0.3",
36-
"nock": "^13.0.11"
36+
"nock": "^13.1.0"
3737
}
3838
}

packages/typegen/package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@polkadot/typegen",
3-
"version": "4.12.2-20",
3+
"version": "4.13.0",
44
"type": "module",
55
"description": "Type generation scripts",
66
"main": "index.js",
@@ -29,11 +29,11 @@
2929
"@babel/core": "^7.14.3",
3030
"@babel/register": "^7.13.16",
3131
"@babel/runtime": "^7.14.0",
32-
"@polkadot/api": "4.12.2-20",
33-
"@polkadot/metadata": "4.12.2-20",
34-
"@polkadot/rpc-provider": "4.12.2-20",
35-
"@polkadot/types": "4.12.2-20",
36-
"@polkadot/util": "^6.6.2-13",
32+
"@polkadot/api": "4.13.0",
33+
"@polkadot/metadata": "4.13.0",
34+
"@polkadot/rpc-provider": "4.13.0",
35+
"@polkadot/types": "4.13.0",
36+
"@polkadot/util": "^6.7.1",
3737
"handlebars": "^4.7.7",
3838
"websocket": "^1.0.34",
3939
"yargs": "^17.0.1"

packages/types-known/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@polkadot/types-known",
3-
"version": "4.12.2-20",
3+
"version": "4.13.0",
44
"type": "module",
55
"description": "A JavaScript wrapper for the Polkadot JsonRPC interface",
66
"main": "index.js",
@@ -20,9 +20,9 @@
2020
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/types-known#readme",
2121
"dependencies": {
2222
"@babel/runtime": "^7.14.0",
23-
"@polkadot/networks": "^6.6.2-13",
24-
"@polkadot/types": "4.12.2-20",
25-
"@polkadot/util": "^6.6.2-13",
23+
"@polkadot/networks": "^6.7.1",
24+
"@polkadot/types": "4.13.0",
25+
"@polkadot/util": "^6.7.1",
2626
"bn.js": "^4.11.9"
2727
},
2828
"devDependencies": {

0 commit comments

Comments
 (0)