Skip to content

Commit ab05224

Browse files
authored
2.8 (#2869)
1 parent 986e8fb commit ab05224

File tree

12 files changed

+176
-174
lines changed

12 files changed

+176
-174
lines changed

CHANGELOG.md

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

3+
## 2.8.1 Nov 23, 2020
4+
5+
Upgrade priority: Low. Recommended if using Substrate master with new `MultiAddress`.
6+
7+
Contributed:
8+
9+
- Export `derive.chain.getBlock` (Thanks to https://github.com/lovesh)
10+
11+
Changes:
12+
13+
- Expand `MultiAddress` construction with multi type detection
14+
- Rename `GenericLookupSource` to `IndicesLookupSource` (internal use)
15+
- Cleanup list retrievals with `Raw` data results for undecodable entries
16+
- Export actual version via `RegistryMetadata`
17+
- Dedupe bn.js (one version shared between dependencies)
18+
19+
320
## 2.7.1 Nov 16, 2020
421

522
Upgrade priority: Medium. Recommended for users of Polkadot/Kusama and api-contract users.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,5 @@
3232
"@types/jest": "^26.0.15",
3333
"copyfiles": "^2.4.0"
3434
},
35-
"version": "2.7.2-6"
35+
"version": "2.8.0"
3636
}

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.7.2-6",
3+
"version": "2.8.0",
44
"description": "Interfaces for interacting with contracts and contract ABIs",
55
"main": "index.js",
66
"sideEffects": false,
@@ -17,9 +17,9 @@
1717
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/api-contract#readme",
1818
"dependencies": {
1919
"@babel/runtime": "^7.12.5",
20-
"@polkadot/api": "2.7.2-6",
21-
"@polkadot/types": "2.7.2-6",
22-
"@polkadot/util": "^4.1.2-2",
20+
"@polkadot/api": "2.8.0",
21+
"@polkadot/types": "2.8.0",
22+
"@polkadot/util": "^4.2.1",
2323
"bn.js": "^4.11.9",
2424
"rxjs": "^6.6.3"
2525
}

packages/api-derive/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-derive",
3-
"version": "2.7.2-6",
3+
"version": "2.8.0",
44
"description": "Common functions used across Polkadot, derived from RPC calls and storage queries.",
55
"main": "index.js",
66
"sideEffects": false,
@@ -18,17 +18,17 @@
1818
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/api-derive#readme",
1919
"dependencies": {
2020
"@babel/runtime": "^7.12.5",
21-
"@polkadot/api": "2.7.2-6",
22-
"@polkadot/rpc-core": "2.7.2-6",
23-
"@polkadot/types": "2.7.2-6",
24-
"@polkadot/util": "^4.1.2-2",
25-
"@polkadot/util-crypto": "^4.1.2-2",
21+
"@polkadot/api": "2.8.0",
22+
"@polkadot/rpc-core": "2.8.0",
23+
"@polkadot/types": "2.8.0",
24+
"@polkadot/util": "^4.2.1",
25+
"@polkadot/util-crypto": "^4.2.1",
2626
"bn.js": "^4.11.9",
2727
"memoizee": "^0.4.14",
2828
"rxjs": "^6.6.3"
2929
},
3030
"devDependencies": {
31-
"@polkadot/keyring": "^4.1.2-2",
32-
"@polkadot/rpc-provider": "2.7.2-6"
31+
"@polkadot/keyring": "^4.2.1",
32+
"@polkadot/rpc-provider": "2.8.0"
3333
}
3434
}

packages/api/package.json

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@polkadot/api",
3-
"version": "2.7.2-6",
3+
"version": "2.8.0",
44
"description": "Promise and RxJS wrappers around the Polkadot JS RPC",
55
"main": "index.js",
66
"sideEffects": false,
@@ -17,15 +17,15 @@
1717
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/api#readme",
1818
"dependencies": {
1919
"@babel/runtime": "^7.12.5",
20-
"@polkadot/api-derive": "2.7.2-6",
21-
"@polkadot/keyring": "^4.1.2-2",
22-
"@polkadot/metadata": "2.7.2-6",
23-
"@polkadot/rpc-core": "2.7.2-6",
24-
"@polkadot/rpc-provider": "2.7.2-6",
25-
"@polkadot/types": "2.7.2-6",
26-
"@polkadot/types-known": "2.7.2-6",
27-
"@polkadot/util": "^4.1.2-2",
28-
"@polkadot/util-crypto": "^4.1.2-2",
20+
"@polkadot/api-derive": "2.8.0",
21+
"@polkadot/keyring": "^4.2.1",
22+
"@polkadot/metadata": "2.8.0",
23+
"@polkadot/rpc-core": "2.8.0",
24+
"@polkadot/rpc-provider": "2.8.0",
25+
"@polkadot/types": "2.8.0",
26+
"@polkadot/types-known": "2.8.0",
27+
"@polkadot/util": "^4.2.1",
28+
"@polkadot/util-crypto": "^4.2.1",
2929
"bn.js": "^4.11.9",
3030
"eventemitter3": "^4.0.7",
3131
"rxjs": "^6.6.3"

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": "2.7.2-6",
3+
"version": "2.8.0",
44
"description": "Helpers to extract information from runtime metadata",
55
"main": "index.js",
66
"sideEffects": false,
@@ -16,13 +16,13 @@
1616
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/type-metadata#readme",
1717
"dependencies": {
1818
"@babel/runtime": "^7.12.5",
19-
"@polkadot/types": "2.7.2-6",
20-
"@polkadot/types-known": "2.7.2-6",
21-
"@polkadot/util": "^4.1.2-2",
22-
"@polkadot/util-crypto": "^4.1.2-2",
19+
"@polkadot/types": "2.8.0",
20+
"@polkadot/types-known": "2.8.0",
21+
"@polkadot/util": "^4.2.1",
22+
"@polkadot/util-crypto": "^4.2.1",
2323
"bn.js": "^4.11.9"
2424
},
2525
"devDependencies": {
26-
"@polkadot/keyring": "^4.1.2-2"
26+
"@polkadot/keyring": "^4.2.1"
2727
}
2828
}

