Skip to content

Commit bccf2d5

Browse files
authored
4.2 (#3344)
1 parent be6dbdd commit bccf2d5

File tree

12 files changed

+85
-67
lines changed

12 files changed

+85
-67
lines changed

CHANGELOG.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,23 @@
11
# CHANGELOG
22

3+
## 4.2.1 Mar 22, 2021
4+
5+
Upgrade priority: Low. Recommended when tracking the latest updates from Substrate.
6+
7+
Contributed:
8+
9+
- Fix contract even decoding on Substrate 3 (Thanks to https://github.com/vminkov)
10+
11+
Changes:
12+
13+
- Adjust `Extender{Header, SignedBlock}` types to ensure at-block `Header` types are used
14+
- Explicit definition for new Rococo triple refcount `AccountData` types
15+
- Convert metadata private class fields to ES-private
16+
- Adjust `SignedBlock` type for new `justifications` field
17+
- Optimize society derive for multi accounts
18+
- Bump metadata to latest substrate version
19+
20+
321
## 4.1.1 Mar 15, 2021
422

523
Upgrade priority: Low. Recommended when tracking the latest updates from Substrate.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,5 +34,5 @@
3434
"@types/jest": "^26.0.21",
3535
"copyfiles": "^2.4.1"
3636
},
37-
"version": "4.1.2-8"
37+
"version": "4.2.0"
3838
}

packages/api-contract/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@polkadot/api-contract",
3-
"version": "4.1.2-8",
3+
"version": "4.2.0",
44
"type": "module",
55
"description": "Interfaces for interacting with contracts and contract ABIs",
66
"main": "index.js",
@@ -17,8 +17,8 @@
1717
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/api-contract#readme",
1818
"dependencies": {
1919
"@babel/runtime": "^7.13.10",
20-
"@polkadot/api": "4.1.2-8",
21-
"@polkadot/types": "4.1.2-8",
20+
"@polkadot/api": "4.2.0",
21+
"@polkadot/types": "4.2.0",
2222
"@polkadot/util": "^6.0.5",
2323
"@polkadot/x-rxjs": "^6.0.5",
2424
"bn.js": "^4.11.9"

packages/api-derive/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-derive",
3-
"version": "4.1.2-8",
3+
"version": "4.2.0",
44
"type": "module",
55
"description": "Common functions used across Polkadot, derived from RPC calls and storage queries.",
66
"main": "index.js",
@@ -17,16 +17,16 @@
1717
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/api-derive#readme",
1818
"dependencies": {
1919
"@babel/runtime": "^7.13.10",
20-
"@polkadot/api": "4.1.2-8",
21-
"@polkadot/rpc-core": "4.1.2-8",
22-
"@polkadot/types": "4.1.2-8",
20+
"@polkadot/api": "4.2.0",
21+
"@polkadot/rpc-core": "4.2.0",
22+
"@polkadot/types": "4.2.0",
2323
"@polkadot/util": "^6.0.5",
2424
"@polkadot/util-crypto": "^6.0.5",
2525
"@polkadot/x-rxjs": "^6.0.5",
2626
"bn.js": "^4.11.9"
2727
},
2828
"devDependencies": {
2929
"@polkadot/keyring": "^6.0.5",
30-
"@polkadot/rpc-provider": "4.1.2-8"
30+
"@polkadot/rpc-provider": "4.2.0"
3131
}
3232
}

