Skip to content

Commit 9553c54

Browse files
authored
4.3 (#3359)
1 parent a1f07e3 commit 9553c54

File tree

12 files changed

+158
-144
lines changed

12 files changed

+158
-144
lines changed

CHANGELOG.md

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

3+
## 4.3.1 Mar 29, 2021
4+
5+
Upgrade priority: Low.
6+
7+
Contributed:
8+
9+
- Fix documentation on ABI parameters (Thanks to https://github.com/vminkov)
10+
11+
Changes:
12+
13+
- Warn on usage of deprecated contract interfaces
14+
- Update `ParaInfo` type
15+
- Council should be optional in treasury derives
16+
- Allow extraction of session derives indexes with no staking
17+
18+
319
## 4.2.1 Mar 22, 2021
420

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

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,14 @@
2525
"test:watch": "polkadot-dev-run-test --watch"
2626
},
2727
"devDependencies": {
28-
"@babel/core": "^7.13.10",
28+
"@babel/core": "^7.13.13",
2929
"@babel/register": "^7.13.8",
3030
"@babel/runtime": "^7.13.10",
3131
"@polkadot/dev": "^0.62.7",
3232
"@polkadot/ts": "^0.3.62",
3333
"@polkadot/typegen": "workspace:packages/typegen",
34-
"@types/jest": "^26.0.21",
34+
"@types/jest": "^26.0.22",
3535
"copyfiles": "^2.4.1"
3636
},
37-
"version": "4.2.2-4"
37+
"version": "4.3.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.2.2-4",
3+
"version": "4.3.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.2.2-4",
21-
"@polkadot/types": "4.2.2-4",
20+
"@polkadot/api": "4.3.0",
21+
"@polkadot/types": "4.3.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.2.2-4",
3+
"version": "4.3.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.2.2-4",
21-
"@polkadot/rpc-core": "4.2.2-4",
22-
"@polkadot/types": "4.2.2-4",
20+
"@polkadot/api": "4.3.0",
21+
"@polkadot/rpc-core": "4.3.0",
22+
"@polkadot/types": "4.3.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.2.2-4"
30+
"@polkadot/rpc-provider": "4.3.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.2.2-4",
3+
"version": "4.3.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.2.2-4",
20+
"@polkadot/api-derive": "4.3.0",
2121
"@polkadot/keyring": "^6.0.5",
22-
"@polkadot/metadata": "4.2.2-4",
23-
"@polkadot/rpc-core": "4.2.2-4",
24-
"@polkadot/rpc-provider": "4.2.2-4",
25-
"@polkadot/types": "4.2.2-4",
26-
"@polkadot/types-known": "4.2.2-4",
22+
"@polkadot/metadata": "4.3.0",
23+
"@polkadot/rpc-core": "4.3.0",
24+
"@polkadot/rpc-provider": "4.3.0",
25+
"@polkadot/types": "4.3.0",
26+
"@polkadot/types-known": "4.3.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.2.2-4",
3+
"version": "4.3.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.2.2-4",
21-
"@polkadot/types-known": "4.2.2-4",
20+
"@polkadot/types": "4.3.0",
21+
"@polkadot/types-known": "4.3.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.2.2-4",
3+
"version": "4.3.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.2.2-4",
21-
"@polkadot/rpc-provider": "4.2.2-4",
22-
"@polkadot/types": "4.2.2-4",
20+
"@polkadot/metadata": "4.3.0",
21+
"@polkadot/rpc-provider": "4.3.0",
22+
"@polkadot/types": "4.3.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.2.2-4",
3+
"version": "4.3.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.2.2-4",
20+
"@polkadot/types": "4.3.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.2.2-4",
31+
"@polkadot/metadata": "4.3.0",
3232
"mock-socket": "^9.0.3",
3333
"nock": "^13.0.11"
3434
}

packages/typegen/package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@polkadot/typegen",
3-
"version": "4.2.2-4",
3+
"version": "4.3.0",
44
"type": "module",
55
"description": "Type generation scripts",
66
"main": "index.js",
@@ -23,20 +23,20 @@
2323
"bugs": "https://github.com/polkadot-js/api/issues",
2424
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/typegen#readme",
2525
"dependencies": {
26-
"@babel/core": "^7.13.10",
26+
"@babel/core": "^7.13.13",
2727
"@babel/register": "^7.13.8",
2828
"@babel/runtime": "^7.13.10",
29-
"@polkadot/api": "4.2.2-4",
30-
"@polkadot/metadata": "4.2.2-4",
31-
"@polkadot/rpc-provider": "4.2.2-4",
32-
"@polkadot/types": "4.2.2-4",
29+
"@polkadot/api": "4.3.0",
30+
"@polkadot/metadata": "4.3.0",
31+
"@polkadot/rpc-provider": "4.3.0",
32+
"@polkadot/types": "4.3.0",
3333
"@polkadot/util": "^6.0.5",
3434
"handlebars": "^4.7.7",
3535
"websocket": "^1.0.33",
3636
"yargs": "^16.2.0"
3737
},
3838
"devDependencies": {
3939
"@types/websocket": "^1.0.2",
40-
"@types/yargs": "^16.0.0"
40+
"@types/yargs": "^16.0.1"
4141
}
4242
}

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.2.2-4",
3+
"version": "4.3.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.2.2-4",
21+
"@polkadot/types": "4.3.0",
2222
"@polkadot/util": "^6.0.5",
2323
"bn.js": "^4.11.9"
2424
},

0 commit comments

Comments
 (0)