4.9 (#3497)
This commit is contained in:
+2
-2
@@ -1,8 +1,8 @@
|
||||
# CHANGELOG
|
||||
|
||||
## master
|
||||
## 4.9.1 May 6, 2021
|
||||
|
||||
Upgrade priority: Medium. Required for the next v0.9.0 Polkadot/Kusama chains
|
||||
Upgrade priority: Medium. Required for the next v0.9.0 Polkadot/Kusama chain upgrades where parachains are used.
|
||||
|
||||
- **Breaking change** The previously deprecated contracts interfaces, has been removed. Update to `<myContract>.query.*`, `<myContract>.tx.*` and `<myCode>.tx.*` interfaces as per the previous code usage hints.
|
||||
- **Important** By default the `isPedantic` mode is now switched on for storage queries. This means that the API will fail on any types where the input/output decoding doesn't match 100%
|
||||
|
||||
+1
-1
@@ -34,5 +34,5 @@
|
||||
"@types/jest": "^26.0.23",
|
||||
"copyfiles": "^2.4.1"
|
||||
},
|
||||
"version": "4.8.2-17"
|
||||
"version": "4.9.0"
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@polkadot/api-contract",
|
||||
"version": "4.8.2-17",
|
||||
"version": "4.9.0",
|
||||
"type": "module",
|
||||
"description": "Interfaces for interacting with contracts and contract ABIs",
|
||||
"main": "index.js",
|
||||
@@ -20,8 +20,8 @@
|
||||
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/api-contract#readme",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.14.0",
|
||||
"@polkadot/api": "4.8.2-17",
|
||||
"@polkadot/types": "4.8.2-17",
|
||||
"@polkadot/api": "4.9.0",
|
||||
"@polkadot/types": "4.9.0",
|
||||
"@polkadot/util": "^6.3.1",
|
||||
"@polkadot/x-rxjs": "^6.3.1",
|
||||
"bn.js": "^4.11.9"
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@polkadot/api-derive",
|
||||
"version": "4.8.2-17",
|
||||
"version": "4.9.0",
|
||||
"type": "module",
|
||||
"description": "Common functions used across Polkadot, derived from RPC calls and storage queries.",
|
||||
"main": "index.js",
|
||||
@@ -20,9 +20,9 @@
|
||||
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/api-derive#readme",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.14.0",
|
||||
"@polkadot/api": "4.8.2-17",
|
||||
"@polkadot/rpc-core": "4.8.2-17",
|
||||
"@polkadot/types": "4.8.2-17",
|
||||
"@polkadot/api": "4.9.0",
|
||||
"@polkadot/rpc-core": "4.9.0",
|
||||
"@polkadot/types": "4.9.0",
|
||||
"@polkadot/util": "^6.3.1",
|
||||
"@polkadot/util-crypto": "^6.3.1",
|
||||
"@polkadot/x-rxjs": "^6.3.1",
|
||||
@@ -30,6 +30,6 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@polkadot/keyring": "^6.3.1",
|
||||
"@polkadot/rpc-provider": "4.8.2-17"
|
||||
"@polkadot/rpc-provider": "4.9.0"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@polkadot/api",
|
||||
"version": "4.8.2-17",
|
||||
"version": "4.9.0",
|
||||
"type": "module",
|
||||
"description": "Promise and RxJS wrappers around the Polkadot JS RPC",
|
||||
"main": "index.js",
|
||||
@@ -20,13 +20,13 @@
|
||||
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/api#readme",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.14.0",
|
||||
"@polkadot/api-derive": "4.8.2-17",
|
||||
"@polkadot/api-derive": "4.9.0",
|
||||
"@polkadot/keyring": "^6.3.1",
|
||||
"@polkadot/metadata": "4.8.2-17",
|
||||
"@polkadot/rpc-core": "4.8.2-17",
|
||||
"@polkadot/rpc-provider": "4.8.2-17",
|
||||
"@polkadot/types": "4.8.2-17",
|
||||
"@polkadot/types-known": "4.8.2-17",
|
||||
"@polkadot/metadata": "4.9.0",
|
||||
"@polkadot/rpc-core": "4.9.0",
|
||||
"@polkadot/rpc-provider": "4.9.0",
|
||||
"@polkadot/types": "4.9.0",
|
||||
"@polkadot/types-known": "4.9.0",
|
||||
"@polkadot/util": "^6.3.1",
|
||||
"@polkadot/util-crypto": "^6.3.1",
|
||||
"@polkadot/x-rxjs": "^6.3.1",
|
||||
|
||||
@@ -94,8 +94,8 @@ function mapCapabilities ({ accountIdLength, refcount1Length, refcount2Length, r
|
||||
// @ts-ignore
|
||||
types.Keys = `SessionKeys${numIds - 1}`;
|
||||
}
|
||||
} catch (error) {
|
||||
console.error((error as Error).message);
|
||||
} catch {
|
||||
// ignore
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@polkadot/metadata",
|
||||
"version": "4.8.2-17",
|
||||
"version": "4.9.0",
|
||||
"type": "module",
|
||||
"description": "Helpers to extract information from runtime metadata",
|
||||
"main": "index.js",
|
||||
@@ -20,8 +20,8 @@
|
||||
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/type-metadata#readme",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.14.0",
|
||||
"@polkadot/types": "4.8.2-17",
|
||||
"@polkadot/types-known": "4.8.2-17",
|
||||
"@polkadot/types": "4.9.0",
|
||||
"@polkadot/types-known": "4.9.0",
|
||||
"@polkadot/util": "^6.3.1",
|
||||
"@polkadot/util-crypto": "^6.3.1",
|
||||
"bn.js": "^4.11.9"
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@polkadot/rpc-core",
|
||||
"version": "4.8.2-17",
|
||||
"version": "4.9.0",
|
||||
"type": "module",
|
||||
"description": "A JavaScript wrapper for the Polkadot JsonRPC interface",
|
||||
"main": "index.js",
|
||||
@@ -20,9 +20,9 @@
|
||||
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/rpc-core#readme",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.14.0",
|
||||
"@polkadot/metadata": "4.8.2-17",
|
||||
"@polkadot/rpc-provider": "4.8.2-17",
|
||||
"@polkadot/types": "4.8.2-17",
|
||||
"@polkadot/metadata": "4.9.0",
|
||||
"@polkadot/rpc-provider": "4.9.0",
|
||||
"@polkadot/types": "4.9.0",
|
||||
"@polkadot/util": "^6.3.1",
|
||||
"@polkadot/x-rxjs": "^6.3.1"
|
||||
},
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@polkadot/rpc-provider",
|
||||
"version": "4.8.2-17",
|
||||
"version": "4.9.0",
|
||||
"type": "module",
|
||||
"description": "Transport providers for the API",
|
||||
"main": "index.js",
|
||||
@@ -20,7 +20,7 @@
|
||||
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/rpc-provider#readme",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.14.0",
|
||||
"@polkadot/types": "4.8.2-17",
|
||||
"@polkadot/types": "4.9.0",
|
||||
"@polkadot/util": "^6.3.1",
|
||||
"@polkadot/util-crypto": "^6.3.1",
|
||||
"@polkadot/x-fetch": "^6.3.1",
|
||||
@@ -31,7 +31,7 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@polkadot/keyring": "^6.3.1",
|
||||
"@polkadot/metadata": "4.8.2-17",
|
||||
"@polkadot/metadata": "4.9.0",
|
||||
"mock-socket": "^9.0.3",
|
||||
"nock": "^13.0.11"
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@polkadot/typegen",
|
||||
"version": "4.8.2-17",
|
||||
"version": "4.9.0",
|
||||
"type": "module",
|
||||
"description": "Type generation scripts",
|
||||
"main": "index.js",
|
||||
@@ -29,10 +29,10 @@
|
||||
"@babel/core": "^7.14.0",
|
||||
"@babel/register": "^7.13.16",
|
||||
"@babel/runtime": "^7.14.0",
|
||||
"@polkadot/api": "4.8.2-17",
|
||||
"@polkadot/metadata": "4.8.2-17",
|
||||
"@polkadot/rpc-provider": "4.8.2-17",
|
||||
"@polkadot/types": "4.8.2-17",
|
||||
"@polkadot/api": "4.9.0",
|
||||
"@polkadot/metadata": "4.9.0",
|
||||
"@polkadot/rpc-provider": "4.9.0",
|
||||
"@polkadot/types": "4.9.0",
|
||||
"@polkadot/util": "^6.3.1",
|
||||
"handlebars": "^4.7.7",
|
||||
"websocket": "^1.0.34",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@polkadot/types-known",
|
||||
"version": "4.8.2-17",
|
||||
"version": "4.9.0",
|
||||
"type": "module",
|
||||
"description": "A JavaScript wrapper for the Polkadot JsonRPC interface",
|
||||
"main": "index.js",
|
||||
@@ -21,7 +21,7 @@
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.14.0",
|
||||
"@polkadot/networks": "^6.3.1",
|
||||
"@polkadot/types": "4.8.2-17",
|
||||
"@polkadot/types": "4.9.0",
|
||||
"@polkadot/util": "^6.3.1",
|
||||
"bn.js": "^4.11.9"
|
||||
},
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@polkadot/types",
|
||||
"version": "4.8.2-17",
|
||||
"version": "4.9.0",
|
||||
"type": "module",
|
||||
"description": "Implementation of the Parity codec",
|
||||
"main": "index.js",
|
||||
@@ -20,7 +20,7 @@
|
||||
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/types#readme",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.14.0",
|
||||
"@polkadot/metadata": "4.8.2-17",
|
||||
"@polkadot/metadata": "4.9.0",
|
||||
"@polkadot/util": "^6.3.1",
|
||||
"@polkadot/util-crypto": "^6.3.1",
|
||||
"@polkadot/x-rxjs": "^6.3.1",
|
||||
|
||||
@@ -1841,24 +1841,24 @@ __metadata:
|
||||
resolution: "@polkadot/api-contract@workspace:packages/api-contract"
|
||||
dependencies:
|
||||
"@babel/runtime": ^7.14.0
|
||||
"@polkadot/api": 4.8.2-17
|
||||
"@polkadot/types": 4.8.2-17
|
||||
"@polkadot/api": 4.9.0
|
||||
"@polkadot/types": 4.9.0
|
||||
"@polkadot/util": ^6.3.1
|
||||
"@polkadot/x-rxjs": ^6.3.1
|
||||
bn.js: ^4.11.9
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
"@polkadot/api-derive@4.8.2-17, @polkadot/api-derive@workspace:packages/api-derive":
|
||||
"@polkadot/api-derive@4.9.0, @polkadot/api-derive@workspace:packages/api-derive":
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@polkadot/api-derive@workspace:packages/api-derive"
|
||||
dependencies:
|
||||
"@babel/runtime": ^7.14.0
|
||||
"@polkadot/api": 4.8.2-17
|
||||
"@polkadot/api": 4.9.0
|
||||
"@polkadot/keyring": ^6.3.1
|
||||
"@polkadot/rpc-core": 4.8.2-17
|
||||
"@polkadot/rpc-provider": 4.8.2-17
|
||||
"@polkadot/types": 4.8.2-17
|
||||
"@polkadot/rpc-core": 4.9.0
|
||||
"@polkadot/rpc-provider": 4.9.0
|
||||
"@polkadot/types": 4.9.0
|
||||
"@polkadot/util": ^6.3.1
|
||||
"@polkadot/util-crypto": ^6.3.1
|
||||
"@polkadot/x-rxjs": ^6.3.1
|
||||
@@ -1866,18 +1866,18 @@ __metadata:
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
"@polkadot/api@4.8.2-17, @polkadot/api@workspace:packages/api":
|
||||
"@polkadot/api@4.9.0, @polkadot/api@workspace:packages/api":
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@polkadot/api@workspace:packages/api"
|
||||
dependencies:
|
||||
"@babel/runtime": ^7.14.0
|
||||
"@polkadot/api-derive": 4.8.2-17
|
||||
"@polkadot/api-derive": 4.9.0
|
||||
"@polkadot/keyring": ^6.3.1
|
||||
"@polkadot/metadata": 4.8.2-17
|
||||
"@polkadot/rpc-core": 4.8.2-17
|
||||
"@polkadot/rpc-provider": 4.8.2-17
|
||||
"@polkadot/types": 4.8.2-17
|
||||
"@polkadot/types-known": 4.8.2-17
|
||||
"@polkadot/metadata": 4.9.0
|
||||
"@polkadot/rpc-core": 4.9.0
|
||||
"@polkadot/rpc-provider": 4.9.0
|
||||
"@polkadot/types": 4.9.0
|
||||
"@polkadot/types-known": 4.9.0
|
||||
"@polkadot/util": ^6.3.1
|
||||
"@polkadot/util-crypto": ^6.3.1
|
||||
"@polkadot/x-rxjs": ^6.3.1
|
||||
@@ -1986,14 +1986,14 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@polkadot/metadata@4.8.2-17, @polkadot/metadata@workspace:packages/metadata":
|
||||
"@polkadot/metadata@4.9.0, @polkadot/metadata@workspace:packages/metadata":
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@polkadot/metadata@workspace:packages/metadata"
|
||||
dependencies:
|
||||
"@babel/runtime": ^7.14.0
|
||||
"@polkadot/keyring": ^6.3.1
|
||||
"@polkadot/types": 4.8.2-17
|
||||
"@polkadot/types-known": 4.8.2-17
|
||||
"@polkadot/types": 4.9.0
|
||||
"@polkadot/types-known": 4.9.0
|
||||
"@polkadot/util": ^6.3.1
|
||||
"@polkadot/util-crypto": ^6.3.1
|
||||
bn.js: ^4.11.9
|
||||
@@ -2009,28 +2009,28 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@polkadot/rpc-core@4.8.2-17, @polkadot/rpc-core@workspace:packages/rpc-core":
|
||||
"@polkadot/rpc-core@4.9.0, @polkadot/rpc-core@workspace:packages/rpc-core":
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@polkadot/rpc-core@workspace:packages/rpc-core"
|
||||
dependencies:
|
||||
"@babel/runtime": ^7.14.0
|
||||
"@polkadot/keyring": ^6.3.1
|
||||
"@polkadot/metadata": 4.8.2-17
|
||||
"@polkadot/rpc-provider": 4.8.2-17
|
||||
"@polkadot/types": 4.8.2-17
|
||||
"@polkadot/metadata": 4.9.0
|
||||
"@polkadot/rpc-provider": 4.9.0
|
||||
"@polkadot/types": 4.9.0
|
||||
"@polkadot/util": ^6.3.1
|
||||
"@polkadot/x-rxjs": ^6.3.1
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
"@polkadot/rpc-provider@4.8.2-17, @polkadot/rpc-provider@workspace:packages/rpc-provider":
|
||||
"@polkadot/rpc-provider@4.9.0, @polkadot/rpc-provider@workspace:packages/rpc-provider":
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@polkadot/rpc-provider@workspace:packages/rpc-provider"
|
||||
dependencies:
|
||||
"@babel/runtime": ^7.14.0
|
||||
"@polkadot/keyring": ^6.3.1
|
||||
"@polkadot/metadata": 4.8.2-17
|
||||
"@polkadot/types": 4.8.2-17
|
||||
"@polkadot/metadata": 4.9.0
|
||||
"@polkadot/types": 4.9.0
|
||||
"@polkadot/util": ^6.3.1
|
||||
"@polkadot/util-crypto": ^6.3.1
|
||||
"@polkadot/x-fetch": ^6.3.1
|
||||
@@ -2059,10 +2059,10 @@ __metadata:
|
||||
"@babel/core": ^7.14.0
|
||||
"@babel/register": ^7.13.16
|
||||
"@babel/runtime": ^7.14.0
|
||||
"@polkadot/api": 4.8.2-17
|
||||
"@polkadot/metadata": 4.8.2-17
|
||||
"@polkadot/rpc-provider": 4.8.2-17
|
||||
"@polkadot/types": 4.8.2-17
|
||||
"@polkadot/api": 4.9.0
|
||||
"@polkadot/metadata": 4.9.0
|
||||
"@polkadot/rpc-provider": 4.9.0
|
||||
"@polkadot/types": 4.9.0
|
||||
"@polkadot/util": ^6.3.1
|
||||
"@types/websocket": ^1.0.2
|
||||
"@types/yargs": ^16.0.1
|
||||
@@ -2078,26 +2078,26 @@ __metadata:
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
"@polkadot/types-known@4.8.2-17, @polkadot/types-known@workspace:packages/types-known":
|
||||
"@polkadot/types-known@4.9.0, @polkadot/types-known@workspace:packages/types-known":
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@polkadot/types-known@workspace:packages/types-known"
|
||||
dependencies:
|
||||
"@babel/runtime": ^7.14.0
|
||||
"@polkadot/networks": ^6.3.1
|
||||
"@polkadot/types": 4.8.2-17
|
||||
"@polkadot/types": 4.9.0
|
||||
"@polkadot/util": ^6.3.1
|
||||
"@types/bn.js": ^4.11.6
|
||||
bn.js: ^4.11.9
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
"@polkadot/types@4.8.2-17, @polkadot/types@workspace:packages/types":
|
||||
"@polkadot/types@4.9.0, @polkadot/types@workspace:packages/types":
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@polkadot/types@workspace:packages/types"
|
||||
dependencies:
|
||||
"@babel/runtime": ^7.14.0
|
||||
"@polkadot/keyring": ^6.3.1
|
||||
"@polkadot/metadata": 4.8.2-17
|
||||
"@polkadot/metadata": 4.9.0
|
||||
"@polkadot/util": ^6.3.1
|
||||
"@polkadot/util-crypto": ^6.3.1
|
||||
"@polkadot/x-rxjs": ^6.3.1
|
||||
|
||||
Reference in New Issue
Block a user