Skip to content

Commit 05d697c

Browse files
authored
0.91 (#1377)
* Deps & CHANGELOG * Current master metadata (format only) * 0.91
1 parent 0ea4d69 commit 05d697c

File tree

13 files changed

+69
-64
lines changed

13 files changed

+69
-64
lines changed

CHANGELOG.md

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,16 @@
1-
# 0.91.0-beta.x
1+
# 0.91.1
22

3+
- This release was focussed on stability, with a number of cleanups and bug-fixes
4+
- Adjustments for Substrate 1.x chain detection (with auto-types) and Substrate 2.x support has been extended with all latest types
35
- The `getRuntimeVersion` and `subscribeRuntimeVersion` RPCs are now only available on the `rpc.state.*` endpoints. This aligns with the Substrate implementation.
46
- The `author_insertKey` RPC's last argument `publicKey` is now required, as to reflect Substrate implementation.
57
- Support for extrinsics with versions that is not in the base Substrate implementation (V1-V3) can now be done by providing an implementation for `ExtrinsicUnknown`
6-
- **Breaking change** SignerPayload is registered and can be overrode now.
7-
- SignerPayload is renamed to SignerPayloadJSON
8-
- SignerPayloadJSON, SignerPayloadRawBase and SignerPayloadRaw are all moved to `@polkadot/types`
8+
- Redeemed balance calculation if `api.derive` now returns the correct values again (bugfix)
9+
- added the `yarn chain:info [--ws URL]` utility to extract a calls-only metadata version
10+
- Missing types are now logged via a `console.warn`, not via `.error`
11+
- `Extrinsic`, `ExtrinsicPayload` & `SignerPayload` is registered in the type registry and can be overriden now
12+
- **Breaking change** `SignerPayload` is renamed to `SignerPayloadJSON`
13+
- **Breaking change** `SignerPayloadJSON`, `SignerPayloadRawBase` and `SignerPayloadRaw` are all moved to `@polkadot/types`
914

1015
# 0.90.1
1116

lerna.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@
99
"packages": [
1010
"packages/*"
1111
],
12-
"version": "0.91.0-beta.23"
12+
"version": "0.91.0"
1313
}

packages/api-contract/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@polkadot/api-contract",
3-
"version": "0.91.0-beta.23",
3+
"version": "0.91.0",
44
"description": "Interfaces for interacting with contracts and contract ABIs",
55
"main": "index.js",
66
"keywords": [
@@ -27,6 +27,6 @@
2727
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/api-contract#readme",
2828
"dependencies": {
2929
"@babel/runtime": "^7.5.5",
30-
"@polkadot/types": "^0.91.0-beta.23"
30+
"@polkadot/types": "^0.91.0"
3131
}
3232
}

packages/api-derive/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-derive",
3-
"version": "0.91.0-beta.23",
3+
"version": "0.91.0",
44
"description": "Common functions used across Polkadot, derived from RPC calls and storage queries.",
55
"main": "index.js",
66
"keywords": [
@@ -28,10 +28,10 @@
2828
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/api-derive#readme",
2929
"dependencies": {
3030
"@babel/runtime": "^7.5.5",
31-
"@polkadot/api": "^0.91.0-beta.23",
32-
"@polkadot/types": "^0.91.0-beta.23"
31+
"@polkadot/api": "^0.91.0",
32+
"@polkadot/types": "^0.91.0"
3333
},
3434
"devDependencies": {
35-
"@polkadot/keyring": "^1.2.0-beta.7"
35+
"@polkadot/keyring": "^1.2.1"
3636
}
3737
}

