From 811a923658d5d966b2173ca6128da7cf20f46e3c Mon Sep 17 00:00:00 2001 From: chaojun Date: Mon, 18 Nov 2024 18:28:38 +0800 Subject: [PATCH] fix: polkadot extension detection --- next/package.json | 6 +- next/services/chainApi.js | 10 +- next/yarn.lock | 589 +++++++++++++++++++------------------- 3 files changed, 306 insertions(+), 299 deletions(-) diff --git a/next/package.json b/next/package.json index 46e99461..dae3d070 100644 --- a/next/package.json +++ b/next/package.json @@ -17,9 +17,9 @@ "@osn/polkadot-react-identicon": "^1.0.10", "@osn/previewer": "^1.4.4", "@osn/rich-text-editor": "^0.6.6", - "@polkadot/extension-dapp": "^0.52.3", - "@polkadot/util": "^13.0.2", - "@polkadot/util-crypto": "^13.0.2", + "@polkadot/extension-dapp": "^0.56.2", + "@polkadot/util": "^13.2.3", + "@polkadot/util-crypto": "^13.2.3", "@reduxjs/toolkit": "^1.6.1", "@svgr/webpack": "^6.3.1", "bignumber.js": "^9.0.1", diff --git a/next/services/chainApi.js b/next/services/chainApi.js index e8f2a419..6bba06b5 100644 --- a/next/services/chainApi.js +++ b/next/services/chainApi.js @@ -19,19 +19,19 @@ async function singByMetaMask(text, address) { } export const signMessage = async (text, address) => { + if (!address) { + throw new Error("Sign address is missing"); + } + if (ethers.utils.isAddress(address)) { return singByMetaMask(text, address); } + await web3Enable("opensquare.io"); if (!isWeb3Injected) { throw new Error("Polkadot Extension is not installed"); } - if (!address) { - throw new Error("Sign addres is missing"); - } - - await web3Enable("opensquare.io"); const injector = await web3FromAddress(address); const data = stringToHex(text); diff --git a/next/yarn.lock b/next/yarn.lock index 1fa3ca99..da4c5909 100644 --- a/next/yarn.lock +++ b/next/yarn.lock @@ -1492,9 +1492,9 @@ __metadata: "@osn/polkadot-react-identicon": ^1.0.10 "@osn/previewer": ^1.4.4 "@osn/rich-text-editor": ^0.6.6 - "@polkadot/extension-dapp": ^0.52.3 - "@polkadot/util": ^13.0.2 - "@polkadot/util-crypto": ^13.0.2 + "@polkadot/extension-dapp": ^0.56.2 + "@polkadot/util": ^13.2.3 + "@polkadot/util-crypto": ^13.2.3 "@reduxjs/toolkit": ^1.6.1 "@svgr/webpack": ^6.3.1 "@testing-library/jest-dom": ^5.14.1 @@ -2788,394 +2788,394 @@ __metadata: languageName: node linkType: hard -"@polkadot/api-augment@npm:12.4.2": - version: 12.4.2 - resolution: "@polkadot/api-augment@npm:12.4.2" +"@polkadot/api-augment@npm:14.3.1": + version: 14.3.1 + resolution: "@polkadot/api-augment@npm:14.3.1" dependencies: - "@polkadot/api-base": 12.4.2 - "@polkadot/rpc-augment": 12.4.2 - "@polkadot/types": 12.4.2 - "@polkadot/types-augment": 12.4.2 - "@polkadot/types-codec": 12.4.2 - "@polkadot/util": ^13.0.2 - tslib: ^2.6.3 - checksum: 95ca6ad35b682918d989523ec25153dc1d4beab51b7dba2d8cf0a699b6337db85715dbe32bd704e47ffe964226ee2054def76f87f2c932f5d4ee2be0164c1131 + "@polkadot/api-base": 14.3.1 + "@polkadot/rpc-augment": 14.3.1 + "@polkadot/types": 14.3.1 + "@polkadot/types-augment": 14.3.1 + "@polkadot/types-codec": 14.3.1 + "@polkadot/util": ^13.2.3 + tslib: ^2.8.0 + checksum: c428a873416b71818dcf1188175cc4853778a13a364ccef1924cb50d973c2037454f24b14fe302b6cff9696a7c204480542e3b915ca1d6c253f4f915d1da0de9 languageName: node linkType: hard -"@polkadot/api-base@npm:12.4.2": - version: 12.4.2 - resolution: "@polkadot/api-base@npm:12.4.2" +"@polkadot/api-base@npm:14.3.1": + version: 14.3.1 + resolution: "@polkadot/api-base@npm:14.3.1" dependencies: - "@polkadot/rpc-core": 12.4.2 - "@polkadot/types": 12.4.2 - "@polkadot/util": ^13.0.2 + "@polkadot/rpc-core": 14.3.1 + "@polkadot/types": 14.3.1 + "@polkadot/util": ^13.2.3 rxjs: ^7.8.1 - tslib: ^2.6.3 - checksum: 56c5933217f14e034db39c81f6fa308f2604507bbde820ca67f316ba6a390200dafade1d990ba4d6f1d2bedb94d567cb27435efe341dabf06af2388d457fc4b7 + tslib: ^2.8.0 + checksum: bc3076c048adb68aadf08518c35a3f413f269a9710827fa0601c6787bfa952cc32b878d1690bfd12cbec0f83d190f30475b8600c901ec8fe2af44f4dd2d73a2a languageName: node linkType: hard -"@polkadot/api-derive@npm:12.4.2": - version: 12.4.2 - resolution: "@polkadot/api-derive@npm:12.4.2" +"@polkadot/api-derive@npm:14.3.1": + version: 14.3.1 + resolution: "@polkadot/api-derive@npm:14.3.1" dependencies: - "@polkadot/api": 12.4.2 - "@polkadot/api-augment": 12.4.2 - "@polkadot/api-base": 12.4.2 - "@polkadot/rpc-core": 12.4.2 - "@polkadot/types": 12.4.2 - "@polkadot/types-codec": 12.4.2 - "@polkadot/util": ^13.0.2 - "@polkadot/util-crypto": ^13.0.2 + "@polkadot/api": 14.3.1 + "@polkadot/api-augment": 14.3.1 + "@polkadot/api-base": 14.3.1 + "@polkadot/rpc-core": 14.3.1 + "@polkadot/types": 14.3.1 + "@polkadot/types-codec": 14.3.1 + "@polkadot/util": ^13.2.3 + "@polkadot/util-crypto": ^13.2.3 rxjs: ^7.8.1 - tslib: ^2.6.3 - checksum: a209e498772ea33fe587327196f13b9779b7054bd986c48c8efeb8fe9c298a375ef478c72fe39f0afec303d418859deb2d8822b554b55640caf1c06e12beeaf1 - languageName: node - linkType: hard - -"@polkadot/api@npm:12.4.2, @polkadot/api@npm:^12.4.1": - version: 12.4.2 - resolution: "@polkadot/api@npm:12.4.2" - dependencies: - "@polkadot/api-augment": 12.4.2 - "@polkadot/api-base": 12.4.2 - "@polkadot/api-derive": 12.4.2 - "@polkadot/keyring": ^13.0.2 - "@polkadot/rpc-augment": 12.4.2 - "@polkadot/rpc-core": 12.4.2 - "@polkadot/rpc-provider": 12.4.2 - "@polkadot/types": 12.4.2 - "@polkadot/types-augment": 12.4.2 - "@polkadot/types-codec": 12.4.2 - "@polkadot/types-create": 12.4.2 - "@polkadot/types-known": 12.4.2 - "@polkadot/util": ^13.0.2 - "@polkadot/util-crypto": ^13.0.2 + tslib: ^2.8.0 + checksum: 54f6cc1da534d6f302338bc19f4f9a68e8ed678cc80132739bf549e33cfcf256cb10269318456bc833c4f79500671db7003158d7681f29e5f1fa8afc6c15646a + languageName: node + linkType: hard + +"@polkadot/api@npm:14.3.1, @polkadot/api@npm:^14.3.1": + version: 14.3.1 + resolution: "@polkadot/api@npm:14.3.1" + dependencies: + "@polkadot/api-augment": 14.3.1 + "@polkadot/api-base": 14.3.1 + "@polkadot/api-derive": 14.3.1 + "@polkadot/keyring": ^13.2.3 + "@polkadot/rpc-augment": 14.3.1 + "@polkadot/rpc-core": 14.3.1 + "@polkadot/rpc-provider": 14.3.1 + "@polkadot/types": 14.3.1 + "@polkadot/types-augment": 14.3.1 + "@polkadot/types-codec": 14.3.1 + "@polkadot/types-create": 14.3.1 + "@polkadot/types-known": 14.3.1 + "@polkadot/util": ^13.2.3 + "@polkadot/util-crypto": ^13.2.3 eventemitter3: ^5.0.1 rxjs: ^7.8.1 - tslib: ^2.6.3 - checksum: 763e24b6d65c6a573d5d02153b35be9a4f7fa76101e3ad163dbfb46d7c0cd27904d28e92058c405dcd5ea2585788663ccaae406da09479b4bce4496e8f8a6f11 + tslib: ^2.8.0 + checksum: 8dd12825bb90cde56a34740eb1e8b38ac0917d32c720d4499d0aa50958248473a72a2f8b31ac67c671edbfb9cf097286268039c52de36dbb2bef47ca89a8e717 languageName: node linkType: hard -"@polkadot/extension-dapp@npm:^0.52.3": - version: 0.52.3 - resolution: "@polkadot/extension-dapp@npm:0.52.3" +"@polkadot/extension-dapp@npm:^0.56.2": + version: 0.56.2 + resolution: "@polkadot/extension-dapp@npm:0.56.2" dependencies: - "@polkadot/extension-inject": 0.52.3 - "@polkadot/util": ^13.0.2 - "@polkadot/util-crypto": ^13.0.2 - tslib: ^2.6.2 + "@polkadot/extension-inject": 0.56.2 + "@polkadot/util": ^13.2.3 + "@polkadot/util-crypto": ^13.2.3 + tslib: ^2.8.1 peerDependencies: "@polkadot/api": "*" "@polkadot/util": "*" "@polkadot/util-crypto": "*" - checksum: 74284ae6d48099bf697134796782f1985f903d85964f7f36c8d044a8ac357e565fa28a0a54fc27c1019ded0375e7b7c9d151d7ada91884d9e146d2fefeddb788 + checksum: 9660044ed8792db55abcf791625b1b0843dbb03b1dfdd03fc2a01718798da594cbf7828e159bcfe41575daa44dc78565f542340135545fc62599c4b0aa8aa163 languageName: node linkType: hard -"@polkadot/extension-inject@npm:0.52.3": - version: 0.52.3 - resolution: "@polkadot/extension-inject@npm:0.52.3" +"@polkadot/extension-inject@npm:0.56.2": + version: 0.56.2 + resolution: "@polkadot/extension-inject@npm:0.56.2" dependencies: - "@polkadot/api": ^12.4.1 - "@polkadot/rpc-provider": ^12.4.1 - "@polkadot/types": ^12.4.1 - "@polkadot/util": ^13.0.2 - "@polkadot/util-crypto": ^13.0.2 - "@polkadot/x-global": ^13.0.2 - tslib: ^2.6.2 + "@polkadot/api": ^14.3.1 + "@polkadot/rpc-provider": ^14.3.1 + "@polkadot/types": ^14.3.1 + "@polkadot/util": ^13.2.3 + "@polkadot/util-crypto": ^13.2.3 + "@polkadot/x-global": ^13.2.3 + tslib: ^2.8.1 peerDependencies: "@polkadot/api": "*" "@polkadot/util": "*" - checksum: d3bb7d7f9ece9d21978561925d11ddfc4cf78206cca6b68d55fe53a9e0196eedddf6d087764f4fe76e63d7f2898e588c5f9bbe71727a2baa84b2d3c97e59074f + checksum: ebcc9345960a0537dc15c23f28228535197bb96a7325dbeb769449442e0768a681491e1167f5b7bc261927275504f80c5a0174267de57a2febb0166778b5354b languageName: node linkType: hard -"@polkadot/keyring@npm:^13.0.2": - version: 13.1.1 - resolution: "@polkadot/keyring@npm:13.1.1" +"@polkadot/keyring@npm:^13.2.3": + version: 13.2.3 + resolution: "@polkadot/keyring@npm:13.2.3" dependencies: - "@polkadot/util": 13.1.1 - "@polkadot/util-crypto": 13.1.1 - tslib: ^2.7.0 + "@polkadot/util": 13.2.3 + "@polkadot/util-crypto": 13.2.3 + tslib: ^2.8.0 peerDependencies: - "@polkadot/util": 13.1.1 - "@polkadot/util-crypto": 13.1.1 - checksum: 415077740d4971e4697f20e28705f7ee9c819f8f1f05f2ab3c52342cb23240028bb0dfce683f7e1ed46a66c1c290d2a688edbb29d594bbf0b57eb9a842e5f809 + "@polkadot/util": 13.2.3 + "@polkadot/util-crypto": 13.2.3 + checksum: 35d95f0b26701b0454e8c22a1d91aa60c5d9a6e1076e9ae22ed1204a18e393abd8ae2d325f474c7327ea8f3e114da165fe484f623cd61c8d6e547d55b93d46e4 languageName: node linkType: hard -"@polkadot/networks@npm:13.1.1, @polkadot/networks@npm:^13.0.2": - version: 13.1.1 - resolution: "@polkadot/networks@npm:13.1.1" +"@polkadot/networks@npm:13.2.3, @polkadot/networks@npm:^13.2.3": + version: 13.2.3 + resolution: "@polkadot/networks@npm:13.2.3" dependencies: - "@polkadot/util": 13.1.1 - "@substrate/ss58-registry": ^1.50.0 - tslib: ^2.7.0 - checksum: 82c11848e900259dc4c7a9b4829b566003bfb1db815316047042704d73820fb4658e1acdeb71a87de3bcbf531f89180de2f51ca8ef83659126073ef16efadb16 + "@polkadot/util": 13.2.3 + "@substrate/ss58-registry": ^1.51.0 + tslib: ^2.8.0 + checksum: c2205ab022753ab47679cc2d3914f09163aa1b049c2233fac123d15297e0082846848f5a978895cf5a77faad67c292c05311843c006dd61bd3f509c43137addf languageName: node linkType: hard -"@polkadot/rpc-augment@npm:12.4.2": - version: 12.4.2 - resolution: "@polkadot/rpc-augment@npm:12.4.2" +"@polkadot/rpc-augment@npm:14.3.1": + version: 14.3.1 + resolution: "@polkadot/rpc-augment@npm:14.3.1" dependencies: - "@polkadot/rpc-core": 12.4.2 - "@polkadot/types": 12.4.2 - "@polkadot/types-codec": 12.4.2 - "@polkadot/util": ^13.0.2 - tslib: ^2.6.3 - checksum: 0b329278b8b7217cdb87d451ed16e57f0d357db4e62f06d0315eea3f18db5be0078594dd0984896483f78c81d12e9bb62314c141d0a895f4e997ff49e981d2c5 + "@polkadot/rpc-core": 14.3.1 + "@polkadot/types": 14.3.1 + "@polkadot/types-codec": 14.3.1 + "@polkadot/util": ^13.2.3 + tslib: ^2.8.0 + checksum: 09c0a8fe92ceb8ef5b0ca2536a61d10e9198a1d462b913ce0be74793048619ff62ffa195fcb55071ccfccb06118fbe69861bca91ace6a3509a369f800580413c languageName: node linkType: hard -"@polkadot/rpc-core@npm:12.4.2": - version: 12.4.2 - resolution: "@polkadot/rpc-core@npm:12.4.2" +"@polkadot/rpc-core@npm:14.3.1": + version: 14.3.1 + resolution: "@polkadot/rpc-core@npm:14.3.1" dependencies: - "@polkadot/rpc-augment": 12.4.2 - "@polkadot/rpc-provider": 12.4.2 - "@polkadot/types": 12.4.2 - "@polkadot/util": ^13.0.2 + "@polkadot/rpc-augment": 14.3.1 + "@polkadot/rpc-provider": 14.3.1 + "@polkadot/types": 14.3.1 + "@polkadot/util": ^13.2.3 rxjs: ^7.8.1 - tslib: ^2.6.3 - checksum: 5a925296e14b4db61b1e37597934ad6a75b8cd7c195d5ef4a50dc200b453fdd86908770308076fe89364be280ad5777b187657b465486767baae67c163906258 + tslib: ^2.8.0 + checksum: 603167f4b2fbcfd419fd130bf3e70bb9ff089319d8e482aadbe1b984f4cfa84c3ff59dcf9ec59871adf7b3ab1148264370c04ee7bc1caa0e5c1e4c8772865036 languageName: node linkType: hard -"@polkadot/rpc-provider@npm:12.4.2, @polkadot/rpc-provider@npm:^12.4.1": - version: 12.4.2 - resolution: "@polkadot/rpc-provider@npm:12.4.2" +"@polkadot/rpc-provider@npm:14.3.1, @polkadot/rpc-provider@npm:^14.3.1": + version: 14.3.1 + resolution: "@polkadot/rpc-provider@npm:14.3.1" dependencies: - "@polkadot/keyring": ^13.0.2 - "@polkadot/types": 12.4.2 - "@polkadot/types-support": 12.4.2 - "@polkadot/util": ^13.0.2 - "@polkadot/util-crypto": ^13.0.2 - "@polkadot/x-fetch": ^13.0.2 - "@polkadot/x-global": ^13.0.2 - "@polkadot/x-ws": ^13.0.2 + "@polkadot/keyring": ^13.2.3 + "@polkadot/types": 14.3.1 + "@polkadot/types-support": 14.3.1 + "@polkadot/util": ^13.2.3 + "@polkadot/util-crypto": ^13.2.3 + "@polkadot/x-fetch": ^13.2.3 + "@polkadot/x-global": ^13.2.3 + "@polkadot/x-ws": ^13.2.3 "@substrate/connect": 0.8.11 eventemitter3: ^5.0.1 mock-socket: ^9.3.1 - nock: ^13.5.4 - tslib: ^2.6.3 + nock: ^13.5.5 + tslib: ^2.8.0 dependenciesMeta: "@substrate/connect": optional: true - checksum: 029c2e7628271f5bb7ab4688adc14dcb3a6d13c00a2e1404f96f8a81188c51573d116e4c869b55faae54979afe319e4121404b956487784d52b5fd4a4c59bf26 + checksum: 9438caf2c64486f3db00d7c1a8404a4fa39742204335da6cc8a6100387f16383519eb380a63948f817d6fe0a2cb89eba78ad4d8f7cac34c5c6b5a21faf7f58ad languageName: node linkType: hard -"@polkadot/types-augment@npm:12.4.2": - version: 12.4.2 - resolution: "@polkadot/types-augment@npm:12.4.2" +"@polkadot/types-augment@npm:14.3.1": + version: 14.3.1 + resolution: "@polkadot/types-augment@npm:14.3.1" dependencies: - "@polkadot/types": 12.4.2 - "@polkadot/types-codec": 12.4.2 - "@polkadot/util": ^13.0.2 - tslib: ^2.6.3 - checksum: 15c0d82e190e97dd91df068d3cd9717364fbdfb1c8f3f873ff5c9156b76ee0ae78550d935dd2f4cf7e47d477e7132575d1154c27f3eccb78676e001fea9945c1 + "@polkadot/types": 14.3.1 + "@polkadot/types-codec": 14.3.1 + "@polkadot/util": ^13.2.3 + tslib: ^2.8.0 + checksum: d5647b967cde958ed09d23d1aa80cb8fcd9c51e2cea000ef8abe5dc50619aa0ea81f4d931707620400c8b3c234a181354314efe82e76d323fe616914a173eb8f languageName: node linkType: hard -"@polkadot/types-codec@npm:12.4.2": - version: 12.4.2 - resolution: "@polkadot/types-codec@npm:12.4.2" +"@polkadot/types-codec@npm:14.3.1": + version: 14.3.1 + resolution: "@polkadot/types-codec@npm:14.3.1" dependencies: - "@polkadot/util": ^13.0.2 - "@polkadot/x-bigint": ^13.0.2 - tslib: ^2.6.3 - checksum: d5357e70c1e48a3e34bfffdbc1c88d59fa014c984bcdb09fa61153ed0afe96908852c235112b215b26e4ff8cd86e7167fad8a73a57cc6da473ef5d0e214ee8ec + "@polkadot/util": ^13.2.3 + "@polkadot/x-bigint": ^13.2.3 + tslib: ^2.8.0 + checksum: 8178b97c4693163dc4a0fdc7336409263e71fc88dd77f6ed22a2c9456e5ee09e3eecba8c026b049e89730680f3c07d31c8a1ec5adedcb06142a1050b457d2f53 languageName: node linkType: hard -"@polkadot/types-create@npm:12.4.2": - version: 12.4.2 - resolution: "@polkadot/types-create@npm:12.4.2" +"@polkadot/types-create@npm:14.3.1": + version: 14.3.1 + resolution: "@polkadot/types-create@npm:14.3.1" dependencies: - "@polkadot/types-codec": 12.4.2 - "@polkadot/util": ^13.0.2 - tslib: ^2.6.3 - checksum: 44b2491a1feaba192f818e9ab3ace507e8c6d155f5451f3324342edee1bd2a21b65020a41c4e258ce4900c7209d7dffe7f31b1a9425dad44a26d7f28fe8480a5 + "@polkadot/types-codec": 14.3.1 + "@polkadot/util": ^13.2.3 + tslib: ^2.8.0 + checksum: b0156373e64cdbec0e8b447ba3405bd3c69ba45934a644ef2a1a50be4c46fd44780839269786fe63828b6e53fe9984e2e961ef820c71e94092b22a0e342fa251 languageName: node linkType: hard -"@polkadot/types-known@npm:12.4.2": - version: 12.4.2 - resolution: "@polkadot/types-known@npm:12.4.2" +"@polkadot/types-known@npm:14.3.1": + version: 14.3.1 + resolution: "@polkadot/types-known@npm:14.3.1" dependencies: - "@polkadot/networks": ^13.0.2 - "@polkadot/types": 12.4.2 - "@polkadot/types-codec": 12.4.2 - "@polkadot/types-create": 12.4.2 - "@polkadot/util": ^13.0.2 - tslib: ^2.6.3 - checksum: 9410347693b1c14d8a1fa52e3a633b1345ceae34ca6e63f86dd87666bf752da47dff7f8aa60f249d640151025034078cf837c18929ac0d72d626159c045a1a02 + "@polkadot/networks": ^13.2.3 + "@polkadot/types": 14.3.1 + "@polkadot/types-codec": 14.3.1 + "@polkadot/types-create": 14.3.1 + "@polkadot/util": ^13.2.3 + tslib: ^2.8.0 + checksum: 90c83c04b2477909e327acd12bb930c3f73e69fb55b268fa6fcda096e0c11de841714df47ae967f324f98b40ed6f34c260432531c6122f0b3d7df256e5e393d4 languageName: node linkType: hard -"@polkadot/types-support@npm:12.4.2": - version: 12.4.2 - resolution: "@polkadot/types-support@npm:12.4.2" +"@polkadot/types-support@npm:14.3.1": + version: 14.3.1 + resolution: "@polkadot/types-support@npm:14.3.1" dependencies: - "@polkadot/util": ^13.0.2 - tslib: ^2.6.3 - checksum: 77b96fa39717fbe0104b995a95b90e51e849f151de8d922e75f03a99c1b60aa1ee65029832b16e791692b4f3c17668ad8777fb6d2ce3f6019ca9aa01ba2135b0 + "@polkadot/util": ^13.2.3 + tslib: ^2.8.0 + checksum: 2b9f486ccd9f96a86207f3451796ee8b99d5bdb3e7a95b1b1bd1011d1c48f97d26ef89f9a8aab6fb4cc1e4dfc6e25bcebd9a6b56f29a58820c22b581f38b025b languageName: node linkType: hard -"@polkadot/types@npm:12.4.2, @polkadot/types@npm:^12.4.1": - version: 12.4.2 - resolution: "@polkadot/types@npm:12.4.2" +"@polkadot/types@npm:14.3.1, @polkadot/types@npm:^14.3.1": + version: 14.3.1 + resolution: "@polkadot/types@npm:14.3.1" dependencies: - "@polkadot/keyring": ^13.0.2 - "@polkadot/types-augment": 12.4.2 - "@polkadot/types-codec": 12.4.2 - "@polkadot/types-create": 12.4.2 - "@polkadot/util": ^13.0.2 - "@polkadot/util-crypto": ^13.0.2 + "@polkadot/keyring": ^13.2.3 + "@polkadot/types-augment": 14.3.1 + "@polkadot/types-codec": 14.3.1 + "@polkadot/types-create": 14.3.1 + "@polkadot/util": ^13.2.3 + "@polkadot/util-crypto": ^13.2.3 rxjs: ^7.8.1 - tslib: ^2.6.3 - checksum: 7916d6ce73bc36e03582113114df01677f0cbfb780349d630f0da7a3413da42dbf9e9d5c97abdfb1918d67f6954c06ea3380cb162297c26503aa18b220ecec9d + tslib: ^2.8.0 + checksum: 33f6884bf5f66584a33386b4102d96c717bb795adc2c73410329cc8fa07b5d1e556b3d222d6a858a39f65836dfc09260de9e7b11568240f9f5c66aa70bc3dcc9 languageName: node linkType: hard -"@polkadot/util-crypto@npm:13.1.1, @polkadot/util-crypto@npm:^13.0.2": - version: 13.1.1 - resolution: "@polkadot/util-crypto@npm:13.1.1" +"@polkadot/util-crypto@npm:13.2.3, @polkadot/util-crypto@npm:^13.2.3": + version: 13.2.3 + resolution: "@polkadot/util-crypto@npm:13.2.3" dependencies: "@noble/curves": ^1.3.0 "@noble/hashes": ^1.3.3 - "@polkadot/networks": 13.1.1 - "@polkadot/util": 13.1.1 - "@polkadot/wasm-crypto": ^7.3.2 - "@polkadot/wasm-util": ^7.3.2 - "@polkadot/x-bigint": 13.1.1 - "@polkadot/x-randomvalues": 13.1.1 + "@polkadot/networks": 13.2.3 + "@polkadot/util": 13.2.3 + "@polkadot/wasm-crypto": ^7.4.1 + "@polkadot/wasm-util": ^7.4.1 + "@polkadot/x-bigint": 13.2.3 + "@polkadot/x-randomvalues": 13.2.3 "@scure/base": ^1.1.7 - tslib: ^2.7.0 + tslib: ^2.8.0 peerDependencies: - "@polkadot/util": 13.1.1 - checksum: 54a99d68ffe3cc2c455f4a919e5b64e801f0a029b22823d8fb387a97ca70dafaf125449a9f0d713abce96f7e3cb997f1920c6a669f42f3c162792fb48f18e7b8 + "@polkadot/util": 13.2.3 + checksum: 6daddce7b4117c138849a7f9bd20376e3e0cb84e29b05bafbb0a049b4c9a7e911e9b47775dce70fe2729c5c0508af9dff4bac356b96ebc250a900e10ce4accd8 languageName: node linkType: hard -"@polkadot/util@npm:13.1.1, @polkadot/util@npm:^13.0.2": - version: 13.1.1 - resolution: "@polkadot/util@npm:13.1.1" +"@polkadot/util@npm:13.2.3, @polkadot/util@npm:^13.2.3": + version: 13.2.3 + resolution: "@polkadot/util@npm:13.2.3" dependencies: - "@polkadot/x-bigint": 13.1.1 - "@polkadot/x-global": 13.1.1 - "@polkadot/x-textdecoder": 13.1.1 - "@polkadot/x-textencoder": 13.1.1 - "@types/bn.js": ^5.1.5 + "@polkadot/x-bigint": 13.2.3 + "@polkadot/x-global": 13.2.3 + "@polkadot/x-textdecoder": 13.2.3 + "@polkadot/x-textencoder": 13.2.3 + "@types/bn.js": ^5.1.6 bn.js: ^5.2.1 - tslib: ^2.7.0 - checksum: 88c2095454539f9583b1cef96b7265c9890bd7c345823f572ea345f0ee7d9f8b088144a34b84d43a298f3e41fc5f2932e7ec95e137aa09891f28509d0a3d5733 + tslib: ^2.8.0 + checksum: 305d40bcb874c9f361c2ad85370fcef84c139e4100be6bdcc7550ea28a6c4e78ee1b411b35d03ef2176572a642f031ef681064aceb252af7b23447642e89158d languageName: node linkType: hard -"@polkadot/wasm-bridge@npm:7.3.2": - version: 7.3.2 - resolution: "@polkadot/wasm-bridge@npm:7.3.2" +"@polkadot/wasm-bridge@npm:7.4.1": + version: 7.4.1 + resolution: "@polkadot/wasm-bridge@npm:7.4.1" dependencies: - "@polkadot/wasm-util": 7.3.2 - tslib: ^2.6.2 + "@polkadot/wasm-util": 7.4.1 + tslib: ^2.7.0 peerDependencies: "@polkadot/util": "*" "@polkadot/x-randomvalues": "*" - checksum: 8c68b78cbd62347ebdf3fa66f2ffd1f7e883df71d770f5099ff652b083a79f1d7e9e7826a6acd8e986e9da0b07c0170a3f77b6a35726c6b24d856e3f8d08d201 + checksum: 2cb4389853764eccebbe37a36e583a240b06e20c726247173c3ff5d85e198544c17ebef302da2e40ccd67f4fdb81454ab01cfbfc2fb93b1b3553d5bcdf4fe1bc languageName: node linkType: hard -"@polkadot/wasm-crypto-asmjs@npm:7.3.2": - version: 7.3.2 - resolution: "@polkadot/wasm-crypto-asmjs@npm:7.3.2" +"@polkadot/wasm-crypto-asmjs@npm:7.4.1": + version: 7.4.1 + resolution: "@polkadot/wasm-crypto-asmjs@npm:7.4.1" dependencies: - tslib: ^2.6.2 + tslib: ^2.7.0 peerDependencies: "@polkadot/util": "*" - checksum: 669ea001565301f9b1a8feecb0e301c854fc318e5605316b57be7e83d717e7ee8ac460001cd44b18075a3d028c32c4a605c0e0e2e95ae00865282321b009ed26 + checksum: 983c345b034723d1967349f446682f79c1ee02030895153fd4aa137cd00bbf8788ddfeb0825e2118ee5db2894707f4224d61eabe931c028d22d1f10e52a1acd8 languageName: node linkType: hard -"@polkadot/wasm-crypto-init@npm:7.3.2": - version: 7.3.2 - resolution: "@polkadot/wasm-crypto-init@npm:7.3.2" +"@polkadot/wasm-crypto-init@npm:7.4.1": + version: 7.4.1 + resolution: "@polkadot/wasm-crypto-init@npm:7.4.1" dependencies: - "@polkadot/wasm-bridge": 7.3.2 - "@polkadot/wasm-crypto-asmjs": 7.3.2 - "@polkadot/wasm-crypto-wasm": 7.3.2 - "@polkadot/wasm-util": 7.3.2 - tslib: ^2.6.2 + "@polkadot/wasm-bridge": 7.4.1 + "@polkadot/wasm-crypto-asmjs": 7.4.1 + "@polkadot/wasm-crypto-wasm": 7.4.1 + "@polkadot/wasm-util": 7.4.1 + tslib: ^2.7.0 peerDependencies: "@polkadot/util": "*" "@polkadot/x-randomvalues": "*" - checksum: af7bc62bba16f1fbbfd76601ecf18ed8f4dfc685807e2e89ef8e8d02f824d1a1ed1635e9c2448c6c12a9a183192b18943f9ce077d6b7781c4d43cdb5c45c9161 + checksum: fc697dc76d99b9597750abe3739da28ed3731b199eb8efc522bab03bca4fb9b34ece091ebd9bd26509d75a9785078724417754ac45e1fec4ed541b805fc75025 languageName: node linkType: hard -"@polkadot/wasm-crypto-wasm@npm:7.3.2": - version: 7.3.2 - resolution: "@polkadot/wasm-crypto-wasm@npm:7.3.2" +"@polkadot/wasm-crypto-wasm@npm:7.4.1": + version: 7.4.1 + resolution: "@polkadot/wasm-crypto-wasm@npm:7.4.1" dependencies: - "@polkadot/wasm-util": 7.3.2 - tslib: ^2.6.2 + "@polkadot/wasm-util": 7.4.1 + tslib: ^2.7.0 peerDependencies: "@polkadot/util": "*" - checksum: e112ea3d4f8858a95fdaad47341b422db3db3256b7e7d709d1c3e0bc4c4bbdf81028eaa556b688078b32ff15be33af093b903c680f54eb1552072afede621a6a + checksum: 303c53cdb5a9219f52827cb51bae8be3e897317280adea8a6507a5cbf3ad4b4bd62b5ca7ceba02f972dc0df1e36a4a169b9eaf863076a913c2a612e9c71742f4 languageName: node linkType: hard -"@polkadot/wasm-crypto@npm:^7.3.2": - version: 7.3.2 - resolution: "@polkadot/wasm-crypto@npm:7.3.2" +"@polkadot/wasm-crypto@npm:^7.4.1": + version: 7.4.1 + resolution: "@polkadot/wasm-crypto@npm:7.4.1" dependencies: - "@polkadot/wasm-bridge": 7.3.2 - "@polkadot/wasm-crypto-asmjs": 7.3.2 - "@polkadot/wasm-crypto-init": 7.3.2 - "@polkadot/wasm-crypto-wasm": 7.3.2 - "@polkadot/wasm-util": 7.3.2 - tslib: ^2.6.2 + "@polkadot/wasm-bridge": 7.4.1 + "@polkadot/wasm-crypto-asmjs": 7.4.1 + "@polkadot/wasm-crypto-init": 7.4.1 + "@polkadot/wasm-crypto-wasm": 7.4.1 + "@polkadot/wasm-util": 7.4.1 + tslib: ^2.7.0 peerDependencies: "@polkadot/util": "*" "@polkadot/x-randomvalues": "*" - checksum: 574006cdcc3e76af28cc79102726a79fdcd765ca5b45cbc4807d70917d82131b59f50b5cc07bd165b2863ed131b8764fef74b00c68ba5ec30a21c04c72061f8f + checksum: c3c155ad08a3be5b3de22743a3e8f3658082150138e770d4604e55256671021fb9d2f191fc228b0a7893a1af1cfce21daa11f7300a8b4cf1037de01aad583dcf languageName: node linkType: hard -"@polkadot/wasm-util@npm:7.3.2, @polkadot/wasm-util@npm:^7.3.2": - version: 7.3.2 - resolution: "@polkadot/wasm-util@npm:7.3.2" +"@polkadot/wasm-util@npm:7.4.1, @polkadot/wasm-util@npm:^7.4.1": + version: 7.4.1 + resolution: "@polkadot/wasm-util@npm:7.4.1" dependencies: - tslib: ^2.6.2 + tslib: ^2.7.0 peerDependencies: "@polkadot/util": "*" - checksum: 44bd445043714aac6d184ce02d62fbdb97a117fd4d8bdbf3f2c1d14f6911a7d87ed6bb4682035eb757524ade995f7f4f8aaa07c8a194f761884ded25a6b383a9 + checksum: 16995482059ea7b3fa95ecb8bddd1465af64ca8b0b42b9942839fd0aa7bf556b7f4c914eb3bfe035d73ec5f1dc91f1b0b5d502bfb9d8b809d4399cd15b934e70 languageName: node linkType: hard -"@polkadot/x-bigint@npm:13.1.1, @polkadot/x-bigint@npm:^13.0.2": - version: 13.1.1 - resolution: "@polkadot/x-bigint@npm:13.1.1" +"@polkadot/x-bigint@npm:13.2.3, @polkadot/x-bigint@npm:^13.2.3": + version: 13.2.3 + resolution: "@polkadot/x-bigint@npm:13.2.3" dependencies: - "@polkadot/x-global": 13.1.1 - tslib: ^2.7.0 - checksum: 1c2ca55a7e49306a1c5ae5110c5dd13ad7c14e8a6f0ec36226571ab8c4ad468351f97c36ddea2ad88bd540c786dc27941db6ee92dfede42e75e053982e439559 + "@polkadot/x-global": 13.2.3 + tslib: ^2.8.0 + checksum: 7d4708159e2066ccb96569994ee7dd3b621b1b786be2489e390efd05163b54489097ad31b08826c67c52a171fc9ccb27939c181b13ba674c2ff854ef4d1dffd6 languageName: node linkType: hard -"@polkadot/x-fetch@npm:^13.0.2": - version: 13.1.1 - resolution: "@polkadot/x-fetch@npm:13.1.1" +"@polkadot/x-fetch@npm:^13.2.3": + version: 13.2.3 + resolution: "@polkadot/x-fetch@npm:13.2.3" dependencies: - "@polkadot/x-global": 13.1.1 + "@polkadot/x-global": 13.2.3 node-fetch: ^3.3.2 - tslib: ^2.7.0 - checksum: 4b94ec5d4f05981ab7256998f2aafbf1137ec65efb3084fc6f9ee025267f1a3f032fed3e598eabf367f572098a2d773bcf5760762bce59fa3c2af49e4d9e4925 + tslib: ^2.8.0 + checksum: 5c13a22f0f98d2dcb1c7fe408fd931ad01af5106fdbf08e8724e1845be7bb28094389e25207baaa477b056736daeda44eb306a507b208978873ae958b567fee5 languageName: node linkType: hard @@ -3188,45 +3188,45 @@ __metadata: languageName: node linkType: hard -"@polkadot/x-global@npm:13.1.1, @polkadot/x-global@npm:^13.0.2": - version: 13.1.1 - resolution: "@polkadot/x-global@npm:13.1.1" +"@polkadot/x-global@npm:13.2.3, @polkadot/x-global@npm:^13.2.3": + version: 13.2.3 + resolution: "@polkadot/x-global@npm:13.2.3" dependencies: - tslib: ^2.7.0 - checksum: 0cea1b38cb19b07ec1d50d2913f3187e1ecd7a72e58c49017cad93d1f944d0236842e224b5f4ebe5d1f99ca31483643c33500e385553ed774128e0f00edecee8 + tslib: ^2.8.0 + checksum: 52098fe8f677c61832e8e015c0fb0efad567be11f1373af8fa746bb835efd67c2f6efad2971cf626d66fbaa5b178dc30540aea7403ee0bd94d80dfe2df399a85 languageName: node linkType: hard -"@polkadot/x-randomvalues@npm:13.1.1": - version: 13.1.1 - resolution: "@polkadot/x-randomvalues@npm:13.1.1" +"@polkadot/x-randomvalues@npm:13.2.3": + version: 13.2.3 + resolution: "@polkadot/x-randomvalues@npm:13.2.3" dependencies: - "@polkadot/x-global": 13.1.1 - tslib: ^2.7.0 + "@polkadot/x-global": 13.2.3 + tslib: ^2.8.0 peerDependencies: - "@polkadot/util": 13.1.1 + "@polkadot/util": 13.2.3 "@polkadot/wasm-util": "*" - checksum: 30d8d0c4063d5f85d6f4e55c14822dc0304bb115c46a040f8a74a89fecbe20cfc8f8ef826ab816eedc0b80986ecec20d6d76de2095fa7caf203c761a6c2f1a45 + checksum: 38de691be70ea8fc84fa479516470604e1a12286f178defcc782e980bfb0dff82159887493f2183f14d731d98b84abe117d81b06da2ca39471e0daf814822451 languageName: node linkType: hard -"@polkadot/x-textdecoder@npm:13.1.1": - version: 13.1.1 - resolution: "@polkadot/x-textdecoder@npm:13.1.1" +"@polkadot/x-textdecoder@npm:13.2.3": + version: 13.2.3 + resolution: "@polkadot/x-textdecoder@npm:13.2.3" dependencies: - "@polkadot/x-global": 13.1.1 - tslib: ^2.7.0 - checksum: 03007249aee07501e8747a2e19448cb435ee5ca7c4e7dc1de667e811ee813e960311f26f1c1ca989391fb5d28600f68b72eded96ee643d0673b4d8e84cfb2ca0 + "@polkadot/x-global": 13.2.3 + tslib: ^2.8.0 + checksum: b91255ca9f4cf727b763e2ab7ff8da51a2b9508c1fdfcd837c694418e1b2b278010a5f75d7dd6ed9a62bea6757f12c77a6d3730c509e88e3a69075e91f32d278 languageName: node linkType: hard -"@polkadot/x-textencoder@npm:13.1.1": - version: 13.1.1 - resolution: "@polkadot/x-textencoder@npm:13.1.1" +"@polkadot/x-textencoder@npm:13.2.3": + version: 13.2.3 + resolution: "@polkadot/x-textencoder@npm:13.2.3" dependencies: - "@polkadot/x-global": 13.1.1 - tslib: ^2.7.0 - checksum: 9a72e477a3db29c273f245317cfc72e2752322a3317bc5aa6818e3c620e17551f5bd0685290ed7b67ccc8d3bf94118d806f6c64cff958983e6d8f45278769f29 + "@polkadot/x-global": 13.2.3 + tslib: ^2.8.0 + checksum: b60182baf38a349ab0c5fe90b3a9c246b222843c91004d188e35b441fd3df81241052a476498bf751ef8b7bbcb5365714994ce07f4418814164aa36a9ccc4814 languageName: node linkType: hard @@ -3240,14 +3240,14 @@ __metadata: languageName: node linkType: hard -"@polkadot/x-ws@npm:^13.0.2": - version: 13.1.1 - resolution: "@polkadot/x-ws@npm:13.1.1" +"@polkadot/x-ws@npm:^13.2.3": + version: 13.2.3 + resolution: "@polkadot/x-ws@npm:13.2.3" dependencies: - "@polkadot/x-global": 13.1.1 - tslib: ^2.7.0 - ws: ^8.16.0 - checksum: 10d1f191d19179054c5dd6896b6e5668ffab249f5e301e94f14006a8319dacc292bf4c6a323549e156d98dcbdd9c67659888039847a0c6c7cd0437bbf0f3cdb2 + "@polkadot/x-global": 13.2.3 + tslib: ^2.8.0 + ws: ^8.18.0 + checksum: fffec50094367cac54640d32490ffcf19f791c9445476ddda59b9aecdc13dc3deda7414c16a608c5d23673d8491d56ccc65f19784511b9ebcd2f4451eda87153 languageName: node linkType: hard @@ -3787,10 +3787,10 @@ __metadata: languageName: node linkType: hard -"@substrate/ss58-registry@npm:^1.50.0": - version: 1.50.0 - resolution: "@substrate/ss58-registry@npm:1.50.0" - checksum: d19d933fadf9bfbebd1c4a62c750620de34bd920ca6beb3ad8d66147c6d672e0773b57fce8394ec52a36c60d0564a92b7961ed1eac8508bca0248e23f62b8460 +"@substrate/ss58-registry@npm:^1.51.0": + version: 1.51.0 + resolution: "@substrate/ss58-registry@npm:1.51.0" + checksum: bfcba035e14648801f74802c76b195c22a86875cca89a577e21f5edd3e800578486f964a5117bad4b272f21695f8557fe713c3031c0c81269b76259470eb5a74 languageName: node linkType: hard @@ -4076,7 +4076,7 @@ __metadata: languageName: node linkType: hard -"@types/bn.js@npm:^5.1.5": +"@types/bn.js@npm:^5.1.6": version: 5.1.6 resolution: "@types/bn.js@npm:5.1.6" dependencies: @@ -9594,14 +9594,14 @@ __metadata: languageName: node linkType: hard -"nock@npm:^13.5.4": - version: 13.5.5 - resolution: "nock@npm:13.5.5" +"nock@npm:^13.5.5": + version: 13.5.6 + resolution: "nock@npm:13.5.6" dependencies: debug: ^4.1.0 json-stringify-safe: ^5.0.1 propagate: ^2.0.0 - checksum: 91947b683992096a694140714323f11493b8ad9961c172e3e574c4801131fea259755e95c48e7e01527c14209967c20f151ff03b6bf6700471f0f76fa4071d32 + checksum: 82d31ef7a428e8a6bc430b2772745ecb1f9c8835170789bbcc29c9036614adf3b7112daeb6d59edd93f4340a9a96acee401021572d469a7a0e09a669679f2794 languageName: node linkType: hard @@ -11765,13 +11765,20 @@ __metadata: languageName: node linkType: hard -"tslib@npm:^2.0.0, tslib@npm:^2.1.0, tslib@npm:^2.4.0, tslib@npm:^2.6.2, tslib@npm:^2.6.3, tslib@npm:^2.7.0": +"tslib@npm:^2.0.0, tslib@npm:^2.1.0, tslib@npm:^2.4.0, tslib@npm:^2.6.2, tslib@npm:^2.7.0": version: 2.7.0 resolution: "tslib@npm:2.7.0" checksum: 1606d5c89f88d466889def78653f3aab0f88692e80bb2066d090ca6112ae250ec1cfa9dbfaab0d17b60da15a4186e8ec4d893801c67896b277c17374e36e1d28 languageName: node linkType: hard +"tslib@npm:^2.8.0, tslib@npm:^2.8.1": + version: 2.8.1 + resolution: "tslib@npm:2.8.1" + checksum: e4aba30e632b8c8902b47587fd13345e2827fa639e7c3121074d5ee0880723282411a8838f830b55100cbe4517672f84a2472667d355b81e8af165a55dc6203a + languageName: node + linkType: hard + "type-check@npm:^0.4.0, type-check@npm:~0.4.0": version: 0.4.0 resolution: "type-check@npm:0.4.0" @@ -12283,7 +12290,7 @@ __metadata: languageName: node linkType: hard -"ws@npm:^8.16.0, ws@npm:^8.8.1": +"ws@npm:^8.18.0, ws@npm:^8.8.1": version: 8.18.0 resolution: "ws@npm:8.18.0" peerDependencies: