diff --git a/package.json b/package.json index 33b35b2ae1..0de7e6e642 100644 --- a/package.json +++ b/package.json @@ -34,5 +34,5 @@ "@types/jest": "^26.0.19", "copyfiles": "^2.4.1" }, - "version": "2.10.2-17" + "version": "2.10.2-18" } diff --git a/packages/api-contract/package.json b/packages/api-contract/package.json index a18c2b516f..8b4d124fde 100644 --- a/packages/api-contract/package.json +++ b/packages/api-contract/package.json @@ -1,6 +1,6 @@ { "name": "@polkadot/api-contract", - "version": "2.10.2-17", + "version": "2.10.2-18", "description": "Interfaces for interacting with contracts and contract ABIs", "main": "index.js", "sideEffects": false, @@ -13,10 +13,10 @@ "homepage": "https://github.com/polkadot-js/api/tree/master/packages/api-contract#readme", "dependencies": { "@babel/runtime": "^7.12.5", - "@polkadot/api": "2.10.2-17", - "@polkadot/types": "2.10.2-17", + "@polkadot/api": "2.10.2-18", + "@polkadot/types": "2.10.2-18", "@polkadot/util": "^5.0.1", - "@polkadot/x-rxjs": "2.10.2-17", + "@polkadot/x-rxjs": "2.10.2-18", "bn.js": "^4.11.9" } } diff --git a/packages/api-derive/package.json b/packages/api-derive/package.json index 70d7120cea..181c242d45 100644 --- a/packages/api-derive/package.json +++ b/packages/api-derive/package.json @@ -1,6 +1,6 @@ { "name": "@polkadot/api-derive", - "version": "2.10.2-17", + "version": "2.10.2-18", "description": "Common functions used across Polkadot, derived from RPC calls and storage queries.", "main": "index.js", "sideEffects": false, @@ -13,16 +13,16 @@ "homepage": "https://github.com/polkadot-js/api/tree/master/packages/api-derive#readme", "dependencies": { "@babel/runtime": "^7.12.5", - "@polkadot/api": "2.10.2-17", - "@polkadot/rpc-core": "2.10.2-17", - "@polkadot/types": "2.10.2-17", + "@polkadot/api": "2.10.2-18", + "@polkadot/rpc-core": "2.10.2-18", + "@polkadot/types": "2.10.2-18", "@polkadot/util": "^5.0.1", "@polkadot/util-crypto": "^5.0.1", - "@polkadot/x-rxjs": "2.10.2-17", + "@polkadot/x-rxjs": "2.10.2-18", "bn.js": "^4.11.9" }, "devDependencies": { "@polkadot/keyring": "^5.0.1", - "@polkadot/rpc-provider": "2.10.2-17" + "@polkadot/rpc-provider": "2.10.2-18" } } diff --git a/packages/api/package.json b/packages/api/package.json index 787b3eeffe..87ce776471 100644 --- a/packages/api/package.json +++ b/packages/api/package.json @@ -1,6 +1,6 @@ { "name": "@polkadot/api", - "version": "2.10.2-17", + "version": "2.10.2-18", "description": "Promise and RxJS wrappers around the Polkadot JS RPC", "main": "index.js", "sideEffects": false, @@ -13,16 +13,16 @@ "homepage": "https://github.com/polkadot-js/api/tree/master/packages/api#readme", "dependencies": { "@babel/runtime": "^7.12.5", - "@polkadot/api-derive": "2.10.2-17", + "@polkadot/api-derive": "2.10.2-18", "@polkadot/keyring": "^5.0.1", - "@polkadot/metadata": "2.10.2-17", - "@polkadot/rpc-core": "2.10.2-17", - "@polkadot/rpc-provider": "2.10.2-17", - "@polkadot/types": "2.10.2-17", - "@polkadot/types-known": "2.10.2-17", + "@polkadot/metadata": "2.10.2-18", + "@polkadot/rpc-core": "2.10.2-18", + "@polkadot/rpc-provider": "2.10.2-18", + "@polkadot/types": "2.10.2-18", + "@polkadot/types-known": "2.10.2-18", "@polkadot/util": "^5.0.1", "@polkadot/util-crypto": "^5.0.1", - "@polkadot/x-rxjs": "2.10.2-17", + "@polkadot/x-rxjs": "2.10.2-18", "bn.js": "^4.11.9", "eventemitter3": "^4.0.7" } diff --git a/packages/api/src/augment/query.ts b/packages/api/src/augment/query.ts index b571b4e340..2436c7da44 100644 --- a/packages/api/src/augment/query.ts +++ b/packages/api/src/augment/query.ts @@ -407,6 +407,24 @@ declare module '@polkadot/api/types/storage' { **/ accounts: AugmentedQuery Observable>>> & QueryableStorageEntry; }; + mmr: { + [key: string]: QueryableStorageEntry; + /** + * Hashes of the nodes in the MMR. + * + * Note this collection only contains MMR peaks, the inner nodes (and leaves) + * are pruned and only stored in the Offchain DB. + **/ + nodes: AugmentedQuery Observable>> & QueryableStorageEntry; + /** + * Current size of the MMR (number of leaves). + **/ + numberOfLeaves: AugmentedQuery Observable> & QueryableStorageEntry; + /** + * Latest MMR Root hash. + **/ + rootHash: AugmentedQuery Observable> & QueryableStorageEntry; + }; multisig: { [key: string]: QueryableStorageEntry; calls: AugmentedQuery Observable>>> & QueryableStorageEntry; diff --git a/packages/metadata/package.json b/packages/metadata/package.json index 162e0af3c5..eab013db4e 100644 --- a/packages/metadata/package.json +++ b/packages/metadata/package.json @@ -1,6 +1,6 @@ { "name": "@polkadot/metadata", - "version": "2.10.2-17", + "version": "2.10.2-18", "description": "Helpers to extract information from runtime metadata", "main": "index.js", "sideEffects": false, @@ -13,8 +13,8 @@ "homepage": "https://github.com/polkadot-js/api/tree/master/packages/type-metadata#readme", "dependencies": { "@babel/runtime": "^7.12.5", - "@polkadot/types": "2.10.2-17", - "@polkadot/types-known": "2.10.2-17", + "@polkadot/types": "2.10.2-18", + "@polkadot/types-known": "2.10.2-18", "@polkadot/util": "^5.0.1", "@polkadot/util-crypto": "^5.0.1", "bn.js": "^4.11.9" diff --git a/packages/rpc-core/package.json b/packages/rpc-core/package.json index 5cc7871f5c..f8b4507dec 100644 --- a/packages/rpc-core/package.json +++ b/packages/rpc-core/package.json @@ -1,6 +1,6 @@ { "name": "@polkadot/rpc-core", - "version": "2.10.2-17", + "version": "2.10.2-18", "description": "A JavaScript wrapper for the Polkadot JsonRPC interface", "main": "index.js", "sideEffects": false, @@ -13,11 +13,11 @@ "homepage": "https://github.com/polkadot-js/api/tree/master/packages/rpc-core#readme", "dependencies": { "@babel/runtime": "^7.12.5", - "@polkadot/metadata": "2.10.2-17", - "@polkadot/rpc-provider": "2.10.2-17", - "@polkadot/types": "2.10.2-17", + "@polkadot/metadata": "2.10.2-18", + "@polkadot/rpc-provider": "2.10.2-18", + "@polkadot/types": "2.10.2-18", "@polkadot/util": "^5.0.1", - "@polkadot/x-rxjs": "2.10.2-17" + "@polkadot/x-rxjs": "2.10.2-18" }, "devDependencies": { "@polkadot/keyring": "^5.0.1" diff --git a/packages/rpc-provider/package.json b/packages/rpc-provider/package.json index b559c5b44b..3f3498babb 100644 --- a/packages/rpc-provider/package.json +++ b/packages/rpc-provider/package.json @@ -1,6 +1,6 @@ { "name": "@polkadot/rpc-provider", - "version": "2.10.2-17", + "version": "2.10.2-18", "description": "Transport providers for the API", "main": "index.js", "sideEffects": false, @@ -13,7 +13,7 @@ "homepage": "https://github.com/polkadot-js/api/tree/master/packages/rpc-provider#readme", "dependencies": { "@babel/runtime": "^7.12.5", - "@polkadot/types": "2.10.2-17", + "@polkadot/types": "2.10.2-18", "@polkadot/util": "^5.0.1", "@polkadot/util-crypto": "^5.0.1", "@polkadot/x-fetch": "^5.0.1", @@ -23,7 +23,7 @@ }, "devDependencies": { "@polkadot/keyring": "^5.0.1", - "@polkadot/metadata": "2.10.2-17", + "@polkadot/metadata": "2.10.2-18", "mock-socket": "^9.0.3", "nock": "^13.0.5" } diff --git a/packages/typegen/package.json b/packages/typegen/package.json index 93637f303c..6dc2b5ce44 100644 --- a/packages/typegen/package.json +++ b/packages/typegen/package.json @@ -1,6 +1,6 @@ { "name": "@polkadot/typegen", - "version": "2.10.2-17", + "version": "2.10.2-18", "description": "Type generation scripts", "main": "index.js", "sideEffects": false, @@ -22,10 +22,10 @@ "@babel/core": "^7.12.10", "@babel/register": "^7.12.10", "@babel/runtime": "^7.12.5", - "@polkadot/api": "2.10.2-17", - "@polkadot/metadata": "2.10.2-17", - "@polkadot/rpc-provider": "2.10.2-17", - "@polkadot/types": "2.10.2-17", + "@polkadot/api": "2.10.2-18", + "@polkadot/metadata": "2.10.2-18", + "@polkadot/rpc-provider": "2.10.2-18", + "@polkadot/types": "2.10.2-18", "@polkadot/util": "^5.0.1", "handlebars": "^4.7.6", "websocket": "^1.0.33", diff --git a/packages/types-known/package.json b/packages/types-known/package.json index cb091f95ef..caae9115bf 100644 --- a/packages/types-known/package.json +++ b/packages/types-known/package.json @@ -1,6 +1,6 @@ { "name": "@polkadot/types-known", - "version": "2.10.2-17", + "version": "2.10.2-18", "description": "A JavaScript wrapper for the Polkadot JsonRPC interface", "main": "index.js", "sideEffects": false, @@ -13,7 +13,7 @@ "homepage": "https://github.com/polkadot-js/api/tree/master/packages/types-known#readme", "dependencies": { "@babel/runtime": "^7.12.5", - "@polkadot/types": "2.10.2-17", + "@polkadot/types": "2.10.2-18", "@polkadot/util": "^5.0.1", "bn.js": "^4.11.9" }, diff --git a/packages/types/package.json b/packages/types/package.json index a7953fcb3f..032a1bccd4 100644 --- a/packages/types/package.json +++ b/packages/types/package.json @@ -1,6 +1,6 @@ { "name": "@polkadot/types", - "version": "2.10.2-17", + "version": "2.10.2-18", "description": "Implementation of the Parity codec", "main": "index.js", "sideEffects": false, @@ -13,10 +13,10 @@ "homepage": "https://github.com/polkadot-js/api/tree/master/packages/types#readme", "dependencies": { "@babel/runtime": "^7.12.5", - "@polkadot/metadata": "2.10.2-17", + "@polkadot/metadata": "2.10.2-18", "@polkadot/util": "^5.0.1", "@polkadot/util-crypto": "^5.0.1", - "@polkadot/x-rxjs": "2.10.2-17", + "@polkadot/x-rxjs": "2.10.2-18", "@types/bn.js": "^4.11.6", "bn.js": "^4.11.9" }, diff --git a/packages/x-rxjs/package.json b/packages/x-rxjs/package.json index 0401e3c5b6..fe2bef28c4 100644 --- a/packages/x-rxjs/package.json +++ b/packages/x-rxjs/package.json @@ -1,6 +1,6 @@ { "name": "@polkadot/x-rxjs", - "version": "2.10.2-17", + "version": "2.10.2-18", "description": "A pass-through interface for RxJs (allowing node + mjs usage)", "main": "index.js", "sideEffects": false, diff --git a/yarn.lock b/yarn.lock index 5a74d703f3..047841a0c5 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1691,46 +1691,46 @@ __metadata: resolution: "@polkadot/api-contract@workspace:packages/api-contract" dependencies: "@babel/runtime": ^7.12.5 - "@polkadot/api": 2.10.2-17 - "@polkadot/types": 2.10.2-17 + "@polkadot/api": 2.10.2-18 + "@polkadot/types": 2.10.2-18 "@polkadot/util": ^5.0.1 - "@polkadot/x-rxjs": 2.10.2-17 + "@polkadot/x-rxjs": 2.10.2-18 bn.js: ^4.11.9 languageName: unknown linkType: soft -"@polkadot/api-derive@2.10.2-17, @polkadot/api-derive@workspace:packages/api-derive": +"@polkadot/api-derive@2.10.2-18, @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.5 - "@polkadot/api": 2.10.2-17 + "@polkadot/api": 2.10.2-18 "@polkadot/keyring": ^5.0.1 - "@polkadot/rpc-core": 2.10.2-17 - "@polkadot/rpc-provider": 2.10.2-17 - "@polkadot/types": 2.10.2-17 + "@polkadot/rpc-core": 2.10.2-18 + "@polkadot/rpc-provider": 2.10.2-18 + "@polkadot/types": 2.10.2-18 "@polkadot/util": ^5.0.1 "@polkadot/util-crypto": ^5.0.1 - "@polkadot/x-rxjs": 2.10.2-17 + "@polkadot/x-rxjs": 2.10.2-18 bn.js: ^4.11.9 languageName: unknown linkType: soft -"@polkadot/api@2.10.2-17, @polkadot/api@workspace:packages/api": +"@polkadot/api@2.10.2-18, @polkadot/api@workspace:packages/api": version: 0.0.0-use.local resolution: "@polkadot/api@workspace:packages/api" dependencies: "@babel/runtime": ^7.12.5 - "@polkadot/api-derive": 2.10.2-17 + "@polkadot/api-derive": 2.10.2-18 "@polkadot/keyring": ^5.0.1 - "@polkadot/metadata": 2.10.2-17 - "@polkadot/rpc-core": 2.10.2-17 - "@polkadot/rpc-provider": 2.10.2-17 - "@polkadot/types": 2.10.2-17 - "@polkadot/types-known": 2.10.2-17 + "@polkadot/metadata": 2.10.2-18 + "@polkadot/rpc-core": 2.10.2-18 + "@polkadot/rpc-provider": 2.10.2-18 + "@polkadot/types": 2.10.2-18 + "@polkadot/types-known": 2.10.2-18 "@polkadot/util": ^5.0.1 "@polkadot/util-crypto": ^5.0.1 - "@polkadot/x-rxjs": 2.10.2-17 + "@polkadot/x-rxjs": 2.10.2-18 bn.js: ^4.11.9 eventemitter3: ^4.0.7 languageName: unknown @@ -1843,14 +1843,14 @@ __metadata: languageName: node linkType: hard -"@polkadot/metadata@2.10.2-17, @polkadot/metadata@workspace:packages/metadata": +"@polkadot/metadata@2.10.2-18, @polkadot/metadata@workspace:packages/metadata": version: 0.0.0-use.local resolution: "@polkadot/metadata@workspace:packages/metadata" dependencies: "@babel/runtime": ^7.12.5 "@polkadot/keyring": ^5.0.1 - "@polkadot/types": 2.10.2-17 - "@polkadot/types-known": 2.10.2-17 + "@polkadot/types": 2.10.2-18 + "@polkadot/types-known": 2.10.2-18 "@polkadot/util": ^5.0.1 "@polkadot/util-crypto": ^5.0.1 bn.js: ^4.11.9 @@ -1866,28 +1866,28 @@ __metadata: languageName: node linkType: hard -"@polkadot/rpc-core@2.10.2-17, @polkadot/rpc-core@workspace:packages/rpc-core": +"@polkadot/rpc-core@2.10.2-18, @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.5 "@polkadot/keyring": ^5.0.1 - "@polkadot/metadata": 2.10.2-17 - "@polkadot/rpc-provider": 2.10.2-17 - "@polkadot/types": 2.10.2-17 + "@polkadot/metadata": 2.10.2-18 + "@polkadot/rpc-provider": 2.10.2-18 + "@polkadot/types": 2.10.2-18 "@polkadot/util": ^5.0.1 - "@polkadot/x-rxjs": 2.10.2-17 + "@polkadot/x-rxjs": 2.10.2-18 languageName: unknown linkType: soft -"@polkadot/rpc-provider@2.10.2-17, @polkadot/rpc-provider@workspace:packages/rpc-provider": +"@polkadot/rpc-provider@2.10.2-18, @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.5 "@polkadot/keyring": ^5.0.1 - "@polkadot/metadata": 2.10.2-17 - "@polkadot/types": 2.10.2-17 + "@polkadot/metadata": 2.10.2-18 + "@polkadot/types": 2.10.2-18 "@polkadot/util": ^5.0.1 "@polkadot/util-crypto": ^5.0.1 "@polkadot/x-fetch": ^5.0.1 @@ -1915,10 +1915,10 @@ __metadata: "@babel/core": ^7.12.10 "@babel/register": ^7.12.10 "@babel/runtime": ^7.12.5 - "@polkadot/api": 2.10.2-17 - "@polkadot/metadata": 2.10.2-17 - "@polkadot/rpc-provider": 2.10.2-17 - "@polkadot/types": 2.10.2-17 + "@polkadot/api": 2.10.2-18 + "@polkadot/metadata": 2.10.2-18 + "@polkadot/rpc-provider": 2.10.2-18 + "@polkadot/types": 2.10.2-18 "@polkadot/util": ^5.0.1 "@types/websocket": ^1.0.1 "@types/yargs": ^15.0.11 @@ -1934,28 +1934,28 @@ __metadata: languageName: unknown linkType: soft -"@polkadot/types-known@2.10.2-17, @polkadot/types-known@workspace:packages/types-known": +"@polkadot/types-known@2.10.2-18, @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.5 - "@polkadot/types": 2.10.2-17 + "@polkadot/types": 2.10.2-18 "@polkadot/util": ^5.0.1 "@types/bn.js": ^4.11.6 bn.js: ^4.11.9 languageName: unknown linkType: soft -"@polkadot/types@2.10.2-17, @polkadot/types@workspace:packages/types": +"@polkadot/types@2.10.2-18, @polkadot/types@workspace:packages/types": version: 0.0.0-use.local resolution: "@polkadot/types@workspace:packages/types" dependencies: "@babel/runtime": ^7.12.5 "@polkadot/keyring": ^5.0.1 - "@polkadot/metadata": 2.10.2-17 + "@polkadot/metadata": 2.10.2-18 "@polkadot/util": ^5.0.1 "@polkadot/util-crypto": ^5.0.1 - "@polkadot/x-rxjs": 2.10.2-17 + "@polkadot/x-rxjs": 2.10.2-18 "@types/bn.js": ^4.11.6 bn.js: ^4.11.9 languageName: unknown @@ -2054,7 +2054,7 @@ __metadata: languageName: node linkType: hard -"@polkadot/x-rxjs@2.10.2-17, @polkadot/x-rxjs@workspace:packages/x-rxjs": +"@polkadot/x-rxjs@2.10.2-18, @polkadot/x-rxjs@workspace:packages/x-rxjs": version: 0.0.0-use.local resolution: "@polkadot/x-rxjs@workspace:packages/x-rxjs" dependencies: