diff --git a/cli/consolidate.ts b/cli/consolidate.ts index 8b752841..61277267 100644 --- a/cli/consolidate.ts +++ b/cli/consolidate.ts @@ -78,8 +78,10 @@ const consolidate = async () => { const con = new Consolidator(ss58Format); const ret = await con.consolidate(remarks); + // Optimisation: return last 500 invalid items + ret.invalid = ret.invalid.slice(ret.invalid.length - 500); - //@ts-ignore + // @ts-ignore BigInt.prototype.toJSON = function () { return this.toString(); }; diff --git a/package.json b/package.json index ab982c8d..5d86e80c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "rmrk-tools", - "version": "2.0.85", + "version": "2.0.90", "description": "Suite of libraries implementing RMRK.app specs", "repository": { "type": "git", @@ -26,7 +26,7 @@ "lint": "tsc --noEmit && eslint '*/**/*.{js,ts,tsx}' --quiet", "lint:fix": "tsc --noEmit && eslint '*/**/*.{js,ts,tsx}' --quiet --fix", "cli:fetch": "ts-node --project tsconfig.cli.json cli/fetch.ts", - "cli:consolidate": "ts-node --project tsconfig.cli.json cli/consolidate", + "cli:consolidate": "NODE_OPTIONS='--max-old-space-size=8144' ts-node --project tsconfig.cli.json cli/consolidate", "cli:seed": "ts-node --project tsconfig.cli.json cli/seed", "cli:getevents": "ts-node --project tsconfig.cli.json cli/getevents", "cli:validate": "ts-node --project tsconfig.cli.json src/validate", @@ -55,10 +55,10 @@ "@babel/preset-env": "^7.13.9", "@babel/preset-typescript": "^7.13.0", "@pinata/sdk": "^1.1.13", - "@polkadot/api": "^8.10.1", - "@polkadot/keyring": "^9.6.2", - "@polkadot/util-crypto": "^9.6.2", - "@polkadot/x-randomvalues": "^9.6.2", + "@polkadot/api": "^9.0.1", + "@polkadot/keyring": "^10.1.2", + "@polkadot/util-crypto": "^10.1.2", + "@polkadot/x-randomvalues": "^10.1.2", "@rollup/plugin-babel": "^5.3.0", "@rollup/plugin-commonjs": "^17.1.0", "@rollup/plugin-json": "^4.1.0", @@ -89,7 +89,7 @@ "webpack-cli": "^4.5.0" }, "dependencies": { - "@polkadot/api-augment": "^8.10.1", + "@polkadot/api-augment": "^9.0.1", "JSONStream": "^1.3.5", "chalk": "^4.1.0", "emoji-regex": "^9.2.2", @@ -102,9 +102,9 @@ "winston": "^3.3.3" }, "peerDependency": { - "@polkadot/api": "^8.x", - "@polkadot/keyring": "^9.x", - "@polkadot/util-crypto": "^9.x", - "@polkadot/util": "^9.x" + "@polkadot/api": "^9.x", + "@polkadot/keyring": "^10.x", + "@polkadot/util-crypto": "^10.x", + "@polkadot/util": "^10.x" } } diff --git a/src/rmrk2.0.0/tools/consolidator/interactions/list.ts b/src/rmrk2.0.0/tools/consolidator/interactions/list.ts index e73f3e33..4ab87120 100644 --- a/src/rmrk2.0.0/tools/consolidator/interactions/list.ts +++ b/src/rmrk2.0.0/tools/consolidator/interactions/list.ts @@ -44,32 +44,10 @@ export const listForSaleInteraction = async ( `[${OP_TYPES.LIST}] Attempting to list non-owned NFT ${listEntity.id}, real rootowner: ${rootowner}` ); } - + if (listEntity.price !== BigInt(0)) { validateTransferability(nft, remark, OP_TYPES.LIST); } - - if (nft.children && nft.children.length > 0) { - const promises = nft.children.map(async (child) => { - const childNftConsolidated = await dbAdapter.getNFTById(child.id); - const childNft = consolidatedNFTtoInstance(childNftConsolidated); - if (childNft?.forsale && childNftConsolidated) { - childNft.addChange({ - field: "forsale", - old: childNft.forsale, - new: BigInt(0), - caller: remark.caller, - block: remark.block, - opType: OP_TYPES.LIST, - } as Change); - childNft.forsale = BigInt(0); - await dbAdapter.updateNFTList(childNft, childNftConsolidated); - } - return childNft; - }); - - await Promise.all(promises); - } if (listEntity.price !== nft.forsale) { nft.addChange({ diff --git a/test/2.0.0/consolidator/__snapshots__/list.test.ts.snap b/test/2.0.0/consolidator/__snapshots__/list.test.ts.snap index dc50ea12..2babe287 100644 --- a/test/2.0.0/consolidator/__snapshots__/list.test.ts.snap +++ b/test/2.0.0/consolidator/__snapshots__/list.test.ts.snap @@ -1034,96 +1034,3 @@ Object { }, } `; - -exports[`rmrk2.0.0 Consolidator: LIST Should update children to forsale 0 1`] = ` -Object { - "bases": Object {}, - "collections": Object { - "d43593c715a56da27d-KANARIABIRDS": Collection { - "block": 2, - "changes": Array [], - "count": 2, - "id": "d43593c715a56da27d-KANARIABIRDS", - "issuer": "HNZata7iMYWmk5RvZRTiAsSDhV8366zq2YGb3tLH5Upf74F", - "max": 0, - "metadata": "https://some.url", - "symbol": "KANARIABIRDS", - }, - }, - "invalid": Array [], - "nfts": Object { - "3-d43593c715a56da27d-KANARIABIRDS-KANR-00000777": Object { - "block": 3, - "burned": "", - "changes": Array [ - Object { - "block": 6, - "caller": "HNZata7iMYWmk5RvZRTiAsSDhV8366zq2YGb3tLH5Upf74F", - "field": "forsale", - "new": 1000000000000n, - "old": 0n, - "opType": "LIST", - }, - ], - "children": Array [ - Object { - "equipped": "", - "id": "4-d43593c715a56da27d-KANARIABIRDS-KANR-00000888", - "pending": false, - }, - ], - "collection": "d43593c715a56da27d-KANARIABIRDS", - "forsale": 1000000000000n, - "id": "3-d43593c715a56da27d-KANARIABIRDS-KANR-00000777", - "metadata": undefined, - "owner": "HNZata7iMYWmk5RvZRTiAsSDhV8366zq2YGb3tLH5Upf74F", - "pending": false, - "priority": Array [], - "properties": Object {}, - "reactions": Object {}, - "resources": Array [], - "rootowner": "HNZata7iMYWmk5RvZRTiAsSDhV8366zq2YGb3tLH5Upf74F", - "sn": "00000777", - "symbol": "KANR", - "transferable": 1, - }, - "4-d43593c715a56da27d-KANARIABIRDS-KANR-00000888": Object { - "block": 4, - "burned": "", - "changes": Array [ - Object { - "block": 5, - "caller": "HNZata7iMYWmk5RvZRTiAsSDhV8366zq2YGb3tLH5Upf74F", - "field": "forsale", - "new": 1000000000000n, - "old": 0n, - "opType": "LIST", - }, - Object { - "block": 6, - "caller": "HNZata7iMYWmk5RvZRTiAsSDhV8366zq2YGb3tLH5Upf74F", - "field": "forsale", - "new": 0n, - "old": 1000000000000n, - "opType": "LIST", - }, - ], - "children": Array [], - "collection": "d43593c715a56da27d-KANARIABIRDS", - "forsale": 0n, - "id": "4-d43593c715a56da27d-KANARIABIRDS-KANR-00000888", - "metadata": undefined, - "owner": "3-d43593c715a56da27d-KANARIABIRDS-KANR-00000777", - "pending": false, - "priority": Array [], - "properties": Object {}, - "reactions": Object {}, - "resources": Array [], - "rootowner": "HNZata7iMYWmk5RvZRTiAsSDhV8366zq2YGb3tLH5Upf74F", - "sn": "00000888", - "symbol": "KANR", - "transferable": 1, - }, - }, -} -`; diff --git a/test/2.0.0/consolidator/list.test.ts b/test/2.0.0/consolidator/list.test.ts index 2606b683..aec8b3b0 100644 --- a/test/2.0.0/consolidator/list.test.ts +++ b/test/2.0.0/consolidator/list.test.ts @@ -40,17 +40,6 @@ describe("rmrk2.0.0 Consolidator: LIST", () => { expect(await consolidator.consolidate(remarks)).toMatchSnapshot(); }); - it("Should update children to forsale 0", async () => { - const remarks = getRemarksFromBlocksMock([ - ...getSetupRemarks(), - ...getBlockCallsMock(mintNftMock2().mint(mintNftMock(3).getId())), - ...getBlockCallsMock(mintNftMock2(4).list(BigInt(1e12))), - ...getBlockCallsMock(mintNftMock(3).list(BigInt(1e12))), - ]); - const consolidator = new Consolidator(); - expect(await consolidator.consolidate(remarks)).toMatchSnapshot(); - }); - it("Should prevent to LIST non-existent NFT", async () => { const remarks = getRemarksFromBlocksMock([ ...getBlockCallsMock(mintNftMock(3).list(BigInt(1e12))), @@ -100,7 +89,7 @@ describe("rmrk2.0.0 Consolidator: LIST", () => { const consolidator = new Consolidator(); expect(await consolidator.consolidate(remarks)).toMatchSnapshot(); }); - + it("Should invalidate LIST after transferable block number passed with negative transfer value", async () => { const remarks = getRemarksFromBlocksMock([ ...getBlockCallsMock(createCollectionMock().create()), @@ -114,7 +103,7 @@ describe("rmrk2.0.0 Consolidator: LIST", () => { "[LIST] Attempting to LIST non-transferable NFT 3-d43593c715a56da27d-KANARIABIRDS-KANR-00000777. It was transferable until block 4 but tx made at block 5" ); }); - + it("Should allow DE-LIST after transferable block number passed with negative transfer value", async () => { const remarks = getRemarksFromBlocksMock([ ...getBlockCallsMock(createCollectionMock().create()), @@ -131,7 +120,7 @@ describe("rmrk2.0.0 Consolidator: LIST", () => { const consolidator = new Consolidator(); expect(await consolidator.consolidate(remarks)).toMatchSnapshot(); }); - + it("Should allow LIST until transferable block number reached with negative transfer value", async () => { const remarks = getRemarksFromBlocksMock([ ...getBlockCallsMock(createCollectionMock().create()), @@ -141,7 +130,7 @@ describe("rmrk2.0.0 Consolidator: LIST", () => { const consolidator = new Consolidator(); expect(await consolidator.consolidate(remarks)).toMatchSnapshot(); }); - + it("Should allow DE-LIST before transferable block number reached with negative transfer value", async () => { const remarks = getRemarksFromBlocksMock([ ...getBlockCallsMock(createCollectionMock().create()), @@ -158,7 +147,7 @@ describe("rmrk2.0.0 Consolidator: LIST", () => { const consolidator = new Consolidator(); expect(await consolidator.consolidate(remarks)).toMatchSnapshot(); }); - + it("Should invalidate LIST before transferable block number reached with positive transfer value", async () => { const remarks = getRemarksFromBlocksMock([ ...getBlockCallsMock(createCollectionMock().create()), @@ -171,7 +160,7 @@ describe("rmrk2.0.0 Consolidator: LIST", () => { "[LIST] Attempting to LIST non-transferable NFT 3-d43593c715a56da27d-KANARIABIRDS-KANR-00000777. It will become transferable after block 8 but tx made at block 4" ); }); - + it("Should allow LIST after transferable block number reached with positive transfer value", async () => { const remarks = getRemarksFromBlocksMock([ ...getBlockCallsMock(createCollectionMock().create()), @@ -181,7 +170,7 @@ describe("rmrk2.0.0 Consolidator: LIST", () => { const consolidator = new Consolidator(); expect(await consolidator.consolidate(remarks)).toMatchSnapshot(); }); - + it("Should allow DE-LIST after transferable block number reached with positive transfer value", async () => { const remarks = getRemarksFromBlocksMock([ ...getBlockCallsMock(createCollectionMock().create()), diff --git a/yarn.lock b/yarn.lock index e13115d9..f1dd4c74 100644 --- a/yarn.lock +++ b/yarn.lock @@ -842,10 +842,10 @@ "@babel/helper-validator-option" "^7.12.17" "@babel/plugin-transform-typescript" "^7.13.0" -"@babel/runtime@^7.18.3": - version "7.18.6" - resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.18.6.tgz#6a1ef59f838debd670421f8c7f2cbb8da9751580" - integrity sha512-t9wi7/AW6XtKahAe20Yw0/mMljKq0B1r2fPdvaAdV/KPDZewFXdaaa6K7lxmZBZ8FBNpCiAT6iHPmd6QO9bKfQ== +"@babel/runtime@^7.18.9": + version "7.18.9" + resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.18.9.tgz#b4fcfce55db3d2e5e080d2490f608a3b9f407f4a" + integrity sha512-lkqXDcvlFT5rvEjiu6+QYO+1GXrEHRo2LOtS7E4GtX5ESIZOgepqsZBVIj6Pv+a6zqsya9VCgiK1KAK4BvJDAw== dependencies: regenerator-runtime "^0.13.4" @@ -1402,10 +1402,10 @@ resolved "https://registry.yarnpkg.com/@noble/hashes/-/hashes-1.1.2.tgz#e9e035b9b166ca0af657a7848eb2718f0f22f183" integrity sha512-KYRCASVTv6aeUi1tsF8/vpyR7zpfs3FUzy2Jqm+MU+LmUKhQ0y2FpfwqkCcxSg2ua4GALJd8k2R76WxwZGbQpA== -"@noble/secp256k1@1.6.0": - version "1.6.0" - resolved "https://registry.yarnpkg.com/@noble/secp256k1/-/secp256k1-1.6.0.tgz#602afbbfcfb7e169210469b697365ef740d7e930" - integrity sha512-DWSsg8zMHOYMYBqIQi96BQuthZrp98LCeMNcUOaffCIVYQ5yxDbNikLF+H7jEnmNNmXbtVic46iCuVWzar+MgA== +"@noble/secp256k1@1.6.3": + version "1.6.3" + resolved "https://registry.yarnpkg.com/@noble/secp256k1/-/secp256k1-1.6.3.tgz#7eed12d9f4404b416999d0c87686836c4c5c9b94" + integrity sha512-T04e4iTurVy7I8Sw4+c5OSN9/RkPlo1uKxAomtxQNLq8j1uPAqnsqG1bqvY3Jv7c13gyr6dui0zmh/I3+f/JaQ== "@nodelib/fs.scandir@2.1.4": version "2.1.4" @@ -1439,329 +1439,328 @@ is-ipfs "^0.6.0" recursive-fs "^1.1.2" -"@polkadot/api-augment@8.10.1", "@polkadot/api-augment@^8.10.1": - version "8.10.1" - resolved "https://registry.yarnpkg.com/@polkadot/api-augment/-/api-augment-8.10.1.tgz#bd1edfa49493bd37b98f2fcc6f351182f54390bd" - integrity sha512-JkVYT01auhU4ZLXiMadHnogQzB1eWrxWiBilmyIbkbGdFLprPUkcdUdOlcER8WcPtpsvcbbgvKSoxqwyf8hdRQ== - dependencies: - "@babel/runtime" "^7.18.3" - "@polkadot/api-base" "8.10.1" - "@polkadot/rpc-augment" "8.10.1" - "@polkadot/types" "8.10.1" - "@polkadot/types-augment" "8.10.1" - "@polkadot/types-codec" "8.10.1" - "@polkadot/util" "^9.6.2" - -"@polkadot/api-base@8.10.1": - version "8.10.1" - resolved "https://registry.yarnpkg.com/@polkadot/api-base/-/api-base-8.10.1.tgz#51603596e4f536827c43ecdb074855915818e693" - integrity sha512-fLtzSDXdqmbbaVj8frmF49AtLyCvJFVvJAMZf//Rdr4RMmAcKuQri5wuEBVdGq2SdtaWF5IYy5y1cLR3l+JPhQ== - dependencies: - "@babel/runtime" "^7.18.3" - "@polkadot/rpc-core" "8.10.1" - "@polkadot/types" "8.10.1" - "@polkadot/util" "^9.6.2" - rxjs "^7.5.5" - -"@polkadot/api-derive@8.10.1": - version "8.10.1" - resolved "https://registry.yarnpkg.com/@polkadot/api-derive/-/api-derive-8.10.1.tgz#e7a8d7565aa02f08be5df88532451f564e9cb9fb" - integrity sha512-trQv0gHW2CIl9ySicAMIo/iE7npwskd4CTp9gvOURqWdrt9txeSCsavUmU2nSf9BofNxSNZMrwvHLgvnZYFZhg== - dependencies: - "@babel/runtime" "^7.18.3" - "@polkadot/api" "8.10.1" - "@polkadot/api-augment" "8.10.1" - "@polkadot/api-base" "8.10.1" - "@polkadot/rpc-core" "8.10.1" - "@polkadot/types" "8.10.1" - "@polkadot/types-codec" "8.10.1" - "@polkadot/util" "^9.6.2" - "@polkadot/util-crypto" "^9.6.2" - rxjs "^7.5.5" - -"@polkadot/api@8.10.1", "@polkadot/api@^8.10.1": - version "8.10.1" - resolved "https://registry.yarnpkg.com/@polkadot/api/-/api-8.10.1.tgz#9de7307b3a45f1cc997b6f43f423a79813ca57be" - integrity sha512-9v6rp5nrt4Irtb55dWQtAWzHQmMWyPC4xvnNGLYSfETvZR5XxkmWaI6yb2t0ejg/ZVTgcuercOp6DWmwT1qPTQ== - dependencies: - "@babel/runtime" "^7.18.3" - "@polkadot/api-augment" "8.10.1" - "@polkadot/api-base" "8.10.1" - "@polkadot/api-derive" "8.10.1" - "@polkadot/keyring" "^9.6.2" - "@polkadot/rpc-augment" "8.10.1" - "@polkadot/rpc-core" "8.10.1" - "@polkadot/rpc-provider" "8.10.1" - "@polkadot/types" "8.10.1" - "@polkadot/types-augment" "8.10.1" - "@polkadot/types-codec" "8.10.1" - "@polkadot/types-create" "8.10.1" - "@polkadot/types-known" "8.10.1" - "@polkadot/util" "^9.6.2" - "@polkadot/util-crypto" "^9.6.2" +"@polkadot/api-augment@9.0.1", "@polkadot/api-augment@^9.0.1": + version "9.0.1" + resolved "https://registry.yarnpkg.com/@polkadot/api-augment/-/api-augment-9.0.1.tgz#2f7bbe7be51dc83dcf3fb1deb17bdf23850cf389" + integrity sha512-WAJYH58kXUBHmwAG2mUJPo+yW4CkQwHVsz8qSNtb+qTC1KHUIrrX8f/AltC8yXsw5xWOYUfUBuyJdkzSEJNPwQ== + dependencies: + "@babel/runtime" "^7.18.9" + "@polkadot/api-base" "9.0.1" + "@polkadot/rpc-augment" "9.0.1" + "@polkadot/types" "9.0.1" + "@polkadot/types-augment" "9.0.1" + "@polkadot/types-codec" "9.0.1" + "@polkadot/util" "^10.1.2" + +"@polkadot/api-base@9.0.1": + version "9.0.1" + resolved "https://registry.yarnpkg.com/@polkadot/api-base/-/api-base-9.0.1.tgz#c730560103797bcf5db155a8a35ac73d2290d604" + integrity sha512-cPBSMQyxD2i8ItueN0TOY/KZf00rhsrO3hxdDT4UHZmnLQdgfxs6iBBk7yEBpchXXVRPxyjaTU0Yb6BCaYrscQ== + dependencies: + "@babel/runtime" "^7.18.9" + "@polkadot/rpc-core" "9.0.1" + "@polkadot/types" "9.0.1" + "@polkadot/util" "^10.1.2" + rxjs "^7.5.6" + +"@polkadot/api-derive@9.0.1": + version "9.0.1" + resolved "https://registry.yarnpkg.com/@polkadot/api-derive/-/api-derive-9.0.1.tgz#7a9fda743e9dc56da0182cf08a362d4f329b6956" + integrity sha512-KeuDkZZ9Qz05KEllX6hRkW4zk3YDJpWCMWaK2uw2i7ZdwbiCq11F9rHysNWAfBOYqOKAi4wvg0Ad6V1xNcSalg== + dependencies: + "@babel/runtime" "^7.18.9" + "@polkadot/api" "9.0.1" + "@polkadot/api-augment" "9.0.1" + "@polkadot/api-base" "9.0.1" + "@polkadot/rpc-core" "9.0.1" + "@polkadot/types" "9.0.1" + "@polkadot/types-codec" "9.0.1" + "@polkadot/util" "^10.1.2" + "@polkadot/util-crypto" "^10.1.2" + rxjs "^7.5.6" + +"@polkadot/api@9.0.1", "@polkadot/api@^9.0.1": + version "9.0.1" + resolved "https://registry.yarnpkg.com/@polkadot/api/-/api-9.0.1.tgz#01cf33f9b4e48f37902adf03d6bdcfb55154d6a7" + integrity sha512-t34FM5Q6WpeQ6yuhOXkUk8uBrcmr1Z3IYHkt7dOBLTVfim0+zIkhCU+fVWo2pOZCmF12993Wkg7QWqgXlh86xA== + dependencies: + "@babel/runtime" "^7.18.9" + "@polkadot/api-augment" "9.0.1" + "@polkadot/api-base" "9.0.1" + "@polkadot/api-derive" "9.0.1" + "@polkadot/keyring" "^10.1.2" + "@polkadot/rpc-augment" "9.0.1" + "@polkadot/rpc-core" "9.0.1" + "@polkadot/rpc-provider" "9.0.1" + "@polkadot/types" "9.0.1" + "@polkadot/types-augment" "9.0.1" + "@polkadot/types-codec" "9.0.1" + "@polkadot/types-create" "9.0.1" + "@polkadot/types-known" "9.0.1" + "@polkadot/util" "^10.1.2" + "@polkadot/util-crypto" "^10.1.2" eventemitter3 "^4.0.7" - rxjs "^7.5.5" - -"@polkadot/keyring@^9.6.2": - version "9.6.2" - resolved "https://registry.yarnpkg.com/@polkadot/keyring/-/keyring-9.6.2.tgz#8f413b81ed293c7cb5938a85259e4f6381581749" - integrity sha512-xcFx0m01G4jcYqEPJQQqF7Dn62x180G4TXaBR4iOTrjvNwmxx4PgIXN2DodHezb1dJLNSE0lu89OasID/dNNxA== - dependencies: - "@babel/runtime" "^7.18.3" - "@polkadot/util" "9.6.2" - "@polkadot/util-crypto" "9.6.2" - -"@polkadot/networks@9.6.2", "@polkadot/networks@^9.6.2": - version "9.6.2" - resolved "https://registry.yarnpkg.com/@polkadot/networks/-/networks-9.6.2.tgz#0011683682d74d265005b3169023384cd65fb89b" - integrity sha512-zTQkZGRSvgrj/XH1vUz1y1kZOhxT9qUn3T1BfMclbSBdyb+ugI+KLZhYffzfbl1YkQPyrR4MTpueHK40SjGaHg== - dependencies: - "@babel/runtime" "^7.18.3" - "@polkadot/util" "9.6.2" - "@substrate/ss58-registry" "^1.22.0" - -"@polkadot/rpc-augment@8.10.1": - version "8.10.1" - resolved "https://registry.yarnpkg.com/@polkadot/rpc-augment/-/rpc-augment-8.10.1.tgz#95f6a485c736a46aafdea5041ac426f1feb5134a" - integrity sha512-+k2RR5MLYu98WEFb9ktyzvhsd+VhWrVXuGwnDIGkGETNScEFFYAnqAfeCa/i4RJmMOhU+YrDmBr2C9uwC9aycQ== - dependencies: - "@babel/runtime" "^7.18.3" - "@polkadot/rpc-core" "8.10.1" - "@polkadot/types" "8.10.1" - "@polkadot/types-codec" "8.10.1" - "@polkadot/util" "^9.6.2" - -"@polkadot/rpc-core@8.10.1": - version "8.10.1" - resolved "https://registry.yarnpkg.com/@polkadot/rpc-core/-/rpc-core-8.10.1.tgz#9849a248adf8e4594c6d6d534066f3807ec8b28e" - integrity sha512-rQJoIAwry4Su5/+gyNVATQ1vIIpoZtWcNY82Vd8QPosHxEAG+GRi/tbsauB5IqcOl7/9QsBBjLc8zL3Fh3ZzAQ== - dependencies: - "@babel/runtime" "^7.18.3" - "@polkadot/rpc-augment" "8.10.1" - "@polkadot/rpc-provider" "8.10.1" - "@polkadot/types" "8.10.1" - "@polkadot/util" "^9.6.2" - rxjs "^7.5.5" - -"@polkadot/rpc-provider@8.10.1": - version "8.10.1" - resolved "https://registry.yarnpkg.com/@polkadot/rpc-provider/-/rpc-provider-8.10.1.tgz#3c73d587edbfcea887005f59f5cdc9ac8c53274e" - integrity sha512-G98YnaxrMmWz5VOuqrafJvF3jW0NxIRw8q+wfjZbNden0DlRB5ky+DAGg7hO915jG5mftrYwi4pEnS2jsl5xvg== - dependencies: - "@babel/runtime" "^7.18.3" - "@polkadot/keyring" "^9.6.2" - "@polkadot/types" "8.10.1" - "@polkadot/types-support" "8.10.1" - "@polkadot/util" "^9.6.2" - "@polkadot/util-crypto" "^9.6.2" - "@polkadot/x-fetch" "^9.6.2" - "@polkadot/x-global" "^9.6.2" - "@polkadot/x-ws" "^9.6.2" - "@substrate/connect" "0.7.7" + rxjs "^7.5.6" + +"@polkadot/keyring@^10.1.2": + version "10.1.2" + resolved "https://registry.yarnpkg.com/@polkadot/keyring/-/keyring-10.1.2.tgz#a7e70bd091d2ceb48e7fee005cc3dbe6cf8c8d32" + integrity sha512-b6hP3JFGYjsNNT3NO7I8fWRPqovgL4IvjvLttkfzpM6eM1zRRupqQ+Q50Jdl/3YUcr26PcxQcdRqJku4WyDABg== + dependencies: + "@babel/runtime" "^7.18.9" + "@polkadot/util" "10.1.2" + "@polkadot/util-crypto" "10.1.2" + +"@polkadot/networks@10.1.2", "@polkadot/networks@^10.1.2": + version "10.1.2" + resolved "https://registry.yarnpkg.com/@polkadot/networks/-/networks-10.1.2.tgz#a42c93c5dd1f56b99ca50ec9d4e8076088148086" + integrity sha512-67ZPqdhLYDGNX1jMEa3+hujh9j30Dr9AdqgdjE8Z3GdWoEVRp9Zda3DXMnDIQlRBQ32pRZty7dFhIq61Bv/whQ== + dependencies: + "@babel/runtime" "^7.18.9" + "@polkadot/util" "10.1.2" + "@substrate/ss58-registry" "^1.25.0" + +"@polkadot/rpc-augment@9.0.1": + version "9.0.1" + resolved "https://registry.yarnpkg.com/@polkadot/rpc-augment/-/rpc-augment-9.0.1.tgz#1ad3ead609855d6ddeb278f6d841508dfe2f9ca1" + integrity sha512-Oe8O65K3zlameCxMHklEj42Xx3oRfk8+6tyhUc4L5DHutDv0jNwiT8CvvDf49nKyZFNjfnD6EOR84ikMzUf/0g== + dependencies: + "@babel/runtime" "^7.18.9" + "@polkadot/rpc-core" "9.0.1" + "@polkadot/types" "9.0.1" + "@polkadot/types-codec" "9.0.1" + "@polkadot/util" "^10.1.2" + +"@polkadot/rpc-core@9.0.1": + version "9.0.1" + resolved "https://registry.yarnpkg.com/@polkadot/rpc-core/-/rpc-core-9.0.1.tgz#14e67905d7d0e549fa3c9b090e0551303226d2a6" + integrity sha512-pXuPiPdObpOASNuwl9BpS2jD6K+eLltTwnZjUQkBaNoxgQgQ01YWHHJVDSbRyap1HL886vtR07WHejzMaOgWmg== + dependencies: + "@babel/runtime" "^7.18.9" + "@polkadot/rpc-augment" "9.0.1" + "@polkadot/rpc-provider" "9.0.1" + "@polkadot/types" "9.0.1" + "@polkadot/util" "^10.1.2" + rxjs "^7.5.6" + +"@polkadot/rpc-provider@9.0.1": + version "9.0.1" + resolved "https://registry.yarnpkg.com/@polkadot/rpc-provider/-/rpc-provider-9.0.1.tgz#b2f3fd561ad1c61c094441e2aa79294f58b3df76" + integrity sha512-AiyULOrJoBbH2hEfcKrCKz6Mf3/o+SO3dwL8+MKcehAj4ExaX6alcPgZnYWYz8Xl2cnZ8Kc0T/xg2emu+7gFBA== + dependencies: + "@babel/runtime" "^7.18.9" + "@polkadot/keyring" "^10.1.2" + "@polkadot/types" "9.0.1" + "@polkadot/types-support" "9.0.1" + "@polkadot/util" "^10.1.2" + "@polkadot/util-crypto" "^10.1.2" + "@polkadot/x-fetch" "^10.1.2" + "@polkadot/x-global" "^10.1.2" + "@polkadot/x-ws" "^10.1.2" + "@substrate/connect" "0.7.9" eventemitter3 "^4.0.7" mock-socket "^9.1.5" - nock "^13.2.7" - -"@polkadot/types-augment@8.10.1": - version "8.10.1" - resolved "https://registry.yarnpkg.com/@polkadot/types-augment/-/types-augment-8.10.1.tgz#895555a9060fa9ae556b2e6ef04def120cf105ae" - integrity sha512-66TbDON42R0YN22gErJ1Tdg0UTTZyuWebkZe34KpQzOyDNu/gZdeEOM/AsBHhhReURyAbkCB/kBQQtUcCICPyA== - dependencies: - "@babel/runtime" "^7.18.3" - "@polkadot/types" "8.10.1" - "@polkadot/types-codec" "8.10.1" - "@polkadot/util" "^9.6.2" - -"@polkadot/types-codec@8.10.1": - version "8.10.1" - resolved "https://registry.yarnpkg.com/@polkadot/types-codec/-/types-codec-8.10.1.tgz#1eb2908f57455a8e191b8ed5d0f7cf73fa09adad" - integrity sha512-AgDEjc6Fv/qPhLEqvsTtPQqkWGG3z+nNNEjQuPb0+iLqHY8NUTcd3yib60TnWCnd1+KNZmXZrryKWhpGejYvlA== - dependencies: - "@babel/runtime" "^7.18.3" - "@polkadot/util" "^9.6.2" - "@polkadot/x-bigint" "^9.6.2" - -"@polkadot/types-create@8.10.1": - version "8.10.1" - resolved "https://registry.yarnpkg.com/@polkadot/types-create/-/types-create-8.10.1.tgz#4f504d1999434b8197a0bc9657be918237c559dd" - integrity sha512-frS98PSA6N1yS4R9/wK8dSe3GFZm+rsYAMXms2hEqzvXXVYle7tNO/ckMp2/hfat4L1pGCXStb70lv07oPuX+A== - dependencies: - "@babel/runtime" "^7.18.3" - "@polkadot/types-codec" "8.10.1" - "@polkadot/util" "^9.6.2" - -"@polkadot/types-known@8.10.1": - version "8.10.1" - resolved "https://registry.yarnpkg.com/@polkadot/types-known/-/types-known-8.10.1.tgz#e0fe155fcc1ede556e163f228a04932502ccb6fa" - integrity sha512-/goHgCVGNTGV5BxBc7j0grSzAH3ZGIQuHhvGhcleFAk+vtzQJVZMUOqyhb0O6Aac1s+yJsGZ1r+RwoNCdbxXqQ== - dependencies: - "@babel/runtime" "^7.18.3" - "@polkadot/networks" "^9.6.2" - "@polkadot/types" "8.10.1" - "@polkadot/types-codec" "8.10.1" - "@polkadot/types-create" "8.10.1" - "@polkadot/util" "^9.6.2" - -"@polkadot/types-support@8.10.1": - version "8.10.1" - resolved "https://registry.yarnpkg.com/@polkadot/types-support/-/types-support-8.10.1.tgz#c2cb939d0b536a6958d6135fff83cd514053f53e" - integrity sha512-OPIwaNLIB1ranEDnCauij13m6qm81kInjChMb03DgRclRENXdeaOYr3JvdpsEFqLfpPmfsTv3fT2UTaMu6dFpg== - dependencies: - "@babel/runtime" "^7.18.3" - "@polkadot/util" "^9.6.2" - -"@polkadot/types@8.10.1": - version "8.10.1" - resolved "https://registry.yarnpkg.com/@polkadot/types/-/types-8.10.1.tgz#ed398bf3ef447141ab6e37215b3b7d61e88dd2b0" - integrity sha512-ypmaYui+cF8T83X+8vfTPAcTGL+bWuwNWT87+Dodtr486+QeTpvJK/XrkuNIY1NjEHPxFZlQQ9LA62S9S0PFYA== - dependencies: - "@babel/runtime" "^7.18.3" - "@polkadot/keyring" "^9.6.2" - "@polkadot/types-augment" "8.10.1" - "@polkadot/types-codec" "8.10.1" - "@polkadot/types-create" "8.10.1" - "@polkadot/util" "^9.6.2" - "@polkadot/util-crypto" "^9.6.2" - rxjs "^7.5.5" - -"@polkadot/util-crypto@9.6.2", "@polkadot/util-crypto@^9.6.2": - version "9.6.2" - resolved "https://registry.yarnpkg.com/@polkadot/util-crypto/-/util-crypto-9.6.2.tgz#643d6118df8f4a6873855522166c47a76eb2aec1" - integrity sha512-ptr4RnVevjW5Sel3JjLJUaT1YmG04zeof4hddJJuQ/H8S/WIkv4uRgT9lkjw54U/DB+qS44XO/uIGMlR7BtLQg== - dependencies: - "@babel/runtime" "^7.18.3" + nock "^13.2.9" + +"@polkadot/types-augment@9.0.1": + version "9.0.1" + resolved "https://registry.yarnpkg.com/@polkadot/types-augment/-/types-augment-9.0.1.tgz#d4bb14284ead28aaeaf69191a8664e08df2d9bab" + integrity sha512-TqpXzcrPqdKhkxHlN97Ua6P6R6XTuDcrInj1o0hgcLc+SabyIgXw7xmR6PMtrBPkehatdnyeLn5hjwh2MklOCQ== + dependencies: + "@babel/runtime" "^7.18.9" + "@polkadot/types" "9.0.1" + "@polkadot/types-codec" "9.0.1" + "@polkadot/util" "^10.1.2" + +"@polkadot/types-codec@9.0.1": + version "9.0.1" + resolved "https://registry.yarnpkg.com/@polkadot/types-codec/-/types-codec-9.0.1.tgz#bffa8b6d1b7c344c0d49b91391572ba4f70aaa93" + integrity sha512-14cTwi85Sg+w8j6jDplNzZ7Y+s25G3w10YuwSb8QmKH5RhipLry87mtbO9VxreeBE6hP/Ib6BrkushZOWxFLPQ== + dependencies: + "@babel/runtime" "^7.18.9" + "@polkadot/util" "^10.1.2" + "@polkadot/x-bigint" "^10.1.2" + +"@polkadot/types-create@9.0.1": + version "9.0.1" + resolved "https://registry.yarnpkg.com/@polkadot/types-create/-/types-create-9.0.1.tgz#b49cea1635969511c8cf12e00b3b602dcbdd2e18" + integrity sha512-SjKekEKvNdfpcWkFi4sngZdnunm/LK7Pcvf7uk+dRnGrrW7e7m741yD9O/1848ww60bL5OFzVovS99Gw4lFrxg== + dependencies: + "@babel/runtime" "^7.18.9" + "@polkadot/types-codec" "9.0.1" + "@polkadot/util" "^10.1.2" + +"@polkadot/types-known@9.0.1": + version "9.0.1" + resolved "https://registry.yarnpkg.com/@polkadot/types-known/-/types-known-9.0.1.tgz#08efc467c2c4b8d45000df2d20cf3cc3eedff001" + integrity sha512-NU2cb2ww7Z8PM2n2l/gB04yxj2RduN7bHEXNWRzpJpaOX+yeqKaHGlQ+IOLwGftNLpbit4xycxnJeDjrDkYLAA== + dependencies: + "@babel/runtime" "^7.18.9" + "@polkadot/networks" "^10.1.2" + "@polkadot/types" "9.0.1" + "@polkadot/types-codec" "9.0.1" + "@polkadot/types-create" "9.0.1" + "@polkadot/util" "^10.1.2" + +"@polkadot/types-support@9.0.1": + version "9.0.1" + resolved "https://registry.yarnpkg.com/@polkadot/types-support/-/types-support-9.0.1.tgz#08b5ea8f85827cea754f7cb8f09cdf66881ec740" + integrity sha512-wXGQSdV+wEdvWWhcU6Hd73zpCwqPYEYDqiNRdWcPneLTBg6GHtyLTJkIzeOoZCLR4XZUNeioB9f6ZaxOv1eTVg== + dependencies: + "@babel/runtime" "^7.18.9" + "@polkadot/util" "^10.1.2" + +"@polkadot/types@9.0.1": + version "9.0.1" + resolved "https://registry.yarnpkg.com/@polkadot/types/-/types-9.0.1.tgz#6213d52b7cd7c762bffbc171bf059e0e2af506f0" + integrity sha512-CYiUqK6DR0AI5sCB441QRKlab9KtGwyaiFUzy4mrxofmmZrBiYh+RZgTl2Jcl1B5YZmNDvaHHRaZPtqLadhp/w== + dependencies: + "@babel/runtime" "^7.18.9" + "@polkadot/keyring" "^10.1.2" + "@polkadot/types-augment" "9.0.1" + "@polkadot/types-codec" "9.0.1" + "@polkadot/types-create" "9.0.1" + "@polkadot/util" "^10.1.2" + "@polkadot/util-crypto" "^10.1.2" + rxjs "^7.5.6" + +"@polkadot/util-crypto@10.1.2", "@polkadot/util-crypto@^10.1.2": + version "10.1.2" + resolved "https://registry.yarnpkg.com/@polkadot/util-crypto/-/util-crypto-10.1.2.tgz#60779ad64e79542a06302ae7d9a2515482b563f4" + integrity sha512-lSgxSLF/XkksL8St3kyw8SCLic0JvyIf8uOezQZYyjSJKT3Gl8gGu9wCAKNAmboU0FgO8cnLO9AcAEkhCHvnyw== + dependencies: + "@babel/runtime" "^7.18.9" "@noble/hashes" "1.1.2" - "@noble/secp256k1" "1.6.0" - "@polkadot/networks" "9.6.2" - "@polkadot/util" "9.6.2" - "@polkadot/wasm-crypto" "^6.1.5" - "@polkadot/x-bigint" "9.6.2" - "@polkadot/x-randomvalues" "9.6.2" + "@noble/secp256k1" "1.6.3" + "@polkadot/networks" "10.1.2" + "@polkadot/util" "10.1.2" + "@polkadot/wasm-crypto" "^6.3.1" + "@polkadot/x-bigint" "10.1.2" + "@polkadot/x-randomvalues" "10.1.2" "@scure/base" "1.1.1" ed2curve "^0.3.0" tweetnacl "^1.0.3" -"@polkadot/util@9.6.2", "@polkadot/util@^9.6.2": - version "9.6.2" - resolved "https://registry.yarnpkg.com/@polkadot/util/-/util-9.6.2.tgz#ad011b04f941bf7ce62babfd8ea32180ed985caf" - integrity sha512-ebK46kEsXfzqUgaPVbVOZepHtVJR2qd9FHTLBPcoXR601y6IuqCHkp0hMkrD3Cdi5AWAd0a7h84c1/Oj5q3SnA== +"@polkadot/util@10.1.2", "@polkadot/util@^10.1.2": + version "10.1.2" + resolved "https://registry.yarnpkg.com/@polkadot/util/-/util-10.1.2.tgz#2eded0c159c16c4a3c48ff45c4ced05c62fb4660" + integrity sha512-gYSpJyrrw5gZWgTVu6PJ1PBUzi3GqwmaK6XRgi4deHmQRn9TEXTToGtHmleJWnaTCRW8Vvh5B5RNNV2C/+va4w== dependencies: - "@babel/runtime" "^7.18.3" - "@polkadot/x-bigint" "9.6.2" - "@polkadot/x-global" "9.6.2" - "@polkadot/x-textdecoder" "9.6.2" - "@polkadot/x-textencoder" "9.6.2" + "@babel/runtime" "^7.18.9" + "@polkadot/x-bigint" "10.1.2" + "@polkadot/x-global" "10.1.2" + "@polkadot/x-textdecoder" "10.1.2" + "@polkadot/x-textencoder" "10.1.2" "@types/bn.js" "^5.1.0" bn.js "^5.2.1" - ip-regex "^4.3.0" - -"@polkadot/wasm-bridge@6.1.5": - version "6.1.5" - resolved "https://registry.yarnpkg.com/@polkadot/wasm-bridge/-/wasm-bridge-6.1.5.tgz#f77e3605eb30ac199a8d3a6357affb35f81f983a" - integrity sha512-nqxhJQTjw5P3yEY1Cd9g86GvpY/PHD3h74dszaBOg5GVPE53G18AKehb5I8daSpOHVKsItKK1n8xstxZTVI0Hg== - dependencies: - "@babel/runtime" "^7.18.3" - -"@polkadot/wasm-crypto-asmjs@6.1.5": - version "6.1.5" - resolved "https://registry.yarnpkg.com/@polkadot/wasm-crypto-asmjs/-/wasm-crypto-asmjs-6.1.5.tgz#2446159502fc3966cdcc4a9560494e037bdec3ab" - integrity sha512-GsVIe+fjJ2sHfrjtqSLV0tP6nClF/7/QXZd+BAWomVMCVcR35OIrkNK2giDzlCqaTP+MiCb/UF3phrU4wsHV4Q== - dependencies: - "@babel/runtime" "^7.18.3" - -"@polkadot/wasm-crypto-init@6.1.5": - version "6.1.5" - resolved "https://registry.yarnpkg.com/@polkadot/wasm-crypto-init/-/wasm-crypto-init-6.1.5.tgz#86756bc85bffced837778c2c2d35dab69adfb8f5" - integrity sha512-VkBNc4cEkQ9YWAKLGW2ve2HV56GBHii3Xy4QYV+8OFYiOUbBMDVmuAvjlCjxiwa8nUxLzgCIz0HqqUx2YzxkhQ== - dependencies: - "@babel/runtime" "^7.18.3" - "@polkadot/wasm-bridge" "6.1.5" - "@polkadot/wasm-crypto-asmjs" "6.1.5" - "@polkadot/wasm-crypto-wasm" "6.1.5" - -"@polkadot/wasm-crypto-wasm@6.1.5": - version "6.1.5" - resolved "https://registry.yarnpkg.com/@polkadot/wasm-crypto-wasm/-/wasm-crypto-wasm-6.1.5.tgz#1a694958b8aedf1908d0abf4d30a95e68219cef8" - integrity sha512-YKriV8xUnnNVCykB0c1r0JEQgGPmgPMsEfHLzKhUeE415vkj3UcfcgXuOXVSEXKqgeoCLkvlY5OL3yb3Fg+Xbw== - dependencies: - "@babel/runtime" "^7.18.3" - "@polkadot/wasm-util" "6.1.5" - -"@polkadot/wasm-crypto@^6.1.5": - version "6.1.5" - resolved "https://registry.yarnpkg.com/@polkadot/wasm-crypto/-/wasm-crypto-6.1.5.tgz#a7f60ebf81297a460fa1e97f71c4db6c91d49639" - integrity sha512-P4MIVE0RJm+Ar0qbOFFtEvA9fkrcmu4KI929k/XiWOqqKuLogwNjZcZiWZYLG7pDIXeHciAy65nIUpV2nr0D+Q== - dependencies: - "@babel/runtime" "^7.18.3" - "@polkadot/wasm-bridge" "6.1.5" - "@polkadot/wasm-crypto-asmjs" "6.1.5" - "@polkadot/wasm-crypto-init" "6.1.5" - "@polkadot/wasm-crypto-wasm" "6.1.5" - "@polkadot/wasm-util" "6.1.5" - -"@polkadot/wasm-util@6.1.5": - version "6.1.5" - resolved "https://registry.yarnpkg.com/@polkadot/wasm-util/-/wasm-util-6.1.5.tgz#4dcd4a32d706e18a40c2de65813abad1b4cbf730" - integrity sha512-5OH31mz8/Ly50fNOQ6eGFcO8OtLLyTvaoJPqUmcdl6OI+1+8GLoZMoXyRdrhWjftqQFxiJnwvlpqq6VdNVDg6g== - dependencies: - "@babel/runtime" "^7.18.3" - -"@polkadot/x-bigint@9.6.2", "@polkadot/x-bigint@^9.6.2": - version "9.6.2" - resolved "https://registry.yarnpkg.com/@polkadot/x-bigint/-/x-bigint-9.6.2.tgz#1fa6038395fd488b7c0051113813de9a645a208b" - integrity sha512-p2PAx5uJM4zGhbDCEMiFbeOndP8bnzdEdvB4aP17o4AQ8iHM/TrhiOMD7xYeUtMpc0TP+Z6X0ZRqsAt4jBzoRg== - dependencies: - "@babel/runtime" "^7.18.3" - "@polkadot/x-global" "9.6.2" - -"@polkadot/x-fetch@^9.6.2": - version "9.6.2" - resolved "https://registry.yarnpkg.com/@polkadot/x-fetch/-/x-fetch-9.6.2.tgz#709019626a5618805516bbdd3701e26781b3e849" - integrity sha512-nTZOzpmgj+f5KxRcZxValpgnAc2xxefY84XaF3XKcQQBfQrN+/Kssfl5VjAoCGfBSpVVzXs/4/cN0oee5BldMQ== - dependencies: - "@babel/runtime" "^7.18.3" - "@polkadot/x-global" "9.6.2" + +"@polkadot/wasm-bridge@6.3.1": + version "6.3.1" + resolved "https://registry.yarnpkg.com/@polkadot/wasm-bridge/-/wasm-bridge-6.3.1.tgz#439fa78e80947a7cb695443e1f64b25c30bb1487" + integrity sha512-1TYkHsb9AEFhU9uZj3biEnN2yKQNzdrwSjiTvfCYnt97pnEkKsZI6cku+YPZQv5w/x9CQa5Yua9e2DVVZSivGA== + dependencies: + "@babel/runtime" "^7.18.9" + +"@polkadot/wasm-crypto-asmjs@6.3.1": + version "6.3.1" + resolved "https://registry.yarnpkg.com/@polkadot/wasm-crypto-asmjs/-/wasm-crypto-asmjs-6.3.1.tgz#e8f469c9cf4a7709c8131a96f857291953f3e30a" + integrity sha512-zbombRfA5v/mUWQQhgg2YwaxhRmxRIrvskw65x+lruax3b6xPBFDs7yplopiJU3r8h2pTgQvX/DUksvqz2TCRQ== + dependencies: + "@babel/runtime" "^7.18.9" + +"@polkadot/wasm-crypto-init@6.3.1": + version "6.3.1" + resolved "https://registry.yarnpkg.com/@polkadot/wasm-crypto-init/-/wasm-crypto-init-6.3.1.tgz#b590220c53c94b9a54d5dc236d0cbe943db76706" + integrity sha512-9yaUBcu+snwjJLmPPGl3cyGRQ1afyFGm16qzTM0sgG/ZCfUlK4uk8KWZe+sBUKgoxb2oXY7Y4WklKgQI1YBdfw== + dependencies: + "@babel/runtime" "^7.18.9" + "@polkadot/wasm-bridge" "6.3.1" + "@polkadot/wasm-crypto-asmjs" "6.3.1" + "@polkadot/wasm-crypto-wasm" "6.3.1" + +"@polkadot/wasm-crypto-wasm@6.3.1": + version "6.3.1" + resolved "https://registry.yarnpkg.com/@polkadot/wasm-crypto-wasm/-/wasm-crypto-wasm-6.3.1.tgz#67f720e7f9694fef096abe9d60abbac02e032383" + integrity sha512-idSlzKGVzCfeCMRHsacRvqwojSaTadFxL/Dbls4z1thvfa3U9Ku0d2qVtlwg7Hj+tYWDiuP8Kygs+6bQwfs0XA== + dependencies: + "@babel/runtime" "^7.18.9" + "@polkadot/wasm-util" "6.3.1" + +"@polkadot/wasm-crypto@^6.3.1": + version "6.3.1" + resolved "https://registry.yarnpkg.com/@polkadot/wasm-crypto/-/wasm-crypto-6.3.1.tgz#63f5798aca2b2ff0696f190e6862d9781d8f280c" + integrity sha512-OO8h0qeVkqp4xYZaRVl4iuWOEtq282pNBHDKb6SOJuI2g59eWGcKh4EQU9Me2VP6qzojIqptrkrVt7KQXC68gA== + dependencies: + "@babel/runtime" "^7.18.9" + "@polkadot/wasm-bridge" "6.3.1" + "@polkadot/wasm-crypto-asmjs" "6.3.1" + "@polkadot/wasm-crypto-init" "6.3.1" + "@polkadot/wasm-crypto-wasm" "6.3.1" + "@polkadot/wasm-util" "6.3.1" + +"@polkadot/wasm-util@6.3.1": + version "6.3.1" + resolved "https://registry.yarnpkg.com/@polkadot/wasm-util/-/wasm-util-6.3.1.tgz#439ebb68a436317af388ed6438b8f879df3afcda" + integrity sha512-12oAv5J7Yoc9m6jixrSaQCxpOkWOyzHx3DMC8qmLjRiwdBWxqLmImOVRVnFsbaxqSbhBIHRuJphVxWE+GZETDg== + dependencies: + "@babel/runtime" "^7.18.9" + +"@polkadot/x-bigint@10.1.2", "@polkadot/x-bigint@^10.1.2": + version "10.1.2" + resolved "https://registry.yarnpkg.com/@polkadot/x-bigint/-/x-bigint-10.1.2.tgz#5070af6a3a5aa66eba85597837ce6eb44ad7dc02" + integrity sha512-TCwv3NjQdfLb7CBYR8EA5t0CrMfYx3IF4hKjctuplL+mDNI0VzNn4qVKW62AjouI8kMbn7VyBPfoBeuYX8Ixrw== + dependencies: + "@babel/runtime" "^7.18.9" + "@polkadot/x-global" "10.1.2" + +"@polkadot/x-fetch@^10.1.2": + version "10.1.2" + resolved "https://registry.yarnpkg.com/@polkadot/x-fetch/-/x-fetch-10.1.2.tgz#b812d76dd90a52a9ce0466bdc2b31999dfa0bec5" + integrity sha512-Zd7npq9H/kDaehiM2iyPX1+cSfuhCvqDxuS8GLTjARIVGGURBfA+NjRM6o6jsXa3HCtv+lB67Qdw1m/PSxfIpQ== + dependencies: + "@babel/runtime" "^7.18.9" + "@polkadot/x-global" "10.1.2" "@types/node-fetch" "^2.6.2" - node-fetch "^2.6.7" + node-fetch "^3.2.9" -"@polkadot/x-global@9.6.2", "@polkadot/x-global@^9.6.2": - version "9.6.2" - resolved "https://registry.yarnpkg.com/@polkadot/x-global/-/x-global-9.6.2.tgz#caf4a140fe9902a2649c029db43b5424b85cdde8" - integrity sha512-cbrNeMK6vPEWh2EbLU+hUOERkOAToZ7o2wYYS+ZNdunvUFL9wERB9Uj6JQDAebGD3ZCNHEpMbj6U1WEffiwq9A== +"@polkadot/x-global@10.1.2", "@polkadot/x-global@^10.1.2": + version "10.1.2" + resolved "https://registry.yarnpkg.com/@polkadot/x-global/-/x-global-10.1.2.tgz#66c2ceb6ef5043bc6bddd5e944f35e64e9d6a0a9" + integrity sha512-//r3NVLYdYQs0So0IK8Pa0pnL5pPi0geQWE6qjTtPD0oszuN9SUDqDlFQj3I3vqQOwgybbzBGNYRRinP8B2xUg== dependencies: - "@babel/runtime" "^7.18.3" + "@babel/runtime" "^7.18.9" -"@polkadot/x-randomvalues@9.6.2", "@polkadot/x-randomvalues@^9.6.2": - version "9.6.2" - resolved "https://registry.yarnpkg.com/@polkadot/x-randomvalues/-/x-randomvalues-9.6.2.tgz#8555710235f649c14ea28c25919bed6c0e4202bb" - integrity sha512-GuyTYTkKK6MLPcfWX3rKRze3nUYjdRYWK1PKscslRp0Qq4LBTkroqlE7SMTt8Bh7DYH+0fWN2CmHGdv2oEUq9A== +"@polkadot/x-randomvalues@10.1.2", "@polkadot/x-randomvalues@^10.1.2": + version "10.1.2" + resolved "https://registry.yarnpkg.com/@polkadot/x-randomvalues/-/x-randomvalues-10.1.2.tgz#8a0f15eb0558f837dd10060ad808707fe8b64c05" + integrity sha512-KOu6iZWye9KD6qoahiqZ0alrT/5FSGL4XXLhVSg69xAqD6yG2oi2aKA6cZpDU19uZGqVneqsgpebDsrZ0nLUEg== dependencies: - "@babel/runtime" "^7.18.3" - "@polkadot/x-global" "9.6.2" + "@babel/runtime" "^7.18.9" + "@polkadot/x-global" "10.1.2" -"@polkadot/x-textdecoder@9.6.2": - version "9.6.2" - resolved "https://registry.yarnpkg.com/@polkadot/x-textdecoder/-/x-textdecoder-9.6.2.tgz#d2e10e96ce2c89fcb3f020bea09e2943dc55a11a" - integrity sha512-nWd2sWU7vjUON4FSd6B2aSYmgkooYf1V+kjTPs8uV/PN6KMc6qJInrt4U1vnOvM8wX5+4gvLDs72AVxnFmVRAA== +"@polkadot/x-textdecoder@10.1.2": + version "10.1.2" + resolved "https://registry.yarnpkg.com/@polkadot/x-textdecoder/-/x-textdecoder-10.1.2.tgz#833627fc55b388483857de922b534b70fc349a0a" + integrity sha512-liMlSSKfLGTvcUPz1fMicH2HoKLgSjzxFYsbNfXJOe9GobQfSrAOcprM0j4gNJqN5EoZhze9Sf1rMTORQwomtg== dependencies: - "@babel/runtime" "^7.18.3" - "@polkadot/x-global" "9.6.2" + "@babel/runtime" "^7.18.9" + "@polkadot/x-global" "10.1.2" -"@polkadot/x-textencoder@9.6.2": - version "9.6.2" - resolved "https://registry.yarnpkg.com/@polkadot/x-textencoder/-/x-textencoder-9.6.2.tgz#e0d3c37094bc19dd55ee3f0659a5a6b69ef43b91" - integrity sha512-T+ZsR2cVJxmpN6VB4u3BoWCg3fUlXHPNGCZSGXZdH2+dljIQl6MXqe+mHd5jknGvyBWCrJ0ijqoSOtLeP88MhA== +"@polkadot/x-textencoder@10.1.2": + version "10.1.2" + resolved "https://registry.yarnpkg.com/@polkadot/x-textencoder/-/x-textencoder-10.1.2.tgz#a728a89d117456749211fcf520ca0e846654df89" + integrity sha512-bSMvesZ43Er6+jogt9IfwWN/E8bhkl4a9nNnpyS/vTh+j6n/DfDQrvYpKDpRIn7oJA6lfs/mL9Jo5jjJTngaxg== dependencies: - "@babel/runtime" "^7.18.3" - "@polkadot/x-global" "9.6.2" + "@babel/runtime" "^7.18.9" + "@polkadot/x-global" "10.1.2" -"@polkadot/x-ws@^9.6.2": - version "9.6.2" - resolved "https://registry.yarnpkg.com/@polkadot/x-ws/-/x-ws-9.6.2.tgz#ad6ba74968a3714647c1eaefdd2af9196e0df54c" - integrity sha512-DT10DqFzM2PGe+0tmClgF5G7biM/akVpAQ9JGIdwV8PxWFWjxbhRasndPfVZEmCi2o8KIVlP6m1qovfS2PdbHA== +"@polkadot/x-ws@^10.1.2": + version "10.1.2" + resolved "https://registry.yarnpkg.com/@polkadot/x-ws/-/x-ws-10.1.2.tgz#9c7d597aa0912b1b6b825b1f1ed56c47bf61174c" + integrity sha512-RQkc6TPM7xOKHMrE3R/8+FdE9fMGJEN7yfK/GixpMGzw98NcVedxJ1xTL19r76hJvOSeZAEks5oqgMxF8K9Pbg== dependencies: - "@babel/runtime" "^7.18.3" - "@polkadot/x-global" "9.6.2" + "@babel/runtime" "^7.18.9" + "@polkadot/x-global" "10.1.2" "@types/websocket" "^1.0.5" websocket "^1.0.34" @@ -1909,33 +1908,31 @@ resolved "https://registry.yarnpkg.com/@sinonjs/text-encoding/-/text-encoding-0.7.1.tgz#8da5c6530915653f3a1f38fd5f101d8c3f8079c5" integrity sha512-+iTbntw2IZPb/anVDbypzfQa+ay64MW0Zo8aJ8gZPWMMK6/OubMVb6lUPMagqjOPnmtauXnFCACVl3O7ogjeqQ== -"@substrate/connect-extension-protocol@^1.0.0": - version "1.0.0" - resolved "https://registry.yarnpkg.com/@substrate/connect-extension-protocol/-/connect-extension-protocol-1.0.0.tgz#d452beda84b3ebfcf0e88592a4695e729a91e858" - integrity sha512-nFVuKdp71hMd/MGlllAOh+a2hAqt8m6J2G0aSsS/RcALZexxF9jodbFc62ni8RDtJboeOfXAHhenYOANvJKPIg== +"@substrate/connect-extension-protocol@^1.0.1": + version "1.0.1" + resolved "https://registry.yarnpkg.com/@substrate/connect-extension-protocol/-/connect-extension-protocol-1.0.1.tgz#fa5738039586c648013caa6a0c95c43265dbe77d" + integrity sha512-161JhCC1csjH3GE5mPLEd7HbWtwNSPJBg3p1Ksz9SFlTzj/bgEwudiRN2y5i0MoLGCIJRYKyKGMxVnd29PzNjg== -"@substrate/connect@0.7.7": - version "0.7.7" - resolved "https://registry.yarnpkg.com/@substrate/connect/-/connect-0.7.7.tgz#6d162fcec2f5cfb78c137a82dbb35692655fbe2c" - integrity sha512-uFRF06lC42ZZixxwkzRB61K1uYvR1cTZ7rI98RW7T+eWbCFrafyVk0pk6J+4oN05gZkhou+VK3hrRCU6Doy2xQ== +"@substrate/connect@0.7.9": + version "0.7.9" + resolved "https://registry.yarnpkg.com/@substrate/connect/-/connect-0.7.9.tgz#0bb65fef28c70051e6158e10f633005e899fbb5b" + integrity sha512-E6bdBhzsfHNAKlmQSvbTW1jyb0WcIvgbrEBfJ4B6FZ3t1wpGjldL6GrYtegVtKr9/ySQ/pFNn0uVbugukpMDjQ== dependencies: - "@substrate/connect-extension-protocol" "^1.0.0" - "@substrate/smoldot-light" "0.6.19" + "@substrate/connect-extension-protocol" "^1.0.1" + "@substrate/smoldot-light" "0.6.25" eventemitter3 "^4.0.7" -"@substrate/smoldot-light@0.6.19": - version "0.6.19" - resolved "https://registry.yarnpkg.com/@substrate/smoldot-light/-/smoldot-light-0.6.19.tgz#13e897ca9839aecb0dac4ce079ff1cca1dc54cc0" - integrity sha512-Xi+v1cdURhTwx7NH+9fa1U9m7VGP61GvB6qwev9HrZXlGbQiUIvySxPlH/LMsq3mwgiRYkokPhcaZEHufY7Urg== +"@substrate/smoldot-light@0.6.25": + version "0.6.25" + resolved "https://registry.yarnpkg.com/@substrate/smoldot-light/-/smoldot-light-0.6.25.tgz#3025ba5134b1be470855f901ffeb028a0f93460c" + integrity sha512-OQ9/bnJJy90xSRg5Vp9MIvrgbrVt/r/FwXYSmyLeBBNbJt6o1gSeshVo8icD+2VWwd/TJ2oHl5CVQWe89MyByA== dependencies: - buffer "^6.0.1" - pako "^2.0.4" websocket "^1.0.32" -"@substrate/ss58-registry@^1.22.0": - version "1.23.0" - resolved "https://registry.yarnpkg.com/@substrate/ss58-registry/-/ss58-registry-1.23.0.tgz#6212bf871a882da98799f8dc51de0944d4152b88" - integrity sha512-LuQje7n48GXSsp1aGI6UEmNVtlh7OzQ6CN1Hd9VGUrshADwMB0lRZ5bxnffmqDR4vVugI7h0NN0AONhIW1eHGg== +"@substrate/ss58-registry@^1.25.0": + version "1.25.0" + resolved "https://registry.yarnpkg.com/@substrate/ss58-registry/-/ss58-registry-1.25.0.tgz#0fcd8c9c0e53963a88fbed41f2cbd8a1a5c74cde" + integrity sha512-LmCH4QJRdHaeLsLTPSgJaXguMoIW+Ig9fA9LRPpeya9HefVAJ7gZuUYinldv+QmX7evNm5CL0rspNUS8l1DvXg== "@types/babel__core@^7.0.0", "@types/babel__core@^7.1.7": version "7.1.14" @@ -3453,6 +3450,11 @@ dashdash@^1.12.0: dependencies: assert-plus "^1.0.0" +data-uri-to-buffer@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/data-uri-to-buffer/-/data-uri-to-buffer-4.0.0.tgz#b5db46aea50f6176428ac05b73be39a57701a64b" + integrity sha512-Vr3mLBA8qWmcuschSLAOogKgQ/Jwxulv3RNE4FXnYWRGujzrRWQI4m12fQqRkwX06C0KanhLr4hK+GydchZsaA== + data-urls@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/data-urls/-/data-urls-2.0.0.tgz#156485a72963a970f5d5821aaf642bef2bf2db9b" @@ -4340,6 +4342,14 @@ fecha@^4.2.0: resolved "https://registry.yarnpkg.com/fecha/-/fecha-4.2.0.tgz#3ffb6395453e3f3efff850404f0a59b6747f5f41" integrity sha512-aN3pcx/DSmtyoovUudctc8+6Hl4T+hI9GBBHLjA76jdZl7+b1sgh5g4k+u/GL3dTy1/pnYzKp69FpJ0OicE3Wg== +fetch-blob@^3.1.2, fetch-blob@^3.1.4: + version "3.2.0" + resolved "https://registry.yarnpkg.com/fetch-blob/-/fetch-blob-3.2.0.tgz#f09b8d4bbd45adc6f0c20b7e787e793e309dcce9" + integrity sha512-7yAQpD2UMJzLi1Dqv7qFYnPbaPx7ZfFK6PiIxQ4PfkGPyNyl2Ugx+a/umUonmKqjhM4DnfbMvdX6otXq83soQQ== + dependencies: + node-domexception "^1.0.0" + web-streams-polyfill "^3.0.3" + file-entry-cache@^6.0.1: version "6.0.1" resolved "https://registry.yarnpkg.com/file-entry-cache/-/file-entry-cache-6.0.1.tgz#211b2dd9659cb0394b073e7323ac3c933d522027" @@ -4442,6 +4452,13 @@ form-data@~2.3.2: combined-stream "^1.0.6" mime-types "^2.1.12" +formdata-polyfill@^4.0.10: + version "4.0.10" + resolved "https://registry.yarnpkg.com/formdata-polyfill/-/formdata-polyfill-4.0.10.tgz#24807c31c9d402e002ab3d8c720144ceb8848423" + integrity sha512-buewHzMvYL29jdeQTVILecSaZKnt/RJWjoZCF5OW60Z67/GmSLBkOFM7qh1PI3zFNtJbaZL5eQu1vLfazOwj4g== + dependencies: + fetch-blob "^3.1.2" + fragment-cache@^0.2.1: version "0.2.1" resolved "https://registry.yarnpkg.com/fragment-cache/-/fragment-cache-0.2.1.tgz#4290fad27f13e89be7f33799c6bc5a0abfff0d19" @@ -4895,7 +4912,7 @@ ip-address@^6.1.0: lodash.repeat "4.1.0" sprintf-js "1.1.2" -ip-regex@^4.0.0, ip-regex@^4.3.0: +ip-regex@^4.0.0: version "4.3.0" resolved "https://registry.yarnpkg.com/ip-regex/-/ip-regex-4.3.0.tgz#687275ab0f57fa76978ff8f4dddc8a23d5990db5" integrity sha512-B9ZWJxHHOHUhUjCPrMpLD4xEq35bUTClHM1S6CBU5ixQnkZmwipwgc96vAd7AAGM9TGHvJR+Uss+/Ak6UphK+Q== @@ -7393,10 +7410,10 @@ nise@^4.0.4: just-extend "^4.0.2" path-to-regexp "^1.7.0" -nock@^13.2.7: - version "13.2.7" - resolved "https://registry.yarnpkg.com/nock/-/nock-13.2.7.tgz#c93933b61df42f4f4b3a07fde946a4e209c0c168" - integrity sha512-R6NUw7RIPtKwgK7jskuKoEi4VFMqIHtV2Uu9K/Uegc4TA5cqe+oNMYslZcUmnVNQCTG6wcSqUBaGTDd7sq5srg== +nock@^13.2.9: + version "13.2.9" + resolved "https://registry.yarnpkg.com/nock/-/nock-13.2.9.tgz#4faf6c28175d36044da4cfa68e33e5a15086ad4c" + integrity sha512-1+XfJNYF1cjGB+TKMWi29eZ0b82QOvQs2YoLNzbpWGqFMtRQHTa57osqdGj4FrFPgkO4D4AZinzUJR9VvW3QUA== dependencies: debug "^4.1.0" json-stringify-safe "^5.0.1" @@ -7408,17 +7425,24 @@ node-addon-api@^2.0.0: resolved "https://registry.yarnpkg.com/node-addon-api/-/node-addon-api-2.0.2.tgz#432cfa82962ce494b132e9d72a15b29f71ff5d32" integrity sha512-Ntyt4AIXyaLIuMHF6IOoTakB3K+RWxwtsHNRxllEoA6vPwP9o4866g6YWDLUdnucilZhmkxiHwHr11gAENw+QA== +node-domexception@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/node-domexception/-/node-domexception-1.0.0.tgz#6888db46a1f71c0b76b3f7555016b63fe64766e5" + integrity sha512-/jKZoMpw0F8GRwl4/eLROPA3cfcXtLApP0QzLmUT/HuPCZWyB7IY9ZrMeKw2O/nFIqPQB3PVM9aYm0F312AXDQ== + node-fetch@^2.6.0, node-fetch@^2.6.1: version "2.6.1" resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-2.6.1.tgz#045bd323631f76ed2e2b55573394416b639a0052" integrity sha512-V4aYg89jEoVRxRb2fJdAg8FHvI7cEyYdVAh94HH0UIK8oJxUfkjlDQN9RbMx+bEjP7+ggMiFRprSti032Oipxw== -node-fetch@^2.6.7: - version "2.6.7" - resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-2.6.7.tgz#24de9fba827e3b4ae44dc8b20256a379160052ad" - integrity sha512-ZjMPFEfVx5j+y2yF35Kzx5sF7kDzxuDj6ziH4FFbOp87zKDZNx8yExJIb05OGF4Nlt9IHFIMBkRl41VdvcNdbQ== +node-fetch@^3.2.9: + version "3.2.10" + resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-3.2.10.tgz#e8347f94b54ae18b57c9c049ef641cef398a85c8" + integrity sha512-MhuzNwdURnZ1Cp4XTazr69K0BTizsBroX7Zx3UgDSVcZYKF/6p0CBe4EUb/hLqmzVhl0UpYfgRljQ4yxE+iCxA== dependencies: - whatwg-url "^5.0.0" + data-uri-to-buffer "^4.0.0" + fetch-blob "^3.1.4" + formdata-polyfill "^4.0.10" node-forge@^0.10.0: version "0.10.0" @@ -7750,11 +7774,6 @@ p-wait-for@^3.2.0: dependencies: p-timeout "^3.0.0" -pako@^2.0.4: - version "2.0.4" - resolved "https://registry.yarnpkg.com/pako/-/pako-2.0.4.tgz#6cebc4bbb0b6c73b0d5b8d7e8476e2b2fbea576d" - integrity sha512-v8tweI900AUkZN6heMU/4Uy4cXRc2AYNRggVmTR+dEncawDJgCdLMximOVA2p4qO57WMynangsfGRb5WD6L1Bg== - parent-module@^1.0.0: version "1.0.1" resolved "https://registry.yarnpkg.com/parent-module/-/parent-module-1.0.1.tgz#691d2709e78c79fae3a156622452d00762caaaa2" @@ -8379,10 +8398,10 @@ run@^1.4.0: dependencies: minimatch "*" -rxjs@^7.5.5: - version "7.5.5" - resolved "https://registry.yarnpkg.com/rxjs/-/rxjs-7.5.5.tgz#2ebad89af0f560f460ad5cc4213219e1f7dd4e9f" - integrity sha512-sy+H0pQofO95VDmFLzyaw9xNJU4KTRSwQIGM6+iG3SypAtCiLDzpeG8sJrNCWn2Up9km+KhkvTdbkrdy+yzZdw== +rxjs@^7.5.6: + version "7.5.6" + resolved "https://registry.yarnpkg.com/rxjs/-/rxjs-7.5.6.tgz#0446577557862afd6903517ce7cae79ecb9662bc" + integrity sha512-dnyv2/YsXhnm461G+R/Pe5bWP41Nm6LBXEYWI6eiFP4fiwx6WRI/CD0zbdVAudd9xwLEF2IDcKXLHit0FYjUzw== dependencies: tslib "^2.1.0" @@ -9163,11 +9182,6 @@ tr46@^2.0.2: dependencies: punycode "^2.1.1" -tr46@~0.0.3: - version "0.0.3" - resolved "https://registry.yarnpkg.com/tr46/-/tr46-0.0.3.tgz#8184fd347dac9cdc185992f3a6622e14b9d9ab6a" - integrity sha1-gYT9NH2snNwYWZLzpmIuFLnZq2o= - triple-beam@^1.2.0, triple-beam@^1.3.0: version "1.3.0" resolved "https://registry.yarnpkg.com/triple-beam/-/triple-beam-1.3.0.tgz#a595214c7298db8339eeeee083e4d10bd8cb8dd9" @@ -9532,10 +9546,10 @@ web-encoding@^1.0.2, web-encoding@^1.0.6, web-encoding@^1.1.0: optionalDependencies: "@zxing/text-encoding" "0.9.0" -webidl-conversions@^3.0.0: - version "3.0.1" - resolved "https://registry.yarnpkg.com/webidl-conversions/-/webidl-conversions-3.0.1.tgz#24534275e2a7bc6be7bc86611cc16ae0a5654871" - integrity sha1-JFNCdeKnvGvnvIZhHMFq4KVlSHE= +web-streams-polyfill@^3.0.3: + version "3.2.1" + resolved "https://registry.yarnpkg.com/web-streams-polyfill/-/web-streams-polyfill-3.2.1.tgz#71c2718c52b45fd49dbeee88634b3a60ceab42a6" + integrity sha512-e0MO3wdXWKrLbL0DgGnUV7WHVuw9OUvL4hjgnPkIeEvESk74gAITi5G606JtZPp39cd8HA9VQzCIvA49LpPN5Q== webidl-conversions@^5.0.0: version "5.0.0" @@ -9641,14 +9655,6 @@ whatwg-mimetype@^2.3.0: resolved "https://registry.yarnpkg.com/whatwg-mimetype/-/whatwg-mimetype-2.3.0.tgz#3d4b1e0312d2079879f826aff18dbeeca5960fbf" integrity sha512-M4yMwr6mAnQz76TbJm914+gPpB/nCwvZbJU28cUD6dR004SAxDLOOSUaB1JDRqLtaOV/vi0IC5lEAGFgrjGv/g== -whatwg-url@^5.0.0: - version "5.0.0" - resolved "https://registry.yarnpkg.com/whatwg-url/-/whatwg-url-5.0.0.tgz#966454e8765462e37644d3626f6742ce8b70965d" - integrity sha1-lmRU6HZUYuN2RNNib2dCzotwll0= - dependencies: - tr46 "~0.0.3" - webidl-conversions "^3.0.0" - whatwg-url@^8.0.0: version "8.4.0" resolved "https://registry.yarnpkg.com/whatwg-url/-/whatwg-url-8.4.0.tgz#50fb9615b05469591d2b2bd6dfaed2942ed72837"