From e028c323b36a53b92bb93ccd07b534a3567c2ddf Mon Sep 17 00:00:00 2001 From: nampc Date: Wed, 4 Sep 2024 19:11:26 +0700 Subject: [PATCH] adding klaster sdk --- package.json | 2 +- packages/extension-base/package.json | 3 +- .../src/services/chain-service/index.ts | 10 +- packages/extension-koni-ui/package.json | 2 +- packages/extension-web-ui/package.json | 2 +- packages/webapp/package.json | 2 +- packages/webapp/webpack.config.cjs | 3 + yarn.lock | 283 ++++++++++++++++-- 8 files changed, 279 insertions(+), 28 deletions(-) diff --git a/package.json b/package.json index 15669aaa14..e17d985cbd 100644 --- a/package.json +++ b/package.json @@ -103,7 +103,7 @@ "@polkadot/types-support": "^12.0.2", "@polkadot/util": "^12.6.2", "@polkadot/util-crypto": "^12.6.2", - "@subwallet/chain-list": "0.2.82", + "@subwallet/chain-list": "0.2.85-beta.0", "@subwallet/keyring": "^0.1.5", "@subwallet/react-ui": "5.1.2-b79", "@subwallet/ui-keyring": "^0.1.5", diff --git a/packages/extension-base/package.json b/packages/extension-base/package.json index b47584024d..cc1c628cfc 100644 --- a/packages/extension-base/package.json +++ b/packages/extension-base/package.json @@ -54,7 +54,7 @@ "@reduxjs/toolkit": "^1.9.1", "@sora-substrate/type-definitions": "^1.17.7", "@substrate/connect": "^0.8.9", - "@subwallet/chain-list": "0.2.82", + "@subwallet/chain-list": "0.2.85-beta.0", "@subwallet/extension-base": "^1.2.26-0", "@subwallet/extension-chains": "^1.2.26-0", "@subwallet/extension-dapp": "^1.2.26-0", @@ -83,6 +83,7 @@ "i18next": "^21.9.2", "is-buffer": "^2.0.5", "json-rpc-engine": "^6.1.0", + "klaster-sdk": "^0.5.10", "manta-extension-sdk": "^1.1.0", "moment": "^2.29.4", "protobufjs": "^7.2.4", diff --git a/packages/extension-base/src/services/chain-service/index.ts b/packages/extension-base/src/services/chain-service/index.ts index eae635cf18..3db268787f 100644 --- a/packages/extension-base/src/services/chain-service/index.ts +++ b/packages/extension-base/src/services/chain-service/index.ts @@ -10,12 +10,13 @@ import { MantaPrivateHandler } from '@subwallet/extension-base/services/chain-se import { SubstrateChainHandler } from '@subwallet/extension-base/services/chain-service/handler/SubstrateChainHandler'; import { _CHAIN_VALIDATION_ERROR } from '@subwallet/extension-base/services/chain-service/handler/types'; import { _ChainApiStatus, _ChainConnectionStatus, _ChainState, _CUSTOM_PREFIX, _DataMap, _EvmApi, _NetworkUpsertParams, _NFT_CONTRACT_STANDARDS, _SMART_CONTRACT_STANDARDS, _SmartContractTokenInfo, _SubstrateApi, _ValidateCustomAssetRequest, _ValidateCustomAssetResponse } from '@subwallet/extension-base/services/chain-service/types'; -import { _isAssetAutoEnable, _isAssetCanPayTxFee, _isAssetFungibleToken, _isChainEnabled, _isCustomAsset, _isCustomChain, _isCustomProvider, _isEqualContractAddress, _isEqualSmartContractAsset, _isMantaZkAsset, _isPureEvmChain, _isPureSubstrateChain, _parseAssetRefKey, fetchPatchData, randomizeProvider, updateLatestChainInfo } from '@subwallet/extension-base/services/chain-service/utils'; +import { _getEvmChainId, _isAssetAutoEnable, _isAssetCanPayTxFee, _isAssetFungibleToken, _isChainEnabled, _isCustomAsset, _isCustomChain, _isCustomProvider, _isEqualContractAddress, _isEqualSmartContractAsset, _isMantaZkAsset, _isPureEvmChain, _isPureSubstrateChain, _parseAssetRefKey, fetchPatchData, randomizeProvider, updateLatestChainInfo } from '@subwallet/extension-base/services/chain-service/utils'; import { EventService } from '@subwallet/extension-base/services/event-service'; import { IChain, IMetadataItem } from '@subwallet/extension-base/services/storage-service/databases'; import DatabaseService from '@subwallet/extension-base/services/storage-service/DatabaseService'; import AssetSettingStore from '@subwallet/extension-base/stores/AssetSetting'; import { addLazy, calculateMetadataHash, fetchStaticData, filterAssetsByChainAndType, getShortMetadata, MODULE_SUPPORT } from '@subwallet/extension-base/utils'; +import { buildMultichainReadonlyClient, buildRpcInfo } from 'klaster-sdk'; import { BehaviorSubject, Subject } from 'rxjs'; import Web3 from 'web3'; @@ -845,6 +846,13 @@ export class ChainService { const chainInfoMap = this.getChainInfoMap(); const chainStateMap = this.getChainStateMap(); + const klasterClient = buildMultichainReadonlyClient([ + buildRpcInfo(_getEvmChainId(chainInfoMap.base_sepolia) as number, Object.values(chainInfoMap.base_sepolia.providers)[0]), + buildRpcInfo(_getEvmChainId(chainInfoMap.sepolia_ethereum) as number, Object.values(chainInfoMap.sepolia_ethereum.providers)[0]) + ]); + + console.log(klasterClient); + await Promise.all(Object.entries(chainInfoMap) .filter(([slug]) => chainStateMap[slug]?.active) .map(([, chainInfo]) => { diff --git a/packages/extension-koni-ui/package.json b/packages/extension-koni-ui/package.json index d1f08a1f4a..e7704f17a1 100644 --- a/packages/extension-koni-ui/package.json +++ b/packages/extension-koni-ui/package.json @@ -34,7 +34,7 @@ "@polkadot/util-crypto": "^12.6.2", "@ramonak/react-progress-bar": "^5.0.3", "@reduxjs/toolkit": "^1.9.1", - "@subwallet/chain-list": "0.2.82", + "@subwallet/chain-list": "0.2.85-beta.0", "@subwallet/extension-base": "^1.2.26-0", "@subwallet/extension-chains": "^1.2.26-0", "@subwallet/extension-dapp": "^1.2.26-0", diff --git a/packages/extension-web-ui/package.json b/packages/extension-web-ui/package.json index 44de1cde50..2e8b296607 100644 --- a/packages/extension-web-ui/package.json +++ b/packages/extension-web-ui/package.json @@ -35,7 +35,7 @@ "@polkadot/util-crypto": "^12.6.2", "@ramonak/react-progress-bar": "^5.0.3", "@reduxjs/toolkit": "^1.9.1", - "@subwallet/chain-list": "0.2.82", + "@subwallet/chain-list": "0.2.85-beta.0", "@subwallet/extension-base": "^1.2.26-0", "@subwallet/extension-chains": "^1.2.26-0", "@subwallet/extension-dapp": "^1.2.26-0", diff --git a/packages/webapp/package.json b/packages/webapp/package.json index a56998c079..552b8d65fc 100644 --- a/packages/webapp/package.json +++ b/packages/webapp/package.json @@ -49,4 +49,4 @@ "webpack-cli": "^5.1.4", "webpack-dev-server": "^5.0.4" } -} \ No newline at end of file +} diff --git a/packages/webapp/webpack.config.cjs b/packages/webapp/webpack.config.cjs index c19aa32ecd..778d7b8970 100644 --- a/packages/webapp/webpack.config.cjs +++ b/packages/webapp/webpack.config.cjs @@ -82,6 +82,9 @@ const createConfig = (entry, alias = {}, useSplitChunk = false) => { { exclude: /(node_modules\/(?!(@equilab|@subwallet|@polkadot\/rpc-core)).*)/, test: /\.(js|mjs|ts|tsx)$/, + resolve: { + fullySpecified: false + }, use: [ { loader: require.resolve('babel-loader'), diff --git a/yarn.lock b/yarn.lock index ff6ecb221d..6cf9563daf 100644 --- a/yarn.lock +++ b/yarn.lock @@ -62,6 +62,13 @@ __metadata: languageName: node linkType: hard +"@adraffy/ens-normalize@npm:1.10.0": + version: 1.10.0 + resolution: "@adraffy/ens-normalize@npm:1.10.0" + checksum: af0540f963a2632da2bbc37e36ea6593dcfc607b937857133791781e246d47f870d5e3d21fa70d5cfe94e772c284588c81ea3f5b7f4ea8fbb824369444e4dbcb + languageName: node + linkType: hard + "@adraffy/ens-normalize@npm:1.10.1": version: 1.10.1 resolution: "@adraffy/ens-normalize@npm:1.10.1" @@ -3719,6 +3726,33 @@ __metadata: languageName: node linkType: hard +"@noble/curves@npm:1.4.0": + version: 1.4.0 + resolution: "@noble/curves@npm:1.4.0" + dependencies: + "@noble/hashes": 1.4.0 + checksum: 0014ff561d16e98da4a57e2310a4015e4bdab3b1e1eafcd18d3f9b955c29c3501452ca5d702fddf8ca92d570bbeadfbe53fe16ebbd81a319c414f739154bb26b + languageName: node + linkType: hard + +"@noble/curves@npm:^1.4.0": + version: 1.6.0 + resolution: "@noble/curves@npm:1.6.0" + dependencies: + "@noble/hashes": 1.5.0 + checksum: 258f3feb2a6098cf35521562ecb7d452fd728e8a008ff9f1ef435184f9d0c782ceb8f7b7fa8df3317c3be7a19f53995ee124cd05c8080b130bd42e3cb072f24d + languageName: node + linkType: hard + +"@noble/curves@npm:~1.4.0": + version: 1.4.2 + resolution: "@noble/curves@npm:1.4.2" + dependencies: + "@noble/hashes": 1.4.0 + checksum: c475a83c4263e2c970eaba728895b9b5d67e0ca880651e9c6e3efdc5f6a4f07ceb5b043bf71c399fc80fada0b8706e69d0772bffdd7b9de2483b988973a34cba + languageName: node + linkType: hard + "@noble/hashes@npm:1.1.2": version: 1.1.2 resolution: "@noble/hashes@npm:1.1.2" @@ -3740,6 +3774,20 @@ __metadata: languageName: node linkType: hard +"@noble/hashes@npm:1.4.0, @noble/hashes@npm:^1.3.1, @noble/hashes@npm:~1.4.0": + version: 1.4.0 + resolution: "@noble/hashes@npm:1.4.0" + checksum: 8ba816ae26c90764b8c42493eea383716396096c5f7ba6bea559993194f49d80a73c081f315f4c367e51bd2d5891700bcdfa816b421d24ab45b41cb03e4f3342 + languageName: node + linkType: hard + +"@noble/hashes@npm:1.5.0, @noble/hashes@npm:^1.4.0": + version: 1.5.0 + resolution: "@noble/hashes@npm:1.5.0" + checksum: 9cc031d5c888c455bfeef76af649b87f75380a4511405baea633c1e4912fd84aff7b61e99716f0231d244c9cfeda1fafd7d718963e6a0c674ed705e9b1b4f76b + languageName: node + linkType: hard + "@noble/hashes@npm:^1.2.0": version: 1.3.0 resolution: "@noble/hashes@npm:1.3.0" @@ -3747,13 +3795,6 @@ __metadata: languageName: node linkType: hard -"@noble/hashes@npm:^1.3.1": - version: 1.4.0 - resolution: "@noble/hashes@npm:1.4.0" - checksum: 8ba816ae26c90764b8c42493eea383716396096c5f7ba6bea559993194f49d80a73c081f315f4c367e51bd2d5891700bcdfa816b421d24ab45b41cb03e4f3342 - languageName: node - linkType: hard - "@noble/secp256k1@npm:1.7.1": version: 1.7.1 resolution: "@noble/secp256k1@npm:1.7.1" @@ -4159,6 +4200,17 @@ __metadata: languageName: node linkType: hard +"@particle-network/aa@npm:^2.0.2": + version: 2.0.2 + resolution: "@particle-network/aa@npm:2.0.2" + dependencies: + axios: ^1.3.6 + peerDependencies: + viem: 2.x + checksum: fa6cd71a6cac831eede278d001f5cec8a87d5bc2689b735e11f7e5f7313fc4c1db10f6258feca4b329ee8efb8e89bc17bb88a0cb3a0b0fb993e1580f180fadf9 + languageName: node + linkType: hard + "@peaqnetwork/type-definitions@npm:0.0.4": version: 0.0.4 resolution: "@peaqnetwork/type-definitions@npm:0.0.4" @@ -5664,6 +5716,13 @@ __metadata: languageName: node linkType: hard +"@scure/base@npm:~1.1.6": + version: 1.1.8 + resolution: "@scure/base@npm:1.1.8" + checksum: 1fc8a355ba68663c0eb430cf6a2c5ff5af790c347c1ba1953f344e8681ab37e37e2545e495f7f971b0245727d710fea8c1e57d232d0c6c543cbed4965c7596a1 + languageName: node + linkType: hard + "@scure/bip32@npm:1.3.3": version: 1.3.3 resolution: "@scure/bip32@npm:1.3.3" @@ -5675,6 +5734,17 @@ __metadata: languageName: node linkType: hard +"@scure/bip32@npm:1.4.0": + version: 1.4.0 + resolution: "@scure/bip32@npm:1.4.0" + dependencies: + "@noble/curves": ~1.4.0 + "@noble/hashes": ~1.4.0 + "@scure/base": ~1.1.6 + checksum: eff491651cbf2bea8784936de75af5fc020fc1bbb9bcb26b2cfeefbd1fb2440ebfaf30c0733ca11c0ae1e272a2ef4c3c34ba5c9fb3e1091c3285a4272045b0c6 + languageName: node + linkType: hard + "@scure/bip39@npm:1.2.2": version: 1.2.2 resolution: "@scure/bip39@npm:1.2.2" @@ -5685,6 +5755,16 @@ __metadata: languageName: node linkType: hard +"@scure/bip39@npm:1.3.0": + version: 1.3.0 + resolution: "@scure/bip39@npm:1.3.0" + dependencies: + "@noble/hashes": ~1.4.0 + "@scure/base": ~1.1.6 + checksum: dbb0b27df753eb6c6380010b25cc9a9ea31f9cb08864fc51e69e5880ff7e2b8f85b72caea1f1f28af165e83b72c48dd38617e43fc632779d025b50ba32ea759e + languageName: node + linkType: hard + "@semantic-ui-react/event-stack@npm:^3.1.3": version: 3.1.3 resolution: "@semantic-ui-react/event-stack@npm:3.1.3" @@ -6058,14 +6138,14 @@ __metadata: languageName: node linkType: hard -"@subwallet/chain-list@npm:0.2.82": - version: 0.2.82 - resolution: "@subwallet/chain-list@npm:0.2.82" +"@subwallet/chain-list@npm:0.2.85-beta.0": + version: 0.2.85-beta.0 + resolution: "@subwallet/chain-list@npm:0.2.85-beta.0" dependencies: "@polkadot/dev": 0.67.167 "@polkadot/util": ^12.5.1 eventemitter3: ^5.0.1 - checksum: c3759f08b12ad49c004db2b3312dfd4d27edd800ae97bd579c8fa60ac88dfd2676b987cd8703f9c14b65077c15e69e8f8400002ce41eb440bba4c9c219705bba + checksum: 64bcbe5f4657b974b85a1f9c21abeeb00f8b58dee698183cf3865bf87a03bfd322d82d88a3cad632a7b3807978cfaa837ef8dc67b70664d0a21dbb09cd51be01 languageName: node linkType: hard @@ -6087,6 +6167,7 @@ __metadata: "@metamask/safe-event-emitter": ^2.0.0 "@metaverse-network-sdk/type-definitions": ^0.0.1-13 "@oak-foundation/types": ^0.0.23 + "@particle-network/aa": ^2.0.2 "@polkadot-api/merkleize-metadata": ^1.1.0 "@polkadot/api": ^11.0.3 "@polkadot/api-base": ^10.11.2 @@ -6107,7 +6188,7 @@ __metadata: "@reduxjs/toolkit": ^1.9.1 "@sora-substrate/type-definitions": ^1.17.7 "@substrate/connect": ^0.8.9 - "@subwallet/chain-list": 0.2.82 + "@subwallet/chain-list": 0.2.85-beta.0 "@subwallet/extension-base": ^1.2.26-0 "@subwallet/extension-chains": ^1.2.26-0 "@subwallet/extension-dapp": ^1.2.26-0 @@ -6138,6 +6219,7 @@ __metadata: i18next: ^21.9.2 is-buffer: ^2.0.5 json-rpc-engine: ^6.1.0 + klaster-sdk: ^0.5.10 manta-extension-sdk: ^1.1.0 moment: ^2.29.4 protobufjs: ^7.2.4 @@ -6239,7 +6321,7 @@ __metadata: "@polkadot/util-crypto": ^12.6.2 "@ramonak/react-progress-bar": ^5.0.3 "@reduxjs/toolkit": ^1.9.1 - "@subwallet/chain-list": 0.2.82 + "@subwallet/chain-list": 0.2.85-beta.0 "@subwallet/extension-base": ^1.2.26-0 "@subwallet/extension-chains": ^1.2.26-0 "@subwallet/extension-dapp": ^1.2.26-0 @@ -6377,7 +6459,7 @@ __metadata: "@polkadot/util-crypto": ^12.6.2 "@ramonak/react-progress-bar": ^5.0.3 "@reduxjs/toolkit": ^1.9.1 - "@subwallet/chain-list": 0.2.82 + "@subwallet/chain-list": 0.2.85-beta.0 "@subwallet/extension-base": ^1.2.26-0 "@subwallet/extension-chains": ^1.2.26-0 "@subwallet/extension-dapp": ^1.2.26-0 @@ -8072,6 +8154,26 @@ __metadata: languageName: node linkType: hard +"@wagmi/core@npm:2.12.2": + version: 2.12.2 + resolution: "@wagmi/core@npm:2.12.2" + dependencies: + eventemitter3: 5.0.1 + mipd: 0.0.7 + zustand: 4.4.1 + peerDependencies: + "@tanstack/query-core": ">=5.0.0" + typescript: ">=5.0.4" + viem: 2.x + peerDependenciesMeta: + "@tanstack/query-core": + optional: true + typescript: + optional: true + checksum: 06d3fde29b53474805460474158dfe7e3d6356dc11cf8f90033a9edae605cbe56839da7cbc20bb82e72d1ee68cf7b02ef493aa5d4f7041b8247017e89879b52e + languageName: node + linkType: hard + "@walletconnect/core@npm:2.13.1": version: 2.13.1 resolution: "@walletconnect/core@npm:2.13.1" @@ -8877,6 +8979,21 @@ __metadata: languageName: node linkType: hard +"abitype@npm:1.0.5": + version: 1.0.5 + resolution: "abitype@npm:1.0.5" + peerDependencies: + typescript: ">=5.0.4" + zod: ^3 >=3.22.0 + peerDependenciesMeta: + typescript: + optional: true + zod: + optional: true + checksum: 4a4865926e5e8e33e4fab0081a106ce4f627db30b4052fbc449e4707aea6d34d805d46c8d6d0a72234bdd9a2b4900993591515fc299bc57d393181c70dc0c19e + languageName: node + linkType: hard + "abort-controller@npm:^3.0.0": version: 3.0.0 resolution: "abort-controller@npm:3.0.0" @@ -9639,6 +9756,17 @@ __metadata: languageName: node linkType: hard +"axios@npm:1.7.5": + version: 1.7.5 + resolution: "axios@npm:1.7.5" + dependencies: + follow-redirects: ^1.15.6 + form-data: ^4.0.0 + proxy-from-env: ^1.1.0 + checksum: 2859fe01437cf133eee35571abc1d4b5224bb13e530e66cb3581ca226e170541dd5eef9f46abb41592cee0a2f54930c9e4978354e0cf1064748fc20d9a05e9d5 + languageName: node + linkType: hard + "axios@npm:^1.2.1, axios@npm:^1.6.2": version: 1.6.2 resolution: "axios@npm:1.6.2" @@ -9661,6 +9789,17 @@ __metadata: languageName: node linkType: hard +"axios@npm:^1.3.6": + version: 1.7.7 + resolution: "axios@npm:1.7.7" + dependencies: + follow-redirects: ^1.15.6 + form-data: ^4.0.0 + proxy-from-env: ^1.1.0 + checksum: 882d4fe0ec694a07c7f5c1f68205eb6dc5a62aecdb632cc7a4a3d0985188ce3030e0b277e1a8260ac3f194d314ae342117660a151fabffdc5081ca0b5a8b47fe + languageName: node + linkType: hard + "axios@npm:^1.6.8": version: 1.6.8 resolution: "axios@npm:1.6.8" @@ -14171,6 +14310,13 @@ __metadata: languageName: node linkType: hard +"eventemitter3@npm:5.0.1, eventemitter3@npm:^5.0.1": + version: 5.0.1 + resolution: "eventemitter3@npm:5.0.1" + checksum: 543d6c858ab699303c3c32e0f0f47fc64d360bf73c3daf0ac0b5079710e340d6fe9f15487f94e66c629f5f82cd1a8678d692f3dbb6f6fcd1190e1b97fcad36f8 + languageName: node + linkType: hard + "eventemitter3@npm:^4.0.0, eventemitter3@npm:^4.0.7": version: 4.0.7 resolution: "eventemitter3@npm:4.0.7" @@ -14185,13 +14331,6 @@ __metadata: languageName: node linkType: hard -"eventemitter3@npm:^5.0.1": - version: 5.0.1 - resolution: "eventemitter3@npm:5.0.1" - checksum: 543d6c858ab699303c3c32e0f0f47fc64d360bf73c3daf0ac0b5079710e340d6fe9f15487f94e66c629f5f82cd1a8678d692f3dbb6f6fcd1190e1b97fcad36f8 - languageName: node - linkType: hard - "events@npm:3.3.0, events@npm:^3.2.0, events@npm:^3.3.0": version: 3.3.0 resolution: "events@npm:3.3.0" @@ -17132,6 +17271,15 @@ __metadata: languageName: node linkType: hard +"isows@npm:1.0.4": + version: 1.0.4 + resolution: "isows@npm:1.0.4" + peerDependencies: + ws: "*" + checksum: a3ee62e3d6216abb3adeeb2a551fe2e7835eac87b05a6ecc3e7739259bf5f8e83290501f49e26137390c8093f207fc3378d4a7653aab76ad7bbab4b2dba9c5b9 + languageName: node + linkType: hard + "isstream@npm:~0.1.2": version: 0.1.2 resolution: "isstream@npm:0.1.2" @@ -18995,6 +19143,18 @@ __metadata: languageName: node linkType: hard +"klaster-sdk@npm:^0.5.10": + version: 0.5.10 + resolution: "klaster-sdk@npm:0.5.10" + dependencies: + "@wagmi/core": 2.12.2 + axios: 1.7.5 + lodash: ^4.17.21 + viem: 2.18.4 + checksum: cb708cb0f3e39d089abc411172a3f8c3a07a211301b611f0ecf50992f72b087e7bddd38982323247fd73c3934453f01de43f04da22d97a6afbc76dfedb3b3196 + languageName: node + linkType: hard + "klaw-sync@npm:^6.0.0": version: 6.0.0 resolution: "klaw-sync@npm:6.0.0" @@ -20515,6 +20675,18 @@ __metadata: languageName: node linkType: hard +"mipd@npm:0.0.7": + version: 0.0.7 + resolution: "mipd@npm:0.0.7" + peerDependencies: + typescript: ">=5.0.4" + peerDependenciesMeta: + typescript: + optional: true + checksum: 14526f78d6d1bc8580898922508d64714f5abc7293b5998fe93c54237fd1cea120dc98674fe2b329ba3803bda5a85f3e442c3b1fa880e4c6b443bf73018514a8 + languageName: node + linkType: hard + "mkdirp-classic@npm:^0.5.2, mkdirp-classic@npm:^0.5.3": version: 0.5.3 resolution: "mkdirp-classic@npm:0.5.3" @@ -27059,7 +27231,7 @@ __metadata: languageName: node linkType: hard -"use-sync-external-store@npm:^1.0.0": +"use-sync-external-store@npm:1.2.0, use-sync-external-store@npm:^1.0.0": version: 1.2.0 resolution: "use-sync-external-store@npm:1.2.0" peerDependencies: @@ -27247,6 +27419,28 @@ __metadata: languageName: node linkType: hard +"viem@npm:2.18.4": + version: 2.18.4 + resolution: "viem@npm:2.18.4" + dependencies: + "@adraffy/ens-normalize": 1.10.0 + "@noble/curves": 1.4.0 + "@noble/hashes": 1.4.0 + "@scure/bip32": 1.4.0 + "@scure/bip39": 1.3.0 + abitype: 1.0.5 + isows: 1.0.4 + webauthn-p256: 0.0.5 + ws: 8.17.1 + peerDependencies: + typescript: ">=5.0.4" + peerDependenciesMeta: + typescript: + optional: true + checksum: abf9bbbfcc8f2ce6d3187b349922f9624465c5570fc02d341f651e32f6716b85aa3e6a649c4ee139499208dbb07ec8c54b83c66ba4f7f7afc92923826847c9ef + languageName: node + linkType: hard + "vinyl-fs@npm:^3.0.1": version: 3.0.3 resolution: "vinyl-fs@npm:3.0.3" @@ -27683,6 +27877,16 @@ __metadata: languageName: node linkType: hard +"webauthn-p256@npm:0.0.5": + version: 0.0.5 + resolution: "webauthn-p256@npm:0.0.5" + dependencies: + "@noble/curves": ^1.4.0 + "@noble/hashes": ^1.4.0 + checksum: 2837188d1e6d947c87c5728374fb6aec96387cb766f78e7a04d5903774264feb278d68a639748f09997f591e5278796c662bb5c4e8b8286b0f22254694023584 + languageName: node + linkType: hard + "webidl-conversions@npm:^3.0.0": version: 3.0.1 resolution: "webidl-conversions@npm:3.0.1" @@ -28265,6 +28469,21 @@ __metadata: languageName: node linkType: hard +"ws@npm:8.17.1": + version: 8.17.1 + resolution: "ws@npm:8.17.1" + peerDependencies: + bufferutil: ^4.0.1 + utf-8-validate: ">=5.0.2" + peerDependenciesMeta: + bufferutil: + optional: true + utf-8-validate: + optional: true + checksum: 442badcce1f1178ec87a0b5372ae2e9771e07c4929a3180321901f226127f252441e8689d765aa5cfba5f50ac60dd830954afc5aeae81609aefa11d3ddf5cecf + languageName: node + linkType: hard + "ws@npm:8.5.0": version: 8.5.0 resolution: "ws@npm:8.5.0" @@ -28523,6 +28742,26 @@ __metadata: languageName: node linkType: hard +"zustand@npm:4.4.1": + version: 4.4.1 + resolution: "zustand@npm:4.4.1" + dependencies: + use-sync-external-store: 1.2.0 + peerDependencies: + "@types/react": ">=16.8" + immer: ">=9.0" + react: ">=16.8" + peerDependenciesMeta: + "@types/react": + optional: true + immer: + optional: true + react: + optional: true + checksum: 80acd0fbf633782996642802c8692bbb80ae5c80a8dff4c501b88250acd5ccd468fbc6398bdce198475a25e3839c91385b81da921274f33ffb5c2d08c3eab400 + languageName: node + linkType: hard + "zwitch@npm:^2.0.0": version: 2.0.4 resolution: "zwitch@npm:2.0.4"