From 67f8dcafdb2d429e4b55b73f98dcbfc92c006992 Mon Sep 17 00:00:00 2001 From: Jaco Greeff Date: Mon, 2 Nov 2020 11:45:57 +0100 Subject: [PATCH] 2.5 (#2813) --- CHANGELOG.md | 5 + package.json | 4 +- packages/api-contract/package.json | 10 +- packages/api-derive/package.json | 16 +- packages/api/package.json | 22 +-- packages/metadata/package.json | 12 +- packages/rpc-core/package.json | 12 +- packages/rpc-provider/package.json | 16 +- packages/typegen/package.json | 12 +- packages/types-known/package.json | 6 +- packages/types/package.json | 10 +- yarn.lock | 245 ++++++++++++++--------------- 12 files changed, 187 insertions(+), 183 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4bc3234447..874c72319d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,12 +2,17 @@ ## 2.4.2-x +Upgrade priority: Low. Recommended for `api-contract` developers. + +- **Breaking change** Substrate changed the `ContractExecResult` from `api.rpc.contracts.call`. The API does have pass-through support for both old and new variants via the `Contract` interface, however it means the structure has changed to accommodate the new Substrate structure. Refer to the [docs for the latest interface](https://polkadot.js.org/docs/api-contract/start/contract.read) (including `isSuccess/isError` -> `isOk/isErr`, and the availability of the `gasConsumed`) + Contributed: - Dedup similar types on generation (Thanks to https://github.com/monitz87) Changes: +- `Contract` execution will now return contract events decoded in the result - Add `.dryRun` on extrinsics (alongside `.paymentInfo` usage) - Add `system_syncState` and `syncstate_genSyncSpec` RPCs - Enhance error reporting, `Call` indicates explicit call as found diff --git a/package.json b/package.json index 38ecdad19d..c6641aff80 100644 --- a/package.json +++ b/package.json @@ -27,11 +27,11 @@ "@babel/core": "^7.12.3", "@babel/register": "^7.12.1", "@babel/runtime": "^7.12.1", - "@polkadot/dev": "^0.59.10", + "@polkadot/dev": "^0.59.14", "@polkadot/ts": "^0.3.53", "@polkadot/typegen": "workspace:packages/typegen", "@types/jest": "^26.0.15", "copyfiles": "^2.4.0" }, - "version": "2.4.2-20" + "version": "2.5.0" } diff --git a/packages/api-contract/package.json b/packages/api-contract/package.json index f649fb73a2..adb5753bdb 100644 --- a/packages/api-contract/package.json +++ b/packages/api-contract/package.json @@ -1,6 +1,6 @@ { "name": "@polkadot/api-contract", - "version": "2.4.2-20", + "version": "2.5.0", "description": "Interfaces for interacting with contracts and contract ABIs", "main": "index.js", "keywords": [ @@ -27,10 +27,10 @@ "homepage": "https://github.com/polkadot-js/api/tree/master/packages/api-contract#readme", "dependencies": { "@babel/runtime": "^7.12.1", - "@polkadot/api": "^2.4.2-20", - "@polkadot/rpc-core": "^2.4.2-20", - "@polkadot/types": "^2.4.2-20", - "@polkadot/util": "^3.6.2-12", + "@polkadot/api": "^2.5.0", + "@polkadot/rpc-core": "^2.5.0", + "@polkadot/types": "^2.5.0", + "@polkadot/util": "^3.7.1", "bn.js": "^5.1.3", "rxjs": "^6.6.3" } diff --git a/packages/api-derive/package.json b/packages/api-derive/package.json index 554a8bb6e7..9c843ba79a 100644 --- a/packages/api-derive/package.json +++ b/packages/api-derive/package.json @@ -1,6 +1,6 @@ { "name": "@polkadot/api-derive", - "version": "2.4.2-20", + "version": "2.5.0", "description": "Common functions used across Polkadot, derived from RPC calls and storage queries.", "main": "index.js", "keywords": [ @@ -28,17 +28,17 @@ "homepage": "https://github.com/polkadot-js/api/tree/master/packages/api-derive#readme", "dependencies": { "@babel/runtime": "^7.12.1", - "@polkadot/api": "^2.4.2-20", - "@polkadot/rpc-core": "^2.4.2-20", - "@polkadot/rpc-provider": "^2.4.2-20", - "@polkadot/types": "^2.4.2-20", - "@polkadot/util": "^3.6.2-12", - "@polkadot/util-crypto": "^3.6.2-12", + "@polkadot/api": "^2.5.0", + "@polkadot/rpc-core": "^2.5.0", + "@polkadot/rpc-provider": "^2.5.0", + "@polkadot/types": "^2.5.0", + "@polkadot/util": "^3.7.1", + "@polkadot/util-crypto": "^3.7.1", "bn.js": "^5.1.3", "memoizee": "^0.4.14", "rxjs": "^6.6.3" }, "devDependencies": { - "@polkadot/keyring": "^3.6.2-12" + "@polkadot/keyring": "^3.7.1" } } diff --git a/packages/api/package.json b/packages/api/package.json index a6e2f6d384..c95fa4beb5 100644 --- a/packages/api/package.json +++ b/packages/api/package.json @@ -1,6 +1,6 @@ { "name": "@polkadot/api", - "version": "2.4.2-20", + "version": "2.5.0", "description": "Promise and RxJS wrappers around the Polkadot JS RPC", "main": "index.js", "keywords": [ @@ -27,20 +27,20 @@ "homepage": "https://github.com/polkadot-js/api/tree/master/packages/api#readme", "dependencies": { "@babel/runtime": "^7.12.1", - "@polkadot/api-derive": "^2.4.2-20", - "@polkadot/keyring": "^3.6.2-12", - "@polkadot/metadata": "^2.4.2-20", - "@polkadot/rpc-core": "^2.4.2-20", - "@polkadot/rpc-provider": "^2.4.2-20", - "@polkadot/types": "^2.4.2-20", - "@polkadot/types-known": "^2.4.2-20", - "@polkadot/util": "^3.6.2-12", - "@polkadot/util-crypto": "^3.6.2-12", + "@polkadot/api-derive": "^2.5.0", + "@polkadot/keyring": "^3.7.1", + "@polkadot/metadata": "^2.5.0", + "@polkadot/rpc-core": "^2.5.0", + "@polkadot/rpc-provider": "^2.5.0", + "@polkadot/types": "^2.5.0", + "@polkadot/types-known": "^2.5.0", + "@polkadot/util": "^3.7.1", + "@polkadot/util-crypto": "^3.7.1", "bn.js": "^5.1.3", "eventemitter3": "^4.0.7", "rxjs": "^6.6.3" }, "devDependencies": { - "@polkadot/keyring": "^3.6.2-12" + "@polkadot/keyring": "^3.7.1" } } diff --git a/packages/metadata/package.json b/packages/metadata/package.json index b61a2e9387..fe92452538 100644 --- a/packages/metadata/package.json +++ b/packages/metadata/package.json @@ -1,6 +1,6 @@ { "name": "@polkadot/metadata", - "version": "2.4.2-20", + "version": "2.5.0", "description": "Helpers to extract information from runtime metadata", "main": "index.js", "publishConfig": { @@ -27,13 +27,13 @@ "homepage": "https://github.com/polkadot-js/api/tree/master/packages/type-metadata#readme", "dependencies": { "@babel/runtime": "^7.12.1", - "@polkadot/types": "^2.4.2-20", - "@polkadot/types-known": "^2.4.2-20", - "@polkadot/util": "^3.6.2-12", - "@polkadot/util-crypto": "^3.6.2-12", + "@polkadot/types": "^2.5.0", + "@polkadot/types-known": "^2.5.0", + "@polkadot/util": "^3.7.1", + "@polkadot/util-crypto": "^3.7.1", "bn.js": "^5.1.3" }, "devDependencies": { - "@polkadot/keyring": "^3.6.2-12" + "@polkadot/keyring": "^3.7.1" } } diff --git a/packages/rpc-core/package.json b/packages/rpc-core/package.json index 873d3a0179..6d1a043e25 100644 --- a/packages/rpc-core/package.json +++ b/packages/rpc-core/package.json @@ -1,6 +1,6 @@ { "name": "@polkadot/rpc-core", - "version": "2.4.2-20", + "version": "2.5.0", "description": "A JavaScript wrapper for the Polkadot JsonRPC interface", "main": "index.js", "keywords": [ @@ -27,14 +27,14 @@ "homepage": "https://github.com/polkadot-js/api/tree/master/packages/rpc-core#readme", "dependencies": { "@babel/runtime": "^7.12.1", - "@polkadot/metadata": "^2.4.2-20", - "@polkadot/rpc-provider": "^2.4.2-20", - "@polkadot/types": "^2.4.2-20", - "@polkadot/util": "^3.6.2-12", + "@polkadot/metadata": "^2.5.0", + "@polkadot/rpc-provider": "^2.5.0", + "@polkadot/types": "^2.5.0", + "@polkadot/util": "^3.7.1", "memoizee": "^0.4.14", "rxjs": "^6.6.3" }, "devDependencies": { - "@polkadot/keyring": "^3.6.2-12" + "@polkadot/keyring": "^3.7.1" } } diff --git a/packages/rpc-provider/package.json b/packages/rpc-provider/package.json index 967b59d054..1de92a093e 100644 --- a/packages/rpc-provider/package.json +++ b/packages/rpc-provider/package.json @@ -1,6 +1,6 @@ { "name": "@polkadot/rpc-provider", - "version": "2.4.2-20", + "version": "2.5.0", "description": "Transport providers for the API", "main": "index.js", "keywords": [ @@ -27,17 +27,17 @@ "homepage": "https://github.com/polkadot-js/api/tree/master/packages/rpc-provider#readme", "dependencies": { "@babel/runtime": "^7.12.1", - "@polkadot/metadata": "^2.4.2-20", - "@polkadot/types": "^2.4.2-20", - "@polkadot/util": "^3.6.2-12", - "@polkadot/util-crypto": "^3.6.2-12", - "@polkadot/x-fetch": "^3.6.2-12", - "@polkadot/x-ws": "^3.6.2-12", + "@polkadot/metadata": "^2.5.0", + "@polkadot/types": "^2.5.0", + "@polkadot/util": "^3.7.1", + "@polkadot/util-crypto": "^3.7.1", + "@polkadot/x-fetch": "^3.7.1", + "@polkadot/x-ws": "^3.7.1", "bn.js": "^5.1.3", "eventemitter3": "^4.0.7" }, "devDependencies": { - "@polkadot/keyring": "^3.6.2-12", + "@polkadot/keyring": "^3.7.1", "mock-socket": "^9.0.3", "nock": "^13.0.4" } diff --git a/packages/typegen/package.json b/packages/typegen/package.json index b4597e18b8..ed8acf3aa9 100644 --- a/packages/typegen/package.json +++ b/packages/typegen/package.json @@ -1,6 +1,6 @@ { "name": "@polkadot/typegen", - "version": "2.4.2-20", + "version": "2.5.0", "description": "Type generation scripts", "main": "index.js", "bin": { @@ -36,11 +36,11 @@ "@babel/core": "^7.12.3", "@babel/register": "^7.12.1", "@babel/runtime": "^7.12.1", - "@polkadot/api": "^2.4.2-20", - "@polkadot/metadata": "^2.4.2-20", - "@polkadot/rpc-provider": "^2.4.2-20", - "@polkadot/types": "^2.4.2-20", - "@polkadot/util": "^3.6.2-12", + "@polkadot/api": "^2.5.0", + "@polkadot/metadata": "^2.5.0", + "@polkadot/rpc-provider": "^2.5.0", + "@polkadot/types": "^2.5.0", + "@polkadot/util": "^3.7.1", "handlebars": "^4.7.6", "websocket": "^1.0.32", "yargs": "^16.1.0" diff --git a/packages/types-known/package.json b/packages/types-known/package.json index 3dc969bc11..f4ae98752c 100644 --- a/packages/types-known/package.json +++ b/packages/types-known/package.json @@ -1,6 +1,6 @@ { "name": "@polkadot/types-known", - "version": "2.4.2-20", + "version": "2.5.0", "description": "A JavaScript wrapper for the Polkadot JsonRPC interface", "main": "index.js", "keywords": [ @@ -27,8 +27,8 @@ "homepage": "https://github.com/polkadot-js/api/tree/master/packages/types-known#readme", "dependencies": { "@babel/runtime": "^7.12.1", - "@polkadot/types": "^2.4.2-20", - "@polkadot/util": "^3.6.2-12", + "@polkadot/types": "^2.5.0", + "@polkadot/util": "^3.7.1", "bn.js": "^5.1.3" }, "devDependencies": { diff --git a/packages/types/package.json b/packages/types/package.json index 603a85f839..9254dfbf4a 100644 --- a/packages/types/package.json +++ b/packages/types/package.json @@ -1,6 +1,6 @@ { "name": "@polkadot/types", - "version": "2.4.2-20", + "version": "2.5.0", "description": "Implementation of the Parity codec", "main": "index.js", "keywords": [ @@ -27,16 +27,16 @@ "homepage": "https://github.com/polkadot-js/api/tree/master/packages/types#readme", "dependencies": { "@babel/runtime": "^7.12.1", - "@polkadot/metadata": "^2.4.2-20", - "@polkadot/util": "^3.6.2-12", - "@polkadot/util-crypto": "^3.6.2-12", + "@polkadot/metadata": "^2.5.0", + "@polkadot/util": "^3.7.1", + "@polkadot/util-crypto": "^3.7.1", "@types/bn.js": "^4.11.6", "bn.js": "^5.1.3", "memoizee": "^0.4.14", "rxjs": "^6.6.3" }, "devDependencies": { - "@polkadot/keyring": "^3.6.2-12", + "@polkadot/keyring": "^3.7.1", "@types/memoizee": "^0.4.4" } } diff --git a/yarn.lock b/yarn.lock index 5f5dd4df00..71d229496f 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1443,9 +1443,9 @@ __metadata: languageName: node linkType: hard -"@eslint/eslintrc@npm:^0.1.3": - version: 0.1.3 - resolution: "@eslint/eslintrc@npm:0.1.3" +"@eslint/eslintrc@npm:^0.2.1": + version: 0.2.1 + resolution: "@eslint/eslintrc@npm:0.2.1" dependencies: ajv: ^6.12.4 debug: ^4.1.1 @@ -1457,7 +1457,7 @@ __metadata: lodash: ^4.17.19 minimatch: ^3.0.4 strip-json-comments: ^3.1.1 - checksum: e9c5eaa5e706bcedbba6e7e1a2bc85faa7e3a9edbe71375e07240d1b6540fbb88d907bd5e5841b42c2a7a9683dcf031ea052c447c3c9d81ba4d0b74f0dd67e5f + checksum: 99310cddf0f1abb2de4b5278293db6e2639445aab4e525f3c5f5b3b8ad53a59d6003a306954fb7ad15edd2f8a02b658d43418fa8b52ae2d07e074b24d991de2a languageName: node linkType: hard @@ -1717,56 +1717,56 @@ __metadata: resolution: "@polkadot/api-contract@workspace:packages/api-contract" dependencies: "@babel/runtime": ^7.12.1 - "@polkadot/api": ^2.4.2-20 - "@polkadot/rpc-core": ^2.4.2-20 - "@polkadot/types": ^2.4.2-20 - "@polkadot/util": ^3.6.2-12 + "@polkadot/api": ^2.5.0 + "@polkadot/rpc-core": ^2.5.0 + "@polkadot/types": ^2.5.0 + "@polkadot/util": ^3.7.1 bn.js: ^5.1.3 rxjs: ^6.6.3 languageName: unknown linkType: soft -"@polkadot/api-derive@^2.4.2-20, @polkadot/api-derive@workspace:packages/api-derive": +"@polkadot/api-derive@^2.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.12.1 - "@polkadot/api": ^2.4.2-20 - "@polkadot/keyring": ^3.6.2-12 - "@polkadot/rpc-core": ^2.4.2-20 - "@polkadot/rpc-provider": ^2.4.2-20 - "@polkadot/types": ^2.4.2-20 - "@polkadot/util": ^3.6.2-12 - "@polkadot/util-crypto": ^3.6.2-12 + "@polkadot/api": ^2.5.0 + "@polkadot/keyring": ^3.7.1 + "@polkadot/rpc-core": ^2.5.0 + "@polkadot/rpc-provider": ^2.5.0 + "@polkadot/types": ^2.5.0 + "@polkadot/util": ^3.7.1 + "@polkadot/util-crypto": ^3.7.1 bn.js: ^5.1.3 memoizee: ^0.4.14 rxjs: ^6.6.3 languageName: unknown linkType: soft -"@polkadot/api@^2.4.2-20, @polkadot/api@workspace:packages/api": +"@polkadot/api@^2.5.0, @polkadot/api@workspace:packages/api": version: 0.0.0-use.local resolution: "@polkadot/api@workspace:packages/api" dependencies: "@babel/runtime": ^7.12.1 - "@polkadot/api-derive": ^2.4.2-20 - "@polkadot/keyring": ^3.6.2-12 - "@polkadot/metadata": ^2.4.2-20 - "@polkadot/rpc-core": ^2.4.2-20 - "@polkadot/rpc-provider": ^2.4.2-20 - "@polkadot/types": ^2.4.2-20 - "@polkadot/types-known": ^2.4.2-20 - "@polkadot/util": ^3.6.2-12 - "@polkadot/util-crypto": ^3.6.2-12 + "@polkadot/api-derive": ^2.5.0 + "@polkadot/keyring": ^3.7.1 + "@polkadot/metadata": ^2.5.0 + "@polkadot/rpc-core": ^2.5.0 + "@polkadot/rpc-provider": ^2.5.0 + "@polkadot/types": ^2.5.0 + "@polkadot/types-known": ^2.5.0 + "@polkadot/util": ^3.7.1 + "@polkadot/util-crypto": ^3.7.1 bn.js: ^5.1.3 eventemitter3: ^4.0.7 rxjs: ^6.6.3 languageName: unknown linkType: soft -"@polkadot/dev@npm:^0.59.10": - version: 0.59.10 - resolution: "@polkadot/dev@npm:0.59.10" +"@polkadot/dev@npm:^0.59.14": + version: 0.59.14 + resolution: "@polkadot/dev@npm:0.59.14" dependencies: "@babel/cli": ^7.12.1 "@babel/core": ^7.12.3 @@ -1788,7 +1788,7 @@ __metadata: "@babel/preset-typescript": ^7.12.1 "@babel/register": ^7.12.1 "@babel/runtime": ^7.12.1 - "@rushstack/eslint-patch": ^1.0.5 + "@rushstack/eslint-patch": ^1.0.6 "@typescript-eslint/eslint-plugin": 4.6.0 "@typescript-eslint/parser": 4.6.0 "@vue/component-compiler-utils": ^3.2.0 @@ -1799,8 +1799,8 @@ __metadata: browserslist: ^4.14.5 chalk: ^4.1.0 coveralls: ^3.1.0 - eslint: 7.11.0 - eslint-config-standard: ^15.0.1 + eslint: ^7.12.1 + eslint-config-standard: ^16.0.1 eslint-import-resolver-node: ^0.3.4 eslint-plugin-header: ^3.1.0 eslint-plugin-import: ^2.22.1 @@ -1853,71 +1853,71 @@ __metadata: polkadot-exec-typedoc: scripts/polkadot-exec-typedoc.js polkadot-exec-vuepress: scripts/polkadot-exec-vuepress.js polkadot-exec-webpack: scripts/polkadot-exec-webpack.js - checksum: 6bca7dd879f80c49637015475492c979e092b2aa68c925337709d5a142c2ba7496ab984d1012b2c5a429d30d47e128651b8af6cb074a81acbd0d8275a3c8b646 + checksum: 58f4e75bbe34dbdff0c27f39a24b4e31fb172780633665c8da14ec2abfdef7449c7610a3935234fd3637e8e9e1b9b91bb73d90893c28553bd0ddaf83d2124047 languageName: node linkType: hard -"@polkadot/keyring@npm:^3.6.2-12": - version: 3.6.2-12 - resolution: "@polkadot/keyring@npm:3.6.2-12" +"@polkadot/keyring@npm:^3.7.1": + version: 3.7.1 + resolution: "@polkadot/keyring@npm:3.7.1" dependencies: "@babel/runtime": ^7.12.1 - "@polkadot/util": ^3.6.2-12 - "@polkadot/util-crypto": ^3.6.2-12 - checksum: 4fcc4626baa1575c250edc222c8638b72408d9e4d39fde2707f7a57a1504db45126194b9a9f83d4eebfbbbf13b01e4ba1d7f6925f9a52f0261ef7df416b082e1 + "@polkadot/util": ^3.7.1 + "@polkadot/util-crypto": ^3.7.1 + checksum: 8f3b905f625a26b5e19451086e2dcc2b8e8c01a73b9af195e06c936ea083bf37445163050d7df8432b9f7b72adc580414d0a7009450ace641b50ab5b1b72d15e languageName: node linkType: hard -"@polkadot/metadata@^2.4.2-20, @polkadot/metadata@workspace:packages/metadata": +"@polkadot/metadata@^2.5.0, @polkadot/metadata@workspace:packages/metadata": version: 0.0.0-use.local resolution: "@polkadot/metadata@workspace:packages/metadata" dependencies: "@babel/runtime": ^7.12.1 - "@polkadot/keyring": ^3.6.2-12 - "@polkadot/types": ^2.4.2-20 - "@polkadot/types-known": ^2.4.2-20 - "@polkadot/util": ^3.6.2-12 - "@polkadot/util-crypto": ^3.6.2-12 + "@polkadot/keyring": ^3.7.1 + "@polkadot/types": ^2.5.0 + "@polkadot/types-known": ^2.5.0 + "@polkadot/util": ^3.7.1 + "@polkadot/util-crypto": ^3.7.1 bn.js: ^5.1.3 languageName: unknown linkType: soft -"@polkadot/networks@npm:^3.6.2-12": - version: 3.6.2-12 - resolution: "@polkadot/networks@npm:3.6.2-12" +"@polkadot/networks@npm:^3.7.1": + version: 3.7.1 + resolution: "@polkadot/networks@npm:3.7.1" dependencies: "@babel/runtime": ^7.12.1 - checksum: f185c93ccb4b119297c9b0e02b1265878574a258676acb603f1886a13cadb9241b80e382bf21385919f9630fa8b196de9b6bd048219879596a9eae17cf93f20a + checksum: 6619e9b9b3c3d98424a5895afb048ba56c79010b1a129da28b09f38263e77a1bb2e7ce4be7af93529c02d45ec9a39a868e04f7dd2b812b84bda5cf5e39955721 languageName: node linkType: hard -"@polkadot/rpc-core@^2.4.2-20, @polkadot/rpc-core@workspace:packages/rpc-core": +"@polkadot/rpc-core@^2.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.12.1 - "@polkadot/keyring": ^3.6.2-12 - "@polkadot/metadata": ^2.4.2-20 - "@polkadot/rpc-provider": ^2.4.2-20 - "@polkadot/types": ^2.4.2-20 - "@polkadot/util": ^3.6.2-12 + "@polkadot/keyring": ^3.7.1 + "@polkadot/metadata": ^2.5.0 + "@polkadot/rpc-provider": ^2.5.0 + "@polkadot/types": ^2.5.0 + "@polkadot/util": ^3.7.1 memoizee: ^0.4.14 rxjs: ^6.6.3 languageName: unknown linkType: soft -"@polkadot/rpc-provider@^2.4.2-20, @polkadot/rpc-provider@workspace:packages/rpc-provider": +"@polkadot/rpc-provider@^2.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.12.1 - "@polkadot/keyring": ^3.6.2-12 - "@polkadot/metadata": ^2.4.2-20 - "@polkadot/types": ^2.4.2-20 - "@polkadot/util": ^3.6.2-12 - "@polkadot/util-crypto": ^3.6.2-12 - "@polkadot/x-fetch": ^3.6.2-12 - "@polkadot/x-ws": ^3.6.2-12 + "@polkadot/keyring": ^3.7.1 + "@polkadot/metadata": ^2.5.0 + "@polkadot/types": ^2.5.0 + "@polkadot/util": ^3.7.1 + "@polkadot/util-crypto": ^3.7.1 + "@polkadot/x-fetch": ^3.7.1 + "@polkadot/x-ws": ^3.7.1 bn.js: ^5.1.3 eventemitter3: ^4.0.7 mock-socket: ^9.0.3 @@ -1941,11 +1941,11 @@ __metadata: "@babel/core": ^7.12.3 "@babel/register": ^7.12.1 "@babel/runtime": ^7.12.1 - "@polkadot/api": ^2.4.2-20 - "@polkadot/metadata": ^2.4.2-20 - "@polkadot/rpc-provider": ^2.4.2-20 - "@polkadot/types": ^2.4.2-20 - "@polkadot/util": ^3.6.2-12 + "@polkadot/api": ^2.5.0 + "@polkadot/metadata": ^2.5.0 + "@polkadot/rpc-provider": ^2.5.0 + "@polkadot/types": ^2.5.0 + "@polkadot/util": ^3.7.1 "@types/websocket": ^1.0.1 "@types/yargs": ^15.0.9 handlebars: ^4.7.6 @@ -1960,27 +1960,27 @@ __metadata: languageName: unknown linkType: soft -"@polkadot/types-known@^2.4.2-20, @polkadot/types-known@workspace:packages/types-known": +"@polkadot/types-known@^2.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.12.1 - "@polkadot/types": ^2.4.2-20 - "@polkadot/util": ^3.6.2-12 + "@polkadot/types": ^2.5.0 + "@polkadot/util": ^3.7.1 "@types/bn.js": ^4.11.6 bn.js: ^5.1.3 languageName: unknown linkType: soft -"@polkadot/types@^2.4.2-20, @polkadot/types@workspace:packages/types": +"@polkadot/types@^2.5.0, @polkadot/types@workspace:packages/types": version: 0.0.0-use.local resolution: "@polkadot/types@workspace:packages/types" dependencies: "@babel/runtime": ^7.12.1 - "@polkadot/keyring": ^3.6.2-12 - "@polkadot/metadata": ^2.4.2-20 - "@polkadot/util": ^3.6.2-12 - "@polkadot/util-crypto": ^3.6.2-12 + "@polkadot/keyring": ^3.7.1 + "@polkadot/metadata": ^2.5.0 + "@polkadot/util": ^3.7.1 + "@polkadot/util-crypto": ^3.7.1 "@types/bn.js": ^4.11.6 "@types/memoizee": ^0.4.4 bn.js: ^5.1.3 @@ -1989,13 +1989,13 @@ __metadata: languageName: unknown linkType: soft -"@polkadot/util-crypto@npm:^3.6.2-12": - version: 3.6.2-12 - resolution: "@polkadot/util-crypto@npm:3.6.2-12" +"@polkadot/util-crypto@npm:^3.7.1": + version: 3.7.1 + resolution: "@polkadot/util-crypto@npm:3.7.1" dependencies: "@babel/runtime": ^7.12.1 - "@polkadot/networks": ^3.6.2-12 - "@polkadot/util": ^3.6.2-12 + "@polkadot/networks": ^3.7.1 + "@polkadot/util": ^3.7.1 "@polkadot/wasm-crypto": ^1.4.1 base-x: ^3.0.8 blakejs: ^1.1.0 @@ -2007,22 +2007,22 @@ __metadata: scryptsy: ^2.1.0 tweetnacl: ^1.0.3 xxhashjs: ^0.2.2 - checksum: ac335b168bfeb8b3e22dcf8e89542edb38ef21a59d72db8bfd26d98bf8ac124462be0a0a9f60255b4a165afdb4e48ca9b3766b47c6adc1843f33f0eb60ccb142 + checksum: 4c4b7694042dbfe43f31acda1cdf4b86f6610ada0301288b45b764abb0c4e31df98b9c665f431e353608c416fa4411dc0038f422f4106efbdfceccaddbf940f9 languageName: node linkType: hard -"@polkadot/util@npm:^3.6.2-12": - version: 3.6.2-12 - resolution: "@polkadot/util@npm:3.6.2-12" +"@polkadot/util@npm:^3.7.1": + version: 3.7.1 + resolution: "@polkadot/util@npm:3.7.1" dependencies: "@babel/runtime": ^7.12.1 - "@polkadot/x-textdecoder": ^3.6.2-12 - "@polkadot/x-textencoder": ^3.6.2-12 + "@polkadot/x-textdecoder": ^3.7.1 + "@polkadot/x-textencoder": ^3.7.1 "@types/bn.js": ^4.11.6 bn.js: ^5.1.3 camelcase: ^5.3.1 ip-regex: ^4.2.0 - checksum: d0c0d367bb5a71f2d8f71f18bc40b02c01056eb161a8f3fcdf117156659cfe0d94951b0d37368c983b8d67ff5ab0442ec13745fb92a9a23e431584c9705b1cf5 + checksum: cb4d6cbd4de80397412b2dab8416babd430f25c8d4ec14ccc9049102a0c3644fd6541396016fe31d6627552858839bb3a1e161108d4ba79a53b08658ec95966c languageName: node linkType: hard @@ -2035,50 +2035,50 @@ __metadata: languageName: node linkType: hard -"@polkadot/x-fetch@npm:^3.6.2-12": - version: 3.6.2-12 - resolution: "@polkadot/x-fetch@npm:3.6.2-12" +"@polkadot/x-fetch@npm:^3.7.1": + version: 3.7.1 + resolution: "@polkadot/x-fetch@npm:3.7.1" dependencies: "@babel/runtime": ^7.12.1 "@types/node-fetch": ^2.5.7 node-fetch: ^2.6.1 - checksum: af8bbb2024729c448c5f68b1c872716c16a7cde8b281fb097c6e73e1db6a63ab3f170efffa64d3bb2c049277e1ac3b7a36a9284ab1ed8b951ebddf8dcf909409 + checksum: a3cff72f1ee1b78ed9a970b4d245e0c6e540e3f0a10b9cf844a2a4f5c0439a3bd26bb2a13226add9645b26b82ce2f8be435b36a2e1c6343cb2d7de47b34bb1ad languageName: node linkType: hard -"@polkadot/x-textdecoder@npm:^3.6.2-12": - version: 3.6.2-12 - resolution: "@polkadot/x-textdecoder@npm:3.6.2-12" +"@polkadot/x-textdecoder@npm:^3.7.1": + version: 3.7.1 + resolution: "@polkadot/x-textdecoder@npm:3.7.1" dependencies: "@babel/runtime": ^7.12.1 - checksum: b00bca3c2251e22e25b1cb26f285a6bdf28c4b14ca072ff059c6470145d05a9130d949eb6826543abcd062e2b7e18cb3496aa984fada67b6759f1ace6eaadb26 + checksum: 91cf56a8b467985ddef97472dbac1fb5aa5550fa6e80b54f0965f10d65a9c30c3189e295e45a8111cd7ac8abf0ab53b9995b403995ec5370d123ab4989f68a48 languageName: node linkType: hard -"@polkadot/x-textencoder@npm:^3.6.2-12": - version: 3.6.2-12 - resolution: "@polkadot/x-textencoder@npm:3.6.2-12" +"@polkadot/x-textencoder@npm:^3.7.1": + version: 3.7.1 + resolution: "@polkadot/x-textencoder@npm:3.7.1" dependencies: "@babel/runtime": ^7.12.1 - checksum: f75e5402004632e49b4de1f81060c0139a30a3ec1a6cfa77378deef8f8a763f292cf789694ea39162bd103adaaf49ea7d8e3253018634169ee0e40ef0ca808e4 + checksum: 0ec4cf37ad37c393e32f913e449fe333fc6799efd644d8ff31a2d05d093cf2f5457f7e02b60cae47693e344c56037eafbc303a56c6c2867ad69c1bf81415936e languageName: node linkType: hard -"@polkadot/x-ws@npm:^3.6.2-12": - version: 3.6.2-12 - resolution: "@polkadot/x-ws@npm:3.6.2-12" +"@polkadot/x-ws@npm:^3.7.1": + version: 3.7.1 + resolution: "@polkadot/x-ws@npm:3.7.1" dependencies: "@babel/runtime": ^7.12.1 "@types/websocket": ^1.0.1 websocket: ^1.0.32 - checksum: feaaa479ae023c854fb3b856b9f874a65f517cb62b8db1d2cc8030278088e65dc3484ce6181b052974c064af674e69615a24fb500ca6913efc6d5e2922bcdf64 + checksum: 4cfdde1be5526c2072803a29cac8792227043942036eb348bcaa78401f60c71e1b4b052520ac2646bb4114b592dbb33141891dc987d2838335a562a025730c3e languageName: node linkType: hard -"@rushstack/eslint-patch@npm:^1.0.5": - version: 1.0.5 - resolution: "@rushstack/eslint-patch@npm:1.0.5" - checksum: 76891efcaee71feea5446110d7ea382e51c8d91bf3fd6627c042f3b6bccdbb78085935eaff005bbe0d64ac503f221f3cd33b8add7487464d11eb6d6addd37771 +"@rushstack/eslint-patch@npm:^1.0.6": + version: 1.0.6 + resolution: "@rushstack/eslint-patch@npm:1.0.6" + checksum: cc01301f09d881da550a2f3c6a3f10b72dfb4c422b7a00a4b2e8bfc90d998aee06f08a6e7c9d03db89d5b286318d533435dc6c8c500884fe6ab05cb1309dfcc7 languageName: node linkType: hard @@ -4436,16 +4436,15 @@ __metadata: languageName: node linkType: hard -"eslint-config-standard@npm:^15.0.1": - version: 15.0.1 - resolution: "eslint-config-standard@npm:15.0.1" +"eslint-config-standard@npm:^16.0.1": + version: 16.0.1 + resolution: "eslint-config-standard@npm:16.0.1" peerDependencies: - eslint: ">=7.11.0" - eslint-plugin-import: ">=2.22.1" - eslint-plugin-node: ">=11.1.0" - eslint-plugin-promise: ">=4.2.1" - eslint-plugin-standard: ">=4.0.2" - checksum: e5e234126d309b37d25bc00d436b4cb3460ca818ed87411e241c69ef69c87fae217fea832028998e41b378a677e02994256963fbfb31dcd2bc2a96d42858d0e3 + eslint: ^7.12.1 + eslint-plugin-import: ^2.22.1 + eslint-plugin-node: ^11.1.0 + eslint-plugin-promise: ^4.2.1 + checksum: 496bd25045dd8cfba1d34d9b1d1cdd34a3243eebf924b147e9cf51661342a77a0af03582dd1fd4968101700f61d55a5437b14a12a90ef9b4c5d759065cc39449 languageName: node linkType: hard @@ -4619,12 +4618,12 @@ __metadata: languageName: node linkType: hard -"eslint@npm:7.11.0": - version: 7.11.0 - resolution: "eslint@npm:7.11.0" +"eslint@npm:^7.12.1": + version: 7.12.1 + resolution: "eslint@npm:7.12.1" dependencies: "@babel/code-frame": ^7.0.0 - "@eslint/eslintrc": ^0.1.3 + "@eslint/eslintrc": ^0.2.1 ajv: ^6.10.0 chalk: ^4.0.0 cross-spawn: ^7.0.2 @@ -4662,7 +4661,7 @@ __metadata: v8-compile-cache: ^2.0.3 bin: eslint: bin/eslint.js - checksum: 45ef6dc7b31684ca0f383ed9c6224e763197e1d49745542f4440e37286c947973388a6a7ebbf103eeee91ddb4af2652c5d22718f4130bfbbf4bd16a04103f82a + checksum: b3d11ea516d2932db5854ea942a546b711e6ee8735306627042bb9e2539e96844cc62cdb5826039f5d0509202936045c2cd7b84b457004c891a326f8eccae333 languageName: node linkType: hard @@ -9274,7 +9273,7 @@ fsevents@^1.2.7: "@babel/core": ^7.12.3 "@babel/register": ^7.12.1 "@babel/runtime": ^7.12.1 - "@polkadot/dev": ^0.59.10 + "@polkadot/dev": ^0.59.14 "@polkadot/ts": ^0.3.53 "@polkadot/typegen": "workspace:packages/typegen" "@types/jest": ^26.0.15