packages/api-metadata/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-metadata",
3-
"version": "0.91.0-beta.23",
3+
"version": "0.91.0",
44
"description": "Helpers to extract information from runtime metadata",
55
"main": "index.js",
66
"publishConfig": {
@@ -27,11 +27,11 @@
2727
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/type-metadata#readme",
2828
"dependencies": {
2929
"@babel/runtime": "^7.5.5",
30-
"@polkadot/types": "^0.91.0-beta.23",
31-
"@polkadot/util": "^1.2.0-beta.7",
32-
"@polkadot/util-crypto": "^1.2.0-beta.7"
30+
"@polkadot/types": "^0.91.0",
31+
"@polkadot/util": "^1.2.1",
32+
"@polkadot/util-crypto": "^1.2.1"
3333
},
3434
"devDependencies": {
35-
"@polkadot/keyring": "^1.2.0-beta.7"
35+
"@polkadot/keyring": "^1.2.1"
3636
}
3737
}

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": "0.91.0-beta.23",
3+
"version": "0.91.0",
44
"description": "Promise and RxJS wrappers around the Polkadot JS RPC",
55
"main": "index.js",
66
"keywords": [
@@ -27,14 +27,14 @@
2727
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/api#readme",
2828
"dependencies": {
2929
"@babel/runtime": "^7.5.5",
30-
"@polkadot/api-derive": "^0.91.0-beta.23",
31-
"@polkadot/api-metadata": "^0.91.0-beta.23",
32-
"@polkadot/rpc-core": "^0.91.0-beta.23",
33-
"@polkadot/rpc-provider": "^0.91.0-beta.23",
34-
"@polkadot/types": "^0.91.0-beta.23",
35-
"@polkadot/util-crypto": "^1.2.0-beta.7"
30+
"@polkadot/api-derive": "^0.91.0",
31+
"@polkadot/api-metadata": "^0.91.0",
32+
"@polkadot/rpc-core": "^0.91.0",
33+
"@polkadot/rpc-provider": "^0.91.0",
34+
"@polkadot/types": "^0.91.0",
35+
"@polkadot/util-crypto": "^1.2.1"
3636
},
3737
"devDependencies": {
38-
"@polkadot/keyring": "^1.2.0-beta.7"
38+
"@polkadot/keyring": "^1.2.1"
3939
}
4040
}

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": "0.91.0-beta.23",
3+
"version": "0.91.0",
44
"description": "A JavaScript wrapper for the Polkadot JsonRPC interface",
55
"main": "index.js",
66
"keywords": [
@@ -27,10 +27,10 @@
2727
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/rpc-core#readme",
2828
"dependencies": {
2929
"@babel/runtime": "^7.5.5",
30-
"@polkadot/jsonrpc": "^0.91.0-beta.23",
31-
"@polkadot/rpc-provider": "^0.91.0-beta.23",
32-
"@polkadot/types": "^0.91.0-beta.23",
33-
"@polkadot/util": "^1.2.0-beta.7",
30+
"@polkadot/jsonrpc": "^0.91.0",
31+
"@polkadot/rpc-provider": "^0.91.0",
32+
"@polkadot/types": "^0.91.0",
33+
"@polkadot/util": "^1.2.1",
3434
"rxjs": "^6.5.3"
3535
}
3636
}

packages/rpc-provider/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-provider",
3-
"version": "0.91.0-beta.23",
3+
"version": "0.91.0",
44
"description": "Transport providers for the API",
55
"main": "index.js",
66
"keywords": [
@@ -27,16 +27,16 @@
2727
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/rpc-provider#readme",
2828
"dependencies": {
2929
"@babel/runtime": "^7.5.5",
30-
"@polkadot/api-metadata": "^0.91.0-beta.23",
31-
"@polkadot/util": "^1.2.0-beta.7",
32-
"@polkadot/util-crypto": "^1.2.0-beta.7",
30+
"@polkadot/api-metadata": "^0.91.0",
31+
"@polkadot/util": "^1.2.1",
32+
"@polkadot/util-crypto": "^1.2.1",
3333
"@types/nock": "^10.0.3",
3434
"eventemitter3": "^4.0.0",
3535
"isomorphic-fetch": "^2.2.1",
3636
"websocket": "^1.0.29"
3737
},
3838
"devDependencies": {
39-
"@polkadot/keyring": "^1.2.0-beta.7",
39+
"@polkadot/keyring": "^1.2.1",
4040
"mock-socket": "^9.0.0",
4141
"nock": "^11.3.1"
4242
}

packages/type-jsonrpc/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@polkadot/jsonrpc",
3-
"version": "0.91.0-beta.23",
3+
"version": "0.91.0",
44
"description": "Method definitions for the Polkadot RPC layer",
55
"main": "index.js",
66
"publishConfig": {

packages/types/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",
3-
"version": "0.91.0-beta.23",
3+
"version": "0.91.0",
44
"description": "Implementation of the Parity codec",
55
"main": "index.js",
66
"keywords": [
@@ -27,12 +27,12 @@
2727
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/types#readme",
2828
"dependencies": {
2929
"@babel/runtime": "^7.5.5",
30-
"@polkadot/util": "^1.2.0-beta.7",
31-
"@polkadot/util-crypto": "^1.2.0-beta.7",
30+
"@polkadot/util": "^1.2.1",
31+
"@polkadot/util-crypto": "^1.2.1",
3232
"@types/memoizee": "^0.4.2",
3333
"memoizee": "^0.4.14"
3434
},
3535
"devDependencies": {
36-
"@polkadot/keyring": "^1.2.0-beta.7"
36+
"@polkadot/keyring": "^1.2.1"
3737
}
3838
}

0 commit comments

Comments
 (0)