packages/rpc-core/package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@polkadot/rpc-core",
3-
"version": "2.7.2-6",
3+
"version": "2.8.0",
44
"description": "A JavaScript wrapper for the Polkadot JsonRPC interface",
55
"main": "index.js",
66
"sideEffects": false,
@@ -17,14 +17,14 @@
1717
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/rpc-core#readme",
1818
"dependencies": {
1919
"@babel/runtime": "^7.12.5",
20-
"@polkadot/metadata": "2.7.2-6",
21-
"@polkadot/rpc-provider": "2.7.2-6",
22-
"@polkadot/types": "2.7.2-6",
23-
"@polkadot/util": "^4.1.2-2",
20+
"@polkadot/metadata": "2.8.0",
21+
"@polkadot/rpc-provider": "2.8.0",
22+
"@polkadot/types": "2.8.0",
23+
"@polkadot/util": "^4.2.1",
2424
"memoizee": "^0.4.14",
2525
"rxjs": "^6.6.3"
2626
},
2727
"devDependencies": {
28-
"@polkadot/keyring": "^4.1.2-2"
28+
"@polkadot/keyring": "^4.2.1"
2929
}
3030
}

packages/rpc-provider/package.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@polkadot/rpc-provider",
3-
"version": "2.7.2-6",
3+
"version": "2.8.0",
44
"description": "Transport providers for the API",
55
"main": "index.js",
66
"sideEffects": false,
@@ -17,17 +17,17 @@
1717
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/rpc-provider#readme",
1818
"dependencies": {
1919
"@babel/runtime": "^7.12.5",
20-
"@polkadot/types": "2.7.2-6",
21-
"@polkadot/util": "^4.1.2-2",
22-
"@polkadot/util-crypto": "^4.1.2-2",
23-
"@polkadot/x-fetch": "^4.1.2-2",
24-
"@polkadot/x-ws": "^4.1.2-2",
20+
"@polkadot/types": "2.8.0",
21+
"@polkadot/util": "^4.2.1",
22+
"@polkadot/util-crypto": "^4.2.1",
23+
"@polkadot/x-fetch": "^4.2.1",
24+
"@polkadot/x-ws": "^4.2.1",
2525
"bn.js": "^4.11.9",
2626
"eventemitter3": "^4.0.7"
2727
},
2828
"devDependencies": {
29-
"@polkadot/keyring": "^4.1.2-2",
30-
"@polkadot/metadata": "2.7.2-6",
29+
"@polkadot/keyring": "^4.2.1",
30+
"@polkadot/metadata": "2.8.0",
3131
"mock-socket": "^9.0.3",
3232
"nock": "^13.0.5"
3333
}

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": "2.7.2-6",
3+
"version": "2.8.0",
44
"description": "Type generation scripts",
55
"main": "index.js",
66
"sideEffects": false,
@@ -26,11 +26,11 @@
2626
"@babel/core": "^7.12.3",
2727
"@babel/register": "^7.12.1",
2828
"@babel/runtime": "^7.12.5",
29-
"@polkadot/api": "2.7.2-6",
30-
"@polkadot/metadata": "2.7.2-6",
31-
"@polkadot/rpc-provider": "2.7.2-6",
32-
"@polkadot/types": "2.7.2-6",
33-
"@polkadot/util": "^4.1.2-2",
29+
"@polkadot/api": "2.8.0",
30+
"@polkadot/metadata": "2.8.0",
31+
"@polkadot/rpc-provider": "2.8.0",
32+
"@polkadot/types": "2.8.0",
33+
"@polkadot/util": "^4.2.1",
3434
"handlebars": "^4.7.6",
3535
"websocket": "^1.0.32",
3636
"yargs": "^16.1.0"

packages/types-known/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@polkadot/types-known",
3-
"version": "2.7.2-6",
3+
"version": "2.8.0",
44
"description": "A JavaScript wrapper for the Polkadot JsonRPC interface",
55
"main": "index.js",
66
"sideEffects": false,
@@ -17,8 +17,8 @@
1717
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/types-known#readme",
1818
"dependencies": {
1919
"@babel/runtime": "^7.12.5",
20-
"@polkadot/types": "2.7.2-6",
21-
"@polkadot/util": "^4.1.2-2",
20+
"@polkadot/types": "2.8.0",
21+
"@polkadot/util": "^4.2.1",
2222
"bn.js": "^4.11.9"
2323
},
2424
"devDependencies": {

0 commit comments

Comments
 (0)