Skip to content

Commit 5f0ea88

Browse files
authored
3.0 (#2948)
* 3.0 * CHANGELOG typos
1 parent 69be690 commit 5f0ea88

File tree

13 files changed

+83
-81
lines changed

13 files changed

+83
-81
lines changed

CHANGELOG.md

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

3-
## 3.0.1 Dec 13, 2020
3+
## 3.0.1 Dec 14, 2020
44

5-
**Important** While this package contains no external interface changes, it doe now compile and ship both cjs and esm modules. This means that modern bundlers will have more information for tree-shaking available. Additionally when using Node with `.mjs` extensions, the esm version imports will be used on recent Node versions. Adding an export map, as here, may have some impacts so a major semver bump is advised. There may be (small) dragons hiding in the dark corners...
5+
Upgrade priority: Low. Recommended for the next Kusama/Polkadot upgrades due to additional types and those following chains following Substrate master closely.
6+
7+
**Important** While this package contains no external interface changes, it now compiles and ships both cjs and esm modules. This means that modern bundlers will have more information for tree-shaking available. Additionally when using Node with `.mjs` extensions, the esm version imports will be used on recent Node versions. Adding an export map, as here, may have some impacts so a major semver bump is advised. There may be (small) dragons hiding in the dark corners...
68

79
Contributed:
810

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.19",
3535
"copyfiles": "^2.4.1"
3636
},
37-
"version": "2.10.2-18"
37+
"version": "3.0.0"
3838
}

packages/api-contract/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@polkadot/api-contract",
3-
"version": "2.10.2-18",
3+
"version": "3.0.0",
44
"description": "Interfaces for interacting with contracts and contract ABIs",
55
"main": "index.js",
66
"sideEffects": false,
@@ -13,10 +13,10 @@
1313
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/api-contract#readme",
1414
"dependencies": {
1515
"@babel/runtime": "^7.12.5",
16-
"@polkadot/api": "2.10.2-18",
17-
"@polkadot/types": "2.10.2-18",
16+
"@polkadot/api": "3.0.0",
17+
"@polkadot/types": "3.0.0",
1818
"@polkadot/util": "^5.0.1",
19-
"@polkadot/x-rxjs": "2.10.2-18",
19+
"@polkadot/x-rxjs": "3.0.0",
2020
"bn.js": "^4.11.9"
2121
}
2222
}

packages/api-derive/package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@polkadot/api-derive",
3-
"version": "2.10.2-18",
3+
"version": "3.0.0",
44
"description": "Common functions used across Polkadot, derived from RPC calls and storage queries.",
55
"main": "index.js",
66
"sideEffects": false,
@@ -13,16 +13,16 @@
1313
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/api-derive#readme",
1414
"dependencies": {
1515
"@babel/runtime": "^7.12.5",
16-
"@polkadot/api": "2.10.2-18",
17-
"@polkadot/rpc-core": "2.10.2-18",
18-
"@polkadot/types": "2.10.2-18",
16+
"@polkadot/api": "3.0.0",
17+
"@polkadot/rpc-core": "3.0.0",
18+
"@polkadot/types": "3.0.0",
1919
"@polkadot/util": "^5.0.1",
2020
"@polkadot/util-crypto": "^5.0.1",
21-
"@polkadot/x-rxjs": "2.10.2-18",
21+
"@polkadot/x-rxjs": "3.0.0",
2222
"bn.js": "^4.11.9"
2323
},
2424
"devDependencies": {
2525
"@polkadot/keyring": "^5.0.1",
26-
"@polkadot/rpc-provider": "2.10.2-18"
26+
"@polkadot/rpc-provider": "3.0.0"
2727
}
2828
}

packages/api/package.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@polkadot/api",
3-
"version": "2.10.2-18",
3+
"version": "3.0.0",
44
"description": "Promise and RxJS wrappers around the Polkadot JS RPC",
55
"main": "index.js",
66
"sideEffects": false,
@@ -13,16 +13,16 @@
1313
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/api#readme",
1414
"dependencies": {
1515
"@babel/runtime": "^7.12.5",
16-
"@polkadot/api-derive": "2.10.2-18",
16+
"@polkadot/api-derive": "3.0.0",
1717
"@polkadot/keyring": "^5.0.1",
18-
"@polkadot/metadata": "2.10.2-18",
19-
"@polkadot/rpc-core": "2.10.2-18",
20-
"@polkadot/rpc-provider": "2.10.2-18",
21-
"@polkadot/types": "2.10.2-18",
22-
"@polkadot/types-known": "2.10.2-18",
18+
"@polkadot/metadata": "3.0.0",
19+
"@polkadot/rpc-core": "3.0.0",
20+
"@polkadot/rpc-provider": "3.0.0",
21+
"@polkadot/types": "3.0.0",
22+
"@polkadot/types-known": "3.0.0",
2323
"@polkadot/util": "^5.0.1",
2424
"@polkadot/util-crypto": "^5.0.1",
25-
"@polkadot/x-rxjs": "2.10.2-18",
25+
"@polkadot/x-rxjs": "3.0.0",
2626
"bn.js": "^4.11.9",
2727
"eventemitter3": "^4.0.7"
2828
}

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": "2.10.2-18",
3+
"version": "3.0.0",
44
"description": "Helpers to extract information from runtime metadata",
55
"main": "index.js",
66
"sideEffects": false,
@@ -13,8 +13,8 @@
1313
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/type-metadata#readme",
1414
"dependencies": {
1515
"@babel/runtime": "^7.12.5",
16-
"@polkadot/types": "2.10.2-18",
17-
"@polkadot/types-known": "2.10.2-18",
16+
"@polkadot/types": "3.0.0",
17+
"@polkadot/types-known": "3.0.0",
1818
"@polkadot/util": "^5.0.1",
1919
"@polkadot/util-crypto": "^5.0.1",
2020
"bn.js": "^4.11.9"

packages/rpc-core/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@polkadot/rpc-core",
3-
"version": "2.10.2-18",
3+
"version": "3.0.0",
44
"description": "A JavaScript wrapper for the Polkadot JsonRPC interface",
55
"main": "index.js",
66
"sideEffects": false,
@@ -13,11 +13,11 @@
1313
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/rpc-core#readme",
1414
"dependencies": {
1515
"@babel/runtime": "^7.12.5",
16-
"@polkadot/metadata": "2.10.2-18",
17-
"@polkadot/rpc-provider": "2.10.2-18",
18-
"@polkadot/types": "2.10.2-18",
16+
"@polkadot/metadata": "3.0.0",
17+
"@polkadot/rpc-provider": "3.0.0",
18+
"@polkadot/types": "3.0.0",
1919
"@polkadot/util": "^5.0.1",
20-
"@polkadot/x-rxjs": "2.10.2-18"
20+
"@polkadot/x-rxjs": "3.0.0"
2121
},
2222
"devDependencies": {
2323
"@polkadot/keyring": "^5.0.1"

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": "2.10.2-18",
3+
"version": "3.0.0",
44
"description": "Transport providers for the API",
55
"main": "index.js",
66
"sideEffects": false,
@@ -13,7 +13,7 @@
1313
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/rpc-provider#readme",
1414
"dependencies": {
1515
"@babel/runtime": "^7.12.5",
16-
"@polkadot/types": "2.10.2-18",
16+
"@polkadot/types": "3.0.0",
1717
"@polkadot/util": "^5.0.1",
1818
"@polkadot/util-crypto": "^5.0.1",
1919
"@polkadot/x-fetch": "^5.0.1",
@@ -23,7 +23,7 @@
2323
},
2424
"devDependencies": {
2525
"@polkadot/keyring": "^5.0.1",
26-
"@polkadot/metadata": "2.10.2-18",
26+
"@polkadot/metadata": "3.0.0",
2727
"mock-socket": "^9.0.3",
2828
"nock": "^13.0.5"
2929
}

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": "2.10.2-18",
3+
"version": "3.0.0",
44
"description": "Type generation scripts",
55
"main": "index.js",
66
"sideEffects": false,
@@ -22,10 +22,10 @@
2222
"@babel/core": "^7.12.10",
2323
"@babel/register": "^7.12.10",
2424
"@babel/runtime": "^7.12.5",
25-
"@polkadot/api": "2.10.2-18",
26-
"@polkadot/metadata": "2.10.2-18",
27-
"@polkadot/rpc-provider": "2.10.2-18",
28-
"@polkadot/types": "2.10.2-18",
25+
"@polkadot/api": "3.0.0",
26+
"@polkadot/metadata": "3.0.0",
27+
"@polkadot/rpc-provider": "3.0.0",
28+
"@polkadot/types": "3.0.0",
2929
"@polkadot/util": "^5.0.1",
3030
"handlebars": "^4.7.6",
3131
"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": "2.10.2-18",
3+
"version": "3.0.0",
44
"description": "A JavaScript wrapper for the Polkadot JsonRPC interface",
55
"main": "index.js",
66
"sideEffects": false,
@@ -13,7 +13,7 @@
1313
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/types-known#readme",
1414
"dependencies": {
1515
"@babel/runtime": "^7.12.5",
16-
"@polkadot/types": "2.10.2-18",
16+
"@polkadot/types": "3.0.0",
1717
"@polkadot/util": "^5.0.1",
1818
"bn.js": "^4.11.9"
1919
},

0 commit comments

Comments
 (0)