From 72fbd3f82904c705ef6f9f1f3c5702bf0ff16c33 Mon Sep 17 00:00:00 2001 From: Jaco Date: Sun, 24 Oct 2021 19:58:36 +0200 Subject: [PATCH] 6.5.1 (#4102) --- CHANGELOG.md | 3 +- package.json | 2 +- packages/api-contract/package.json | 6 ++-- packages/api-derive/package.json | 10 +++--- packages/api/package.json | 12 +++---- packages/rpc-core/package.json | 6 ++-- packages/rpc-provider/package.json | 6 ++-- packages/typegen/package.json | 10 +++--- packages/types-known/package.json | 4 +-- packages/types-support/package.json | 2 +- packages/types/package.json | 4 +-- yarn.lock | 54 ++++++++++++++--------------- 12 files changed, 60 insertions(+), 59 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 645195049d..3ed853ff7a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ # CHANGELOG -## master +## 6.5.1 Oct 24, 2021 Contributed: @@ -13,6 +13,7 @@ Changes: - `TypeDef` structures now contain the `typeName` from metadata v14 on fields - Fix browser bundle imports for xcm-mapping (move to `types-known`) - Expose all extracted type names in `PortableRegistry` +- Adjust `toJSON` (Asicc) output detection on `Raw` - Adjust `api.rpc.*.*.raw(..args)` return to the actual over-the-wire JSON result - Remove `api.rpc.*.*.json(..args)` since it now overlaps with new `.raw` - Bump static metadata for latest Substrate, Polkadot & Kusama diff --git a/package.json b/package.json index 68cb744b08..75954d7042 100644 --- a/package.json +++ b/package.json @@ -35,6 +35,6 @@ "@types/jest": "^27.0.2", "copyfiles": "^2.4.1" }, - "version": "6.4.3-9", + "version": "6.5.0", "packageManager": "yarn@3.0.1" } diff --git a/packages/api-contract/package.json b/packages/api-contract/package.json index 006583d6d6..ba94d2bcea 100644 --- a/packages/api-contract/package.json +++ b/packages/api-contract/package.json @@ -1,6 +1,6 @@ { "name": "@polkadot/api-contract", - "version": "6.4.3-9", + "version": "6.5.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.15.4", - "@polkadot/api": "6.4.3-9", - "@polkadot/types": "6.4.3-9", + "@polkadot/api": "6.5.0", + "@polkadot/types": "6.5.0", "@polkadot/util": "^7.6.1", "rxjs": "^7.4.0" } diff --git a/packages/api-derive/package.json b/packages/api-derive/package.json index 2889011575..2c785edbee 100644 --- a/packages/api-derive/package.json +++ b/packages/api-derive/package.json @@ -1,6 +1,6 @@ { "name": "@polkadot/api-derive", - "version": "6.4.3-9", + "version": "6.5.0", "type": "module", "description": "Common functions used across Polkadot, derived from RPC calls and storage queries.", "main": "index.js", @@ -20,15 +20,15 @@ "homepage": "https://github.com/polkadot-js/api/tree/master/packages/api-derive#readme", "dependencies": { "@babel/runtime": "^7.15.4", - "@polkadot/api": "6.4.3-9", - "@polkadot/rpc-core": "6.4.3-9", - "@polkadot/types": "6.4.3-9", + "@polkadot/api": "6.5.0", + "@polkadot/rpc-core": "6.5.0", + "@polkadot/types": "6.5.0", "@polkadot/util": "^7.6.1", "@polkadot/util-crypto": "^7.6.1", "rxjs": "^7.4.0" }, "devDependencies": { "@polkadot/keyring": "^7.6.1", - "@polkadot/rpc-provider": "6.4.3-9" + "@polkadot/rpc-provider": "6.5.0" } } diff --git a/packages/api/package.json b/packages/api/package.json index b287a8405c..abcef9d7c6 100644 --- a/packages/api/package.json +++ b/packages/api/package.json @@ -1,6 +1,6 @@ { "name": "@polkadot/api", - "version": "6.4.3-9", + "version": "6.5.0", "type": "module", "description": "Promise and RxJS wrappers around the Polkadot JS RPC", "main": "index.js", @@ -20,12 +20,12 @@ "homepage": "https://github.com/polkadot-js/api/tree/master/packages/api#readme", "dependencies": { "@babel/runtime": "^7.15.4", - "@polkadot/api-derive": "6.4.3-9", + "@polkadot/api-derive": "6.5.0", "@polkadot/keyring": "^7.6.1", - "@polkadot/rpc-core": "6.4.3-9", - "@polkadot/rpc-provider": "6.4.3-9", - "@polkadot/types": "6.4.3-9", - "@polkadot/types-known": "6.4.3-9", + "@polkadot/rpc-core": "6.5.0", + "@polkadot/rpc-provider": "6.5.0", + "@polkadot/types": "6.5.0", + "@polkadot/types-known": "6.5.0", "@polkadot/util": "^7.6.1", "@polkadot/util-crypto": "^7.6.1", "eventemitter3": "^4.0.7", diff --git a/packages/rpc-core/package.json b/packages/rpc-core/package.json index 1f939f7121..379ee59351 100644 --- a/packages/rpc-core/package.json +++ b/packages/rpc-core/package.json @@ -1,6 +1,6 @@ { "name": "@polkadot/rpc-core", - "version": "6.4.3-9", + "version": "6.5.0", "type": "module", "description": "A JavaScript wrapper for the Polkadot JsonRPC interface", "main": "index.js", @@ -20,8 +20,8 @@ "homepage": "https://github.com/polkadot-js/api/tree/master/packages/rpc-core#readme", "dependencies": { "@babel/runtime": "^7.15.4", - "@polkadot/rpc-provider": "6.4.3-9", - "@polkadot/types": "6.4.3-9", + "@polkadot/rpc-provider": "6.5.0", + "@polkadot/types": "6.5.0", "@polkadot/util": "^7.6.1", "rxjs": "^7.4.0" }, diff --git a/packages/rpc-provider/package.json b/packages/rpc-provider/package.json index d529c54094..f00252eeb9 100644 --- a/packages/rpc-provider/package.json +++ b/packages/rpc-provider/package.json @@ -1,6 +1,6 @@ { "name": "@polkadot/rpc-provider", - "version": "6.4.3-9", + "version": "6.5.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.15.4", - "@polkadot/types": "6.4.3-9", + "@polkadot/types": "6.5.0", "@polkadot/util": "^7.6.1", "@polkadot/util-crypto": "^7.6.1", "@polkadot/x-fetch": "^7.6.1", @@ -30,7 +30,7 @@ }, "devDependencies": { "@polkadot/keyring": "^7.6.1", - "@polkadot/types": "6.4.3-9", + "@polkadot/types": "6.5.0", "mock-socket": "^9.0.6", "nock": "^13.1.4" } diff --git a/packages/typegen/package.json b/packages/typegen/package.json index 37abbbefe6..6ac2a800a5 100644 --- a/packages/typegen/package.json +++ b/packages/typegen/package.json @@ -1,6 +1,6 @@ { "name": "@polkadot/typegen", - "version": "6.4.3-9", + "version": "6.5.0", "type": "module", "description": "Type generation scripts", "main": "index.js", @@ -29,10 +29,10 @@ "@babel/core": "^7.15.8", "@babel/register": "^7.15.3", "@babel/runtime": "^7.15.4", - "@polkadot/api": "6.4.3-9", - "@polkadot/rpc-provider": "6.4.3-9", - "@polkadot/types": "6.4.3-9", - "@polkadot/types-support": "6.4.3-9", + "@polkadot/api": "6.5.0", + "@polkadot/rpc-provider": "6.5.0", + "@polkadot/types": "6.5.0", + "@polkadot/types-support": "6.5.0", "@polkadot/util": "^7.6.1", "handlebars": "^4.7.7", "websocket": "^1.0.34", diff --git a/packages/types-known/package.json b/packages/types-known/package.json index 81206b43a5..16f2b1f168 100644 --- a/packages/types-known/package.json +++ b/packages/types-known/package.json @@ -1,6 +1,6 @@ { "name": "@polkadot/types-known", - "version": "6.4.3-9", + "version": "6.5.0", "type": "module", "description": "Known type definitions", "main": "index.js", @@ -21,7 +21,7 @@ "dependencies": { "@babel/runtime": "^7.15.4", "@polkadot/networks": "^7.6.1", - "@polkadot/types": "6.4.3-9", + "@polkadot/types": "6.5.0", "@polkadot/util": "^7.6.1" } } diff --git a/packages/types-support/package.json b/packages/types-support/package.json index 885182f4db..c2eba246ef 100644 --- a/packages/types-support/package.json +++ b/packages/types-support/package.json @@ -1,6 +1,6 @@ { "name": "@polkadot/types-support", - "version": "6.4.3-9", + "version": "6.5.0", "type": "module", "description": "Supporting files for types, mostly for testing", "main": "index.js", diff --git a/packages/types/package.json b/packages/types/package.json index c8119e070e..9c39233956 100644 --- a/packages/types/package.json +++ b/packages/types/package.json @@ -1,6 +1,6 @@ { "name": "@polkadot/types", - "version": "6.4.3-9", + "version": "6.5.0", "type": "module", "description": "Implementation of the Parity codec", "main": "index.js", @@ -26,7 +26,7 @@ }, "devDependencies": { "@polkadot/keyring": "^7.6.1", - "@polkadot/types-support": "6.4.3-9", + "@polkadot/types-support": "6.5.0", "@types/bn.js": "^4.11.6", "bn.js": "^4.12.0" } diff --git a/yarn.lock b/yarn.lock index d548080fca..f71dcea110 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1833,40 +1833,40 @@ __metadata: resolution: "@polkadot/api-contract@workspace:packages/api-contract" dependencies: "@babel/runtime": ^7.15.4 - "@polkadot/api": 6.4.3-9 - "@polkadot/types": 6.4.3-9 + "@polkadot/api": 6.5.0 + "@polkadot/types": 6.5.0 "@polkadot/util": ^7.6.1 rxjs: ^7.4.0 languageName: unknown linkType: soft -"@polkadot/api-derive@6.4.3-9, @polkadot/api-derive@workspace:packages/api-derive": +"@polkadot/api-derive@6.5.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.15.4 - "@polkadot/api": 6.4.3-9 + "@polkadot/api": 6.5.0 "@polkadot/keyring": ^7.6.1 - "@polkadot/rpc-core": 6.4.3-9 - "@polkadot/rpc-provider": 6.4.3-9 - "@polkadot/types": 6.4.3-9 + "@polkadot/rpc-core": 6.5.0 + "@polkadot/rpc-provider": 6.5.0 + "@polkadot/types": 6.5.0 "@polkadot/util": ^7.6.1 "@polkadot/util-crypto": ^7.6.1 rxjs: ^7.4.0 languageName: unknown linkType: soft -"@polkadot/api@6.4.3-9, @polkadot/api@workspace:packages/api": +"@polkadot/api@6.5.0, @polkadot/api@workspace:packages/api": version: 0.0.0-use.local resolution: "@polkadot/api@workspace:packages/api" dependencies: "@babel/runtime": ^7.15.4 - "@polkadot/api-derive": 6.4.3-9 + "@polkadot/api-derive": 6.5.0 "@polkadot/keyring": ^7.6.1 - "@polkadot/rpc-core": 6.4.3-9 - "@polkadot/rpc-provider": 6.4.3-9 - "@polkadot/types": 6.4.3-9 - "@polkadot/types-known": 6.4.3-9 + "@polkadot/rpc-core": 6.5.0 + "@polkadot/rpc-provider": 6.5.0 + "@polkadot/types": 6.5.0 + "@polkadot/types-known": 6.5.0 "@polkadot/util": ^7.6.1 "@polkadot/util-crypto": ^7.6.1 eventemitter3: ^4.0.7 @@ -1991,26 +1991,26 @@ __metadata: languageName: node linkType: hard -"@polkadot/rpc-core@6.4.3-9, @polkadot/rpc-core@workspace:packages/rpc-core": +"@polkadot/rpc-core@6.5.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.15.4 "@polkadot/keyring": ^7.6.1 - "@polkadot/rpc-provider": 6.4.3-9 - "@polkadot/types": 6.4.3-9 + "@polkadot/rpc-provider": 6.5.0 + "@polkadot/types": 6.5.0 "@polkadot/util": ^7.6.1 rxjs: ^7.4.0 languageName: unknown linkType: soft -"@polkadot/rpc-provider@6.4.3-9, @polkadot/rpc-provider@workspace:packages/rpc-provider": +"@polkadot/rpc-provider@6.5.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.15.4 "@polkadot/keyring": ^7.6.1 - "@polkadot/types": 6.4.3-9 + "@polkadot/types": 6.5.0 "@polkadot/util": ^7.6.1 "@polkadot/util-crypto": ^7.6.1 "@polkadot/x-fetch": ^7.6.1 @@ -2038,10 +2038,10 @@ __metadata: "@babel/core": ^7.15.8 "@babel/register": ^7.15.3 "@babel/runtime": ^7.15.4 - "@polkadot/api": 6.4.3-9 - "@polkadot/rpc-provider": 6.4.3-9 - "@polkadot/types": 6.4.3-9 - "@polkadot/types-support": 6.4.3-9 + "@polkadot/api": 6.5.0 + "@polkadot/rpc-provider": 6.5.0 + "@polkadot/types": 6.5.0 + "@polkadot/types-support": 6.5.0 "@polkadot/util": ^7.6.1 "@types/websocket": ^1.0.4 "@types/yargs": ^17.0.4 @@ -2057,18 +2057,18 @@ __metadata: languageName: unknown linkType: soft -"@polkadot/types-known@6.4.3-9, @polkadot/types-known@workspace:packages/types-known": +"@polkadot/types-known@6.5.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.15.4 "@polkadot/networks": ^7.6.1 - "@polkadot/types": 6.4.3-9 + "@polkadot/types": 6.5.0 "@polkadot/util": ^7.6.1 languageName: unknown linkType: soft -"@polkadot/types-support@6.4.3-9, @polkadot/types-support@workspace:packages/types-support": +"@polkadot/types-support@6.5.0, @polkadot/types-support@workspace:packages/types-support": version: 0.0.0-use.local resolution: "@polkadot/types-support@workspace:packages/types-support" dependencies: @@ -2077,13 +2077,13 @@ __metadata: languageName: unknown linkType: soft -"@polkadot/types@6.4.3-9, @polkadot/types@workspace:packages/types": +"@polkadot/types@6.5.0, @polkadot/types@workspace:packages/types": version: 0.0.0-use.local resolution: "@polkadot/types@workspace:packages/types" dependencies: "@babel/runtime": ^7.15.4 "@polkadot/keyring": ^7.6.1 - "@polkadot/types-support": 6.4.3-9 + "@polkadot/types-support": 6.5.0 "@polkadot/util": ^7.6.1 "@polkadot/util-crypto": ^7.6.1 "@types/bn.js": ^4.11.6