diff --git a/.github/workflows/check-build-front.yml b/.github/workflows/check-build-front.yml index 01dcec0..137003f 100644 --- a/.github/workflows/check-build-front.yml +++ b/.github/workflows/check-build-front.yml @@ -9,7 +9,7 @@ jobs: strategy: matrix: - node-version: [16.x] + node-version: [18.x] steps: - uses: actions/checkout@v4 diff --git a/docker/Dockerfile b/docker/Dockerfile index 473c51a..813e2be 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -1,4 +1,4 @@ -FROM node:16-alpine3.16 as dependencies +FROM node:18-alpine3.19 as dependencies ARG GH_BACKEND_URL ARG GH_IPFS_URL @@ -24,7 +24,7 @@ RUN set -x \ && mv ci.env .env \ && NODE_ENV=production yarn build -FROM gcr.io/distroless/nodejs:16 AS runner +FROM gcr.io/distroless/nodejs:18 AS runner ARG GH_BACKEND_URL ARG GH_IPFS_URL diff --git a/package.json b/package.json index 14185e9..1185f5e 100644 --- a/package.json +++ b/package.json @@ -52,10 +52,9 @@ "typescript": "4.9.5" }, "resolutions": { - "@types/react": "^17.x.x", - "@polkadot/types": "^10.9.1", - "@polkadot/api": "^10.9.1", - "@polkadot/util": "^12.5.1" + "@polkadot/types": "^13.0.1", + "@polkadot/api": "^13.0.1", + "@polkadot/util": "^13.0.2" }, "dependencies": { "@amplitude/analytics-browser": "^2.2.2", diff --git a/src/components/transfer/configs/same-chain.ts b/src/components/transfer/configs/same-chain.ts index f6b0834..bc741ae 100644 --- a/src/components/transfer/configs/same-chain.ts +++ b/src/components/transfer/configs/same-chain.ts @@ -1,64 +1,243 @@ import { useChainInfoByNetwork } from 'src/rtk/features/multiChainInfo/multiChainInfoHooks' -import { decodeExtrinsicString, getExtrinsicParams } from 'src/utils/extrinsicDecoder' +import { + decodeExtrinsicString, + getExtrinsicParams, +} from 'src/utils/extrinsicDecoder' -const getCustomTransferParamId = (token: string, network: string) => `${token}|${network}` +const getCustomTransferParamId = (token: string, network: string) => + `${token}|${network}` export type SameChainTransferParamData = { amount: string recipient: string tokenId?: any } + +// balances.transfer - parallel, pioneer, romonomics, joystream, turing, parallel heiko, chainx const customSameChainTransferConfig: { [key: string]: { - getParams: ( - data: SameChainTransferParamData, - ) => any[] + getParams: (data: SameChainTransferParamData) => any[] extrinsic: string } } = { [getCustomTransferParamId('KSM', 'kusama')]: { extrinsic: 'balances.transferAllowDeath', getParams: (data) => { - return [ data.recipient, data.amount ] + return [data.recipient, data.amount] }, }, [getCustomTransferParamId('DOT', 'polkadot')]: { extrinsic: 'balances.transferAllowDeath', getParams: (data) => { - return [ data.recipient, data.amount ] + return [data.recipient, data.amount] + }, + }, + [getCustomTransferParamId('ACA', 'acala')]: { + extrinsic: 'balances.transferAllowDeath', + getParams: (data) => { + return [data.recipient, data.amount] + }, + }, + [getCustomTransferParamId('ASTR', 'astar')]: { + extrinsic: 'balances.transferAllowDeath', + getParams: (data) => { + return [data.recipient, data.amount] + }, + }, + [getCustomTransferParamId('BNC', 'bifrostKusama')]: { + extrinsic: 'balances.transferAllowDeath', + getParams: (data) => { + return [data.recipient, data.amount] + }, + }, + [getCustomTransferParamId('KSM', 'statemine')]: { + extrinsic: 'balances.transferAllowDeath', + getParams: (data) => { + return [data.recipient, data.amount] + }, + }, + [getCustomTransferParamId('DOT', 'statemint')]: { + extrinsic: 'balances.transferAllowDeath', + getParams: (data) => { + return [data.recipient, data.amount] + }, + }, + [getCustomTransferParamId('UNQ', 'unique')]: { + extrinsic: 'balances.transferAllowDeath', + getParams: (data) => { + return [data.recipient, data.amount] + }, + }, + [getCustomTransferParamId('KAR', 'karura')]: { + extrinsic: 'balances.transferAllowDeath', + getParams: (data) => { + return [data.recipient, data.amount] + }, + }, + [getCustomTransferParamId('PEN', 'pendulum')]: { + extrinsic: 'balances.transferAllowDeath', + getParams: (data) => { + return [data.recipient, data.amount] + }, + }, + [getCustomTransferParamId('HDX', 'hydradx')]: { + extrinsic: 'balances.transferAllowDeath', + getParams: (data) => { + return [data.recipient, data.amount] + }, + }, + [getCustomTransferParamId('SDN', 'shiden')]: { + extrinsic: 'balances.transferAllowDeath', + getParams: (data) => { + return [data.recipient, data.amount] + }, + }, + [getCustomTransferParamId('PHA', 'khala')]: { + extrinsic: 'balances.transferAllowDeath', + getParams: (data) => { + return [data.recipient, data.amount] + }, + }, + [getCustomTransferParamId('BNC', 'bifrostPolkadot')]: { + extrinsic: 'balances.transferAllowDeath', + getParams: (data) => { + return [data.recipient, data.amount] + }, + }, + [getCustomTransferParamId('AIR', 'altair')]: { + extrinsic: 'balances.transferAllowDeath', + getParams: (data) => { + return [data.recipient, data.amount] + }, + }, + [getCustomTransferParamId('BSX', 'basilisk')]: { + extrinsic: 'balances.transferAllowDeath', + getParams: (data) => { + return [data.recipient, data.amount] + }, + }, + [getCustomTransferParamId('KMA', 'calamari')]: { + extrinsic: 'balances.transferAllowDeath', + getParams: (data) => { + return [data.recipient, data.amount] + }, + }, + [getCustomTransferParamId('TEER', 'integritee')]: { + extrinsic: 'balances.transferAllowDeath', + getParams: (data) => { + return [data.recipient, data.amount] + }, + }, + [getCustomTransferParamId('NUUM', 'continuum')]: { + extrinsic: 'balances.transferAllowDeath', + getParams: (data) => { + return [data.recipient, data.amount] + }, + }, + [getCustomTransferParamId('CFG', 'centrifuge')]: { + extrinsic: 'balances.transferAllowDeath', + getParams: (data) => { + return [data.recipient, data.amount] + }, + }, + [getCustomTransferParamId('NEURO', 'originTrail')]: { + extrinsic: 'balances.transferAllowDeath', + getParams: (data) => { + return [data.recipient, data.amount] + }, + }, + [getCustomTransferParamId('MANTA', 'manta')]: { + extrinsic: 'balances.transferAllowDeath', + getParams: (data) => { + return [data.recipient, data.amount] + }, + }, + [getCustomTransferParamId('PICA', 'picasso')]: { + extrinsic: 'balances.transferAllowDeath', + getParams: (data) => { + return [data.recipient, data.amount] + }, + }, + [getCustomTransferParamId('PDEX', 'polkadex-polkadot')]: { + extrinsic: 'balances.transferAllowDeath', + getParams: (data) => { + return [data.recipient, data.amount] + }, + }, + [getCustomTransferParamId('NODL', 'nodle')]: { + extrinsic: 'balances.transferAllowDeath', + getParams: (data) => { + return [data.recipient, data.amount] + }, + }, + [getCustomTransferParamId('RING', 'darwinia')]: { + extrinsic: 'balances.transferAllowDeath', + getParams: (data) => { + return [data.recipient, data.amount] + }, + }, + [getCustomTransferParamId('CRAB', 'darwinia-crab')]: { + extrinsic: 'balances.transferAllowDeath', + getParams: (data) => { + return [data.recipient, data.amount] + }, + }, + [getCustomTransferParamId('TNKR', 'invArch')]: { + extrinsic: 'balances.transferAllowDeath', + getParams: (data) => { + return [data.recipient, data.amount] + }, + }, + [getCustomTransferParamId('VARCH', 'invArch-polkadot')]: { + extrinsic: 'balances.transferAllowDeath', + getParams: (data) => { + return [data.recipient, data.amount] + }, + }, + [getCustomTransferParamId('QTZ', 'quartz')]: { + extrinsic: 'balances.transferAllowDeath', + getParams: (data) => { + return [data.recipient, data.amount] }, }, [getCustomTransferParamId('MGX', 'mangata')]: { extrinsic: 'tokens.transfer', getParams: (data) => { - return [ data.recipient, 0, data.amount ] + return [data.recipient, 0, data.amount] }, }, [getCustomTransferParamId('KINT', 'kintsugi')]: { extrinsic: 'tokens.transfer', getParams: (data) => { - return [ data.recipient, { Token: 'KINT' }, data.amount ] + return [data.recipient, { Token: 'KINT' }, data.amount] }, }, [getCustomTransferParamId('INTR', 'interlay')]: { extrinsic: 'tokens.transfer', getParams: (data) => { - return [ data.recipient, { Token: 'INTR' }, data.amount ] + return [data.recipient, { Token: 'INTR' }, data.amount] }, }, } -export function useSameChainTransferExtrinsic (network: string, token: string, getTransferData: () => SameChainTransferParamData) { +export function useSameChainTransferExtrinsic( + network: string, + token: string, + getTransferData: () => SameChainTransferParamData +) { const chainInfo = useChainInfoByNetwork(network) const getExtrinsic = () => { const { tokenId } = getTransferData() - const customConfig = customSameChainTransferConfig[getCustomTransferParamId(token, network)] + const customConfig = + customSameChainTransferConfig[getCustomTransferParamId(token, network)] if (customConfig) { return customConfig.extrinsic } else if (!tokenId) { return 'balances.transfer' } else { - const { extrinsic } = decodeExtrinsicString(chainInfo?.tokenTransferMethod || '') + const { extrinsic } = decodeExtrinsicString( + chainInfo?.tokenTransferMethod || '' + ) return extrinsic } } @@ -67,11 +246,12 @@ export function useSameChainTransferExtrinsic (network: string, token: string, g const transferData = getTransferData() const { amount, recipient, tokenId } = transferData - const customGetter = customSameChainTransferConfig[getCustomTransferParamId(token, network)] + const customGetter = + customSameChainTransferConfig[getCustomTransferParamId(token, network)] if (customGetter) return customGetter.getParams({ ...transferData }) if (!tokenId) { - return [ recipient, amount ] + return [recipient, amount] } const method = chainInfo?.tokenTransferMethod diff --git a/src/rtk/features/prices/pricesHooks.ts b/src/rtk/features/prices/pricesHooks.ts index 44fb5de..a213f50 100644 --- a/src/rtk/features/prices/pricesHooks.ts +++ b/src/rtk/features/prices/pricesHooks.ts @@ -20,14 +20,14 @@ export const overriddenChainNames: Record = { continuum: 'mnet-continuum', } -export const statemineAssets = ['rmrk'] -const additionalTokens = ['zenlink-network-token', 'weth', 'wrapped-bitcoin'] +export const statemineAssets = [ 'rmrk' ] +const additionalTokens = [ 'zenlink-network-token', 'weth', 'wrapped-bitcoin' ] export const getChainsNamesForCoinGecko = (chainsInfo: MultiChainInfo) => { let keys: string[] = [] if (chainsInfo && !isEmptyObj(chainsInfo)) { - keys = [...Object.keys(chainsInfo), ...statemineAssets, ...additionalTokens] + keys = [ ...Object.keys(chainsInfo), ...statemineAssets, ...additionalTokens ] } return keys diff --git a/yarn.lock b/yarn.lock index d179ac8..b37a7e5 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4057,6 +4057,13 @@ dependencies: "@noble/hashes" "1.3.2" +"@noble/curves@^1.3.0": + version "1.6.0" + resolved "https://registry.yarnpkg.com/@noble/curves/-/curves-1.6.0.tgz#be5296ebcd5a1730fccea4786d420f87abfeb40b" + integrity sha512-TlaHRXDehJuRNR9TfZDNQ45mMEd5dwUwmicsafcIX4SsNiqnCHKjE/1alYPd/lDRVhxdhUAlv8uEhMCI5zjIJQ== + dependencies: + "@noble/hashes" "1.5.0" + "@noble/hashes@1.0.0": version "1.0.0" resolved "https://registry.yarnpkg.com/@noble/hashes/-/hashes-1.0.0.tgz#d5e38bfbdaba174805a4e649f13be9a9ed3351ae" @@ -4077,6 +4084,11 @@ resolved "https://registry.yarnpkg.com/@noble/hashes/-/hashes-1.3.2.tgz#6f26dbc8fbc7205873ce3cee2f690eba0d421b39" integrity sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ== +"@noble/hashes@1.5.0", "@noble/hashes@^1.3.1", "@noble/hashes@^1.3.3": + version "1.5.0" + resolved "https://registry.yarnpkg.com/@noble/hashes/-/hashes-1.5.0.tgz#abadc5ca20332db2b1b2aa3e496e9af1213570b0" + integrity sha512-1j6kQFb7QRru7eKN3ZDvRcP13rugwdxZqCjbiAVZfIJwgj2A65UmT4TgARXGlXgnRkORLTDTrO19ZErt7+QXgA== + "@noble/secp256k1@1.5.5": version "1.5.5" resolved "https://registry.yarnpkg.com/@noble/secp256k1/-/secp256k1-1.5.5.tgz#315ab5745509d1a8c8e90d0bdf59823ccf9bcfc3" @@ -4184,6 +4196,56 @@ resolved "https://registry.yarnpkg.com/@polka/url/-/url-1.0.0-next.21.tgz#5de5a2385a35309427f6011992b544514d559aa1" integrity sha512-a5Sab1C4/icpTZVzZc5Ghpz88yQtGOyNqYXcZgOssB2uuAr+wF/MvN6bgtW32q7HHrvBki+BsZ0OuNv6EV3K9g== +"@polkadot-api/json-rpc-provider-proxy@^0.1.0": + version "0.1.0" + resolved "https://registry.yarnpkg.com/@polkadot-api/json-rpc-provider-proxy/-/json-rpc-provider-proxy-0.1.0.tgz#6e191f28e7d0fbbe8b540fc51d12a0adaeba297e" + integrity sha512-8GSFE5+EF73MCuLQm8tjrbCqlgclcHBSRaswvXziJ0ZW7iw3UEMsKkkKvELayWyBuOPa2T5i1nj6gFOeIsqvrg== + +"@polkadot-api/json-rpc-provider@0.0.1", "@polkadot-api/json-rpc-provider@^0.0.1": + version "0.0.1" + resolved "https://registry.yarnpkg.com/@polkadot-api/json-rpc-provider/-/json-rpc-provider-0.0.1.tgz#333645d40ccd9bccfd1f32503f17e4e63e76e297" + integrity sha512-/SMC/l7foRjpykLTUTacIH05H3mr9ip8b5xxfwXlVezXrNVLp3Cv0GX6uItkKd+ZjzVPf3PFrDF2B2/HLSNESA== + +"@polkadot-api/metadata-builders@0.3.2": + version "0.3.2" + resolved "https://registry.yarnpkg.com/@polkadot-api/metadata-builders/-/metadata-builders-0.3.2.tgz#007f158c9e0546cf79ba440befc0c753ab1a6629" + integrity sha512-TKpfoT6vTb+513KDzMBTfCb/ORdgRnsS3TDFpOhAhZ08ikvK+hjHMt5plPiAX/OWkm1Wc9I3+K6W0hX5Ab7MVg== + dependencies: + "@polkadot-api/substrate-bindings" "0.6.0" + "@polkadot-api/utils" "0.1.0" + +"@polkadot-api/observable-client@^0.3.0": + version "0.3.2" + resolved "https://registry.yarnpkg.com/@polkadot-api/observable-client/-/observable-client-0.3.2.tgz#fd91efee350595a6e0ecfd3f294cc80de86c0cf7" + integrity sha512-HGgqWgEutVyOBXoGOPp4+IAq6CNdK/3MfQJmhCJb8YaJiaK4W6aRGrdQuQSTPHfERHCARt9BrOmEvTXAT257Ug== + dependencies: + "@polkadot-api/metadata-builders" "0.3.2" + "@polkadot-api/substrate-bindings" "0.6.0" + "@polkadot-api/utils" "0.1.0" + +"@polkadot-api/substrate-bindings@0.6.0": + version "0.6.0" + resolved "https://registry.yarnpkg.com/@polkadot-api/substrate-bindings/-/substrate-bindings-0.6.0.tgz#889b0c3ba19dc95282286506bf6e370a43ce119a" + integrity sha512-lGuhE74NA1/PqdN7fKFdE5C1gNYX357j1tWzdlPXI0kQ7h3kN0zfxNOpPUN7dIrPcOFZ6C0tRRVrBylXkI6xPw== + dependencies: + "@noble/hashes" "^1.3.1" + "@polkadot-api/utils" "0.1.0" + "@scure/base" "^1.1.1" + scale-ts "^1.6.0" + +"@polkadot-api/substrate-client@^0.1.2": + version "0.1.4" + resolved "https://registry.yarnpkg.com/@polkadot-api/substrate-client/-/substrate-client-0.1.4.tgz#7a808e5cb85ecb9fa2b3a43945090a6c807430ce" + integrity sha512-MljrPobN0ZWTpn++da9vOvt+Ex+NlqTlr/XT7zi9sqPtDJiQcYl+d29hFAgpaeTqbeQKZwz3WDE9xcEfLE8c5A== + dependencies: + "@polkadot-api/json-rpc-provider" "0.0.1" + "@polkadot-api/utils" "0.1.0" + +"@polkadot-api/utils@0.1.0": + version "0.1.0" + resolved "https://registry.yarnpkg.com/@polkadot-api/utils/-/utils-0.1.0.tgz#d36937cdc465c2ea302f3278cf53157340ab33a0" + integrity sha512-MXzWZeuGxKizPx2Xf/47wx9sr/uxKw39bVJUptTJdsaQn/TGq+z310mHzf1RCGvC1diHM8f593KrnDgc9oNbJA== + "@polkadot/api-augment@10.9.1": version "10.9.1" resolved "https://registry.yarnpkg.com/@polkadot/api-augment/-/api-augment-10.9.1.tgz#9fc81b81903229bb23b0b16783e97ec52a5d4f1b" @@ -4197,6 +4259,19 @@ "@polkadot/util" "^12.3.1" tslib "^2.5.3" +"@polkadot/api-augment@13.0.1": + version "13.0.1" + resolved "https://registry.yarnpkg.com/@polkadot/api-augment/-/api-augment-13.0.1.tgz#a4d441694e5a364f13a800aa71596803f9a48f01" + integrity sha512-r5R2U8PSPNGBsz+HxZ1JYq/KkDSnDh1aBb+H16wKj2uByXKhedpuGt/z1Myvhfm084ccTloZjXDbfpSdYBLi4Q== + dependencies: + "@polkadot/api-base" "13.0.1" + "@polkadot/rpc-augment" "13.0.1" + "@polkadot/types" "13.0.1" + "@polkadot/types-augment" "13.0.1" + "@polkadot/types-codec" "13.0.1" + "@polkadot/util" "^13.0.2" + tslib "^2.7.0" + "@polkadot/api-base@10.9.1": version "10.9.1" resolved "https://registry.yarnpkg.com/@polkadot/api-base/-/api-base-10.9.1.tgz#27f63c4950814c2f10535f794121fa1384dc2207" @@ -4208,7 +4283,34 @@ rxjs "^7.8.1" tslib "^2.5.3" -"@polkadot/api-derive@10.9.1", "@polkadot/api-derive@^10.7.2": +"@polkadot/api-base@13.0.1": + version "13.0.1" + resolved "https://registry.yarnpkg.com/@polkadot/api-base/-/api-base-13.0.1.tgz#e7f3d1c7dc2b2820d04b1a1a9aad60820005078b" + integrity sha512-TDkgcSZLd3YQ3j9Zx6coEEiBazaK6y3CboaIuUbPNxR9DchlVdIJWSm/1Agh76opsEABK9SjDfsWzVw0TStidA== + dependencies: + "@polkadot/rpc-core" "13.0.1" + "@polkadot/types" "13.0.1" + "@polkadot/util" "^13.0.2" + rxjs "^7.8.1" + tslib "^2.7.0" + +"@polkadot/api-derive@13.0.1": + version "13.0.1" + resolved "https://registry.yarnpkg.com/@polkadot/api-derive/-/api-derive-13.0.1.tgz#0b9afff170f3e5aa7ed80f9916919d7472fd297f" + integrity sha512-TiPSFp6l9ks0HLJoEWHyqKKz28eoWz3xqglFG10As0udU8J1u8trPyr+SLWHT0DVsto3u9CP+OneWWMA7fTlCw== + dependencies: + "@polkadot/api" "13.0.1" + "@polkadot/api-augment" "13.0.1" + "@polkadot/api-base" "13.0.1" + "@polkadot/rpc-core" "13.0.1" + "@polkadot/types" "13.0.1" + "@polkadot/types-codec" "13.0.1" + "@polkadot/util" "^13.0.2" + "@polkadot/util-crypto" "^13.0.2" + rxjs "^7.8.1" + tslib "^2.7.0" + +"@polkadot/api-derive@^10.7.2": version "10.9.1" resolved "https://registry.yarnpkg.com/@polkadot/api-derive/-/api-derive-10.9.1.tgz#04a4ca3285fd215c4cd50cfb3f4791d38dd90050" integrity sha512-mRud1UZCFIc4Z63qAoGSIHh/foyUYADfy1RQYCmPpeFKfIdCIrHpd7xFdJXTOMYOS0BwlM6u4qli/ZT4XigezQ== @@ -4224,28 +4326,28 @@ rxjs "^7.8.1" tslib "^2.5.3" -"@polkadot/api@10.9.1", "@polkadot/api@^10.3.2", "@polkadot/api@^10.7.2", "@polkadot/api@^10.9.1", "@polkadot/api@^7.2.1", "@polkadot/api@^9.10.1", "@polkadot/api@^9.13.2", "@polkadot/api@^9.14.1", "@polkadot/api@latest": - version "10.9.1" - resolved "https://registry.yarnpkg.com/@polkadot/api/-/api-10.9.1.tgz#156b3436f45ef18218960804988c1f552d2c4e46" - integrity sha512-ND/2UqZBWvtt4PfV03OStTKg0mxmPk4UpMAgJKutdgsz/wP9CYJ1KbjwFgPNekL9JnzbKQsWyQNPVrcw7kQk8A== - dependencies: - "@polkadot/api-augment" "10.9.1" - "@polkadot/api-base" "10.9.1" - "@polkadot/api-derive" "10.9.1" - "@polkadot/keyring" "^12.3.1" - "@polkadot/rpc-augment" "10.9.1" - "@polkadot/rpc-core" "10.9.1" - "@polkadot/rpc-provider" "10.9.1" - "@polkadot/types" "10.9.1" - "@polkadot/types-augment" "10.9.1" - "@polkadot/types-codec" "10.9.1" - "@polkadot/types-create" "10.9.1" - "@polkadot/types-known" "10.9.1" - "@polkadot/util" "^12.3.1" - "@polkadot/util-crypto" "^12.3.1" +"@polkadot/api@10.9.1", "@polkadot/api@13.0.1", "@polkadot/api@^10.3.2", "@polkadot/api@^10.7.2", "@polkadot/api@^10.9.1", "@polkadot/api@^13.0.1", "@polkadot/api@^7.2.1", "@polkadot/api@^9.10.1", "@polkadot/api@^9.13.2", "@polkadot/api@^9.14.1", "@polkadot/api@latest": + version "13.0.1" + resolved "https://registry.yarnpkg.com/@polkadot/api/-/api-13.0.1.tgz#3e40a3226768fc80f659e8565e3555052729a46e" + integrity sha512-st+Y5I8+7/3PCtO651viU4C7PcbDZJHB93acPjqCGzpekwrxOmnBEsupw8CcJwyRVzj/7qMadkSd0b/Uc8JqIA== + dependencies: + "@polkadot/api-augment" "13.0.1" + "@polkadot/api-base" "13.0.1" + "@polkadot/api-derive" "13.0.1" + "@polkadot/keyring" "^13.0.2" + "@polkadot/rpc-augment" "13.0.1" + "@polkadot/rpc-core" "13.0.1" + "@polkadot/rpc-provider" "13.0.1" + "@polkadot/types" "13.0.1" + "@polkadot/types-augment" "13.0.1" + "@polkadot/types-codec" "13.0.1" + "@polkadot/types-create" "13.0.1" + "@polkadot/types-known" "13.0.1" + "@polkadot/util" "^13.0.2" + "@polkadot/util-crypto" "^13.0.2" eventemitter3 "^5.0.1" rxjs "^7.8.1" - tslib "^2.5.3" + tslib "^2.7.0" "@polkadot/apps-config@^0.131.4": version "0.131.4" @@ -4329,6 +4431,15 @@ "@polkadot/util-crypto" "12.5.1" tslib "^2.6.2" +"@polkadot/keyring@^13.0.2": + version "13.0.2" + resolved "https://registry.yarnpkg.com/@polkadot/keyring/-/keyring-13.0.2.tgz#05a655eb06c965ae5ee5f181d25916797ea50849" + integrity sha512-NeLbhyKDT5W8LI9seWTZGePxNTOVpDhv2018HSrEDwJq9Ie0C4TZhUf3KNERCkSveuThXjfQJMs+1CF33ZXPWw== + dependencies: + "@polkadot/util" "13.0.2" + "@polkadot/util-crypto" "13.0.2" + tslib "^2.6.2" + "@polkadot/keyring@^6.9.1": version "6.11.1" resolved "https://registry.yarnpkg.com/@polkadot/keyring/-/keyring-6.11.1.tgz#2510c349c965c74cc2f108f114f1048856940604" @@ -4374,7 +4485,7 @@ "@polkadot/util" "10.4.2" "@substrate/ss58-registry" "^1.38.0" -"@polkadot/networks@12.5.1", "@polkadot/networks@^12.2.1", "@polkadot/networks@^12.3.1", "@polkadot/networks@^12.5.1": +"@polkadot/networks@12.5.1", "@polkadot/networks@^12.2.1", "@polkadot/networks@^12.5.1": version "12.5.1" resolved "https://registry.yarnpkg.com/@polkadot/networks/-/networks-12.5.1.tgz#685c69d24d78a64f4e750609af22678d57fe1192" integrity sha512-PP6UUdzz6iHHZH4q96cUEhTcydHj16+61sqeaYEJSF6Q9iY+5WVWQ26+rdjmre/EBdrMQkSS/CKy73mO5z/JkQ== @@ -4383,6 +4494,15 @@ "@substrate/ss58-registry" "^1.43.0" tslib "^2.6.2" +"@polkadot/networks@13.0.2", "@polkadot/networks@^13.0.2": + version "13.0.2" + resolved "https://registry.yarnpkg.com/@polkadot/networks/-/networks-13.0.2.tgz#0f8fc896b8fb2141212b6448739f4a00bc72b29c" + integrity sha512-ABAL+vug/gIwkdFEzeh87JoJd0YKrxSYg/HjUrZ+Zis2ucxQEKpvtCpJ34ku+YrjacBfVqIAkkwd3ZdIPGq9aQ== + dependencies: + "@polkadot/util" "13.0.2" + "@substrate/ss58-registry" "^1.46.0" + tslib "^2.6.2" + "@polkadot/networks@6.11.1": version "6.11.1" resolved "https://registry.yarnpkg.com/@polkadot/networks/-/networks-6.11.1.tgz#8fd189593f6ee4f8bf64378d0aaae09e39a37d35" @@ -4433,6 +4553,17 @@ "@polkadot/util" "^12.3.1" tslib "^2.5.3" +"@polkadot/rpc-augment@13.0.1": + version "13.0.1" + resolved "https://registry.yarnpkg.com/@polkadot/rpc-augment/-/rpc-augment-13.0.1.tgz#109f4172eee3d7c4639cb8b760397a71334156b4" + integrity sha512-igXNG8mONVgqS4Olt7+WmPoX7G/QL/xrHkPOAD2sbS8+p8LC2gDe/+vVFIkKtEKAHgYSel3vZT3iIppjtEG6gw== + dependencies: + "@polkadot/rpc-core" "13.0.1" + "@polkadot/types" "13.0.1" + "@polkadot/types-codec" "13.0.1" + "@polkadot/util" "^13.0.2" + tslib "^2.7.0" + "@polkadot/rpc-core@10.9.1": version "10.9.1" resolved "https://registry.yarnpkg.com/@polkadot/rpc-core/-/rpc-core-10.9.1.tgz#798c514dbed6f6c2e43098a494c9f51fb144dc31" @@ -4445,6 +4576,18 @@ rxjs "^7.8.1" tslib "^2.5.3" +"@polkadot/rpc-core@13.0.1": + version "13.0.1" + resolved "https://registry.yarnpkg.com/@polkadot/rpc-core/-/rpc-core-13.0.1.tgz#61daf451840a94fef98ec342df1889ce78c6404a" + integrity sha512-+z7/4RUsJKiELEunZgXvi4GkGgjPhQd3+RYwCCN455efJ15SHPgdREsAOwUSBO5/dODqXeqZYojKAUIxMlJNqw== + dependencies: + "@polkadot/rpc-augment" "13.0.1" + "@polkadot/rpc-provider" "13.0.1" + "@polkadot/types" "13.0.1" + "@polkadot/util" "^13.0.2" + rxjs "^7.8.1" + tslib "^2.7.0" + "@polkadot/rpc-provider@10.9.1", "@polkadot/rpc-provider@^10.3.2": version "10.9.1" resolved "https://registry.yarnpkg.com/@polkadot/rpc-provider/-/rpc-provider-10.9.1.tgz#de3a474bbcd26d28d9cd3134acdb3b5ce92b680b" @@ -4465,6 +4608,26 @@ optionalDependencies: "@substrate/connect" "0.7.26" +"@polkadot/rpc-provider@13.0.1": + version "13.0.1" + resolved "https://registry.yarnpkg.com/@polkadot/rpc-provider/-/rpc-provider-13.0.1.tgz#9fdf7a16ffd61271c74c14541e1226b0ea2d72a2" + integrity sha512-rl7jizh0b9FI2Z81vbpm+ui6cND3zxMMC8SSxkIzemC0t1L6O/I+zaPYwNpqVpa7wIeZbSfe69SrvtjeZBcn2g== + dependencies: + "@polkadot/keyring" "^13.0.2" + "@polkadot/types" "13.0.1" + "@polkadot/types-support" "13.0.1" + "@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" + eventemitter3 "^5.0.1" + mock-socket "^9.3.1" + nock "^13.5.4" + tslib "^2.7.0" + optionalDependencies: + "@substrate/connect" "0.8.11" + "@polkadot/rpc-provider@^9.13.2": version "9.14.2" resolved "https://registry.yarnpkg.com/@polkadot/rpc-provider/-/rpc-provider-9.14.2.tgz#0dea667f3a03bf530f202cba5cd360df19b32e30" @@ -4502,6 +4665,16 @@ "@polkadot/util" "^12.3.1" tslib "^2.5.3" +"@polkadot/types-augment@13.0.1": + version "13.0.1" + resolved "https://registry.yarnpkg.com/@polkadot/types-augment/-/types-augment-13.0.1.tgz#33878908d664df2a8dbb533dcd1b670c93e77ad3" + integrity sha512-MKS8OAiKHgeeLwyjPukHRwlUlrTkdPTVdsFs6H3yWUr0G2I2nIgHuOTK/8OYVBMplNnLgPsNtpEpY+VduAEefQ== + dependencies: + "@polkadot/types" "13.0.1" + "@polkadot/types-codec" "13.0.1" + "@polkadot/util" "^13.0.2" + tslib "^2.7.0" + "@polkadot/types-codec@10.9.1", "@polkadot/types-codec@^10.7.2": version "10.9.1" resolved "https://registry.yarnpkg.com/@polkadot/types-codec/-/types-codec-10.9.1.tgz#f30026d3dfeaa69c07c45fa66d1c39318fd232cc" @@ -4511,6 +4684,15 @@ "@polkadot/x-bigint" "^12.3.1" tslib "^2.5.3" +"@polkadot/types-codec@13.0.1": + version "13.0.1" + resolved "https://registry.yarnpkg.com/@polkadot/types-codec/-/types-codec-13.0.1.tgz#6f5fe75d3dfcf0c25dc74dee0d0339f0fcd5f2bc" + integrity sha512-E+8Ny8wr/BEGqchoLejP8Z6qmQQaJmBui1rlwWgKCypI4gnDvhNa+hHheIgrUfSzNwUgsxC/04G9fIRnCaxDpw== + dependencies: + "@polkadot/util" "^13.0.2" + "@polkadot/x-bigint" "^13.0.2" + tslib "^2.7.0" + "@polkadot/types-codec@9.10.5": version "9.10.5" resolved "https://registry.yarnpkg.com/@polkadot/types-codec/-/types-codec-9.10.5.tgz#ec562266865554d57879b2a659ab4a49e368fadb" @@ -4520,14 +4702,14 @@ "@polkadot/util" "^10.2.1" "@polkadot/x-bigint" "^10.2.1" -"@polkadot/types-create@10.9.1": - version "10.9.1" - resolved "https://registry.yarnpkg.com/@polkadot/types-create/-/types-create-10.9.1.tgz#087d7e2af51cce558b67e3859613b932a3bdc0a3" - integrity sha512-OVz50MGTTuiuVnRP/zAx4CTuLioc0hsiwNwqN2lNhmIJGtnQ4Vy/7mQRsIWehiYz6g0Vzzm5B3qWkTXO1NSN5w== +"@polkadot/types-create@13.0.1": + version "13.0.1" + resolved "https://registry.yarnpkg.com/@polkadot/types-create/-/types-create-13.0.1.tgz#9b4c8d9ab5ce806c72e1320475e9e7dd47a057b1" + integrity sha512-ge5ZmZOQoCqSOB1JtcZZFq2ysh4rnS9xrwC5BVbtk9GZaop5hRmLLmCXqDn49zEsgynRWHgOiKMP8T9AvOigMg== dependencies: - "@polkadot/types-codec" "10.9.1" - "@polkadot/util" "^12.3.1" - tslib "^2.5.3" + "@polkadot/types-codec" "13.0.1" + "@polkadot/util" "^13.0.2" + tslib "^2.7.0" "@polkadot/types-create@9.10.5": version "9.10.5" @@ -4538,17 +4720,17 @@ "@polkadot/types-codec" "9.10.5" "@polkadot/util" "^10.2.1" -"@polkadot/types-known@10.9.1": - version "10.9.1" - resolved "https://registry.yarnpkg.com/@polkadot/types-known/-/types-known-10.9.1.tgz#fe0c7e55191aa843119edcaf9abb5d2471463a7d" - integrity sha512-zCMVWc4pJtkbMFPu72bD4IhvV/gkHXPX3C5uu92WdmCfnn0vEIEsMKWlVXVVvQQZKAqvs/awpqIfrUtEViOGEA== +"@polkadot/types-known@13.0.1": + version "13.0.1" + resolved "https://registry.yarnpkg.com/@polkadot/types-known/-/types-known-13.0.1.tgz#dd7354fa1576dd0b691f56b7a640ac43bbbdc308" + integrity sha512-ZWtQSrDoO290RJu7mZDo1unKcfz1O3ylQkKH7g3oh6Mzmq9I4q7jeS1kS22rJml45berAPIVqZ3zFfODTl6ngA== dependencies: - "@polkadot/networks" "^12.3.1" - "@polkadot/types" "10.9.1" - "@polkadot/types-codec" "10.9.1" - "@polkadot/types-create" "10.9.1" - "@polkadot/util" "^12.3.1" - tslib "^2.5.3" + "@polkadot/networks" "^13.0.2" + "@polkadot/types" "13.0.1" + "@polkadot/types-codec" "13.0.1" + "@polkadot/types-create" "13.0.1" + "@polkadot/util" "^13.0.2" + tslib "^2.7.0" "@polkadot/types-known@latest": version "9.10.5" @@ -4570,6 +4752,14 @@ "@polkadot/util" "^12.3.1" tslib "^2.5.3" +"@polkadot/types-support@13.0.1": + version "13.0.1" + resolved "https://registry.yarnpkg.com/@polkadot/types-support/-/types-support-13.0.1.tgz#57df25e289d8e1f71285909fbaec3a630e31b423" + integrity sha512-UeGnjvyZSegFgzZ6HlR4H7+1itJBAEkGm9NKwEvZTTZJ0dG4zdxbHLNPURJ9UhDYCZ7bOGqkcB49o+hWY25dDA== + dependencies: + "@polkadot/util" "^13.0.2" + tslib "^2.7.0" + "@polkadot/types-support@9.14.2": version "9.14.2" resolved "https://registry.yarnpkg.com/@polkadot/types-support/-/types-support-9.14.2.tgz#d25e8d4e5ec3deef914cb55fc8bc5448431ddd18" @@ -4586,19 +4776,19 @@ "@babel/runtime" "^7.20.6" "@polkadot/util" "^10.2.1" -"@polkadot/types@10.9.1", "@polkadot/types@9.10.5", "@polkadot/types@9.14.2", "@polkadot/types@^10.3.2", "@polkadot/types@^10.7.2", "@polkadot/types@^10.9.1", "@polkadot/types@^4.13.1", "@polkadot/types@^6.0.5", "@polkadot/types@^7.2.1", "@polkadot/types@^9.13.2", "@polkadot/types@latest": - version "10.9.1" - resolved "https://registry.yarnpkg.com/@polkadot/types/-/types-10.9.1.tgz#f111d00f7278ad3be95deba3d701fafefe080cb2" - integrity sha512-AG33i2ZGGfq7u+5rkAdGrXAQHHl844/Yv+junH5ZzX69xiCoWO1bH/yzDUNBdpki2GlACWvF9nLYh3F2tVF93w== - dependencies: - "@polkadot/keyring" "^12.3.1" - "@polkadot/types-augment" "10.9.1" - "@polkadot/types-codec" "10.9.1" - "@polkadot/types-create" "10.9.1" - "@polkadot/util" "^12.3.1" - "@polkadot/util-crypto" "^12.3.1" +"@polkadot/types@10.9.1", "@polkadot/types@13.0.1", "@polkadot/types@9.10.5", "@polkadot/types@9.14.2", "@polkadot/types@^10.3.2", "@polkadot/types@^10.7.2", "@polkadot/types@^10.9.1", "@polkadot/types@^13.0.1", "@polkadot/types@^4.13.1", "@polkadot/types@^6.0.5", "@polkadot/types@^7.2.1", "@polkadot/types@^9.13.2", "@polkadot/types@latest": + version "13.0.1" + resolved "https://registry.yarnpkg.com/@polkadot/types/-/types-13.0.1.tgz#7a458b9d81ef8ab1c4f0eb8f8dd23bf3a243e8a5" + integrity sha512-01uOx24Fjvhjt1CvKOL+oy1eExAsF4EVuwgZhwAL+WkD0zqlOlAhqlXn5Wg7sY80yzwmgDTLd8Oej/pHFOdCBQ== + dependencies: + "@polkadot/keyring" "^13.0.2" + "@polkadot/types-augment" "13.0.1" + "@polkadot/types-codec" "13.0.1" + "@polkadot/types-create" "13.0.1" + "@polkadot/util" "^13.0.2" + "@polkadot/util-crypto" "^13.0.2" rxjs "^7.8.1" - tslib "^2.5.3" + tslib "^2.7.0" "@polkadot/ui-settings@3.6.3": version "3.6.3" @@ -4652,6 +4842,22 @@ "@scure/base" "^1.1.3" tslib "^2.6.2" +"@polkadot/util-crypto@13.0.2", "@polkadot/util-crypto@^13.0.2": + version "13.0.2" + resolved "https://registry.yarnpkg.com/@polkadot/util-crypto/-/util-crypto-13.0.2.tgz#fee602bcb39e9424300410f4144f170ee2a29292" + integrity sha512-woUsJJ6zd/caL7U+D30a5oM/+WK9iNI00Y8aNUHSj6Zq/KPzK9uqDBaLGWwlgrejoMQkxxiU2X0f2LzP15AtQg== + dependencies: + "@noble/curves" "^1.3.0" + "@noble/hashes" "^1.3.3" + "@polkadot/networks" "13.0.2" + "@polkadot/util" "13.0.2" + "@polkadot/wasm-crypto" "^7.3.2" + "@polkadot/wasm-util" "^7.3.2" + "@polkadot/x-bigint" "13.0.2" + "@polkadot/x-randomvalues" "13.0.2" + "@scure/base" "^1.1.5" + tslib "^2.6.2" + "@polkadot/util-crypto@6.11.1": version "6.11.1" resolved "https://registry.yarnpkg.com/@polkadot/util-crypto/-/util-crypto-6.11.1.tgz#7a36acf5c8bf52541609ec0b0b2a69af295d652e" @@ -4730,16 +4936,16 @@ ed2curve "^0.3.0" tweetnacl "^1.0.3" -"@polkadot/util@10.2.1", "@polkadot/util@10.4.2", "@polkadot/util@12.5.1", "@polkadot/util@6.11.1", "@polkadot/util@7.9.2", "@polkadot/util@8.7.1", "@polkadot/util@^10.2.1", "@polkadot/util@^10.4.2", "@polkadot/util@^12.2.1", "@polkadot/util@^12.3.1", "@polkadot/util@^12.5.1", "@polkadot/util@^7.6.1": - version "12.5.1" - resolved "https://registry.yarnpkg.com/@polkadot/util/-/util-12.5.1.tgz#f4e7415600b013d3b69527aa88904acf085be3f5" - integrity sha512-fDBZL7D4/baMG09Qowseo884m3QBzErGkRWNBId1UjWR99kyex+cIY9fOSzmuQxo6nLdJlLHw1Nz2caN3+Bq0A== - dependencies: - "@polkadot/x-bigint" "12.5.1" - "@polkadot/x-global" "12.5.1" - "@polkadot/x-textdecoder" "12.5.1" - "@polkadot/x-textencoder" "12.5.1" - "@types/bn.js" "^5.1.1" +"@polkadot/util@10.2.1", "@polkadot/util@10.4.2", "@polkadot/util@12.5.1", "@polkadot/util@13.0.2", "@polkadot/util@6.11.1", "@polkadot/util@7.9.2", "@polkadot/util@8.7.1", "@polkadot/util@^10.2.1", "@polkadot/util@^10.4.2", "@polkadot/util@^12.2.1", "@polkadot/util@^12.3.1", "@polkadot/util@^12.5.1", "@polkadot/util@^13.0.2", "@polkadot/util@^7.6.1": + version "13.0.2" + resolved "https://registry.yarnpkg.com/@polkadot/util/-/util-13.0.2.tgz#f0a2572d74730fda8dfd690b60d53c131a688f3b" + integrity sha512-/6bS9sfhJLhs8QuqWaR1eRapzfDdGC5XAQZEPL9NN5sTTA7HxWos8rVleai0UERm8QUMabjZ9rK9KpzbXl7ojg== + dependencies: + "@polkadot/x-bigint" "13.0.2" + "@polkadot/x-global" "13.0.2" + "@polkadot/x-textdecoder" "13.0.2" + "@polkadot/x-textencoder" "13.0.2" + "@types/bn.js" "^5.1.5" bn.js "^5.2.1" tslib "^2.6.2" @@ -4758,6 +4964,14 @@ "@polkadot/wasm-util" "7.2.2" tslib "^2.6.1" +"@polkadot/wasm-bridge@7.3.2": + version "7.3.2" + resolved "https://registry.yarnpkg.com/@polkadot/wasm-bridge/-/wasm-bridge-7.3.2.tgz#e1b01906b19e06cbca3d94f10f5666f2ae0baadc" + integrity sha512-AJEXChcf/nKXd5Q/YLEV5dXQMle3UNT7jcXYmIffZAo/KI394a+/24PaISyQjoNC0fkzS1Q8T5pnGGHmXiVz2g== + dependencies: + "@polkadot/wasm-util" "7.3.2" + tslib "^2.6.2" + "@polkadot/wasm-crypto-asmjs@6.4.1": version "6.4.1" resolved "https://registry.yarnpkg.com/@polkadot/wasm-crypto-asmjs/-/wasm-crypto-asmjs-6.4.1.tgz#3cc76bbda5ea4a7a860982c64f9565907b312253" @@ -4772,6 +4986,13 @@ dependencies: tslib "^2.6.1" +"@polkadot/wasm-crypto-asmjs@7.3.2": + version "7.3.2" + resolved "https://registry.yarnpkg.com/@polkadot/wasm-crypto-asmjs/-/wasm-crypto-asmjs-7.3.2.tgz#c6d41bc4b48b5359d57a24ca3066d239f2d70a34" + integrity sha512-QP5eiUqUFur/2UoF2KKKYJcesc71fXhQFLT3D4ZjG28Mfk2ZPI0QNRUfpcxVQmIUpV5USHg4geCBNuCYsMm20Q== + dependencies: + tslib "^2.6.2" + "@polkadot/wasm-crypto-asmjs@^4.6.1": version "4.6.1" resolved "https://registry.yarnpkg.com/@polkadot/wasm-crypto-asmjs/-/wasm-crypto-asmjs-4.6.1.tgz#4f4a5adcf8dce65666eaa0fb16b6ff7b0243aead" @@ -4807,6 +5028,17 @@ "@polkadot/wasm-util" "7.2.2" tslib "^2.6.1" +"@polkadot/wasm-crypto-init@7.3.2": + version "7.3.2" + resolved "https://registry.yarnpkg.com/@polkadot/wasm-crypto-init/-/wasm-crypto-init-7.3.2.tgz#7e1fe79ba978fb0a4a0f74a92d976299d38bc4b8" + integrity sha512-FPq73zGmvZtnuJaFV44brze3Lkrki3b4PebxCy9Fplw8nTmisKo9Xxtfew08r0njyYh+uiJRAxPCXadkC9sc8g== + 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-crypto-wasm@6.4.1": version "6.4.1" resolved "https://registry.yarnpkg.com/@polkadot/wasm-crypto-wasm/-/wasm-crypto-wasm-6.4.1.tgz#97180f80583b18f6a13c1054fa5f7e8da40b1028" @@ -4823,6 +5055,14 @@ "@polkadot/wasm-util" "7.2.2" tslib "^2.6.1" +"@polkadot/wasm-crypto-wasm@7.3.2": + version "7.3.2" + resolved "https://registry.yarnpkg.com/@polkadot/wasm-crypto-wasm/-/wasm-crypto-wasm-7.3.2.tgz#44e08ed5cf6499ce4a3aa7247071a5d01f6a74f4" + integrity sha512-15wd0EMv9IXs5Abp1ZKpKKAVyZPhATIAHfKsyoWCEFDLSOA0/K0QGOxzrAlsrdUkiKZOq7uzSIgIDgW8okx2Mw== + dependencies: + "@polkadot/wasm-util" "7.3.2" + tslib "^2.6.2" + "@polkadot/wasm-crypto-wasm@^4.6.1": version "4.6.1" resolved "https://registry.yarnpkg.com/@polkadot/wasm-crypto-wasm/-/wasm-crypto-wasm-4.6.1.tgz#882d8199e216966c612f56a18e31f6aaae77e7eb" @@ -4879,6 +5119,18 @@ "@polkadot/wasm-util" "7.2.2" tslib "^2.6.1" +"@polkadot/wasm-crypto@^7.3.2": + version "7.3.2" + resolved "https://registry.yarnpkg.com/@polkadot/wasm-crypto/-/wasm-crypto-7.3.2.tgz#61bbcd9e591500705c8c591e6aff7654bdc8afc9" + integrity sha512-+neIDLSJ6jjVXsjyZ5oLSv16oIpwp+PxFqTUaZdZDoA2EyFRQB8pP7+qLsMNk+WJuhuJ4qXil/7XiOnZYZ+wxw== + 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-util@6.4.1": version "6.4.1" resolved "https://registry.yarnpkg.com/@polkadot/wasm-util/-/wasm-util-6.4.1.tgz#74aecc85bec427a9225d9874685944ea3dc3ab76" @@ -4893,6 +5145,13 @@ dependencies: tslib "^2.6.1" +"@polkadot/wasm-util@7.3.2", "@polkadot/wasm-util@^7.3.2": + version "7.3.2" + resolved "https://registry.yarnpkg.com/@polkadot/wasm-util/-/wasm-util-7.3.2.tgz#4fe6370d2b029679b41a5c02cd7ebf42f9b28de1" + integrity sha512-bmD+Dxo1lTZyZNxbyPE380wd82QsX+43mgCm40boyKrRppXEyQmWT98v/Poc7chLuskYb6X8IQ6lvvK2bGR4Tg== + dependencies: + tslib "^2.6.2" + "@polkadot/x-bigint@10.2.1", "@polkadot/x-bigint@^10.2.1": version "10.2.1" resolved "https://registry.yarnpkg.com/@polkadot/x-bigint/-/x-bigint-10.2.1.tgz#aa2d4384bb4ae6b5a3f333aa25bf6fd64d9006c5" @@ -4917,6 +5176,14 @@ "@polkadot/x-global" "12.5.1" tslib "^2.6.2" +"@polkadot/x-bigint@13.0.2", "@polkadot/x-bigint@^13.0.2": + version "13.0.2" + resolved "https://registry.yarnpkg.com/@polkadot/x-bigint/-/x-bigint-13.0.2.tgz#25adca9ce0c5ed691f9bced283f44f7e7d824300" + integrity sha512-h2jKT/UaxiEal8LhQeH6+GCjO7GwEqVAD2SNYteCOXff6yNttqAZYJuHZsndbVjVNwqRNf8D5q/zZkD0HUd6xQ== + dependencies: + "@polkadot/x-global" "13.0.2" + tslib "^2.6.2" + "@polkadot/x-bigint@8.7.1": version "8.7.1" resolved "https://registry.yarnpkg.com/@polkadot/x-bigint/-/x-bigint-8.7.1.tgz#a496225def32e98c430c76b91c1579f48acf501a" @@ -4944,6 +5211,15 @@ node-fetch "^3.3.2" tslib "^2.6.2" +"@polkadot/x-fetch@^13.0.2": + version "13.0.2" + resolved "https://registry.yarnpkg.com/@polkadot/x-fetch/-/x-fetch-13.0.2.tgz#841d901fae36cbc4157297324ca0d73fbe4d200e" + integrity sha512-B/gf9iriUr6za/Ui7zIFBfHz7UBZ68rJEIteWHx1UHRCZPcLqv+hgpev6xIGrkfFljI0/lI7IwtN2qy6HYzFBg== + dependencies: + "@polkadot/x-global" "13.0.2" + node-fetch "^3.3.2" + tslib "^2.6.2" + "@polkadot/x-global@10.2.1": version "10.2.1" resolved "https://registry.yarnpkg.com/@polkadot/x-global/-/x-global-10.2.1.tgz#6fbaab05653e680adc8c69c07947eee49afc1238" @@ -4965,6 +5241,13 @@ dependencies: tslib "^2.6.2" +"@polkadot/x-global@13.0.2", "@polkadot/x-global@^13.0.2": + version "13.0.2" + resolved "https://registry.yarnpkg.com/@polkadot/x-global/-/x-global-13.0.2.tgz#77afc4fbd4cfac8ba78cf120836f30ecc7322a74" + integrity sha512-OoNIXLB5y8vIKpk4R+XmpDPhipNXWSUvEwUnpQT7NAxNLmzgMq1FhbrwBWWPRNHPrQonp7mqxV/X+v5lv1HW/g== + dependencies: + tslib "^2.6.2" + "@polkadot/x-global@6.11.1": version "6.11.1" resolved "https://registry.yarnpkg.com/@polkadot/x-global/-/x-global-6.11.1.tgz#c292b3825fea60e9b33fff1790323fc57de1ca5d" @@ -5010,6 +5293,14 @@ "@polkadot/x-global" "12.5.1" tslib "^2.6.2" +"@polkadot/x-randomvalues@13.0.2": + version "13.0.2" + resolved "https://registry.yarnpkg.com/@polkadot/x-randomvalues/-/x-randomvalues-13.0.2.tgz#78ae28b345895cc816ffcad0b336c31cadfcf928" + integrity sha512-SGj+L0H/7TWZtSmtkWlixO4DFzXDdluI0UscN2h285os2Ns8PnmBbue+iJ8PVSzpY1BOxd66gvkkpboPz+jXFQ== + dependencies: + "@polkadot/x-global" "13.0.2" + tslib "^2.6.2" + "@polkadot/x-randomvalues@6.11.1": version "6.11.1" resolved "https://registry.yarnpkg.com/@polkadot/x-randomvalues/-/x-randomvalues-6.11.1.tgz#f006fa250c8e82c92ccb769976a45a8e7f3df28b" @@ -5034,20 +5325,20 @@ "@babel/runtime" "^7.17.8" "@polkadot/x-global" "8.7.1" -"@polkadot/x-textdecoder@12.5.1": - version "12.5.1" - resolved "https://registry.yarnpkg.com/@polkadot/x-textdecoder/-/x-textdecoder-12.5.1.tgz#8d89d2b5efbffb2550a48f8afb4a834e1d8d4f6e" - integrity sha512-j2YZGWfwhMC8nHW3BXq10fAPY02ObLL/qoTjCMJ1Cmc/OGq18Ep7k9cXXbjFAq3wf3tUUewt/u/hStKCk3IvfQ== +"@polkadot/x-textdecoder@13.0.2": + version "13.0.2" + resolved "https://registry.yarnpkg.com/@polkadot/x-textdecoder/-/x-textdecoder-13.0.2.tgz#662a6855af8e7a5af17f86890e59ab44f829243a" + integrity sha512-mauglOkTJxLGmLwLc3J5Jlq/W+SHP53eiy3F8/8JxxfnXrZKgWoQXGpvXYPjFnMZj0MzDSy/6GjyGWnDCgdQFA== dependencies: - "@polkadot/x-global" "12.5.1" + "@polkadot/x-global" "13.0.2" tslib "^2.6.2" -"@polkadot/x-textencoder@12.5.1": - version "12.5.1" - resolved "https://registry.yarnpkg.com/@polkadot/x-textencoder/-/x-textencoder-12.5.1.tgz#9104e37a60068df2fbf57c81a7ce48669430c76c" - integrity sha512-1JNNpOGb4wD+c7zFuOqjibl49LPnHNr4rj4s3WflLUIZvOMY6euoDuN3ISjQSHCLlVSoH0sOCWA3qXZU4bCTDQ== +"@polkadot/x-textencoder@13.0.2": + version "13.0.2" + resolved "https://registry.yarnpkg.com/@polkadot/x-textencoder/-/x-textencoder-13.0.2.tgz#5e178e0f759df50592e6870346c8db2a445af957" + integrity sha512-Lq08H2OnVXj97uaOwg7tcmRS7a4VJYkHEeWO4FyEMOk6P6lU6W8OVNjjxG0se9PCEgmyZPUDbJI//1ynzP4cXw== dependencies: - "@polkadot/x-global" "12.5.1" + "@polkadot/x-global" "13.0.2" tslib "^2.6.2" "@polkadot/x-ws@^10.4.2": @@ -5069,6 +5360,15 @@ tslib "^2.6.2" ws "^8.14.1" +"@polkadot/x-ws@^13.0.2": + version "13.0.2" + resolved "https://registry.yarnpkg.com/@polkadot/x-ws/-/x-ws-13.0.2.tgz#d0392a87adcba851a44fc6f7f56792e529228f3e" + integrity sha512-nC5e2eY5D5ZR5teQOB7ib+dWLbmNws86cTz3BjKCalSMBBIn6i3V9ElgABpierBmnSJe9D94EyrH1BxdVfDxUg== + dependencies: + "@polkadot/x-global" "13.0.2" + tslib "^2.6.2" + ws "^8.16.0" + "@polkawallet/bridge@0.1.3": version "0.1.3" resolved "https://registry.yarnpkg.com/@polkawallet/bridge/-/bridge-0.1.3.tgz#60be24910c402171da1d94522eff21959bcfcb75" @@ -5256,6 +5556,11 @@ resolved "https://registry.yarnpkg.com/@scure/base/-/base-1.1.1.tgz#ebb651ee52ff84f420097055f4bf46cfba403938" integrity sha512-ZxOhsSyxYwLJj3pLZCefNitxsj093tb2vq90mp2txoYeBqbcjDjqFhyM8eUjq/uFm6zJ+mUuqxlS2FkuSY1MTA== +"@scure/base@^1.1.1", "@scure/base@^1.1.5": + version "1.1.8" + resolved "https://registry.yarnpkg.com/@scure/base/-/base-1.1.8.tgz#8f23646c352f020c83bca750a82789e246d42b50" + integrity sha512-6CyAclxj3Nb0XT7GHK6K4zK6k2xJm6E4Ft0Ohjt4WgegiFUHEtFb2CGzmPmGBwoIhrLsqNLYfLr04Y1GePrzZg== + "@scure/base@^1.1.3": version "1.1.3" resolved "https://registry.yarnpkg.com/@scure/base/-/base-1.1.3.tgz#8584115565228290a6c6c4961973e0903bb3df2f" @@ -5406,6 +5711,16 @@ resolved "https://registry.yarnpkg.com/@substrate/connect-extension-protocol/-/connect-extension-protocol-1.0.1.tgz#fa5738039586c648013caa6a0c95c43265dbe77d" integrity sha512-161JhCC1csjH3GE5mPLEd7HbWtwNSPJBg3p1Ksz9SFlTzj/bgEwudiRN2y5i0MoLGCIJRYKyKGMxVnd29PzNjg== +"@substrate/connect-extension-protocol@^2.0.0": + version "2.1.0" + resolved "https://registry.yarnpkg.com/@substrate/connect-extension-protocol/-/connect-extension-protocol-2.1.0.tgz#7df153f704702b98559e7e5e8a2ce17881fe1d1d" + integrity sha512-Wz5Cbn6S6P4vWfHyrsnPW7g15IAViMaXCk+jYkq4nNEMmzPtTKIEbtxrdDMBKrouOFtYKKp0znx5mh9KTCNqlA== + +"@substrate/connect-known-chains@^1.1.5": + version "1.4.0" + resolved "https://registry.yarnpkg.com/@substrate/connect-known-chains/-/connect-known-chains-1.4.0.tgz#ee0562056cf98a3ee1103a64fa33ff21d86c69fd" + integrity sha512-p/mxn1GobtxJ+7xbIkUH4+/njH1neRHHKTcSGHNOC78Cf6Ch1Xzp082+nMjOBDLQLmraK5PF74AKV3WXHGuALw== + "@substrate/connect@0.7.19": version "0.7.19" resolved "https://registry.yarnpkg.com/@substrate/connect/-/connect-0.7.19.tgz#7c879cb275bc7ac2fe9edbf797572d4ff8d8b86a" @@ -5424,6 +5739,29 @@ eventemitter3 "^4.0.7" smoldot "1.0.4" +"@substrate/connect@0.8.11": + version "0.8.11" + resolved "https://registry.yarnpkg.com/@substrate/connect/-/connect-0.8.11.tgz#983ec69a05231636e217b573b8130a6b942af69f" + integrity sha512-ofLs1PAO9AtDdPbdyTYj217Pe+lBfTLltdHDs3ds8no0BseoLeAGxpz1mHfi7zB4IxI3YyAiLjH6U8cw4pj4Nw== + dependencies: + "@substrate/connect-extension-protocol" "^2.0.0" + "@substrate/connect-known-chains" "^1.1.5" + "@substrate/light-client-extension-helpers" "^1.0.0" + smoldot "2.0.26" + +"@substrate/light-client-extension-helpers@^1.0.0": + version "1.0.0" + resolved "https://registry.yarnpkg.com/@substrate/light-client-extension-helpers/-/light-client-extension-helpers-1.0.0.tgz#7b60368c57e06e5cf798c6557422d12e6d81f1ff" + integrity sha512-TdKlni1mBBZptOaeVrKnusMg/UBpWUORNDv5fdCaJklP4RJiFOzBCrzC+CyVI5kQzsXBisZ+2pXm+rIjS38kHg== + dependencies: + "@polkadot-api/json-rpc-provider" "^0.0.1" + "@polkadot-api/json-rpc-provider-proxy" "^0.1.0" + "@polkadot-api/observable-client" "^0.3.0" + "@polkadot-api/substrate-client" "^0.1.2" + "@substrate/connect-extension-protocol" "^2.0.0" + "@substrate/connect-known-chains" "^1.1.5" + rxjs "^7.8.1" + "@substrate/smoldot-light@0.7.9": version "0.7.9" resolved "https://registry.yarnpkg.com/@substrate/smoldot-light/-/smoldot-light-0.7.9.tgz#68449873a25558e547e9468289686ee228a9930f" @@ -5442,6 +5780,11 @@ resolved "https://registry.yarnpkg.com/@substrate/ss58-registry/-/ss58-registry-1.43.0.tgz#93108e45cb7ef6d82560c153e3692c2aa1c711b3" integrity sha512-USEkXA46P9sqClL7PZv0QFsit4S8Im97wchKG0/H/9q3AT/S76r40UHfCr4Un7eBJPE23f7fU9BZ0ITpP9MCsA== +"@substrate/ss58-registry@^1.46.0": + version "1.50.0" + resolved "https://registry.yarnpkg.com/@substrate/ss58-registry/-/ss58-registry-1.50.0.tgz#2d2a3d060cd4eadd200e4538078461ba73e13d6d" + integrity sha512-mkmlMlcC+MSd9rA+PN8ljGAm5fVZskvVwkXIsbx4NFwaT8kt38r7e9cyDWscG3z2Zn40POviZvEMrJSk+r2SgQ== + "@surma/rollup-plugin-off-main-thread@^1.1.1": version "1.4.2" resolved "https://registry.yarnpkg.com/@surma/rollup-plugin-off-main-thread/-/rollup-plugin-off-main-thread-1.4.2.tgz#e6786b6af5799f82f7ab3a82e53f6182d2b91a58" @@ -5813,10 +6156,10 @@ dependencies: "@babel/types" "^7.3.0" -"@types/bn.js@^5.1.1": - version "5.1.1" - resolved "https://registry.yarnpkg.com/@types/bn.js/-/bn.js-5.1.1.tgz#b51e1b55920a4ca26e9285ff79936bbdec910682" - integrity sha512-qNrYbZqMx0uJAfKnKclPh+dTwK33KfLHYqtyODwd5HnXOjnkhc4qgn3BrK6RWyGZm5+sIFE7Q7Vz6QQtJB7w7g== +"@types/bn.js@^5.1.5": + version "5.1.5" + resolved "https://registry.yarnpkg.com/@types/bn.js/-/bn.js-5.1.5.tgz#2e0dacdcce2c0f16b905d20ff87aedbc6f7b4bf0" + integrity sha512-V46N0zwKRF5Q00AZ6hWtN0T8gGmDUaUzLWQvHFo5yThtVwK/VCenFY3wXVbOvNfajEpsTfQM4IN9k/d6gUVX3A== dependencies: "@types/node" "*" @@ -6063,7 +6406,7 @@ dependencies: "@types/react" "*" -"@types/react@*", "@types/react@^17.x.x": +"@types/react@*": version "17.0.52" resolved "https://registry.yarnpkg.com/@types/react/-/react-17.0.52.tgz#10d8b907b5c563ac014a541f289ae8eaa9bf2e9b" integrity sha512-vwk8QqVODi0VaZZpDXQCmEmiOuyjEFPY7Ttaw5vjM112LOq37yz1CDJGrRJwA1fYEq4Iitd5rnjd1yWAc/bT+A== @@ -14079,7 +14422,7 @@ ml-matrix@^6.5.0: is-any-array "^2.0.0" ml-array-rescale "^1.3.7" -mock-socket@^9.2.1: +mock-socket@^9.2.1, mock-socket@^9.3.1: version "9.3.1" resolved "https://registry.yarnpkg.com/mock-socket/-/mock-socket-9.3.1.tgz#24fb00c2f573c84812aa4a24181bb025de80cc8e" integrity sha512-qxBgB7Qa2sEQgHFjj0dSigq7fX4k6Saisd5Nelwp2q8mlbAFh5dHV9JTTlF8viYJLSSWgMCZFUom8PJcMNBoJw== @@ -14354,6 +14697,15 @@ nock@^13.3.0, nock@^13.3.1: lodash "^4.17.21" propagate "^2.0.0" +nock@^13.5.4: + version "13.5.5" + resolved "https://registry.yarnpkg.com/nock/-/nock-13.5.5.tgz#cd1caaca281d42be17d51946367a3d53a6af3e78" + integrity sha512-XKYnqUrCwXC8DGG1xX4YH5yNIrlh9c065uaMZZHUoeUUINTOyt+x/G+ezYk0Ft6ExSREVIs+qBJDK503viTfFA== + dependencies: + debug "^4.1.0" + json-stringify-safe "^5.0.1" + propagate "^2.0.0" + node-abi@^3.3.0: version "3.30.0" resolved "https://registry.yarnpkg.com/node-abi/-/node-abi-3.30.0.tgz#d84687ad5d24ca81cdfa912a36f2c5c19b137359" @@ -17771,6 +18123,11 @@ saxes@^5.0.1: dependencies: xmlchars "^2.2.0" +scale-ts@^1.6.0: + version "1.6.0" + resolved "https://registry.yarnpkg.com/scale-ts/-/scale-ts-1.6.0.tgz#e9641093c5a9e50f964ddb1607139034e3e932e9" + integrity sha512-Ja5VCjNZR8TGKhUumy9clVVxcDpM+YFjAnkMuwQy68Hixio3VRRvWdE3g8T/yC+HXA0ZDQl2TGyUmtmbcVl40Q== + scheduler@^0.23.0: version "0.23.0" resolved "https://registry.yarnpkg.com/scheduler/-/scheduler-0.23.0.tgz#ba8041afc3d30eb206a487b6b384002e4e61fdfe" @@ -18133,6 +18490,13 @@ smoldot@1.0.4: pako "^2.0.4" ws "^8.8.1" +smoldot@2.0.26: + version "2.0.26" + resolved "https://registry.yarnpkg.com/smoldot/-/smoldot-2.0.26.tgz#0e64c7fcd26240fbe4c8d6b6e4b9a9aca77e00f6" + integrity sha512-F+qYmH4z2s2FK+CxGj8moYcd1ekSIKH8ywkdqlOz88Dat35iB1DIYL11aILN46YSGMzQW/lbJNS307zBSDN5Ig== + dependencies: + ws "^8.8.1" + snake-case@^3.0.4: version "3.0.4" resolved "https://registry.yarnpkg.com/snake-case/-/snake-case-3.0.4.tgz#4f2bbd568e9935abdfd593f34c691dadb49c452c" @@ -19335,6 +19699,11 @@ tslib@^2.3.0, tslib@^2.4.0, tslib@^2.4.1, tslib@^2.5.0, tslib@^2.5.2, tslib@^2.5 resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.6.2.tgz#703ac29425e7b37cd6fd456e92404d46d1f3e4ae" integrity sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q== +tslib@^2.7.0: + version "2.7.0" + resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.7.0.tgz#d9b40c5c40ab59e8738f297df3087bf1a2690c01" + integrity sha512-gLXCKdN1/j47AiHiOkJN69hJmcbGTHI0ImLmbYLHykhgeN0jVGola9yVjFgzCUklsZQMW55o+dW7IXv3RCXDzA== + tsutils@^3.17.1, tsutils@^3.21.0: version "3.21.0" resolved "https://registry.yarnpkg.com/tsutils/-/tsutils-3.21.0.tgz#b48717d394cea6c1e096983eed58e9d61715b623" @@ -20520,6 +20889,11 @@ ws@^8.14.1: resolved "https://registry.yarnpkg.com/ws/-/ws-8.14.2.tgz#6c249a806eb2db7a20d26d51e7709eab7b2e6c7f" integrity sha512-wEBG1ftX4jcglPxgFCMJmZ2PLtSbJ2Peg6TmpJFTbe9GZYOQCDPdMYu/Tm0/bGZkw8paZnJY45J4K2PZrLYq8g== +ws@^8.16.0: + version "8.18.0" + resolved "https://registry.yarnpkg.com/ws/-/ws-8.18.0.tgz#0d7505a6eafe2b0e712d232b42279f53bc289bbc" + integrity sha512-8VbfWfHLbbwu3+N6OKsOMpBdT4kXPDDB9cJk2bJ6mh9ucxdlnNvH1e+roYkKmN9Nxw2yjz7VzeO9oOz2zJ04Pw== + ws@^8.8.1: version "8.11.0" resolved "https://registry.yarnpkg.com/ws/-/ws-8.11.0.tgz#6a0d36b8edfd9f96d8b25683db2f8d7de6e8e143"