packages/api/package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@polkadot/api",
3-
"version": "4.1.2-8",
3+
"version": "4.2.0",
44
"type": "module",
55
"description": "Promise and RxJS wrappers around the Polkadot JS RPC",
66
"main": "index.js",
@@ -17,13 +17,13 @@
1717
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/api#readme",
1818
"dependencies": {
1919
"@babel/runtime": "^7.13.10",
20-
"@polkadot/api-derive": "4.1.2-8",
20+
"@polkadot/api-derive": "4.2.0",
2121
"@polkadot/keyring": "^6.0.5",
22-
"@polkadot/metadata": "4.1.2-8",
23-
"@polkadot/rpc-core": "4.1.2-8",
24-
"@polkadot/rpc-provider": "4.1.2-8",
25-
"@polkadot/types": "4.1.2-8",
26-
"@polkadot/types-known": "4.1.2-8",
22+
"@polkadot/metadata": "4.2.0",
23+
"@polkadot/rpc-core": "4.2.0",
24+
"@polkadot/rpc-provider": "4.2.0",
25+
"@polkadot/types": "4.2.0",
26+
"@polkadot/types-known": "4.2.0",
2727
"@polkadot/util": "^6.0.5",
2828
"@polkadot/util-crypto": "^6.0.5",
2929
"@polkadot/x-rxjs": "^6.0.5",

packages/metadata/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@polkadot/metadata",
3-
"version": "4.1.2-8",
3+
"version": "4.2.0",
44
"type": "module",
55
"description": "Helpers to extract information from runtime metadata",
66
"main": "index.js",
@@ -17,8 +17,8 @@
1717
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/type-metadata#readme",
1818
"dependencies": {
1919
"@babel/runtime": "^7.13.10",
20-
"@polkadot/types": "4.1.2-8",
21-
"@polkadot/types-known": "4.1.2-8",
20+
"@polkadot/types": "4.2.0",
21+
"@polkadot/types-known": "4.2.0",
2222
"@polkadot/util": "^6.0.5",
2323
"@polkadot/util-crypto": "^6.0.5",
2424
"bn.js": "^4.11.9"

packages/rpc-core/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@polkadot/rpc-core",
3-
"version": "4.1.2-8",
3+
"version": "4.2.0",
44
"type": "module",
55
"description": "A JavaScript wrapper for the Polkadot JsonRPC interface",
66
"main": "index.js",
@@ -17,9 +17,9 @@
1717
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/rpc-core#readme",
1818
"dependencies": {
1919
"@babel/runtime": "^7.13.10",
20-
"@polkadot/metadata": "4.1.2-8",
21-
"@polkadot/rpc-provider": "4.1.2-8",
22-
"@polkadot/types": "4.1.2-8",
20+
"@polkadot/metadata": "4.2.0",
21+
"@polkadot/rpc-provider": "4.2.0",
22+
"@polkadot/types": "4.2.0",
2323
"@polkadot/util": "^6.0.5",
2424
"@polkadot/x-rxjs": "^6.0.5"
2525
},

packages/rpc-provider/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@polkadot/rpc-provider",
3-
"version": "4.1.2-8",
3+
"version": "4.2.0",
44
"type": "module",
55
"description": "Transport providers for the API",
66
"main": "index.js",
@@ -17,7 +17,7 @@
1717
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/rpc-provider#readme",
1818
"dependencies": {
1919
"@babel/runtime": "^7.13.10",
20-
"@polkadot/types": "4.1.2-8",
20+
"@polkadot/types": "4.2.0",
2121
"@polkadot/util": "^6.0.5",
2222
"@polkadot/util-crypto": "^6.0.5",
2323
"@polkadot/x-fetch": "^6.0.5",
@@ -28,7 +28,7 @@
2828
},
2929
"devDependencies": {
3030
"@polkadot/keyring": "^6.0.5",
31-
"@polkadot/metadata": "4.1.2-8",
31+
"@polkadot/metadata": "4.2.0",
3232
"mock-socket": "^9.0.3",
3333
"nock": "^13.0.11"
3434
}

packages/typegen/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@polkadot/typegen",
3-
"version": "4.1.2-8",
3+
"version": "4.2.0",
44
"type": "module",
55
"description": "Type generation scripts",
66
"main": "index.js",
@@ -26,10 +26,10 @@
2626
"@babel/core": "^7.13.10",
2727
"@babel/register": "^7.13.8",
2828
"@babel/runtime": "^7.13.10",
29-
"@polkadot/api": "4.1.2-8",
30-
"@polkadot/metadata": "4.1.2-8",
31-
"@polkadot/rpc-provider": "4.1.2-8",
32-
"@polkadot/types": "4.1.2-8",
29+
"@polkadot/api": "4.2.0",
30+
"@polkadot/metadata": "4.2.0",
31+
"@polkadot/rpc-provider": "4.2.0",
32+
"@polkadot/types": "4.2.0",
3333
"@polkadot/util": "^6.0.5",
3434
"handlebars": "^4.7.7",
3535
"websocket": "^1.0.33",

packages/types-known/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@polkadot/types-known",
3-
"version": "4.1.2-8",
3+
"version": "4.2.0",
44
"type": "module",
55
"description": "A JavaScript wrapper for the Polkadot JsonRPC interface",
66
"main": "index.js",
@@ -18,7 +18,7 @@
1818
"dependencies": {
1919
"@babel/runtime": "^7.13.10",
2020
"@polkadot/networks": "^6.0.5",
21-
"@polkadot/types": "4.1.2-8",
21+
"@polkadot/types": "4.2.0",
2222
"@polkadot/util": "^6.0.5",
2323
"bn.js": "^4.11.9"
2424
},

0 commit comments

Comments
 (0)