diff --git a/packages/core/src/versionInfo.ts b/packages/core/src/versionInfo.ts index fbb65572..cc5f7bf1 100644 --- a/packages/core/src/versionInfo.ts +++ b/packages/core/src/versionInfo.ts @@ -1,5 +1,5 @@ -const version = '2.2.7-alpha.2'; +const version = '2.2.7-alpha.3'; const versionBuild = '2020-0101-1'; export default { diff --git a/packages/example/chains.ts b/packages/example/chains.ts index 76657bd8..f3e87082 100644 --- a/packages/example/chains.ts +++ b/packages/example/chains.ts @@ -67,6 +67,12 @@ export const registeredChains: IChainInfo[] = [ href: '/aptosMartian', icon: 'https://uni.onekey-asset.com/static/chain/apt.png', }, + { + id: uuid.v4(), + name: 'Babylon', + href: '/babylon', + icon: 'https://uni.onekey-asset.com/static/logo/babylon.png', + }, { id: uuid.v4(), name: 'Benfen', diff --git a/packages/example/components/chains/babylon/dapps.config.ts b/packages/example/components/chains/babylon/dapps.config.ts new file mode 100644 index 00000000..7c5e2003 --- /dev/null +++ b/packages/example/components/chains/babylon/dapps.config.ts @@ -0,0 +1,10 @@ +export const dapps = [ + { + name: 'Osmosis', + url: 'https://app.osmosis.zone/', + }, + { + name: 'JunoSwap', + url: 'https://junoswap.com/', + }, +]; diff --git a/packages/example/components/chains/babylon/example.tsx b/packages/example/components/chains/babylon/example.tsx new file mode 100644 index 00000000..60463746 --- /dev/null +++ b/packages/example/components/chains/babylon/example.tsx @@ -0,0 +1,703 @@ +/* eslint-disable @typescript-eslint/no-explicit-any */ +/* eslint-disable @typescript-eslint/no-unused-vars */ +/* eslint-disable @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-unnecessary-type-assertion, @typescript-eslint/no-unsafe-call */ +/* eslint-disable @typescript-eslint/no-unsafe-assignment, @typescript-eslint/no-unsafe-argument, @typescript-eslint/no-unsafe-return */ +import { dapps } from './dapps.config'; +import ConnectButton from '../../connect/ConnectButton'; +import { useCallback, useEffect, useRef, useState } from 'react'; +import { hexToBytes } from '@noble/hashes/utils'; +import { SignMode } from 'cosmjs-types/cosmos/tx/signing/v1beta1/signing'; +import { get, isEmpty } from 'lodash-es'; + +import { + TomoContextProvider, + useTomoModalControl, + useTomoProviders, + useTomoWalletConnect, + useTomoWalletState, + useWalletList, +} from '@tomo-inc/wallet-connect-sdk'; + +import * as bitcoin from 'bitcoinjs-lib'; +import { MsgExecuteContract } from 'cosmjs-types/cosmwasm/wasm/v1/tx'; +import Long from 'long'; +import { MsgSend } from 'cosmjs-types/cosmos/bank/v1beta1/tx'; +import { PubKey } from 'cosmjs-types/cosmos/crypto/ed25519/keys'; +import { Any } from 'cosmjs-types/google/protobuf/any'; +import { AuthInfo, Fee, SignerInfo, Tx, TxBody, TxRaw } from 'cosmjs-types/cosmos/tx/v1beta1/tx'; + +import { IProviderInfo } from './types'; +import { ApiPayload, ApiGroup } from '../../ApiActuator'; +import { useWallet } from '../../connect/WalletContext'; +import type { IKnownWallet } from '../../connect/types'; +import DappList from '../../DAppList'; +import InfoLayout from '../../InfoLayout'; +import paramsCosmos from '../cosmosBabylon/params'; +import paramsBtc from '../btcBabylon/params'; +import { toast } from '../../ui/use-toast'; +import { Button } from '../../ui/button'; + +import '@tomo-inc/wallet-connect-sdk/style.css'; +import { verifyMessage } from '@unisat/wallet-utils'; +import { Verifier } from 'bip322-js'; +import { Input } from '../../ui/input'; +import { createPSBT } from '../btc/utils'; + +function removeNull(obj: any): any { + if (obj !== null && typeof obj === 'object') { + // eslint-disable-next-line @typescript-eslint/no-unsafe-argument + return Object.entries(obj) + .filter(([, v]) => v != null) + .reduce( + (acc, [k, v]) => ({ + ...acc, + [k]: v === Object(v) && !Array.isArray(v) ? removeNull(v) : v, + }), + {}, + ); + } + + return obj; +} + +function Example() { + const tomoModal = useTomoModalControl(); + const tomoWalletConnect = useTomoWalletConnect(); + + // Check wallet connection status + const tomowalletState = useTomoWalletState(); + const connected = tomowalletState.isConnected; + + // Check all the supported wallets + const supportedWallets = useWalletList(); + + // Get provider + const providers = useTomoProviders(); + console.log('providers', providers); + const providerBitcoin = providers.bitcoinProvider ?? undefined; + const providerCosmos = providers.cosmosProvider ?? undefined; + + console.log('providerBitcoin', providerBitcoin); + console.log('providerCosmos', providerCosmos); + + const walletsRef = useRef([ + { + uuid: 'bitcoin', + name: 'BTC', + inject: 'bitcoin', + }, + { + uuid: 'cosmos', + name: 'Cosmos', + inject: 'cosmos', + }, + ]); + + const { setProvider, setAccount, account } = useWallet<'bitcoin' | 'cosmos'>(); + + const onConnectWallet = useCallback( + async (selectedWallet: IKnownWallet) => { + // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access + const providerDetail = walletsRef.current?.find((w) => w.uuid === selectedWallet.id); + if (!providerDetail) { + return Promise.reject('Wallet not found'); + } + + const result = await tomoModal.open(providerDetail.inject as 'bitcoin' | 'cosmos'); + console.log('xxxx', result); + + const connected = result.walletState.isConnected; + let address = undefined; + if (result.walletState.cosmos.connected) { + address = result.walletState.cosmos.address; + } + if (result.walletState.bitcoin.connected) { + address = result.walletState.bitcoin.address; + } + + if (connected && !address) { + toast({ + title: 'Wallet not found', + description: 'Please install the wallet extension', + }); + return; + } + + return { + provider: providerDetail.inject, + address: address ?? '', + }; + }, + [tomoModal], + ); + + useEffect(() => { + if (tomowalletState?.cosmos?.connected) { + setProvider('cosmos'); + setAccount({ + address: tomowalletState.cosmos.address, + chainId: tomowalletState.cosmos.chainId.toString() + }); + } + if (tomowalletState?.bitcoin?.connected) { + setProvider('bitcoin'); + setAccount({ + address: tomowalletState.bitcoin.address, + chainId: tomowalletState.bitcoin.chainId.toString() + }); + } + }, [setAccount, setProvider, tomowalletState]); + + return ( + <> + +
+

btc network: {tomowalletState?.bitcoin?.network}

+

btc address: {tomowalletState?.bitcoin?.address}

+

btc chainId: {tomowalletState?.bitcoin?.chainId}

+

btc chainType: {tomowalletState?.bitcoin?.chainType}

+

btc walletId: {tomowalletState?.bitcoin?.walletId}

+
+

cosmos network: {tomowalletState?.cosmos?.network}

+

cosmos address: {tomowalletState?.cosmos?.address}

+

cosmos chainId: {tomowalletState?.cosmos?.chainId}

+

cosmos chainType: {tomowalletState?.cosmos?.chainType}

+

cosmos walletId: {tomowalletState?.cosmos?.walletId}

+
+
+ + { + return Promise.resolve( + walletsRef.current.map((wallet) => { + return { + id: wallet.uuid, + name: wallet.inject ? wallet.name : `${wallet.name}`, + }; + }), + ); + }} + onConnect={onConnectWallet} + onDisconnect={tomoWalletConnect.disconnect} + /> + + { + // eslint-disable-next-line @typescript-eslint/no-unsafe-argument + const res = await providerBitcoin?.connectWallet(); + return JSON.stringify(res); + }} + /> + { + return await providerBitcoin?.getPublicKeyHex(); + }} + /> + { + return await providerBitcoin?.getAddress(); + }} + /> + { + return await providerBitcoin?.getNetwork(); + }} + /> + { + return await providerBitcoin?.getNetworkFees(); + }} + /> + { + return await providerBitcoin?.getWalletProviderName(); + }} + /> + { + return await providerBitcoin?.getWalletProviderIcon(); + }} + /> + + + + { + // eslint-disable-next-line @typescript-eslint/no-unsafe-argument + const res = await providerCosmos?.connectWallet(); + return JSON.stringify(res); + }} + /> + { + return await providerCosmos?.getPublicKeyHex(); + }} + /> + { + return await providerCosmos?.getAddress(); + }} + /> + { + return await providerCosmos?.getNetwork(); + }} + /> + { + return await providerCosmos?.getWalletProviderName(); + }} + /> + { + return await providerCosmos?.getWalletProviderIcon(); + }} + /> + + + + { + const obj = JSON.parse(request) as { msg: string; type: 'ecdsa' | 'bip322-simple' }; + const res = await providerBitcoin?.signMessage(obj.msg, obj.type); + return res; + }} + onValidate={async (request: string, response: string) => { + const obj = JSON.parse(request) as { msg: string; type: string | undefined }; + const publicKey = await providerBitcoin?.getPublicKeyHex(); + + if (!obj.type || obj.type === 'ecdsa') { + // eslint-disable-next-line @typescript-eslint/no-unsafe-return + return verifyMessage(publicKey, obj.msg, response); + } + + if (obj.type === 'bip322-simple') { + return Verifier.verifySignature(account.address, obj.msg, response); + } + return 'Dapp Example: 不支持的类型签字的验证'; + }} + /> + { + const res = await providerBitcoin?.signMessageBIP322(request); + return res; + }} + onValidate={async (request: string, response: string) => { + return Promise.resolve(Verifier.verifySignature(account.address, request, response)); + }} + /> + + + + { + const obj = JSON.parse(request) as { toAddress: string; satoshis: number }; + const res = await providerBitcoin?.sendBitcoin(obj.toAddress, obj.satoshis); + return JSON.stringify(res); + }} + /> + { + if (!request || isEmpty(request)) { + toast({ + title: 'Error', + description: '请填写需要广播的交易信息', + }); + throw new Error('request is empty'); + } + + const res = await providerBitcoin?.pushTx(request); + return JSON.stringify(res); + }} + /> + { + const { psbtHex, options } = JSON.parse(request) as { + psbtHex: string; + options?: any; + }; + // eslint-disable-next-line @typescript-eslint/no-unsafe-argument + const res = await providerBitcoin?.signPsbt(psbtHex); + + const psbt = bitcoin.Psbt.fromHex(res); + if (!options?.autoFinalized) { + psbt.finalizeAllInputs(); + } + return psbt.toHex(); + }} + generateRequestFrom={() => { + return ( + <> + + + + + ); + }} + onGenerateRequest={async (fromData: Record) => { + const toAddress = fromData['toAddress'] as string; + const amount = parseInt(fromData['amount'] as string); + const gasPrice = parseInt((fromData['gasPrice'] as string) ?? '20'); + + if (!toAddress || !amount) { + throw new Error('toAddress or amount is required'); + } + + const network = await providerBitcoin?.getNetwork(); + + const psbt = createPSBT( + account?.address ?? '', + toAddress, + amount, + gasPrice, + network === 'testnet' ? bitcoin.networks.bitcoin : bitcoin.networks.testnet, + ); + + return Promise.resolve(psbt); + }} + onValidate={async (_request: string, response: string) => { + const res = await providerBitcoin?.pushTx(response); + return JSON.stringify(res); + }} + /> + { + const { psbtHexs, options } = JSON.parse(request) as { + psbtHexs: string[]; + options?: any[]; + }; + // eslint-disable-next-line @typescript-eslint/no-unsafe-argument + const res = await providerBitcoin?.signPsbts(psbtHexs); + + const result: string[] = []; + res.forEach((psbt, index) => { + const psbtObj = bitcoin.Psbt.fromHex(psbt); + if (!options?.[index]?.autoFinalized) { + psbtObj.finalizeAllInputs(); + } + result.push(psbtObj.toHex()); + }); + + return JSON.stringify(result); + }} + generateRequestFrom={() => { + return ( + <> + + + + + ); + }} + onGenerateRequest={async (fromData: Record) => { + const toAddress = fromData['toAddress'] as string; + const amount = parseInt(fromData['amount'] as string); + const gasPrice = parseInt((fromData['gasPrice'] as string) ?? '20'); + + if (!toAddress || !amount) { + throw new Error('toAddress or amount is required'); + } + + const network = await providerBitcoin?.getNetwork(); + + const psbt = await createPSBT( + account?.address ?? '', + toAddress, + amount, + gasPrice, + network === 'testnet' ? bitcoin.networks.bitcoin : bitcoin.networks.testnet, + ); + + const pabtObj = JSON.parse(psbt); + + return Promise.resolve( + JSON.stringify({ + psbtHexs: [pabtObj.psbtHex], + options: [pabtObj.options], + }), + ); + }} + onValidate={async (_request: string, response: string) => { + const [psbtHexs] = JSON.parse(response); + return await providerBitcoin?.pushTx(psbtHexs); + }} + /> + { + if (!request || isEmpty(request)) { + toast({ + title: 'Error', + description: '请填写需要广播的交易信息', + }); + throw new Error('request is empty'); + } + const res = await providerBitcoin?.pushTx(request); + return res; + }} + /> + + + + { + if (!account) return JSON.stringify({ error: 'account is null' }); + + const network = await providerCosmos?.createSigningStargateClient(); + const accountInfo = await network.getAccount(account?.address); + const chainId = await network.getChainId(); + + const obj = JSON.parse(request); + + const requestObj = { + chain_id: chainId, + account_number: accountInfo?.accountNumber, + sequence: accountInfo?.sequence, + fee: obj.fee, + memo: obj.memo, + msgs: obj.msgs, + }; + const signer = await providerCosmos?.getOfflineSigner(); + return await signer.signAmino(account.address, requestObj); + }} + /> + { + const network = await providerCosmos?.createSigningStargateClient(); + const accountInfo = await network.getAccount(account?.address); + const chainId = await network.getChainId(); + + const obj = JSON.parse(request); + + const pubKeyAny = Any.fromPartial({ + typeUrl: '/cosmos.crypto.secp256k1.PubKey', + value: Uint8Array.from( + PubKey.encode( + PubKey.fromPartial({ + key: hexToBytes(account.publicKey), + }), + ).finish(), + ), + }); + + const msgs: + | { + typeUrl: string; + value: Uint8Array; + }[] + | undefined = obj.msgs?.map((msg: { type: string; value: any }) => { + const value = msg.value; + if (msg.type === '/cosmos.bank.v1beta1.MsgSend') { + return { + typeUrl: '/cosmos.bank.v1beta1.MsgSend', + value: MsgSend.encode( + MsgSend.fromPartial({ + fromAddress: value.from_address, + toAddress: value.to_address, + amount: value.amount?.map((amount: any) => ({ + amount: amount.amount, + denom: amount.denom, + })), + }), + ).finish(), + }; + } else if (msg.type === '/cosmwasm.wasm.v1.MsgExecuteContract') { + return { + typeUrl: '/cosmwasm.wasm.v1.MsgExecuteContract', + value: MsgExecuteContract.encode( + MsgExecuteContract.fromPartial({ + sender: value.sender, + contract: value.contract, + msg: Buffer.from(JSON.stringify(removeNull(value.msg))), + funds: value.funds?.map((amount: any) => ({ + amount: amount.amount, + denom: amount.denom, + })), + }), + ).finish(), + }; + } + }); + + if (!msgs) return JSON.stringify({ error: 'msgs is null' }); + + const bodyBytes = TxBody.encode( + TxBody.fromPartial({ + messages: msgs?.map((msg) => ({ + typeUrl: msg.typeUrl, + // eslint-disable-next-line @typescript-eslint/no-unsafe-argument + value: msg.value, + })), + memo: obj.memo, + }), + ).finish(); + + console.log('bodyBytes', bodyBytes); + const authInfoBytes = AuthInfo.encode({ + signerInfos: [ + SignerInfo.fromPartial({ + publicKey: pubKeyAny, + modeInfo: { + single: { + mode: SignMode.SIGN_MODE_DIRECT, + }, + }, + sequence: BigInt(accountInfo?.sequence), + }), + ], + fee: Fee.fromPartial({ + amount: obj.fee.amount.map((amount: any) => ({ + amount: amount.amount, + denom: amount.denom, + })), + // eslint-disable-next-line @typescript-eslint/no-unsafe-argument + gasLimit: BigInt(get(obj, 'fee.gas', '0')), + }), + }).finish(); + + console.log('authInfoBytes', authInfoBytes); + + const signer = await providerCosmos?.getOfflineSigner(); + const res = await signer.signDirect(account.address, { + bodyBytes: bodyBytes, + authInfoBytes: authInfoBytes, + chainId: chainId, + accountNumber: Long.fromNumber(accountInfo?.accountNumber), + }); + return res; + }} + onValidate={async (_request: string, response: string) => { + const tx = hexToBytes(response); + const res = await providerCosmos?.broadcastTx(tx); + return JSON.stringify(res); + }} + /> + + + + + ); +} + +// await tomoWalletConnect.disconnect(); +export function ChildComponent() { + const tomoModal = useTomoModalControl(); + const tomoWalletConnect = useTomoWalletConnect(); + + return ( +
+ + +
+ ); +} + +export default function Demo() { + return ( + + + + + ); +} diff --git a/packages/example/components/chains/babylon/types.ts b/packages/example/components/chains/babylon/types.ts new file mode 100644 index 00000000..f613835e --- /dev/null +++ b/packages/example/components/chains/babylon/types.ts @@ -0,0 +1,9 @@ +import type { BBNProviderCosmos } from '@onekeyfe/onekey-cosmos-provider'; + +export type IProviderApi = BBNProviderCosmos + +export interface IProviderInfo { + uuid: string; + name: string; + inject?: string; // window.ethereum +} diff --git a/packages/example/package.json b/packages/example/package.json index f7a5563b..8da08a64 100644 --- a/packages/example/package.json +++ b/packages/example/package.json @@ -23,7 +23,9 @@ "@codemirror/lang-json": "^6.0.1", "@codemirror/lint": "^6.8.0", "@cosmjs/amino": "^0.32.3", + "@cosmjs/stargate": "^0.32.4", "@ethersproject/bytes": "^5.0.6", + "@keystonehq/keystone-sdk": "^0.9.1", "@metamask/eth-sig-util": "^7.0.2", "@metamask/onboarding": "^1.0.1", "@mizuwallet-sdk/core": "^1.4.0", @@ -64,6 +66,7 @@ "@starcoin/starmask-onboarding": "^1.0.0", "@tanstack/react-query": "^5.40.0", "@telegram-apps/sdk": "^2.0.0", + "@tomo-inc/wallet-connect-sdk": "^0.3.10", "@ton/core": "^0.57.0", "@ton/crypto": "^3.3.0", "@ton/ton": "^15.0.0", diff --git a/packages/example/pages/babylon/index.tsx b/packages/example/pages/babylon/index.tsx new file mode 100644 index 00000000..c117c548 --- /dev/null +++ b/packages/example/pages/babylon/index.tsx @@ -0,0 +1,16 @@ +import React from 'react'; +import dynamic from 'next/dynamic'; +import PageLayout from '../../components/PageLayout'; + +// injected provider works only if nextjs ssr disabled +const EVMExample = dynamic(() => import('../../components/chains/babylon/example'), { + ssr: false, +}); + +export default function () { + return ( + + + + ); +} diff --git a/packages/example/yarn.lock b/packages/example/yarn.lock index a32eb38e..78f0c000 100644 --- a/packages/example/yarn.lock +++ b/packages/example/yarn.lock @@ -28,6 +28,11 @@ resolved "https://registry.yarnpkg.com/@aashutoshrathi/word-wrap/-/word-wrap-1.2.6.tgz#bd9154aec9983f77b3a034ecaa015c2e4201f6cf" integrity sha512-1Yjs2SvM8TflER/OD3cOjhWWOZb58A2t7wpE2S9XfBYTiIl+XFhQG2bjy4Pu1I+EAlCNUzRDYDdFwFYUKvXcIA== +"@adraffy/ens-normalize@1.10.1": + version "1.10.1" + resolved "https://registry.yarnpkg.com/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz#63430d04bd8c5e74f8d7d049338f1cd9d4f02069" + integrity sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw== + "@alephium/get-extension-wallet@^1.4.0": version "1.4.0" resolved "https://registry.yarnpkg.com/@alephium/get-extension-wallet/-/get-extension-wallet-1.4.0.tgz#c14ecf759afa72da4c7664627a32f0c006adb36d" @@ -1043,7 +1048,7 @@ dependencies: regenerator-runtime "^0.14.0" -"@babel/runtime@^7.25.0": +"@babel/runtime@^7.24.0", "@babel/runtime@^7.25.0", "@babel/runtime@^7.4.5": version "7.26.0" resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.26.0.tgz#8600c2f595f277c60815256418b85356a65173c1" integrity sha512-FDSOghenHTiToteC/QRlv2q3DhPZ/oOXTBoirfWNx1Cx3TMVcGWQtMMmQcSvb/JjpNeGzx8Pq/b4fKEJuWm1sw== @@ -1234,6 +1239,11 @@ "@noble/hashes" "^1.1.5" "@noble/secp256k1" "^1.7.1" +"@bufbuild/protobuf@^1.2.0": + version "1.10.0" + resolved "https://registry.yarnpkg.com/@bufbuild/protobuf/-/protobuf-1.10.0.tgz#1a67ac889c2d464a3492b3e54c38f80517963b16" + integrity sha512-QDdVFLoN93Zjg36NoQPZfsVH9tZew7wKDKyV5qRdj8ntT4wQCOradQjRaTdwMhWUYsgKsvCINKKm87FdEk96Ag== + "@bundled-es-modules/cookie@^2.0.0": version "2.0.0" resolved "https://registry.yarnpkg.com/@bundled-es-modules/cookie/-/cookie-2.0.0.tgz#c3b82703969a61cf6a46e959a012b2c257f6b164" @@ -1347,6 +1357,14 @@ style-mod "^4.1.0" w3c-keyname "^2.2.4" +"@confio/ics23@^0.6.8": + version "0.6.8" + resolved "https://registry.yarnpkg.com/@confio/ics23/-/ics23-0.6.8.tgz#2a6b4f1f2b7b20a35d9a0745bb5a446e72930b3d" + integrity sha512-wB6uo+3A50m0sW/EWcU64xpV/8wShZ6bMTa7pF8eYsTrSkQA7oLUIJcs/wb8g4y2Oyq701BaGiO6n/ak5WXO1w== + dependencies: + "@noble/hashes" "^1.0.0" + protobufjs "^6.8.8" + "@conflux-dev/conflux-address-js@1.1.8": version "1.1.8" resolved "https://registry.yarnpkg.com/@conflux-dev/conflux-address-js/-/conflux-address-js-1.1.8.tgz#98204cf9447d87875bab1447483799b86ed45f34" @@ -1378,6 +1396,16 @@ "@cosmjs/math" "^0.32.3" "@cosmjs/utils" "^0.32.3" +"@cosmjs/amino@^0.32.4": + version "0.32.4" + resolved "https://registry.yarnpkg.com/@cosmjs/amino/-/amino-0.32.4.tgz#3908946c0394e6d431694c8992c5147079a1c860" + integrity sha512-zKYOt6hPy8obIFtLie/xtygCkH9ZROiQ12UHfKsOkWaZfPQUvVbtgmu6R4Kn1tFLI/SRkw7eqhaogmW/3NYu/Q== + dependencies: + "@cosmjs/crypto" "^0.32.4" + "@cosmjs/encoding" "^0.32.4" + "@cosmjs/math" "^0.32.4" + "@cosmjs/utils" "^0.32.4" + "@cosmjs/crypto@^0.32.3": version "0.32.3" resolved "https://registry.yarnpkg.com/@cosmjs/crypto/-/crypto-0.32.3.tgz#787f8e659709678722068ee1ddf379f65051a25e" @@ -1391,6 +1419,19 @@ elliptic "^6.5.4" libsodium-wrappers-sumo "^0.7.11" +"@cosmjs/crypto@^0.32.4": + version "0.32.4" + resolved "https://registry.yarnpkg.com/@cosmjs/crypto/-/crypto-0.32.4.tgz#5d29633b661eaf092ddb3e7ea6299cfd6f4507a2" + integrity sha512-zicjGU051LF1V9v7bp8p7ovq+VyC91xlaHdsFOTo2oVry3KQikp8L/81RkXmUIT8FxMwdx1T7DmFwVQikcSDIw== + dependencies: + "@cosmjs/encoding" "^0.32.4" + "@cosmjs/math" "^0.32.4" + "@cosmjs/utils" "^0.32.4" + "@noble/hashes" "^1" + bn.js "^5.2.0" + elliptic "^6.5.4" + libsodium-wrappers-sumo "^0.7.11" + "@cosmjs/encoding@^0.32.3": version "0.32.3" resolved "https://registry.yarnpkg.com/@cosmjs/encoding/-/encoding-0.32.3.tgz#e245ff511fe4a0df7ba427b5187aab69e3468e5b" @@ -1400,6 +1441,23 @@ bech32 "^1.1.4" readonly-date "^1.0.0" +"@cosmjs/encoding@^0.32.4": + version "0.32.4" + resolved "https://registry.yarnpkg.com/@cosmjs/encoding/-/encoding-0.32.4.tgz#646e0e809f7f4f1414d8fa991fb0ffe6c633aede" + integrity sha512-tjvaEy6ZGxJchiizzTn7HVRiyTg1i4CObRRaTRPknm5EalE13SV+TCHq38gIDfyUeden4fCuaBVEdBR5+ti7Hw== + dependencies: + base64-js "^1.3.0" + bech32 "^1.1.4" + readonly-date "^1.0.0" + +"@cosmjs/json-rpc@^0.32.4": + version "0.32.4" + resolved "https://registry.yarnpkg.com/@cosmjs/json-rpc/-/json-rpc-0.32.4.tgz#be91eb89ea78bd5dc02d0a9fa184dd6790790f0b" + integrity sha512-/jt4mBl7nYzfJ2J/VJ+r19c92mUKF0Lt0JxM3MXEJl7wlwW5haHAWtzRujHkyYMXOwIR+gBqT2S0vntXVBRyhQ== + dependencies: + "@cosmjs/stream" "^0.32.4" + xstream "^11.14.0" + "@cosmjs/math@^0.32.3": version "0.32.3" resolved "https://registry.yarnpkg.com/@cosmjs/math/-/math-0.32.3.tgz#16e4256f4da507b9352327da12ae64056a2ba6c9" @@ -1407,11 +1465,84 @@ dependencies: bn.js "^5.2.0" +"@cosmjs/math@^0.32.4": + version "0.32.4" + resolved "https://registry.yarnpkg.com/@cosmjs/math/-/math-0.32.4.tgz#87ac9eadc06696e30a30bdb562a495974bfd0a1a" + integrity sha512-++dqq2TJkoB8zsPVYCvrt88oJWsy1vMOuSOKcdlnXuOA/ASheTJuYy4+oZlTQ3Fr8eALDLGGPhJI02W2HyAQaw== + dependencies: + bn.js "^5.2.0" + +"@cosmjs/proto-signing@^0.32.4": + version "0.32.4" + resolved "https://registry.yarnpkg.com/@cosmjs/proto-signing/-/proto-signing-0.32.4.tgz#5a06e087c6d677439c8c9b25b5223d5e72c4cd93" + integrity sha512-QdyQDbezvdRI4xxSlyM1rSVBO2st5sqtbEIl3IX03uJ7YiZIQHyv6vaHVf1V4mapusCqguiHJzm4N4gsFdLBbQ== + dependencies: + "@cosmjs/amino" "^0.32.4" + "@cosmjs/crypto" "^0.32.4" + "@cosmjs/encoding" "^0.32.4" + "@cosmjs/math" "^0.32.4" + "@cosmjs/utils" "^0.32.4" + cosmjs-types "^0.9.0" + +"@cosmjs/socket@^0.32.4": + version "0.32.4" + resolved "https://registry.yarnpkg.com/@cosmjs/socket/-/socket-0.32.4.tgz#86ab6adf3a442314774c0810b7a7cfcddf4f2082" + integrity sha512-davcyYziBhkzfXQTu1l5NrpDYv0K9GekZCC9apBRvL1dvMc9F/ygM7iemHjUA+z8tJkxKxrt/YPjJ6XNHzLrkw== + dependencies: + "@cosmjs/stream" "^0.32.4" + isomorphic-ws "^4.0.1" + ws "^7" + xstream "^11.14.0" + +"@cosmjs/stargate@^0.32.4": + version "0.32.4" + resolved "https://registry.yarnpkg.com/@cosmjs/stargate/-/stargate-0.32.4.tgz#bd0e4d3bf613b629addbf5f875d3d3b50f640af1" + integrity sha512-usj08LxBSsPRq9sbpCeVdyLx2guEcOHfJS9mHGCLCXpdAPEIEQEtWLDpEUc0LEhWOx6+k/ChXTc5NpFkdrtGUQ== + dependencies: + "@confio/ics23" "^0.6.8" + "@cosmjs/amino" "^0.32.4" + "@cosmjs/encoding" "^0.32.4" + "@cosmjs/math" "^0.32.4" + "@cosmjs/proto-signing" "^0.32.4" + "@cosmjs/stream" "^0.32.4" + "@cosmjs/tendermint-rpc" "^0.32.4" + "@cosmjs/utils" "^0.32.4" + cosmjs-types "^0.9.0" + xstream "^11.14.0" + +"@cosmjs/stream@^0.32.4": + version "0.32.4" + resolved "https://registry.yarnpkg.com/@cosmjs/stream/-/stream-0.32.4.tgz#83e1f2285807467c56d9ea0e1113f79d9fa63802" + integrity sha512-Gih++NYHEiP+oyD4jNEUxU9antoC0pFSg+33Hpp0JlHwH0wXhtD3OOKnzSfDB7OIoEbrzLJUpEjOgpCp5Z+W3A== + dependencies: + xstream "^11.14.0" + +"@cosmjs/tendermint-rpc@^0.32.4": + version "0.32.4" + resolved "https://registry.yarnpkg.com/@cosmjs/tendermint-rpc/-/tendermint-rpc-0.32.4.tgz#b36f9ec657498e42c97e21bb7368798ef6279752" + integrity sha512-MWvUUno+4bCb/LmlMIErLypXxy7ckUuzEmpufYYYd9wgbdCXaTaO08SZzyFM5PI8UJ/0S2AmUrgWhldlbxO8mw== + dependencies: + "@cosmjs/crypto" "^0.32.4" + "@cosmjs/encoding" "^0.32.4" + "@cosmjs/json-rpc" "^0.32.4" + "@cosmjs/math" "^0.32.4" + "@cosmjs/socket" "^0.32.4" + "@cosmjs/stream" "^0.32.4" + "@cosmjs/utils" "^0.32.4" + axios "^1.6.0" + readonly-date "^1.0.0" + xstream "^11.14.0" + "@cosmjs/utils@^0.32.3": version "0.32.3" resolved "https://registry.yarnpkg.com/@cosmjs/utils/-/utils-0.32.3.tgz#5dcaee6dd7cc846cdc073e9a7a7f63242f5f7e31" integrity sha512-WCZK4yksj2hBDz4w7xFZQTRZQ/RJhBX26uFHmmQFIcNUUVAihrLO+RerqJgk0dZqC42wstM9pEUQGtPmLcIYvg== +"@cosmjs/utils@^0.32.4": + version "0.32.4" + resolved "https://registry.yarnpkg.com/@cosmjs/utils/-/utils-0.32.4.tgz#a9a717c9fd7b1984d9cefdd0ef6c6f254060c671" + integrity sha512-D1Yc+Zy8oL/hkUkFUL/bwxvuDBzRGpc4cF7/SkdhxX4iHpSLgdOuTt1mhCh9+kl6NQREy9t7SYZ6xeW5gFe60w== + "@emotion/cache@^10.0.27": version "10.0.29" resolved "https://registry.yarnpkg.com/@emotion/cache/-/cache-10.0.29.tgz#87e7e64f412c060102d589fe7c6dc042e6f9d1e0" @@ -2403,6 +2534,83 @@ resolved "https://registry.yarnpkg.com/@keystonehq/alias-sampling/-/alias-sampling-0.1.2.tgz#63af931ffe6500aef4c0d87775a5b279189abf8d" integrity sha512-5ukLB3bcgltgaFfQfYKYwHDUbwHicekYo53fSEa7xhVkAEqsA74kxdIwoBIURmGUtXe3EVIRm4SYlgcrt2Ri0w== +"@keystonehq/bc-ur-registry-aptos@^0.6.3": + version "0.6.3" + resolved "https://registry.yarnpkg.com/@keystonehq/bc-ur-registry-aptos/-/bc-ur-registry-aptos-0.6.3.tgz#7a557b16cfecfddc4fb3a2532be7bf77c110940f" + integrity sha512-NJipiLJpu/pxocCUz8yiQUwmjHtu5XEDhhZHoNFE4M5B9WoZTae+wDCt6dTZD42XlePkPIgLAotBKIKmSHMGRQ== + dependencies: + "@keystonehq/bc-ur-registry" "^0.6.4" + bs58check "^2.1.2" + uuid "^8.3.2" + +"@keystonehq/bc-ur-registry-arweave@^0.5.3": + version "0.5.3" + resolved "https://registry.yarnpkg.com/@keystonehq/bc-ur-registry-arweave/-/bc-ur-registry-arweave-0.5.3.tgz#881259fcfdb8aecf2fc81328cf8061a2c988a965" + integrity sha512-b5OAzhW7HLaOX7OEyWA+Bz+4EJIzCT7c+JXU0TElzpBD5rGo4ylf+StuyV6WnuKx5NV11fv9k2XDyHit26CCLA== + dependencies: + "@keystonehq/bc-ur-registry" "^0.6.4" + uuid "^8.3.2" + +"@keystonehq/bc-ur-registry-btc@^0.1.1": + version "0.1.1" + resolved "https://registry.yarnpkg.com/@keystonehq/bc-ur-registry-btc/-/bc-ur-registry-btc-0.1.1.tgz#5363961c2d0c529b01080eb278ff60de6bf5d181" + integrity sha512-LdYqItY1Y/M6fWJNE6L0HYZbKL8CGVP6OigG7T/gJ+SWnOGgYXj3at02aV7b9qZ7iNwJPkNrqsIDN5eajQcZjQ== + dependencies: + "@keystonehq/bc-ur-registry" "^0.6.4" + uuid "^8.3.2" + +"@keystonehq/bc-ur-registry-cardano@^0.5.0": + version "0.5.0" + resolved "https://registry.yarnpkg.com/@keystonehq/bc-ur-registry-cardano/-/bc-ur-registry-cardano-0.5.0.tgz#622e26ea7fa4a87b1276813df0cb8f1bf1c9c185" + integrity sha512-/95c2HkIGPCOfVrawIVGRZDNePxLH94Po9iC91GjV2uo7xuXhicg42IO4CDj6yBh0je9HQ0UoOMErwxyU3jNFg== + dependencies: + "@keystonehq/bc-ur-registry" "^0.6.4" + uuid "^8.3.2" + +"@keystonehq/bc-ur-registry-cosmos@^0.5.3": + version "0.5.3" + resolved "https://registry.yarnpkg.com/@keystonehq/bc-ur-registry-cosmos/-/bc-ur-registry-cosmos-0.5.3.tgz#8b431a6b02ec2d60783d6ce0bdbd116878320f37" + integrity sha512-bCmm2LMM4EHiLrjhfkbzfnwTXi4ez56MfwKYke8Z0roeaJbHmr2KkCg6/MePLjeK9PRbY0jKXBmCowMe2DhfhA== + dependencies: + "@keystonehq/bc-ur-registry" "^0.6.4" + bs58check "^2.1.2" + uuid "^8.3.2" + +"@keystonehq/bc-ur-registry-eth@^0.20.1": + version "0.20.1" + resolved "https://registry.yarnpkg.com/@keystonehq/bc-ur-registry-eth/-/bc-ur-registry-eth-0.20.1.tgz#43e3303dce9a87c61da3d5beb7f5111ae5d6cc19" + integrity sha512-vQpqhj2DeDI1/xwY3eqj1PWgqqTdg53RgMVBUZUV3O8CSc0nbnH4SaP3cx85KEOO+4Loq6SXHbFJr1egalM2ng== + dependencies: + "@ethereumjs/util" "^9.0.3" + "@keystonehq/bc-ur-registry" "^0.6.4" + hdkey "^2.0.1" + uuid "^8.3.2" + +"@keystonehq/bc-ur-registry-evm@^0.5.3": + version "0.5.3" + resolved "https://registry.yarnpkg.com/@keystonehq/bc-ur-registry-evm/-/bc-ur-registry-evm-0.5.3.tgz#086167a53194fbfe070ea066d83bacaaede56e4e" + integrity sha512-K3tmY1Y2SDImtSnCPFoASMBNernbN/ZRIIkp8iKegDeyHtaPbzfNIdaEL/wUHVoieTgTOUTwyWZspBvvbgrivw== + dependencies: + "@keystonehq/bc-ur-registry" "^0.6.4" + bs58check "^2.1.2" + uuid "^9.0.0" + +"@keystonehq/bc-ur-registry-keystone@^0.4.3": + version "0.4.3" + resolved "https://registry.yarnpkg.com/@keystonehq/bc-ur-registry-keystone/-/bc-ur-registry-keystone-0.4.3.tgz#e58ad5e5d17d2a6665c7440e44e58c4d0c24c1f8" + integrity sha512-YTf0p9TYYq9+bfF/wMEE2gbhNiV1S0m31hMwnl+4kn3q1avwlrXZ6h30nANZXD31NQ8hMuLO8x7Ny+0AldmAOA== + dependencies: + "@keystonehq/bc-ur-registry" "^0.6.4" + +"@keystonehq/bc-ur-registry-near@^0.9.3": + version "0.9.3" + resolved "https://registry.yarnpkg.com/@keystonehq/bc-ur-registry-near/-/bc-ur-registry-near-0.9.3.tgz#3b87d284d4afb4bf80f07ef39f3bb59dcf10f1e3" + integrity sha512-+JHxlxwa4pbZXODSZYcIHN42XZZYblNQFp6ogP0yyqct1ayVbAgz/RoYdLrfdNJ4TDvPRClOPDIvZSiUFYCpaw== + dependencies: + "@keystonehq/bc-ur-registry" "^0.6.4" + bs58check "^2.1.2" + uuid "^8.3.2" + "@keystonehq/bc-ur-registry-sol@^0.3.1": version "0.3.1" resolved "https://registry.yarnpkg.com/@keystonehq/bc-ur-registry-sol/-/bc-ur-registry-sol-0.3.1.tgz#5319c7c4a22cc83bbacfa6fe09aaa6fb21363f24" @@ -2412,6 +2620,40 @@ bs58check "^2.1.2" uuid "^8.3.2" +"@keystonehq/bc-ur-registry-sol@^0.9.3": + version "0.9.5" + resolved "https://registry.yarnpkg.com/@keystonehq/bc-ur-registry-sol/-/bc-ur-registry-sol-0.9.5.tgz#f7c9395c38e4734cd49c45318d9342894a05a51b" + integrity sha512-HZeeph9297ZHjAziE9wL/u2W1dmV0p1H9Bu9g1bLJazP4F6W2fjCK9BAoCiKEsMBqadk6KI6r6VD67fmDzWyug== + dependencies: + "@keystonehq/bc-ur-registry" "^0.7.0" + bs58check "^2.1.2" + uuid "^8.3.2" + +"@keystonehq/bc-ur-registry-stellar@^0.0.4": + version "0.0.4" + resolved "https://registry.yarnpkg.com/@keystonehq/bc-ur-registry-stellar/-/bc-ur-registry-stellar-0.0.4.tgz#7acd57738b95102343c292e39ef5c7ab049c474b" + integrity sha512-L/naB3+/386htOrePisgQsTUOIKgIWpXS6FF24TTkyWWr/SHQV3PNOYXOnMto+WKABv6+BbG6AAnsw/7UuONLg== + dependencies: + "@keystonehq/bc-ur-registry" "^0.6.4" + bs58check "^2.1.2" + uuid "^8.3.2" + +"@keystonehq/bc-ur-registry-sui@0.4.0-alpha.0": + version "0.4.0-alpha.0" + resolved "https://registry.yarnpkg.com/@keystonehq/bc-ur-registry-sui/-/bc-ur-registry-sui-0.4.0-alpha.0.tgz#2c25726e1c2f4f351e675bd44b6f54bfc473cd7f" + integrity sha512-pwT+wyRnmnXdwMe2buMq3lQzDWc6kj2rxR8THI7fx3dUjYRzb6H4+/A+qwBlq24RWWtHfptLTPMk+LWVy9ABDA== + dependencies: + "@keystonehq/bc-ur-registry" "^0.6.4" + uuid "^9.0.0" + +"@keystonehq/bc-ur-registry-ton@^0.1.2": + version "0.1.2" + resolved "https://registry.yarnpkg.com/@keystonehq/bc-ur-registry-ton/-/bc-ur-registry-ton-0.1.2.tgz#0847cc01655221015bb138e849777abc195e8b62" + integrity sha512-m36/QODXTbkQQacM8vIopt5RvE/uc/f9f4Jc9VFxsxKWmld3aGwrMsLB1SBSva31kawikOVSMEWXhXlQ07UJhA== + dependencies: + "@keystonehq/bc-ur-registry" "^0.6.4" + uuid "^9.0.0" + "@keystonehq/bc-ur-registry@^0.5.0": version "0.5.5" resolved "https://registry.yarnpkg.com/@keystonehq/bc-ur-registry/-/bc-ur-registry-0.5.5.tgz#b7cd9b08846c627e988933049aac94d3412fbb16" @@ -2421,6 +2663,51 @@ bs58check "^2.1.2" tslib "^2.3.0" +"@keystonehq/bc-ur-registry@^0.6.4": + version "0.6.4" + resolved "https://registry.yarnpkg.com/@keystonehq/bc-ur-registry/-/bc-ur-registry-0.6.4.tgz#9c57ff9687cafdc0d2bbd04dc36676d3a38c1485" + integrity sha512-j8Uy44DuAkvYkbf0jMxRY3UizJfn8wsEQr7GS3miRF44vcq7k0/yemVkftbn3jQ+0JYaUXf5wY7lVpLhAeW5nQ== + dependencies: + "@ngraveio/bc-ur" "^1.1.5" + bs58check "^2.1.2" + tslib "^2.3.0" + +"@keystonehq/bc-ur-registry@^0.7.0": + version "0.7.0" + resolved "https://registry.yarnpkg.com/@keystonehq/bc-ur-registry/-/bc-ur-registry-0.7.0.tgz#d0322d6a5cd2796dd0e40662c47b5a95ec917d9a" + integrity sha512-E6NUd6Y+YYM+IcYGOEXfO9+MU1s63Qjm8brtHftvNhxbdXhGtTYIsa4FQmqZ6q34q91bMkMqUQFsQYPmIxcxfg== + dependencies: + "@ngraveio/bc-ur" "^1.1.5" + bs58check "^2.1.2" + tslib "^2.3.0" + +"@keystonehq/keystone-sdk@^0.9.1": + version "0.9.1" + resolved "https://registry.yarnpkg.com/@keystonehq/keystone-sdk/-/keystone-sdk-0.9.1.tgz#01bab87b055b130deb718c551da45ca3cba1ce85" + integrity sha512-l5Sqf4+iQIGZSVbYJlcjyepYmW+OwAevhSkY5iE+HPD0Ar2AYzebGc9fQr+5Yu1TD7NWxYnlJVlMTLA8u5WHqA== + dependencies: + "@bufbuild/protobuf" "^1.2.0" + "@keystonehq/bc-ur-registry" "^0.7.0" + "@keystonehq/bc-ur-registry-aptos" "^0.6.3" + "@keystonehq/bc-ur-registry-arweave" "^0.5.3" + "@keystonehq/bc-ur-registry-btc" "^0.1.1" + "@keystonehq/bc-ur-registry-cardano" "^0.5.0" + "@keystonehq/bc-ur-registry-cosmos" "^0.5.3" + "@keystonehq/bc-ur-registry-eth" "^0.20.1" + "@keystonehq/bc-ur-registry-evm" "^0.5.3" + "@keystonehq/bc-ur-registry-keystone" "^0.4.3" + "@keystonehq/bc-ur-registry-near" "^0.9.3" + "@keystonehq/bc-ur-registry-sol" "^0.9.3" + "@keystonehq/bc-ur-registry-stellar" "^0.0.4" + "@keystonehq/bc-ur-registry-sui" "0.4.0-alpha.0" + "@keystonehq/bc-ur-registry-ton" "^0.1.2" + "@ngraveio/bc-ur" "^1.1.6" + "@noble/hashes" "^1.5.0" + bs58check "^3.0.1" + pako "^2.1.0" + ripple-binary-codec "^1.4.3" + uuid "^9.0.0" + "@keystonehq/sdk@^0.13.1": version "0.13.1" resolved "https://registry.yarnpkg.com/@keystonehq/sdk/-/sdk-0.13.1.tgz#782a1f71cfc38a7635a8bcb0cb99ae403a6316a8" @@ -2799,6 +3086,13 @@ dependencies: bs58 "^5.0.0" +"@mysten/bcs@0.7.4": + version "0.7.4" + resolved "https://registry.yarnpkg.com/@mysten/bcs/-/bcs-0.7.4.tgz#1e32ec3d1fa68a0ed98323e604a741728927e421" + integrity sha512-6DKzM4L10Au3Og5EJRBqJZmXWZ7hS/clVjbVUH4sA0aFtS3AZo2xc+r5fUFfdJbaWZUxVaDiQ8BNiEZWkAnEOw== + dependencies: + bs58 "^5.0.0" + "@mysten/dapp-kit@0.13.2": version "0.13.2" resolved "https://registry.yarnpkg.com/@mysten/dapp-kit/-/dapp-kit-0.13.2.tgz#6093af2650399a442bca649720a9c094b6ef3ae1" @@ -2816,6 +3110,22 @@ clsx "^2.0.0" zustand "^4.4.1" +"@mysten/sui.js@0.41.2": + version "0.41.2" + resolved "https://registry.yarnpkg.com/@mysten/sui.js/-/sui.js-0.41.2.tgz#0ef09ce8777f254c1a25f4108fb55c4755a60943" + integrity sha512-00Kkk4don9H9iRWBqXfRC4wUPY0hqAvmzxhwaYZIHj9Tmb71Nx51zLLFsxeA7dlR6cJFaXFMbZkt6WR2vP8WLQ== + dependencies: + "@mysten/bcs" "0.7.4" + "@noble/curves" "^1.1.0" + "@noble/hashes" "^1.3.1" + "@open-rpc/client-js" "^1.8.1" + "@scure/bip32" "^1.3.1" + "@scure/bip39" "^1.2.1" + "@suchipi/femver" "^1.0.0" + events "^3.3.0" + superstruct "^1.0.3" + tweetnacl "^1.0.3" + "@mysten/sui.js@0.54.1": version "0.54.1" resolved "https://registry.yarnpkg.com/@mysten/sui.js/-/sui.js-0.54.1.tgz#27b6724dd30e0e81d50b47437cb206d0cec25f8b" @@ -2842,6 +3152,14 @@ "@mysten/sui.js" "0.54.1" "@wallet-standard/core" "1.0.3" +"@mysten/wallet-standard@^0.7.2": + version "0.7.2" + resolved "https://registry.yarnpkg.com/@mysten/wallet-standard/-/wallet-standard-0.7.2.tgz#8e2019214f59e69a897a0b30cef4dea30be091fb" + integrity sha512-uePMPtQcSRX+ZQ44DO4U65QxFXVa9tB/cPnEGqe+YOn76hzR2Al4wQQciex/Y1EZK7GYATAzrFLzNSIJYE7QSA== + dependencies: + "@mysten/sui.js" "0.41.2" + "@wallet-standard/core" "1.0.3" + "@mysten/zksend@0.8.2": version "0.8.2" resolved "https://registry.yarnpkg.com/@mysten/zksend/-/zksend-0.8.2.tgz#0ac3fcea8c15abb671dbfc28d38f2ddada7a74c2" @@ -2910,7 +3228,7 @@ resolved "https://registry.yarnpkg.com/@next/swc-win32-x64-msvc/-/swc-win32-x64-msvc-13.5.6.tgz#4a3e2a206251abc729339ba85f60bc0433c2865d" integrity sha512-Cqfe1YmOS7k+5mGu92nl5ULkzpKuxJrP3+4AEuPmrpFZ3BHxTY3TnHmU1On3bFmFFs6FbTcdF58CCUProGpIGQ== -"@ngraveio/bc-ur@^1.0.0", "@ngraveio/bc-ur@^1.1.5": +"@ngraveio/bc-ur@^1.0.0", "@ngraveio/bc-ur@^1.1.5", "@ngraveio/bc-ur@^1.1.6": version "1.1.13" resolved "https://registry.yarnpkg.com/@ngraveio/bc-ur/-/bc-ur-1.1.13.tgz#27719fd3e745ccdbe97a7950905edcd1fed4844b" integrity sha512-j73akJMV4+vLR2yQ4AphPIT5HZmxVjn/LxpL7YHoINnXoH6ccc90Zzck6/n6a3bCXOVZwBxq+YHwbAKRV+P8Zg== @@ -2923,6 +3241,13 @@ jsbi "^3.1.5" sha.js "^2.4.11" +"@noble/curves@1.2.0", "@noble/curves@^1.1.0", "@noble/curves@~1.2.0": + version "1.2.0" + resolved "https://registry.yarnpkg.com/@noble/curves/-/curves-1.2.0.tgz#92d7e12e4e49b23105a2555c6984d41733d65c35" + integrity sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw== + dependencies: + "@noble/hashes" "1.3.2" + "@noble/curves@1.3.0", "@noble/curves@~1.3.0": version "1.3.0" resolved "https://registry.yarnpkg.com/@noble/curves/-/curves-1.3.0.tgz#01be46da4fd195822dab821e72f71bf4aeec635e" @@ -2930,13 +3255,6 @@ dependencies: "@noble/hashes" "1.3.3" -"@noble/curves@^1.1.0", "@noble/curves@~1.2.0": - version "1.2.0" - resolved "https://registry.yarnpkg.com/@noble/curves/-/curves-1.2.0.tgz#92d7e12e4e49b23105a2555c6984d41733d65c35" - integrity sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw== - dependencies: - "@noble/hashes" "1.3.2" - "@noble/curves@^1.3.0", "@noble/curves@^1.4.0": version "1.4.0" resolved "https://registry.yarnpkg.com/@noble/curves/-/curves-1.4.0.tgz#f05771ef64da724997f69ee1261b2417a49522d6" @@ -2976,6 +3294,11 @@ resolved "https://registry.yarnpkg.com/@noble/hashes/-/hashes-1.6.0.tgz#d4bfb516ad6e7b5111c216a5cc7075f4cf19e6c5" integrity sha512-YUULf0Uk4/mAA89w+k3+yUYh6NrEvxZa5T6SY3wlMvE2chHkxFUUIDI8/XW1QSC357iA5pSnqt7XEhvFOqmDyQ== +"@noble/hashes@^1.0.0", "@noble/hashes@^1.3.0", "@noble/hashes@^1.5.0": + version "1.7.0" + resolved "https://registry.yarnpkg.com/@noble/hashes/-/hashes-1.7.0.tgz#5d9e33af2c7d04fee35de1519b80c958b2e35e39" + integrity sha512-HXydb0DgzTpDPwbVeDGCG1gIu7X6+AuU6Zl6av/E/KG8LMsvPntvq+w17CHRpKBmN6Ybdrt1eP3k4cj8DJa78w== + "@noble/hashes@~1.3.0": version "1.3.0" resolved "https://registry.yarnpkg.com/@noble/hashes/-/hashes-1.3.0.tgz#085fd70f6d7d9d109671090ccae1d3bec62554a1" @@ -3012,6 +3335,156 @@ "@nodelib/fs.scandir" "2.1.5" fastq "^1.6.0" +"@onekeyfe/cross-inpage-provider-core@2.2.7-alpha.3": + version "2.2.7-alpha.3" + resolved "https://registry.yarnpkg.com/@onekeyfe/cross-inpage-provider-core/-/cross-inpage-provider-core-2.2.7-alpha.3.tgz#f4e0ee50e7e4a612cf62897791103e266e764708" + integrity sha512-qJmN1a6zGPqCJPJsknt1HfKTi7GpS8R2y+jKPCM6f30hBRGRF8Nu5WXqJKlFuXvHXtLVD363fu2Kq7xw5syB1A== + dependencies: + "@onekeyfe/cross-inpage-provider-errors" "2.2.7-alpha.3" + "@onekeyfe/cross-inpage-provider-events" "2.2.7-alpha.3" + "@onekeyfe/cross-inpage-provider-types" "2.2.7-alpha.3" + events "^3.3.0" + lodash-es "^4.17.21" + ms "^2.1.3" + +"@onekeyfe/cross-inpage-provider-errors@2.2.7-alpha.3": + version "2.2.7-alpha.3" + resolved "https://registry.yarnpkg.com/@onekeyfe/cross-inpage-provider-errors/-/cross-inpage-provider-errors-2.2.7-alpha.3.tgz#13d21c4c9d0906f8b76abb239f4bb02aff9cc778" + integrity sha512-fkhwbNu5hYa/+fuj2gyU7jxxoVjYA7VYJ6s1AXi6+VMlpZaUlONekciJooqQlT2xSxLUFOeNBn837DQY/a018Q== + dependencies: + fast-safe-stringify "^2.0.6" + +"@onekeyfe/cross-inpage-provider-events@2.2.7-alpha.3": + version "2.2.7-alpha.3" + resolved "https://registry.yarnpkg.com/@onekeyfe/cross-inpage-provider-events/-/cross-inpage-provider-events-2.2.7-alpha.3.tgz#ade3040ea400a4a54d699dbbda6a710cf01e230d" + integrity sha512-2XJmGoURhnQwX4dnRvUFtONrMSaWbC2IKqa+/3MoJC7LdZWGHWIeJ3HqufVqN7gBskA5ybdlfckg8lFi1V1L1w== + +"@onekeyfe/cross-inpage-provider-types@2.2.7-alpha.3": + version "2.2.7-alpha.3" + resolved "https://registry.yarnpkg.com/@onekeyfe/cross-inpage-provider-types/-/cross-inpage-provider-types-2.2.7-alpha.3.tgz#683a5bc72a1bac695f44ba2ab2fe394e7c0a6bbd" + integrity sha512-IAVYnOO94Qga3P/BxsImNUWFDI3Dqci/Xr9MoQ7euDAFf6g2+pRlemcM1wC6HijXzM+MUs5rwmd99JGMojRX2A== + +"@onekeyfe/extension-bridge-injected@2.2.7-alpha.3": + version "2.2.7-alpha.3" + resolved "https://registry.yarnpkg.com/@onekeyfe/extension-bridge-injected/-/extension-bridge-injected-2.2.7-alpha.3.tgz#fbca7eeb4f6cf3a51d3c43cc2ccff1fd42d1363a" + integrity sha512-0AxDkF3at8MDcwNTgApsxrFBo4vz53Y/oDiN1NrbWspqT0e6L46CSLikCrjZCZguweH/ulnvthzAyAfmuI6wvQ== + dependencies: + "@onekeyfe/cross-inpage-provider-core" "2.2.7-alpha.3" + "@onekeyfe/cross-inpage-provider-types" "2.2.7-alpha.3" + +"@onekeyfe/onekey-aptos-provider@2.2.7-alpha.3": + version "2.2.7-alpha.3" + resolved "https://registry.yarnpkg.com/@onekeyfe/onekey-aptos-provider/-/onekey-aptos-provider-2.2.7-alpha.3.tgz#467c847fad618fc2d3c1fee2144062ca6fdcf159" + integrity sha512-suDZrOQvloKOacLrXTeNV8fugBQx03iJwXN+fgA0KDazwH2GFXQq0z7+msW93Bd2M9Zijj0VRrtcjPZi64v0Yg== + dependencies: + "@aptos-labs/wallet-standard" "^0.2.0" + "@onekeyfe/cross-inpage-provider-core" "2.2.7-alpha.3" + "@onekeyfe/cross-inpage-provider-errors" "2.2.7-alpha.3" + "@onekeyfe/cross-inpage-provider-types" "2.2.7-alpha.3" + "@onekeyfe/extension-bridge-injected" "2.2.7-alpha.3" + "@wallet-standard/core" "1.0.3" + eth-rpc-errors "^4.0.3" + +"@onekeyfe/onekey-cardano-provider@2.2.7-alpha.3": + version "2.2.7-alpha.3" + resolved "https://registry.yarnpkg.com/@onekeyfe/onekey-cardano-provider/-/onekey-cardano-provider-2.2.7-alpha.3.tgz#b2f9e9da639af5121d7f79ee739a4ff02c985184" + integrity sha512-OKmqma22XjpvJx6T+S8b9yy63HNU1WMLKbIAVt0oGDZq+rr2s+etLQwR06aOBoT9uF4hT9Uis+7Nafu1iyyCbQ== + dependencies: + "@onekeyfe/cross-inpage-provider-core" "2.2.7-alpha.3" + "@onekeyfe/cross-inpage-provider-errors" "2.2.7-alpha.3" + "@onekeyfe/cross-inpage-provider-types" "2.2.7-alpha.3" + "@onekeyfe/extension-bridge-injected" "2.2.7-alpha.3" + +"@onekeyfe/onekey-conflux-provider@2.2.7-alpha.3": + version "2.2.7-alpha.3" + resolved "https://registry.yarnpkg.com/@onekeyfe/onekey-conflux-provider/-/onekey-conflux-provider-2.2.7-alpha.3.tgz#10abb4fdf7dc732b16da982ad0a2c8b7f589e115" + integrity sha512-AbzQTk80DzR+A53b2sVKL3ql1i1WqzEXpFicGrdIxiiEAHSG3sFBpAShRXuScbHeMoX38RIP2SQSGcOueVFUzw== + dependencies: + "@onekeyfe/cross-inpage-provider-core" "2.2.7-alpha.3" + "@onekeyfe/cross-inpage-provider-errors" "2.2.7-alpha.3" + "@onekeyfe/cross-inpage-provider-types" "2.2.7-alpha.3" + "@onekeyfe/extension-bridge-injected" "2.2.7-alpha.3" + +"@onekeyfe/onekey-cosmos-provider@2.2.7-alpha.3": + version "2.2.7-alpha.3" + resolved "https://registry.yarnpkg.com/@onekeyfe/onekey-cosmos-provider/-/onekey-cosmos-provider-2.2.7-alpha.3.tgz#0c7f481a3c895336fdf087b1caed5a3831cc915f" + integrity sha512-4Kr5jUuSx8uympTiL1XCdWWef7jrnkytlvSTrJKuKPGqZenz1Oy2XRafvv8zpPAYS/UgPhhF65QIUgFP42M9LQ== + dependencies: + "@noble/hashes" "^1.3.0" + "@onekeyfe/cross-inpage-provider-core" "2.2.7-alpha.3" + "@onekeyfe/cross-inpage-provider-errors" "2.2.7-alpha.3" + "@onekeyfe/cross-inpage-provider-types" "2.2.7-alpha.3" + "@onekeyfe/extension-bridge-injected" "2.2.7-alpha.3" + eth-rpc-errors "^4.0.3" + lodash-es "^4.17.21" + long "^4.0.0" + mitt "^3.0.0" + +"@onekeyfe/onekey-near-provider@2.2.7-alpha.3": + version "2.2.7-alpha.3" + resolved "https://registry.yarnpkg.com/@onekeyfe/onekey-near-provider/-/onekey-near-provider-2.2.7-alpha.3.tgz#871fe3a55978a894afdd0d9cf3125954db1af44f" + integrity sha512-olfpGm/OOTybDGLwRB4PJTNGopp6padqboy2SpIRrAhncStEXpm1DTt1U62kcn6RYhhRkVx01fOkPYWgAz/SyQ== + dependencies: + "@onekeyfe/cross-inpage-provider-core" "2.2.7-alpha.3" + "@onekeyfe/cross-inpage-provider-errors" "2.2.7-alpha.3" + "@onekeyfe/cross-inpage-provider-types" "2.2.7-alpha.3" + "@onekeyfe/extension-bridge-injected" "2.2.7-alpha.3" + borsh "^0.6.0" + depd "^2.0.0" + tweetnacl "^1.0.3" + +"@onekeyfe/onekey-solana-provider@2.2.7-alpha.3": + version "2.2.7-alpha.3" + resolved "https://registry.yarnpkg.com/@onekeyfe/onekey-solana-provider/-/onekey-solana-provider-2.2.7-alpha.3.tgz#30adeb1113d99d4b9a116aaab5dc4f43c0b7676c" + integrity sha512-vUhl8ZqLD2U5075ztP3CEr8JmDYoEDtkU6zlUT4/4sPvcpaIbhEY83Vt28gn+dtZYl63VOdlXWL9rGoDo2nmfA== + dependencies: + "@onekeyfe/cross-inpage-provider-core" "2.2.7-alpha.3" + "@onekeyfe/cross-inpage-provider-errors" "2.2.7-alpha.3" + "@onekeyfe/cross-inpage-provider-types" "2.2.7-alpha.3" + "@onekeyfe/extension-bridge-injected" "2.2.7-alpha.3" + "@solana/wallet-standard-features" "^1.1.0" + "@solana/web3.js" "^1.98.0" + "@wallet-standard/base" "^1.0.1" + bs58 "^5.0.0" + +"@onekeyfe/onekey-sui-provider@2.2.7-alpha.3": + version "2.2.7-alpha.3" + resolved "https://registry.yarnpkg.com/@onekeyfe/onekey-sui-provider/-/onekey-sui-provider-2.2.7-alpha.3.tgz#f92f8ff249978a02d8e657a4c5278c5245a03ad0" + integrity sha512-Ox3TKEFlm0fUo/NVjhU3g6U8St3d9R7bMIXe6vMqbK5NMpFxbu3rv//cOeTkUryRPdV6zgRHrKq65amQo2US2A== + dependencies: + "@mysten/wallet-standard" "^0.7.2" + "@onekeyfe/cross-inpage-provider-core" "2.2.7-alpha.3" + "@onekeyfe/cross-inpage-provider-errors" "2.2.7-alpha.3" + "@onekeyfe/cross-inpage-provider-types" "2.2.7-alpha.3" + "@onekeyfe/extension-bridge-injected" "2.2.7-alpha.3" + eth-rpc-errors "^4.0.3" + mitt "^3.0.0" + +"@onekeyfe/onekey-tron-provider@2.2.7-alpha.3": + version "2.2.7-alpha.3" + resolved "https://registry.yarnpkg.com/@onekeyfe/onekey-tron-provider/-/onekey-tron-provider-2.2.7-alpha.3.tgz#750b67f17460ec5771795ca5591982dbdbbbd890" + integrity sha512-Y4HZqLXL/9NMGY5C9avONgI9FdJij04g/aa/befpgi1rJx+QeStdK8sv2AmV6wUxfkVp8alhs2xYHTr5iibAnw== + dependencies: + "@noble/secp256k1" "1.7.1" + "@onekeyfe/cross-inpage-provider-core" "2.2.7-alpha.3" + "@onekeyfe/cross-inpage-provider-errors" "2.2.7-alpha.3" + "@onekeyfe/cross-inpage-provider-types" "2.2.7-alpha.3" + "@onekeyfe/extension-bridge-injected" "2.2.7-alpha.3" + lodash-es "^4.17.21" + querystring "^0.2.1" + sunweb "^1.0.7" + tronweb "^5.3.2" + +"@onekeyfe/onekey-webln-provider@2.2.7-alpha.3": + version "2.2.7-alpha.3" + resolved "https://registry.yarnpkg.com/@onekeyfe/onekey-webln-provider/-/onekey-webln-provider-2.2.7-alpha.3.tgz#86512269d22d367064bf20a62eff78fb3f2d9170" + integrity sha512-nsh1eEP9ETZ2grbCLiY3CyRNR7Kperp+XI9HrpZiRsw3hbCbEmWwQNkFmorBZXeb/SZd+olO7jDL1djHJV0HIw== + dependencies: + "@onekeyfe/cross-inpage-provider-core" "2.2.7-alpha.3" + "@onekeyfe/cross-inpage-provider-errors" "2.2.7-alpha.3" + "@onekeyfe/cross-inpage-provider-types" "2.2.7-alpha.3" + "@onekeyfe/extension-bridge-injected" "2.2.7-alpha.3" + "@open-draft/deferred-promise@^2.2.0": version "2.2.0" resolved "https://registry.yarnpkg.com/@open-draft/deferred-promise/-/deferred-promise-2.2.0.tgz#4a822d10f6f0e316be4d67b4d4f8c9a124b073bd" @@ -5375,7 +5848,7 @@ "@solana/wallet-standard-core" "^1.1.1" "@solana/wallet-standard-wallet-adapter" "^1.1.2" -"@solana/web3.js@^1.32.0": +"@solana/web3.js@^1.32.0", "@solana/web3.js@^1.98.0": version "1.98.0" resolved "https://registry.yarnpkg.com/@solana/web3.js/-/web3.js-1.98.0.tgz#21ecfe8198c10831df6f0cfde7f68370d0405917" integrity sha512-nz3Q5OeyGFpFCR+erX2f6JPt3sKhzhYcSycBCSPkWjzSVDh/Rr1FqTVMRe58FKO16/ivTUcuJjeS5MyBvpkbzA== @@ -5753,6 +6226,30 @@ resolved "https://registry.yarnpkg.com/@telegram-apps/types/-/types-1.0.1.tgz#211597cfa0d515b544917e491031f07c01faf394" integrity sha512-8tGy1zG/1MEt0KF8nR0ffZ93whKveEJIkBI+qxHCRgatKwKVJV2dVSXrrBspFKn7FIIo1/CvmB8zP4vKPzglbg== +"@tomo-inc/tomo-wallet-provider@1.1.6": + version "1.1.6" + resolved "https://registry.yarnpkg.com/@tomo-inc/tomo-wallet-provider/-/tomo-wallet-provider-1.1.6.tgz#a4f98af7570fd28fe0d1d3162886f96cd1486f89" + integrity sha512-DZKYpMlTzY9qI3kCFs+Rc2JLEgrxrSrPexdjfVvcDoitcoE/pPpLZgW34BhbaE/VdFfeL0vqTXS3iqZ0LpPFUg== + dependencies: + buffer "^6.0.3" + events "^3.3.0" + long "^5.2.3" + +"@tomo-inc/wallet-connect-sdk@^0.3.10": + version "0.3.10" + resolved "https://registry.yarnpkg.com/@tomo-inc/wallet-connect-sdk/-/wallet-connect-sdk-0.3.10.tgz#f9a3737dfe6a8e358fbbd5c46e46acebd8d792cc" + integrity sha512-na8AwSYa9ZH4o70yUao0Dd1srvh+HA843Bcv0J/ZySXvIusIFOFK7ok5N6lXj9qqEjaZ+qTjvi+nRP141QUU8w== + dependencies: + "@tomo-inc/tomo-wallet-provider" "1.1.6" + animate.css "^4.1.1" + buffer "^6.0.3" + classnames "^2.5.1" + clsx "^2.1.0" + immutability-helper "^3.1.1" + jotai "^2.9.0" + long "^5.2.3" + tailwind-merge "2.2.2" + "@ton/core@^0.57.0": version "0.57.0" resolved "https://registry.yarnpkg.com/@ton/core/-/core-0.57.0.tgz#fdf2d32848a3d1135b890e9a5bd8295e958a4a81" @@ -6126,6 +6623,11 @@ varuint-bitcoin "^1.1.2" wif "^4.0.0" +"@tronweb3/google-protobuf@^3.21.2": + version "3.21.4" + resolved "https://registry.yarnpkg.com/@tronweb3/google-protobuf/-/google-protobuf-3.21.4.tgz#611e5b4f6d084c24301e1ee583fe09dc7fcfe41a" + integrity sha512-joxgV4esCdyZ921AprMIG1T7HjkypquhbJ5qJti/priCBJhRE1z9GOxIEMvayxSVSRbMGIoJNE0Knrg3vpwM1w== + "@types/bn.js@^4.11.3": version "4.11.6" resolved "https://registry.yarnpkg.com/@types/bn.js/-/bn.js-4.11.6.tgz#c306c70d9358aaea33cd4eda092a742b9505967c" @@ -6261,7 +6763,7 @@ resolved "https://registry.yarnpkg.com/@types/lodash/-/lodash-4.17.4.tgz#0303b64958ee070059e3a7184048a55159fe20b7" integrity sha512-wYCP26ZLxaT3R39kiN2+HcJ4kTd3U1waI/cY7ivWYqFP6pW3ZNpvi6Wd6PHZx7T/t8z0vlkXMg3QYLa7DZ/IJQ== -"@types/long@^4.0.0": +"@types/long@^4.0.0", "@types/long@^4.0.1": version "4.0.2" resolved "https://registry.yarnpkg.com/@types/long/-/long-4.0.2.tgz#b74129719fc8d11c01868010082d483b7545591a" integrity sha512-MqTGEo5bj5t157U6fA/BiDynNkn0YknVdh48CMPkTSpFTVmvao5UQmm7uEF6xBEo7qIMAlY/JSleYaE6VOdpaA== @@ -6295,6 +6797,13 @@ resolved "https://registry.yarnpkg.com/@types/node/-/node-11.11.6.tgz#df929d1bb2eee5afdda598a41930fe50b43eaa6a" integrity sha512-Exw4yUWMBXM3X+8oqzJNRqZSwUAaS4+7NdvHqQuFi/d+synz++xmX3QIf+BFqneW8N31R8Ky+sikfZUXq07ggQ== +"@types/node@22.7.5": + version "22.7.5" + resolved "https://registry.yarnpkg.com/@types/node/-/node-22.7.5.tgz#cfde981727a7ab3611a481510b473ae54442b92b" + integrity sha512-jML7s2NAzMWc//QSJ1a3prpk78cOPchGvXJsC3C6R6PSMoooztvRVQEz89gmBTBY1SPMaqo5teB4uNHPdetShQ== + dependencies: + undici-types "~6.19.2" + "@types/node@>=13.7.0": version "20.12.12" resolved "https://registry.yarnpkg.com/@types/node/-/node-20.12.12.tgz#7cbecdf902085cec634fdb362172dfe12b8f2050" @@ -7107,6 +7616,11 @@ aes-js@3.0.0: resolved "https://registry.yarnpkg.com/aes-js/-/aes-js-3.0.0.tgz#e21df10ad6c2053295bcbb8dab40b09dbea87e4d" integrity sha512-H7wUZRn8WpTq9jocdxQ2c8x2sKo9ZVmzfRE13GiNJXfp7NcKYEdvl3vspKjXox6RIG2VtaRe4JFvxG4rqp2Zuw== +aes-js@4.0.0-beta.5: + version "4.0.0-beta.5" + resolved "https://registry.yarnpkg.com/aes-js/-/aes-js-4.0.0-beta.5.tgz#8d2452c52adedebc3a3e28465d858c11ca315873" + integrity sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q== + agent-base@6, agent-base@^6.0.2: version "6.0.2" resolved "https://registry.yarnpkg.com/agent-base/-/agent-base-6.0.2.tgz#49fff58577cfee3f37176feab4c22e00f86d7f77" @@ -7156,6 +7670,11 @@ algosdk@^2.8.0: tweetnacl "^1.0.3" vlq "^2.0.4" +animate.css@^4.1.1: + version "4.1.1" + resolved "https://registry.yarnpkg.com/animate.css/-/animate.css-4.1.1.tgz#614ec5a81131d7e4dc362a58143f7406abd68075" + integrity sha512-+mRmCTv6SbCmtYJCN4faJMNFVNN5EuCTTprDTAo7YzIGji2KADmakjVA3+8mVDkZ2Bf09vayB35lSQIex2+QaQ== + anser@^1.4.9: version "1.4.10" resolved "https://registry.yarnpkg.com/anser/-/anser-1.4.10.tgz#befa3eddf282684bd03b63dcda3927aef8c2e35b" @@ -7538,6 +8057,15 @@ axios@^1.6.0: form-data "^4.0.0" proxy-from-env "^1.1.0" +axios@^1.6.2: + version "1.7.9" + resolved "https://registry.yarnpkg.com/axios/-/axios-1.7.9.tgz#d7d071380c132a24accda1b2cfc1535b79ec650a" + integrity sha512-LhLcE7Hbiryz8oMDdDptSrWowmB4Bl6RCt6sIJKpRB4XtVf0iEgewX3au/pJqm+Py1kCASkb/FFKjxQaLtxJvw== + dependencies: + follow-redirects "^1.15.6" + form-data "^4.0.0" + proxy-from-env "^1.1.0" + axios@^1.6.7: version "1.7.7" resolved "https://registry.yarnpkg.com/axios/-/axios-1.7.7.tgz#2f554296f9892a72ac8d8e4c5b79c14a91d0a47f" @@ -7631,6 +8159,14 @@ babel-plugin-transform-flow-enums@^0.0.2: dependencies: "@babel/plugin-syntax-flow" "^7.12.1" +babel-runtime@^6.26.0: + version "6.26.0" + resolved "https://registry.yarnpkg.com/babel-runtime/-/babel-runtime-6.26.0.tgz#965c7058668e82b55d7bfe04ff2337bc8b5647fe" + integrity sha512-ITKNuq2wKlW1fJg9sSW52eepoYgZBggvOAHC0u/CYu/qxQ9EVzThCgR69BnSXLHjy2f7SY5zaQ4yt7H9ZVxY2g== + dependencies: + core-js "^2.4.0" + regenerator-runtime "^0.11.0" + balanced-match@^1.0.0: version "1.0.2" resolved "https://registry.yarnpkg.com/balanced-match/-/balanced-match-1.0.2.tgz#e83e3a7e3f300b34cb9d87f615fa0cbf357690ee" @@ -8394,7 +8930,7 @@ class-variance-authority@^0.7.0: dependencies: clsx "2.0.0" -classnames@^2.3.2: +classnames@^2.3.2, classnames@^2.5.1: version "2.5.1" resolved "https://registry.yarnpkg.com/classnames/-/classnames-2.5.1.tgz#ba774c614be0f016da105c858e7159eae8e7687b" integrity sha512-saHYOzhIQs6wy2sVxTM6bUDsQO4F50V9RQ22qBpEdCW+I+/Wmke2HOl6lS6dTpdxVhb88/I6+Hs+438c3lfUow== @@ -8483,7 +9019,7 @@ clsx@2.0.0: resolved "https://registry.yarnpkg.com/clsx/-/clsx-2.0.0.tgz#12658f3fd98fafe62075595a5c30e43d18f3d00b" integrity sha512-rQ1+kcj+ttHG0MKVGBUXwayCCF1oh39BF5COIpRzuCEv8Mwjv0XucrI2ExNTOn9IlLifGClWQcU9BrZORvtw6Q== -clsx@^2.0.0, clsx@^2.1.1: +clsx@^2.0.0, clsx@^2.1.0, clsx@^2.1.1: version "2.1.1" resolved "https://registry.yarnpkg.com/clsx/-/clsx-2.1.1.tgz#eed397c9fd8bd882bfb18deab7102049a2f32999" integrity sha512-eYm0QWBtUrBWZWG0d386OGAw16Z995PiOVo2B7bjWSbHedGl5e0ZWaq65kOGgUSNesEIDkB9ISbTg/JK9dhCZA== @@ -8692,6 +9228,11 @@ core-js-compat@^3.36.1: dependencies: browserslist "^4.23.0" +core-js@^2.4.0: + version "2.6.12" + resolved "https://registry.yarnpkg.com/core-js/-/core-js-2.6.12.tgz#d9333dfa7b065e347cc5682219d6f690859cc2ec" + integrity sha512-Kb2wC0fvsWfQrgk8HU5lW6U/Lcs8+9aaYcy4ZFc6DDlo4nZ7n70dEgE5rtR0oG6ufKDUnrwfWL1mXR5ljDatrQ== + core-util-is@~1.0.0: version "1.0.3" resolved "https://registry.yarnpkg.com/core-util-is/-/core-util-is-1.0.3.tgz#a6042d3634c2b27e9328f837b965fac83808db85" @@ -9281,6 +9822,19 @@ elliptic@^6.4.0, elliptic@^6.5.3, elliptic@^6.5.5: minimalistic-assert "^1.0.1" minimalistic-crypto-utils "^1.0.1" +elliptic@^6.5.7: + version "6.6.1" + resolved "https://registry.yarnpkg.com/elliptic/-/elliptic-6.6.1.tgz#3b8ffb02670bf69e382c7f65bf524c97c5405c06" + integrity sha512-RaddvvMatK2LJHqFJ+YA4WysVN5Ita9E35botqIYspQ4TkRAlCicdzKOjlyv/1Za5RyTNn7di//eEV0uTAfe3g== + dependencies: + bn.js "^4.11.9" + brorand "^1.1.0" + hash.js "^1.0.0" + hmac-drbg "^1.0.1" + inherits "^2.0.4" + minimalistic-assert "^1.0.1" + minimalistic-crypto-utils "^1.0.1" + emoji-regex@^7.0.1: version "7.0.3" resolved "https://registry.yarnpkg.com/emoji-regex/-/emoji-regex-7.0.3.tgz#933a04052860c85e83c122479c4748a8e4c72156" @@ -9964,6 +10518,19 @@ ethers@5.7.2: "@ethersproject/web" "5.7.1" "@ethersproject/wordlists" "5.7.0" +ethers@^6.6.0: + version "6.13.5" + resolved "https://registry.yarnpkg.com/ethers/-/ethers-6.13.5.tgz#8c1d6ac988ac08abc3c1d8fabbd4b8b602851ac4" + integrity sha512-+knKNieu5EKRThQJWwqaJ10a6HE9sSehGeqWN65//wE7j47ZpFhKAnHB/JJFibwwg61I/koxaPsXbXpD/skNOQ== + dependencies: + "@adraffy/ens-normalize" "1.10.1" + "@noble/curves" "1.2.0" + "@noble/hashes" "1.3.2" + "@types/node" "22.7.5" + aes-js "4.0.0-beta.5" + tslib "2.7.0" + ws "8.17.1" + ethjs-util@0.1.6: version "0.1.6" resolved "https://registry.yarnpkg.com/ethjs-util/-/ethjs-util-0.1.6.tgz#f308b62f185f9fe6237132fb2a9818866a5cd536" @@ -9982,6 +10549,11 @@ event-target-shim@^5.0.0, event-target-shim@^5.0.1: resolved "https://registry.yarnpkg.com/event-target-shim/-/event-target-shim-5.0.1.tgz#5d4d3ebdf9583d63a5333ce2deb7480ab2b05789" integrity sha512-i/2XbnSz/uxRCU6+NdVJgKWDTM427+MqYbkQzD321DuCQJUqOuJKIA0IM2+W2xtYHdKOmZ4dR6fExsd4SXL+WQ== +eventemitter3@^3.1.0: + version "3.1.2" + resolved "https://registry.yarnpkg.com/eventemitter3/-/eventemitter3-3.1.2.tgz#2d3d48f9c346698fce83a85d7d664e98535df6e7" + integrity sha512-tvtQIeLVHjDkJYnzf2dgVMxfuSGJeM/7UCG17TT4EumTfNtF+0nebF/4zWOIkCreAbtNqhGEboB6BWrwqNaw4Q== + eventemitter3@^4.0.7: version "4.0.7" resolved "https://registry.yarnpkg.com/eventemitter3/-/eventemitter3-4.0.7.tgz#2de9b68f6528d5644ef5c59526a1b4a07306169f" @@ -10634,6 +11206,14 @@ globals@^13.19.0: dependencies: type-fest "^0.20.2" +globalthis@^1.0.1: + version "1.0.4" + resolved "https://registry.yarnpkg.com/globalthis/-/globalthis-1.0.4.tgz#7430ed3a975d97bfb59bcce41f5cabbafa651236" + integrity sha512-DpLKbNU4WylpxJykQujfCcwYWiV/Jhm50Goo0wrVILAv5jOr9d+H+UR3PhSCD2rCCEIg0uc+G+muBTwD54JhDQ== + dependencies: + define-properties "^1.2.1" + gopd "^1.0.1" + globalthis@^1.0.3: version "1.0.3" resolved "https://registry.yarnpkg.com/globalthis/-/globalthis-1.0.3.tgz#5852882a52b80dc301b0660273e1ed082f0b6ccf" @@ -10842,6 +11422,16 @@ hasown@^2.0.0: dependencies: function-bind "^1.1.2" +hdkey@^2.0.1: + version "2.1.0" + resolved "https://registry.yarnpkg.com/hdkey/-/hdkey-2.1.0.tgz#755b30b73f54e93c31919c1b2f19205a8e57cb92" + integrity sha512-i9Wzi0Dy49bNS4tXXeGeu0vIcn86xXdPQUpEYg+SO1YiO8HtomjmmRMaRyqL0r59QfcD4PfVbSF3qmsWFwAemA== + dependencies: + bs58check "^2.1.2" + ripemd160 "^2.0.2" + safe-buffer "^5.1.1" + secp256k1 "^4.0.0" + he@^1.2.0: version "1.2.0" resolved "https://registry.yarnpkg.com/he/-/he-1.2.0.tgz#84ae65fa7eafb165fddb61566ae14baf05664f0f" @@ -11001,6 +11591,11 @@ image-size@^1.0.2: dependencies: queue "6.0.2" +immutability-helper@^3.1.1: + version "3.1.1" + resolved "https://registry.yarnpkg.com/immutability-helper/-/immutability-helper-3.1.1.tgz#2b86b2286ed3b1241c9e23b7b21e0444f52f77b7" + integrity sha512-Q0QaXjPjwIju/28TsugCHNEASwoCcJSyJV3uO1sOIQGI0jKgm9f41Lvz0DZj3n46cNCyAZTsEYoY4C2bVRUzyQ== + immutable@^4.0.0: version "4.1.0" resolved "https://registry.yarnpkg.com/immutable/-/immutable-4.1.0.tgz#f795787f0db780183307b9eb2091fcac1f6fafef" @@ -11045,6 +11640,11 @@ inherits@=2.0.1: resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.1.tgz#b17d08d326b4423e568eff719f91b0b1cbdf69f1" integrity sha512-8nWq2nLTAwd02jTqJExUYFSD/fKq6VH9Y/oG2accc/kdI0V98Bag8d5a4gi3XHz73rDWa2PvTtvcWYquKqSENA== +injectpromise@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/injectpromise/-/injectpromise-1.0.0.tgz#c621f7df2bbfc1164d714f1fb229adec2079da39" + integrity sha512-qNq5wy4qX4uWHcVFOEU+RqZkoVG65FhvGkyDWbuBxILMjK6A1LFf5A1mgXZkD4nRx5FCorD81X/XvPKp/zVfPA== + int64-buffer@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/int64-buffer/-/int64-buffer-1.0.1.tgz#c78d841b444cadf036cd04f8683696c740f15dca" @@ -11683,6 +12283,11 @@ jotai@^2.10.1: resolved "https://registry.yarnpkg.com/jotai/-/jotai-2.10.1.tgz#8d5598d06fa295110de0914f10bd1d10ea229723" integrity sha512-4FycO+BOTl2auLyF2Chvi6KTDqdsdDDtpaL/WHQMs8f3KS1E3loiUShQzAzFA/sMU5cJ0hz/RT1xum9YbG/zaA== +jotai@^2.9.0: + version "2.11.0" + resolved "https://registry.yarnpkg.com/jotai/-/jotai-2.11.0.tgz#923f8351e0b2d721036af892c0ae25625049d120" + integrity sha512-zKfoBBD1uDw3rljwHkt0fWuja1B76R7CjznuBO+mSX6jpsO1EBeWNRKpeaQho9yPI/pvCv4recGfgOXGxwPZvQ== + js-base64@^3.7.5, js-base64@^3.7.7: version "3.7.7" resolved "https://registry.yarnpkg.com/js-base64/-/js-base64-3.7.7.tgz#e51b84bf78fbf5702b9541e2cb7bfcb893b43e79" @@ -12238,6 +12843,11 @@ long@^5.0.0: resolved "https://registry.yarnpkg.com/long/-/long-5.2.3.tgz#a3ba97f3877cf1d778eccbcb048525ebb77499e1" integrity sha512-lcHwpNoggQTObv5apGNCTdJrO69eHOZMi4BNC+rTLER8iHAqGrUVeLh/irVIM7zTw2bOXA8T6uNPeujwOLg/2Q== +long@^5.2.3: + version "5.2.4" + resolved "https://registry.yarnpkg.com/long/-/long-5.2.4.tgz#ee651d5c7c25901cfca5e67220ae9911695e99b2" + integrity sha512-qtzLbJE8hq7VabR3mISmVGtoXP8KGc2Z/AT8OuqlYD7JTR3oqrgwdjnk07wpj1twXxYmgDXgoKVWUG/fReSzHg== + loose-envify@^1.0.0, loose-envify@^1.1.0, loose-envify@^1.4.0: version "1.4.0" resolved "https://registry.yarnpkg.com/loose-envify/-/loose-envify-1.4.0.tgz#71ee51fa7be4caec1a63839f7e682d8132d30caf" @@ -12644,7 +13254,7 @@ minimist@^1.2.0, minimist@^1.2.6: resolved "https://registry.yarnpkg.com/minipass/-/minipass-7.1.1.tgz#f7f85aff59aa22f110b20e27692465cf3bf89481" integrity sha512-UZ7eQ+h8ywIRAW1hIEl2AqdwzJucU/Kp59+8kkZeSvafXhZjul247BvIJjEVFVeON6d7lM46XX1HXCduKAS8VA== -mitt@^3.0.1: +mitt@^3.0.0, mitt@^3.0.1: version "3.0.1" resolved "https://registry.yarnpkg.com/mitt/-/mitt-3.0.1.tgz#ea36cf0cc30403601ae074c8f77b7092cdab36d1" integrity sha512-vKivATfr97l2/QBCYAkXYDbrIWPM2IIKEl7YPhjCvKlG3kE2gm+uBo6nEXK3M5/Ffh/FLpKExzOQ3JJoJGFKBw== @@ -12708,7 +13318,7 @@ ms@2.1.2: resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.2.tgz#d09d1f357b443f493382a8eb3ccd183872ae6009" integrity sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w== -ms@2.1.3, ms@^2.0.0, ms@^2.1.1: +ms@2.1.3, ms@^2.0.0, ms@^2.1.1, ms@^2.1.3: version "2.1.3" resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.3.tgz#574c8138ce1d2b5861f0b44579dbadd60c6615b2" integrity sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA== @@ -13338,6 +13948,11 @@ p-try@^2.0.0: resolved "https://registry.yarnpkg.com/p-try/-/p-try-2.2.0.tgz#cb2868540e313d61de58fafbe35ce9004d5540e6" integrity sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ== +pako@^2.1.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/pako/-/pako-2.1.0.tgz#266cc37f98c7d883545d11335c00fbd4062c9a86" + integrity sha512-w+eufiZ1WuJYgPXbV/PO3NCMEc3xqylkKHzp8bxp1uW4qaSNQUkwmLLEc3kKsfz8lpV1F8Ht3U1Cm+9Srog2ug== + parent-module@^1.0.0: version "1.0.1" resolved "https://registry.yarnpkg.com/parent-module/-/parent-module-1.0.1.tgz#691d2709e78c79fae3a156622452d00762caaaa2" @@ -13759,6 +14374,25 @@ protobufjs@7.2.6: "@types/node" ">=13.7.0" long "^5.0.0" +protobufjs@^6.8.8: + version "6.11.4" + resolved "https://registry.yarnpkg.com/protobufjs/-/protobufjs-6.11.4.tgz#29a412c38bf70d89e537b6d02d904a6f448173aa" + integrity sha512-5kQWPaJHi1WoCpjTGszzQ32PG2F4+wRY6BmAT4Vfw56Q2FZ4YZzK20xUYQH4YkfehY1e6QSICrJquM6xXZNcrw== + dependencies: + "@protobufjs/aspromise" "^1.1.2" + "@protobufjs/base64" "^1.1.2" + "@protobufjs/codegen" "^2.0.4" + "@protobufjs/eventemitter" "^1.1.0" + "@protobufjs/fetch" "^1.1.0" + "@protobufjs/float" "^1.0.2" + "@protobufjs/inquire" "^1.1.0" + "@protobufjs/path" "^1.1.2" + "@protobufjs/pool" "^1.1.0" + "@protobufjs/utf8" "^1.1.0" + "@types/long" "^4.0.1" + "@types/node" ">=13.7.0" + long "^4.0.0" + proxy-compare@2.5.1: version "2.5.1" resolved "https://registry.yarnpkg.com/proxy-compare/-/proxy-compare-2.5.1.tgz#17818e33d1653fbac8c2ec31406bce8a2966f600" @@ -13886,6 +14520,11 @@ query-string@7.1.3: split-on-first "^1.0.0" strict-uri-encode "^2.0.0" +querystring-es3@^0.2.1: + version "0.2.1" + resolved "https://registry.yarnpkg.com/querystring-es3/-/querystring-es3-0.2.1.tgz#9ec61f79049875707d69414596fd907a4d711e73" + integrity sha512-773xhDQnZBMFobEiztv8LIl70ch5MSF/jUQVlhwFyBILqq96anmoctVIYz+ZRp0qbCKATTn6ev02M3r7Ga5vqA== + querystring@^0.2.1: version "0.2.1" resolved "https://registry.yarnpkg.com/querystring/-/querystring-0.2.1.tgz#40d77615bb09d16902a85c3e38aa8b5ed761c2dd" @@ -14294,6 +14933,11 @@ regenerate@^1.4.2: resolved "https://registry.yarnpkg.com/regenerate/-/regenerate-1.4.2.tgz#b9346d8827e8f5a32f7ba29637d398b69014848a" integrity sha512-zrceR/XhGYU/d/opr2EKO7aRHUeiBI8qjtfHqADTwZd6Szfy16la6kqD0MIUs5z5hx6AaKa+PixpPrR289+I0A== +regenerator-runtime@^0.11.0: + version "0.11.1" + resolved "https://registry.yarnpkg.com/regenerator-runtime/-/regenerator-runtime-0.11.1.tgz#be05ad7f9bf7d22e056f9726cee5017fbf19e2e9" + integrity sha512-MguG95oij0fC3QV3URf4V2SDYGJhJnJGqvIIgdECeODCT98wSWDAJ94SSuVpYQUoTcGUIL6L4yNB7j1DFFHSBg== + regenerator-runtime@^0.13.10: version "0.13.10" resolved "https://registry.yarnpkg.com/regenerator-runtime/-/regenerator-runtime-0.13.10.tgz#ed07b19616bcbec5da6274ebc75ae95634bfc2ee" @@ -14489,7 +15133,7 @@ ripple-address-codec@^4.1.1, ripple-address-codec@^4.3.1: base-x "^3.0.9" create-hash "^1.1.2" -ripple-binary-codec@^1.1.3: +ripple-binary-codec@^1.1.3, ripple-binary-codec@^1.4.3: version "1.11.0" resolved "https://registry.yarnpkg.com/ripple-binary-codec/-/ripple-binary-codec-1.11.0.tgz#d99c848c51a19746b738785001fb7208704bfe30" integrity sha512-g7+gs3T+NfoeW6vIq5dcN0CkIT4t/zwRzFxz8X2RzfbrWRnewPUKqQbmBgs05tXLX5NuWPaneiaAVpFpYBcdfw== @@ -14723,6 +15367,15 @@ secp256k1@^3.0.1, secp256k1@^3.7.1: nan "^2.14.0" safe-buffer "^5.1.2" +secp256k1@^4.0.0: + version "4.0.4" + resolved "https://registry.yarnpkg.com/secp256k1/-/secp256k1-4.0.4.tgz#58f0bfe1830fe777d9ca1ffc7574962a8189f8ab" + integrity sha512-6JfvwvjUOn8F/jUoBY2Q1v5WY5XS+rj8qSe0v8Y4ezH4InLgTEeOOPQsRll9OV429Pvo6BCHGavIyJfr3TAhsw== + dependencies: + elliptic "^6.5.7" + node-addon-api "^5.0.0" + node-gyp-build "^4.2.0" + secp256k1@^4.0.1: version "4.0.3" resolved "https://registry.yarnpkg.com/secp256k1/-/secp256k1-4.0.3.tgz#c4559ecd1b8d3c1827ed2d1b94190d69ce267303" @@ -15418,6 +16071,15 @@ sudo-prompt@^9.0.0: resolved "https://registry.yarnpkg.com/sudo-prompt/-/sudo-prompt-9.2.1.tgz#77efb84309c9ca489527a4e749f287e6bdd52afd" integrity sha512-Mu7R0g4ig9TUuGSxJavny5Rv0egCEtpZRNMrZaYS1vxkiIxGiGUwoezU3LazIQ+KE04hTrTfNPgxU5gzi7F5Pw== +sunweb@^1.0.7: + version "1.1.0" + resolved "https://registry.yarnpkg.com/sunweb/-/sunweb-1.1.0.tgz#7d00dbd610f9fd7d3380f71ae1fa03dabd882094" + integrity sha512-RoQHMAE3EMM04/y9XHDOhmnf4prhes2yYsRMi5mYANSHohpPvLl+v5I7xD0M5f5W6dMz2eSY7b0NsIyfH/1V/g== + dependencies: + "@babel/runtime" "^7.4.5" + babel-runtime "^6.26.0" + injectpromise "^1.0.0" + superagent@^6.1.0: version "6.1.0" resolved "https://registry.yarnpkg.com/superagent/-/superagent-6.1.0.tgz#09f08807bc41108ef164cfb4be293cebd480f4a6" @@ -15489,6 +16151,11 @@ svelte2tsx@^0.7.6: dedent-js "^1.0.1" pascal-case "^3.1.1" +symbol-observable@^2.0.3: + version "2.0.3" + resolved "https://registry.yarnpkg.com/symbol-observable/-/symbol-observable-2.0.3.tgz#5b521d3d07a43c351055fa43b8355b62d33fd16a" + integrity sha512-sQV7phh2WCYAn81oAkakC5qjq2Ml0g8ozqz03wOGnx9dDlG1de6yrF+0RAzSJD8fPUow3PTSMf2SAbOGxb93BA== + symbol.inspect@1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/symbol.inspect/-/symbol.inspect-1.0.1.tgz#e13125b8038c4996eb0dfa1567332ad4dcd0763f" @@ -15507,6 +16174,13 @@ system-architecture@^0.1.0: resolved "https://registry.yarnpkg.com/system-architecture/-/system-architecture-0.1.0.tgz#71012b3ac141427d97c67c56bc7921af6bff122d" integrity sha512-ulAk51I9UVUyJgxlv9M6lFot2WP3e7t8Kz9+IS6D4rVba1tR9kON+Ey69f+1R4Q8cd45Lod6a4IcJIxnzGc/zA== +tailwind-merge@2.2.2: + version "2.2.2" + resolved "https://registry.yarnpkg.com/tailwind-merge/-/tailwind-merge-2.2.2.tgz#87341e7604f0e20499939e152cd2841f41f7a3df" + integrity sha512-tWANXsnmJzgw6mQ07nE3aCDkCK4QdT3ThPMCzawoYA2Pws7vSTCvz3Vrjg61jVUGfFZPJzxEP+NimbcW+EdaDw== + dependencies: + "@babel/runtime" "^7.24.0" + tailwind-merge@^2.3.0: version "2.3.0" resolved "https://registry.yarnpkg.com/tailwind-merge/-/tailwind-merge-2.3.0.tgz#27d2134fd00a1f77eca22bcaafdd67055917d286" @@ -15700,6 +16374,25 @@ tr46@~0.0.3: resolved "https://registry.yarnpkg.com/tr46/-/tr46-0.0.3.tgz#8184fd347dac9cdc185992f3a6622e14b9d9ab6a" integrity sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw== +tronweb@^5.3.2: + version "5.3.2" + resolved "https://registry.yarnpkg.com/tronweb/-/tronweb-5.3.2.tgz#393b0fa0290e2c5aa7a3b3b82956f53ca65a764f" + integrity sha512-iPcIjMCxb6H7FXMntAj47F3L+7jSideyQ7ZOvRj9MeZBh46SHevMrDDR57HzakUa/tT8VvlPFHtqFK4hzTLkXw== + dependencies: + "@babel/runtime" "^7.0.0" + "@ethersproject/abi" "^5.7.0" + "@tronweb3/google-protobuf" "^3.21.2" + axios "^1.6.2" + bignumber.js "^9.0.1" + ethereum-cryptography "^2.0.0" + ethers "^6.6.0" + eventemitter3 "^3.1.0" + injectpromise "^1.0.0" + lodash "^4.17.21" + querystring-es3 "^0.2.1" + semver "^5.6.0" + validator "^13.7.0" + ts-api-utils@^1.0.1: version "1.0.3" resolved "https://registry.yarnpkg.com/ts-api-utils/-/ts-api-utils-1.0.3.tgz#f12c1c781d04427313dbac808f453f050e54a331" @@ -15730,6 +16423,11 @@ tslib@1.14.1, tslib@^1.11.0, tslib@^1.9.0: resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.14.1.tgz#cf2d38bdc34a134bcaf1091c41f6619e2f672d00" integrity sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg== +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== + tslib@^2.0.0, tslib@^2.0.1, tslib@^2.0.3, tslib@^2.3.0, tslib@^2.3.1, tslib@^2.6.1, tslib@^2.6.2: version "2.6.2" resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.6.2.tgz#703ac29425e7b37cd6fd456e92404d46d1f3e4ae" @@ -16150,6 +16848,11 @@ valibot@^0.25.0: resolved "https://registry.yarnpkg.com/valibot/-/valibot-0.25.0.tgz#bdbb3a6e910f983b5a65b56b2bff24dfd09064ca" integrity sha512-cmD0ca15oyAbT75iYLNW6uU6doAeIwYfOshpXka/E1Bx4frzbkrgb7gvkI7K0YK/DVOksei4FfxWfRoBP3NFTg== +validator@^13.7.0: + version "13.12.0" + resolved "https://registry.yarnpkg.com/validator/-/validator-13.12.0.tgz#7d78e76ba85504da3fee4fd1922b385914d4b35f" + integrity sha512-c1Q0mCiPlgdTVVVIJIrBuxNicYE+t/7oKeI9MWLj3fh/uq2Pxh/3eeWbVZ4OcGW1TUf53At0njHw5SMdA3tmMg== + valtio@1.10.5: version "1.10.5" resolved "https://registry.yarnpkg.com/valtio/-/valtio-1.10.5.tgz#7852125e3b774b522827d96bd9c76d285c518678" @@ -16468,6 +17171,11 @@ ws@7.4.6: resolved "https://registry.yarnpkg.com/ws/-/ws-7.4.6.tgz#5654ca8ecdeee47c33a9a4bf6d28e2be2980377c" integrity sha512-YmhHDO4MzaDLB+M9ym/mDA5z0naX8j7SIlT8f8z+I0VtzsRbekxEutHSme7NPS2qE8StCYQNUnfWdXta/Yu85A== +ws@8.17.1: + version "8.17.1" + resolved "https://registry.yarnpkg.com/ws/-/ws-8.17.1.tgz#9293da530bb548febc95371d90f9c878727d919b" + integrity sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ== + ws@^6.2.2: version "6.2.2" resolved "https://registry.yarnpkg.com/ws/-/ws-6.2.2.tgz#dd5cdbd57a9979916097652d78f1cc5faea0c32e" @@ -16546,6 +17254,14 @@ xmlhttprequest-ssl@~2.0.0: resolved "https://registry.yarnpkg.com/xmlhttprequest-ssl/-/xmlhttprequest-ssl-2.0.0.tgz#91360c86b914e67f44dce769180027c0da618c67" integrity sha512-QKxVRxiRACQcVuQEYFsI1hhkrMlrXHPegbbd1yn9UHOmRxY+si12nQYzri3vbzt8VdTTRviqcKxcyllFas5z2A== +xstream@^11.14.0: + version "11.14.0" + resolved "https://registry.yarnpkg.com/xstream/-/xstream-11.14.0.tgz#2c071d26b18310523b6877e86b4e54df068a9ae5" + integrity sha512-1bLb+kKKtKPbgTK6i/BaoAn03g47PpFstlbe1BA+y3pNS/LfvcaghS5BFf9+EE1J+KwSQsEpfJvFN5GqFtiNmw== + dependencies: + globalthis "^1.0.1" + symbol-observable "^2.0.3" + xtend@~4.0.1: version "4.0.2" resolved "https://registry.yarnpkg.com/xtend/-/xtend-4.0.2.tgz#bb72779f5fa465186b1f438f674fa347fdb5db54" diff --git a/packages/providers/onekey-alph-provider/src/OnekeyAlphProvider.ts b/packages/providers/onekey-alph-provider/src/OnekeyAlphProvider.ts index b34da755..9b7654e1 100644 --- a/packages/providers/onekey-alph-provider/src/OnekeyAlphProvider.ts +++ b/packages/providers/onekey-alph-provider/src/OnekeyAlphProvider.ts @@ -35,6 +35,8 @@ function isWalletEventMethodMatch({ method, name }: { method: string; name: stri } export class ProviderAlph extends InteractiveSignerProvider implements AlephiumWindowObject { + _base: ProviderAlphBase + id = 'alephium'; name = 'Alephium'; // id = 'onekey'; @@ -43,8 +45,6 @@ export class ProviderAlph extends InteractiveSignerProvider implements AlephiumW version = '0.9.4'; _accountInfo: Account | undefined; - _base: ProviderAlphBase - onDisconnected: (() => void | Promise) | undefined = undefined #nodeProvider: NodeProvider | undefined = undefined #explorerProvider: ExplorerProvider | undefined = undefined @@ -57,6 +57,7 @@ export class ProviderAlph extends InteractiveSignerProvider implements AlephiumW bridge: props.bridge || getOrCreateExtInjectedJsBridge({ timeout: props.timeout }), }); + this.version = this._base.version; this._registerEvents(); }