From cb4f1be05051553a0895c9dcac769f30f8d215fe Mon Sep 17 00:00:00 2001 From: Gancho Radkov Date: Tue, 6 Aug 2024 18:03:15 +0300 Subject: [PATCH 1/7] feat: adds ability to add custom batch transactions --- .../src/components/AddTransactionModal.tsx | 94 ++++++++++++++++++ .../Ethers/EthersGetCallsStatusTest.tsx | 11 ++- .../components/Ethers/EthersSendCallsTest.tsx | 97 +++++++++++++++++-- .../src/components/Ethers/EthersTests.tsx | 9 +- 4 files changed, 196 insertions(+), 15 deletions(-) create mode 100644 apps/laboratory/src/components/AddTransactionModal.tsx diff --git a/apps/laboratory/src/components/AddTransactionModal.tsx b/apps/laboratory/src/components/AddTransactionModal.tsx new file mode 100644 index 0000000000..4a0f9957a1 --- /dev/null +++ b/apps/laboratory/src/components/AddTransactionModal.tsx @@ -0,0 +1,94 @@ +import { + Box, + Button, + Input, + Modal, + ModalBody, + ModalCloseButton, + ModalContent, + ModalFooter, + ModalHeader, + ModalOverlay +} from '@chakra-ui/react' +import { useCallback, useState } from 'react' +import { ethers } from 'ethers' +import { useChakraToast } from './Toast' + +type IAddTransactionModalProps = { + isOpen: boolean + onClose: () => void + onSubmit: (params: { eth: string; to: string }) => void +} +export function AddTransactionModal(props: IAddTransactionModalProps) { + const toast = useChakraToast() + const { isOpen, onClose, onSubmit } = props + const [eth, setEth] = useState(0) + const [to, setTo] = useState('') + const onAddTransaction = useCallback(() => { + if (!ethers.isAddress(to)) { + toast({ + title: 'Error', + description: 'Invalid address', + type: 'error' + }) + + return + } + if (!eth || isNaN(eth)) { + toast({ + title: 'Error', + description: 'Invalid ETH amount', + type: 'error' + }) + + return + } + onSubmit({ eth: eth.toString(), to }) + reset() + onClose() + }, [eth, to]) + + const reset = useCallback(() => { + setEth(0) + setTo('') + }, []) + + return ( + <> + + + + Add a transaction + + + Transactions will be batched and sent together to your wallet for approval + + + setEth(parseFloat(event.target.value))} + /> + + + + setTo(event.target.value)} + /> + + + + + + + + + + ) +} diff --git a/apps/laboratory/src/components/Ethers/EthersGetCallsStatusTest.tsx b/apps/laboratory/src/components/Ethers/EthersGetCallsStatusTest.tsx index 7ba27c16bf..30fbeae066 100644 --- a/apps/laboratory/src/components/Ethers/EthersGetCallsStatusTest.tsx +++ b/apps/laboratory/src/components/Ethers/EthersGetCallsStatusTest.tsx @@ -1,5 +1,5 @@ import { Button, Stack, Text, Input } from '@chakra-ui/react' -import { useState } from 'react' +import { useEffect, useState } from 'react' import { useWeb3ModalAccount, useWeb3ModalProvider } from '@web3modal/ethers/react' import { EthereumProvider } from '@walletconnect/ethereum-provider' import { useChakraToast } from '../Toast' @@ -7,14 +7,19 @@ import { BrowserProvider } from 'ethers' import { type GetCallsStatusParams } from '../../types/EIP5792' import { EIP_5792_RPC_METHODS } from '../../utils/EIP5792Utils' -export function EthersGetCallsStatusTest() { +export function EthersGetCallsStatusTest(params: { callsHash: string }) { + const callsHash = params.callsHash const [isLoading, setLoading] = useState(false) - const [batchCallId, setBatchCallId] = useState('') + const [batchCallId, setBatchCallId] = useState(callsHash) const { address, chainId, isConnected } = useWeb3ModalAccount() const { walletProvider } = useWeb3ModalProvider() const toast = useChakraToast() + useEffect(() => { + setBatchCallId(callsHash) + }, [callsHash]) + async function onGetCallsStatus() { try { setLoading(true) diff --git a/apps/laboratory/src/components/Ethers/EthersSendCallsTest.tsx b/apps/laboratory/src/components/Ethers/EthersSendCallsTest.tsx index d6175d2cb2..b27f627ad7 100644 --- a/apps/laboratory/src/components/Ethers/EthersSendCallsTest.tsx +++ b/apps/laboratory/src/components/Ethers/EthersSendCallsTest.tsx @@ -1,5 +1,18 @@ -import { Button, Stack, Text, Spacer } from '@chakra-ui/react' -import { useState } from 'react' +import { + Button, + Stack, + Text, + Spacer, + Box, + Link, + Stat, + StatLabel, + StatNumber, + StatHelpText, + Card, + CardBody +} from '@chakra-ui/react' +import { useCallback, useState } from 'react' import { useWeb3ModalAccount, useWeb3ModalProvider } from '@web3modal/ethers/react' import { EthereumProvider } from '@walletconnect/ethereum-provider' import { useChakraToast } from '../Toast' @@ -11,14 +24,36 @@ import { WALLET_CAPABILITIES, getCapabilitySupportedChainInfo } from '../../utils/EIP5792Utils' +import { AddIcon } from '@chakra-ui/icons' +import { AddTransactionModal } from '../AddTransactionModal' -export function EthersSendCallsTest() { +export function EthersSendCallsTest(params: { onCallsHash: (hash: string) => void }) { + const { onCallsHash } = params const [loading, setLoading] = useState(false) const { address, chainId, isConnected } = useWeb3ModalAccount() const { walletProvider } = useWeb3ModalProvider() + const [transactionsToBatch, setTransactionsToBatch] = useState<{ value: string; to: string }[]>( + [] + ) const toast = useChakraToast() + const [isOpen, setIsOpen] = useState(false) + const onSubmit = useCallback( + (args: { to: string; eth: string }) => { + setTransactionsToBatch(prev => [ + ...prev, + { + to: args.to as `0x${string}`, + data: '0x' as `0x${string}`, + value: `0x${parseGwei(args.eth).toString(16)}` + } + ]) + }, + [transactionsToBatch] + ) + const onClose = useCallback(() => setIsOpen(false), []) + const atomicBatchSupportedChains = address && walletProvider instanceof EthereumProvider ? getCapabilitySupportedChainInfo(WALLET_CAPABILITIES.ATOMIC_BATCH, walletProvider, address) @@ -31,6 +66,10 @@ export function EthersSendCallsTest() { chainInfo => chainInfo.chainId === Number(chainId) ) + const onAddTransactionButtonClick = useCallback(() => { + setIsOpen(true) + }, []) + async function onSendCalls() { try { setLoading(true) @@ -58,7 +97,7 @@ export function EthersSendCallsTest() { version: '1.0', chainId: `0x${BigInt(chainId).toString(16)}`, from: address, - calls + calls: transactionsToBatch.length ? transactionsToBatch : calls } const batchCallHash = await provider.send(EIP_5792_RPC_METHODS.WALLET_SEND_CALLS, [ sendCallsParams @@ -68,6 +107,8 @@ export function EthersSendCallsTest() { description: batchCallHash, type: 'success' }) + setTransactionsToBatch([]) + onCallsHash(batchCallHash) } catch { toast({ title: 'Error', @@ -113,12 +154,48 @@ export function EthersSendCallsTest() { } return currentChainsInfo ? ( - - - - + <> + + + + ( + {transactionsToBatch.length ? ( + transactionsToBatch.map((tx, index) => ( + <> + + + + ({index + 1}) Sending + {parseInt(tx.value, 16) / 1000000000} ETH + to {tx.to} + + + {' '} + + + )) + ) : ( + + )} + ) + + + + + + + {transactionsToBatch.length ? ( + + ) : null} + + + ) : ( Switch to {atomicBatchSupportedChainNames} to test atomic batch feature diff --git a/apps/laboratory/src/components/Ethers/EthersTests.tsx b/apps/laboratory/src/components/Ethers/EthersTests.tsx index 1e49dc1e84..fe17b280f2 100644 --- a/apps/laboratory/src/components/Ethers/EthersTests.tsx +++ b/apps/laboratory/src/components/Ethers/EthersTests.tsx @@ -11,8 +11,13 @@ import { EthersSendCallsWithPaymasterServiceTest } from './EthersSendCallsWithPa export function EthersTests() { const [ready, setReady] = React.useState(false) + const [callsHash, setCallsHash] = React.useState('') const { isConnected } = useWeb3ModalAccount() + const onCallsHash = React.useCallback((hash: string) => { + setCallsHash(hash) + }, []) + React.useEffect(() => { setReady(true) }, []) @@ -59,13 +64,13 @@ export function EthersTests() { Send Calls (Atomic Batch) - + Get Calls Status - + From 864b9452138731e86bca34cd83ad68de68da0fd3 Mon Sep 17 00:00:00 2001 From: Gancho Radkov Date: Wed, 7 Aug 2024 09:58:46 +0300 Subject: [PATCH 2/7] chore: updates providers --- apps/laboratory/package.json | 4 +- .../src/components/Ethers/EthersTests.tsx | 6 + packages/ethers/package.json | 4 +- packages/ethers5/package.json | 4 +- packages/solana/package.json | 2 +- packages/wagmi/package.json | 4 +- pnpm-lock.yaml | 864 ++++++++++++++++-- 7 files changed, 780 insertions(+), 108 deletions(-) diff --git a/apps/laboratory/package.json b/apps/laboratory/package.json index 868e037ed7..f227865692 100644 --- a/apps/laboratory/package.json +++ b/apps/laboratory/package.json @@ -48,8 +48,8 @@ "@tanstack/react-query": "5.24.8", "@wagmi/connectors": "5.1.2", "@wagmi/core": "2.13.1", - "@walletconnect/ethereum-provider": "2.14.0", - "@walletconnect/utils": "2.14.0", + "@walletconnect/ethereum-provider": "2.14.0-canary-e4ee88", + "@walletconnect/utils": "2.14.0-canary-e4ee88", "@web3modal/ethers": "workspace:*", "@web3modal/siwe": "workspace:*", "@web3modal/solana": "workspace:*", diff --git a/apps/laboratory/src/components/Ethers/EthersTests.tsx b/apps/laboratory/src/components/Ethers/EthersTests.tsx index fe17b280f2..06a07d0b88 100644 --- a/apps/laboratory/src/components/Ethers/EthersTests.tsx +++ b/apps/laboratory/src/components/Ethers/EthersTests.tsx @@ -18,6 +18,12 @@ export function EthersTests() { setCallsHash(hash) }, []) + React.useEffect(() => { + if (!isConnected) { + setCallsHash('') + } + }, [isConnected]) + React.useEffect(() => { setReady(true) }, []) diff --git a/packages/ethers/package.json b/packages/ethers/package.json index a09da73ffe..fcd9652037 100644 --- a/packages/ethers/package.json +++ b/packages/ethers/package.json @@ -44,8 +44,8 @@ }, "dependencies": { "@coinbase/wallet-sdk": "4.0.3", - "@walletconnect/ethereum-provider": "2.14.0", - "@walletconnect/utils": "2.14.0", + "@walletconnect/ethereum-provider": "2.14.0-canary-e4ee88", + "@walletconnect/utils": "2.14.0-canary-e4ee88", "@web3modal/common": "workspace:*", "@web3modal/wallet": "workspace:*", "@web3modal/polyfills": "workspace:*", diff --git a/packages/ethers5/package.json b/packages/ethers5/package.json index 7431830dad..0736749cb7 100644 --- a/packages/ethers5/package.json +++ b/packages/ethers5/package.json @@ -44,8 +44,8 @@ }, "dependencies": { "@coinbase/wallet-sdk": "4.0.3", - "@walletconnect/ethereum-provider": "2.14.0", - "@walletconnect/utils": "2.14.0", + "@walletconnect/ethereum-provider": "2.14.0-canary-e4ee88", + "@walletconnect/utils": "2.14.0-canary-e4ee88", "@web3modal/common": "workspace:*", "@web3modal/polyfills": "workspace:*", "@web3modal/scaffold": "workspace:*", diff --git a/packages/solana/package.json b/packages/solana/package.json index f9cb7e7a96..914646544e 100644 --- a/packages/solana/package.json +++ b/packages/solana/package.json @@ -60,7 +60,7 @@ "@wallet-standard/base": "1.0.1", "@wallet-standard/features": "1.0.3", "@wallet-standard/wallet": "1.0.1", - "@walletconnect/universal-provider": "2.14.0", + "@walletconnect/universal-provider": "2.14.0-canary-e4ee88", "@web3modal/core": "workspace:*", "@web3modal/common": "workspace:*", "@web3modal/polyfills": "workspace:*", diff --git a/packages/wagmi/package.json b/packages/wagmi/package.json index feb6076fbc..948cc19eb7 100644 --- a/packages/wagmi/package.json +++ b/packages/wagmi/package.json @@ -51,8 +51,8 @@ "lint": "eslint . --ext .js,.jsx,.ts,.tsx" }, "dependencies": { - "@walletconnect/ethereum-provider": "2.14.0", - "@walletconnect/utils": "2.14.0", + "@walletconnect/ethereum-provider": "2.14.0-canary-e4ee88", + "@walletconnect/utils": "2.14.0-canary-e4ee88", "@web3modal/polyfills": "workspace:*", "@web3modal/wallet": "workspace:*", "@web3modal/common": "workspace:*", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 15309cca1f..60efd15a4c 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -27,7 +27,7 @@ importers: version: 6.18.1(eslint@8.56.0)(typescript@5.3.3) '@vitest/coverage-v8': specifier: 1.1.2 - version: 1.1.2(vitest@1.5.0(@types/node@20.11.5)(jsdom@24.1.0)) + version: 1.1.2(vitest@1.5.0(@types/node@20.11.5)(jsdom@24.1.0)(terser@5.31.3)) danger: specifier: 11.3.1 version: 11.3.1 @@ -57,10 +57,10 @@ importers: version: 5.2.11(@types/node@20.11.5)(terser@5.31.3) vite-plugin-node-polyfills: specifier: 0.22.0 - version: 0.22.0(rollup@4.20.0)(vite@5.2.11(@types/node@20.11.5)) + version: 0.22.0(rollup@4.20.0)(vite@5.2.11(@types/node@20.11.5)(terser@5.31.3)) vitest: specifier: 1.5.0 - version: 1.5.0(@types/node@20.11.5)(jsdom@24.1.0) + version: 1.5.0(@types/node@20.11.5)(jsdom@24.1.0)(terser@5.31.3) apps/demo: dependencies: @@ -170,7 +170,7 @@ importers: version: 7.6.7(lit@3.1.0)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) '@storybook/web-components-vite': specifier: 7.6.7 - version: 7.6.7(bufferutil@4.0.8)(lit@3.1.0)(react-dom@18.2.0(react@18.2.0))(react@18.2.0)(typescript@5.3.3)(utf-8-validate@5.0.10)(vite@5.2.11(@types/node@20.11.5)) + version: 7.6.7(bufferutil@4.0.8)(lit@3.1.0)(react-dom@18.2.0(react@18.2.0))(react@18.2.0)(typescript@5.3.3)(utf-8-validate@5.0.10)(vite@5.2.11(@types/node@20.11.5)(terser@5.31.3)) file-system-cache: specifier: 2.4.4 version: 2.4.4 @@ -211,11 +211,11 @@ importers: specifier: 2.13.1 version: 2.13.1(@tanstack/query-core@5.24.8)(@types/react@18.2.62)(react@18.2.0)(typescript@5.3.3)(viem@2.17.8(bufferutil@4.0.8)(typescript@5.3.3)(utf-8-validate@5.0.10)(zod@3.22.4)) '@walletconnect/ethereum-provider': - specifier: 2.14.0 - version: 2.14.0(@types/react@18.2.62)(bufferutil@4.0.8)(react@18.2.0)(utf-8-validate@5.0.10) + specifier: 2.14.0-canary-e4ee88 + version: 2.14.0-canary-e4ee88(@types/react@18.2.62)(bufferutil@4.0.8)(react@18.2.0)(utf-8-validate@5.0.10) '@walletconnect/utils': - specifier: 2.14.0 - version: 2.14.0 + specifier: 2.14.0-canary-e4ee88 + version: 2.14.0-canary-e4ee88 '@web3modal/ethers': specifier: workspace:* version: link:../../packages/ethers @@ -400,7 +400,7 @@ importers: version: 18.2.7 '@vitejs/plugin-react': specifier: 4.2.1 - version: 4.2.1(vite@5.2.11(@types/node@20.11.5)) + version: 4.2.1(vite@5.2.11(@types/node@20.11.5)(terser@5.31.3)) vite: specifier: 5.2.11 version: 5.2.11(@types/node@20.11.5)(terser@5.31.3) @@ -428,7 +428,7 @@ importers: version: 18.2.7 '@vitejs/plugin-react': specifier: 4.2.1 - version: 4.2.1(vite@5.2.11(@types/node@20.11.5)) + version: 4.2.1(vite@5.2.11(@types/node@20.11.5)(terser@5.31.3)) vite: specifier: 5.2.11 version: 5.2.11(@types/node@20.11.5)(terser@5.31.3) @@ -440,7 +440,7 @@ importers: version: 0.1.14(@solana/web3.js@1.91.7(bufferutil@4.0.8)(utf-8-validate@5.0.10)) '@solana/wallet-adapter-wallets': specifier: 0.19.32 - version: 0.19.32(@babel/core@7.25.2)(@babel/runtime@7.25.0)(@sentry/types@7.92.0)(@solana/web3.js@1.91.7(bufferutil@4.0.8)(utf-8-validate@5.0.10))(bufferutil@4.0.8)(react-dom@18.2.0(react@18.2.0))(react@18.2.0)(tslib@2.6.3)(utf-8-validate@5.0.10) + version: 0.19.32(@babel/core@7.25.2)(@babel/runtime@7.25.0)(@sentry/types@7.92.0)(@solana/web3.js@1.91.7(bufferutil@4.0.8)(utf-8-validate@5.0.10))(bufferutil@4.0.8)(react-dom@18.2.0(react@18.2.0))(react-native@0.74.4(@babel/core@7.25.2)(@types/react@18.2.62)(bufferutil@4.0.8)(react@18.2.0)(utf-8-validate@5.0.10))(react@18.2.0)(tslib@2.6.3)(utf-8-validate@5.0.10) '@tanstack/react-query': specifier: 5.24.8 version: 5.24.8(react@18.2.0) @@ -465,7 +465,7 @@ importers: version: 18.2.7 '@vitejs/plugin-react': specifier: 4.2.1 - version: 4.2.1(vite@5.2.11(@types/node@20.11.5)) + version: 4.2.1(vite@5.2.11(@types/node@20.11.5)(terser@5.31.3)) examples/react-wagmi: dependencies: @@ -499,7 +499,7 @@ importers: version: 18.2.7 '@vitejs/plugin-react': specifier: 4.2.1 - version: 4.2.1(vite@5.2.11(@types/node@20.11.5)) + version: 4.2.1(vite@5.2.11(@types/node@20.11.5)(terser@5.31.3)) examples/vue-ethers5: dependencies: @@ -527,7 +527,7 @@ importers: version: 0.1.14(@solana/web3.js@1.91.7(bufferutil@4.0.8)(utf-8-validate@5.0.10)) '@solana/wallet-adapter-wallets': specifier: 0.19.32 - version: 0.19.32(@babel/core@7.25.2)(@babel/runtime@7.25.0)(@sentry/types@7.92.0)(@solana/web3.js@1.91.7(bufferutil@4.0.8)(utf-8-validate@5.0.10))(bufferutil@4.0.8)(react-dom@18.2.0(react@18.2.0))(react@18.2.0)(tslib@2.6.3)(utf-8-validate@5.0.10) + version: 0.19.32(@babel/core@7.25.2)(@babel/runtime@7.25.0)(@sentry/types@7.92.0)(@solana/web3.js@1.91.7(bufferutil@4.0.8)(utf-8-validate@5.0.10))(bufferutil@4.0.8)(react-native@0.74.4(@babel/core@7.25.2)(bufferutil@4.0.8)(utf-8-validate@5.0.10))(tslib@2.6.3)(utf-8-validate@5.0.10) '@web3modal/solana': specifier: workspace:* version: link:../../packages/solana @@ -590,7 +590,7 @@ importers: version: 5.3.3 vite-plugin-node-polyfills: specifier: 0.22.0 - version: 0.22.0(rollup@4.20.0)(vite@5.2.11(@types/node@20.11.5)) + version: 0.22.0(rollup@4.20.0)(vite@5.2.11(@types/node@20.11.5)(terser@5.31.3)) packages/common: dependencies: @@ -615,7 +615,7 @@ importers: devDependencies: '@vitest/coverage-v8': specifier: 1.1.2 - version: 1.1.2(vitest@2.0.3(@types/node@20.11.5)(jsdom@24.1.0(bufferutil@4.0.8)(utf-8-validate@5.0.10))) + version: 1.1.2(vitest@2.0.3(@types/node@20.11.5)(jsdom@24.1.0(bufferutil@4.0.8)(utf-8-validate@5.0.10))(terser@5.31.3)) viem: specifier: 2.16.2 version: 2.16.2(bufferutil@4.0.8)(typescript@5.3.3)(utf-8-validate@5.0.10)(zod@3.22.4) @@ -626,11 +626,11 @@ importers: specifier: 4.0.3 version: 4.0.3 '@walletconnect/ethereum-provider': - specifier: 2.14.0 - version: 2.14.0(@types/react@18.2.62)(bufferutil@4.0.8)(react@18.2.0)(utf-8-validate@5.0.10) + specifier: 2.14.0-canary-e4ee88 + version: 2.14.0-canary-e4ee88(@types/react@18.2.62)(bufferutil@4.0.8)(react@18.2.0)(utf-8-validate@5.0.10) '@walletconnect/utils': - specifier: 2.14.0 - version: 2.14.0 + specifier: 2.14.0-canary-e4ee88 + version: 2.14.0-canary-e4ee88 '@web3modal/common': specifier: workspace:* version: link:../common @@ -678,11 +678,11 @@ importers: specifier: 4.0.3 version: 4.0.3 '@walletconnect/ethereum-provider': - specifier: 2.14.0 - version: 2.14.0(@types/react@18.2.62)(bufferutil@4.0.8)(react@18.2.0)(utf-8-validate@5.0.10) + specifier: 2.14.0-canary-e4ee88 + version: 2.14.0-canary-e4ee88(@types/react@18.2.62)(bufferutil@4.0.8)(react@18.2.0)(utf-8-validate@5.0.10) '@walletconnect/utils': - specifier: 2.14.0 - version: 2.14.0 + specifier: 2.14.0-canary-e4ee88 + version: 2.14.0-canary-e4ee88 '@web3modal/common': specifier: workspace:* version: link:../common @@ -892,8 +892,8 @@ importers: specifier: 1.0.1 version: 1.0.1 '@walletconnect/universal-provider': - specifier: 2.14.0 - version: 2.14.0(bufferutil@4.0.8)(utf-8-validate@5.0.10) + specifier: 2.14.0-canary-e4ee88 + version: 2.14.0-canary-e4ee88(bufferutil@4.0.8)(utf-8-validate@5.0.10) '@web3modal/common': specifier: workspace:* version: link:../common @@ -981,11 +981,11 @@ importers: packages/wagmi: dependencies: '@walletconnect/ethereum-provider': - specifier: 2.14.0 - version: 2.14.0(@types/react@18.2.62)(bufferutil@4.0.8)(react@18.2.0)(utf-8-validate@5.0.10) + specifier: 2.14.0-canary-e4ee88 + version: 2.14.0-canary-e4ee88(@types/react@18.2.62)(bufferutil@4.0.8)(react@18.2.0)(utf-8-validate@5.0.10) '@walletconnect/utils': - specifier: 2.14.0 - version: 2.14.0 + specifier: 2.14.0-canary-e4ee88 + version: 2.14.0-canary-e4ee88 '@web3modal/common': specifier: workspace:* version: link:../common @@ -1053,7 +1053,7 @@ importers: version: 24.1.0(bufferutil@4.0.8)(utf-8-validate@5.0.10) vitest: specifier: 2.0.3 - version: 2.0.3(@types/node@20.11.5)(jsdom@24.1.0(bufferutil@4.0.8)(utf-8-validate@5.0.10)) + version: 2.0.3(@types/node@20.11.5)(jsdom@24.1.0(bufferutil@4.0.8)(utf-8-validate@5.0.10))(terser@5.31.3) packages: @@ -6028,12 +6028,18 @@ packages: '@walletconnect/core@2.14.0': resolution: {integrity: sha512-E/dgBM9q3judXnTfZQ5ILvDpeSdDpabBLsXtYXa3Nyc26cfNplfLJ2nXm9FgtTdhM1nZ7yx4+zDPiXawBRZl2g==} + '@walletconnect/core@2.14.0-canary-e4ee88': + resolution: {integrity: sha512-7fN2JJ3IVWYaGr9sZUr08Si7v64+8p3sA5/5f5jayXyvFbKpp0XZh/lPQ4H6OJX3h0Z2F3quyyzcJNo0w1SJVg==} + '@walletconnect/environment@1.0.1': resolution: {integrity: sha512-T426LLZtHj8e8rYnKfzsw1aG6+M0BT1ZxayMdv/p8yM0MU+eJDISqNY3/bccxRr4LrF9csq02Rhqt08Ibl0VRg==} '@walletconnect/ethereum-provider@2.14.0': resolution: {integrity: sha512-Cc2/DCn85VciA10BrsNWFM//3VC1D8yjwrjfUKjGndLPDz0YIdAxTgYZViIlMjE0lzQC/DMvPYEAnGfW0O1Bwg==} + '@walletconnect/ethereum-provider@2.14.0-canary-e4ee88': + resolution: {integrity: sha512-Jn5WbK0lRqaIjUZa2XSmaeAuQZF5i8u9cLWoTF2jCT0Z06XTxhaj6dRUi7zDQXOspvw/tcj+234w1Gg+l3EHxw==} + '@walletconnect/events@1.0.1': resolution: {integrity: sha512-NPTqaoi0oPBVNuLv7qPaJazmGHs5JGyO8eEAk5VGKmJzDR7AHzD4k6ilox5kxk1iwiOnFopBOOMLs86Oa76HpQ==} @@ -6104,6 +6110,9 @@ packages: '@walletconnect/sign-client@2.14.0': resolution: {integrity: sha512-UrB3S3eLjPYfBLCN3WJ5u7+WcZ8kFMe/QIDqLf76Jk6TaLwkSUy563LvnSw4KW/kA+/cY1KBSdUDfX1tzYJJXg==} + '@walletconnect/sign-client@2.14.0-canary-e4ee88': + resolution: {integrity: sha512-fUZWdsUd4iz02HGTexdF6cg4Qg40KUSu+hutN0RFZMpxEWv4TVxT21npVJfGUsrYIUYh+nZ7Bi+haZwfrap7XA==} + '@walletconnect/time@1.0.2': resolution: {integrity: sha512-uzdd9woDcJ1AaBZRhqy5rNC9laqWGErfc4dxA9a87mPdKOgWMD85mcFo9dIYIts/Jwocfwn07EC6EzclKubk/g==} @@ -6117,15 +6126,24 @@ packages: '@walletconnect/types@2.14.0': resolution: {integrity: sha512-vevMi4jZLJ55vLuFOicQFmBBbLyb+S0sZS4IsaBdZkQflfGIq34HkN13c/KPl4Ye0aoR4/cUcUSitmGIzEQM5g==} + '@walletconnect/types@2.14.0-canary-e4ee88': + resolution: {integrity: sha512-uuuQOjxMvmg+aN19tIVH4akyGfutAgSxbsFtBcsWomG/GoA5jtEOZ0uGXg1MKFihH0D7J41CuHYI6hqndFE/Sg==} + '@walletconnect/universal-provider@2.14.0': resolution: {integrity: sha512-Mr8uoTmD6H0+Hh+3gxBu4l3T2uP/nNPR02sVtwEujNum++F727mMk+ifPRIpkVo21V/bvXFEy8sHTs5hqyq5iA==} + '@walletconnect/universal-provider@2.14.0-canary-e4ee88': + resolution: {integrity: sha512-aV4avkgvyhUdxhpVLYzqlTNTjqJBb5PayPcwQ6ATa6p7b2Rx5zXRcd0d74UVO3AslQeI1VXxr1GYQloFdhyF0Q==} + '@walletconnect/utils@2.12.0': resolution: {integrity: sha512-GIpfHUe1Bjp1Tjda0SkJEizKOT2biuv7VPFnKsOLT1T+8QxEP9NruC+K2UUEvijS1Qr/LKH9P5004RYNgrch+w==} '@walletconnect/utils@2.14.0': resolution: {integrity: sha512-vRVomYQEtEAyCK2c5bzzEvtgxaGGITF8mWuIL+WYSAMyEJLY97mirP2urDucNwcUczwxUgI+no9RiNFbUHreQQ==} + '@walletconnect/utils@2.14.0-canary-e4ee88': + resolution: {integrity: sha512-suCMZWBi9gMfY7ca9bFBRVxct/OiONq/WiBIfCGpQ3rZ3LujoRo13pyq7jPiWtgmIau8MfLrg9zQpt7Mcv/YUA==} + '@walletconnect/window-getters@1.0.0': resolution: {integrity: sha512-xB0SQsLaleIYIkSsl43vm8EwETpBzJ2gnzk7e0wMF3ktqiTGS6TFHxcprMl5R44KKh4tCcHCJwolMCaDSwtAaA==} @@ -15247,7 +15265,7 @@ snapshots: '@solana/web3.js': 1.91.7(bufferutil@4.0.8)(utf-8-validate@5.0.10) '@walletconnect/qrcode-modal': 1.8.0 '@walletconnect/sign-client': 2.14.0(bufferutil@4.0.8)(utf-8-validate@5.0.10) - '@walletconnect/utils': 2.14.0 + '@walletconnect/utils': 2.12.0 bs58: 5.0.0 transitivePeerDependencies: - '@azure/app-configuration' @@ -16663,6 +16681,23 @@ snapshots: optionalDependencies: '@types/react': 18.2.62 + '@react-native/virtualized-lists@0.74.86(@types/react@18.2.62)(react-native@0.74.4(@babel/core@7.25.2)(@types/react@18.2.62)(bufferutil@4.0.8)(react@18.2.0)(utf-8-validate@5.0.10))(react@18.2.0)': + dependencies: + invariant: 2.2.4 + nullthrows: 1.1.1 + react: 18.2.0 + react-native: 0.74.4(@babel/core@7.25.2)(@types/react@18.2.62)(bufferutil@4.0.8)(react@18.2.0)(utf-8-validate@5.0.10) + optionalDependencies: + '@types/react': 18.2.62 + optional: true + + '@react-native/virtualized-lists@0.74.86(react-native@0.74.4(@babel/core@7.25.2)(bufferutil@4.0.8)(utf-8-validate@5.0.10))': + dependencies: + invariant: 2.2.4 + nullthrows: 1.1.1 + react-native: 0.74.4(@babel/core@7.25.2)(bufferutil@4.0.8)(utf-8-validate@5.0.10) + optional: true + '@rnx-kit/chromium-edge-launcher@1.0.0': dependencies: '@types/node': 18.19.43 @@ -17336,6 +17371,40 @@ snapshots: - tslib - utf-8-validate + '@solana/wallet-adapter-trezor@0.1.2(@babel/core@7.25.2)(@solana/web3.js@1.91.7(bufferutil@4.0.8)(utf-8-validate@5.0.10))(bufferutil@4.0.8)(react-native@0.74.4(@babel/core@7.25.2)(@types/react@18.2.62)(bufferutil@4.0.8)(react@18.2.0)(utf-8-validate@5.0.10))(tslib@2.6.3)(utf-8-validate@5.0.10)': + dependencies: + '@solana/wallet-adapter-base': 0.9.23(@solana/web3.js@1.91.7(bufferutil@4.0.8)(utf-8-validate@5.0.10)) + '@solana/web3.js': 1.91.7(bufferutil@4.0.8)(utf-8-validate@5.0.10) + '@trezor/connect-web': 9.3.0(@babel/core@7.25.2)(bufferutil@4.0.8)(react-native@0.74.4(@babel/core@7.25.2)(@types/react@18.2.62)(bufferutil@4.0.8)(react@18.2.0)(utf-8-validate@5.0.10))(tslib@2.6.3)(utf-8-validate@5.0.10) + buffer: 6.0.3 + transitivePeerDependencies: + - '@babel/core' + - bufferutil + - encoding + - expo-constants + - expo-localization + - react-native + - supports-color + - tslib + - utf-8-validate + + '@solana/wallet-adapter-trezor@0.1.2(@babel/core@7.25.2)(@solana/web3.js@1.91.7(bufferutil@4.0.8)(utf-8-validate@5.0.10))(bufferutil@4.0.8)(react-native@0.74.4(@babel/core@7.25.2)(bufferutil@4.0.8)(utf-8-validate@5.0.10))(tslib@2.6.3)(utf-8-validate@5.0.10)': + dependencies: + '@solana/wallet-adapter-base': 0.9.23(@solana/web3.js@1.91.7(bufferutil@4.0.8)(utf-8-validate@5.0.10)) + '@solana/web3.js': 1.91.7(bufferutil@4.0.8)(utf-8-validate@5.0.10) + '@trezor/connect-web': 9.3.0(@babel/core@7.25.2)(bufferutil@4.0.8)(react-native@0.74.4(@babel/core@7.25.2)(bufferutil@4.0.8)(utf-8-validate@5.0.10))(tslib@2.6.3)(utf-8-validate@5.0.10) + buffer: 6.0.3 + transitivePeerDependencies: + - '@babel/core' + - bufferutil + - encoding + - expo-constants + - expo-localization + - react-native + - supports-color + - tslib + - utf-8-validate + '@solana/wallet-adapter-trust@0.1.13(@solana/web3.js@1.91.7(bufferutil@4.0.8)(utf-8-validate@5.0.10))': dependencies: '@solana/wallet-adapter-base': 0.9.23(@solana/web3.js@1.91.7(bufferutil@4.0.8)(utf-8-validate@5.0.10)) @@ -17442,7 +17511,7 @@ snapshots: - uWebSockets.js - utf-8-validate - '@solana/wallet-adapter-wallets@0.19.32(@babel/core@7.25.2)(@babel/runtime@7.25.0)(@sentry/types@7.92.0)(@solana/web3.js@1.91.7(bufferutil@4.0.8)(utf-8-validate@5.0.10))(bufferutil@4.0.8)(react-dom@18.2.0(react@18.2.0))(react@18.2.0)(tslib@2.6.3)(utf-8-validate@5.0.10)': + '@solana/wallet-adapter-wallets@0.19.32(@babel/core@7.25.2)(@babel/runtime@7.25.0)(@sentry/types@7.92.0)(@solana/web3.js@1.91.7(bufferutil@4.0.8)(utf-8-validate@5.0.10))(bufferutil@4.0.8)(react-dom@18.2.0(react@18.2.0))(react-native@0.74.4(@babel/core@7.25.2)(@types/react@18.2.62)(bufferutil@4.0.8)(react@18.2.0)(utf-8-validate@5.0.10))(react@18.2.0)(tslib@2.6.3)(utf-8-validate@5.0.10)': dependencies: '@solana/wallet-adapter-alpha': 0.1.10(@solana/web3.js@1.91.7(bufferutil@4.0.8)(utf-8-validate@5.0.10)) '@solana/wallet-adapter-avana': 0.1.13(@solana/web3.js@1.91.7(bufferutil@4.0.8)(utf-8-validate@5.0.10)) @@ -17475,7 +17544,76 @@ snapshots: '@solana/wallet-adapter-tokenary': 0.1.12(@solana/web3.js@1.91.7(bufferutil@4.0.8)(utf-8-validate@5.0.10)) '@solana/wallet-adapter-tokenpocket': 0.4.19(@solana/web3.js@1.91.7(bufferutil@4.0.8)(utf-8-validate@5.0.10)) '@solana/wallet-adapter-torus': 0.11.28(@babel/runtime@7.25.0)(@sentry/types@7.92.0)(@solana/web3.js@1.91.7(bufferutil@4.0.8)(utf-8-validate@5.0.10))(bufferutil@4.0.8)(utf-8-validate@5.0.10) - '@solana/wallet-adapter-trezor': 0.1.2(@babel/core@7.25.2)(@solana/web3.js@1.91.7(bufferutil@4.0.8)(utf-8-validate@5.0.10))(bufferutil@4.0.8)(react-native@0.74.4(@babel/core@7.25.2)(@babel/preset-env@7.25.3(@babel/core@7.25.2))(@types/react@18.2.62)(bufferutil@4.0.8)(react@18.2.0)(utf-8-validate@5.0.10))(tslib@2.6.3)(utf-8-validate@5.0.10) + '@solana/wallet-adapter-trezor': 0.1.2(@babel/core@7.25.2)(@solana/web3.js@1.91.7(bufferutil@4.0.8)(utf-8-validate@5.0.10))(bufferutil@4.0.8)(react-native@0.74.4(@babel/core@7.25.2)(@types/react@18.2.62)(bufferutil@4.0.8)(react@18.2.0)(utf-8-validate@5.0.10))(tslib@2.6.3)(utf-8-validate@5.0.10) + '@solana/wallet-adapter-trust': 0.1.13(@solana/web3.js@1.91.7(bufferutil@4.0.8)(utf-8-validate@5.0.10)) + '@solana/wallet-adapter-unsafe-burner': 0.1.7(@solana/web3.js@1.91.7(bufferutil@4.0.8)(utf-8-validate@5.0.10)) + '@solana/wallet-adapter-walletconnect': 0.1.16(@solana/web3.js@1.91.7(bufferutil@4.0.8)(utf-8-validate@5.0.10))(bufferutil@4.0.8)(utf-8-validate@5.0.10) + '@solana/wallet-adapter-xdefi': 0.1.7(@solana/web3.js@1.91.7(bufferutil@4.0.8)(utf-8-validate@5.0.10)) + '@solana/web3.js': 1.91.7(bufferutil@4.0.8)(utf-8-validate@5.0.10) + transitivePeerDependencies: + - '@azure/app-configuration' + - '@azure/cosmos' + - '@azure/data-tables' + - '@azure/identity' + - '@azure/keyvault-secrets' + - '@azure/storage-blob' + - '@babel/core' + - '@babel/runtime' + - '@capacitor/preferences' + - '@netlify/blobs' + - '@planetscale/database' + - '@react-native-async-storage/async-storage' + - '@sentry/types' + - '@upstash/redis' + - '@vercel/kv' + - bs58 + - bufferutil + - encoding + - expo-constants + - expo-localization + - ioredis + - react + - react-dom + - react-native + - supports-color + - tslib + - uWebSockets.js + - utf-8-validate + + '@solana/wallet-adapter-wallets@0.19.32(@babel/core@7.25.2)(@babel/runtime@7.25.0)(@sentry/types@7.92.0)(@solana/web3.js@1.91.7(bufferutil@4.0.8)(utf-8-validate@5.0.10))(bufferutil@4.0.8)(react-native@0.74.4(@babel/core@7.25.2)(bufferutil@4.0.8)(utf-8-validate@5.0.10))(tslib@2.6.3)(utf-8-validate@5.0.10)': + dependencies: + '@solana/wallet-adapter-alpha': 0.1.10(@solana/web3.js@1.91.7(bufferutil@4.0.8)(utf-8-validate@5.0.10)) + '@solana/wallet-adapter-avana': 0.1.13(@solana/web3.js@1.91.7(bufferutil@4.0.8)(utf-8-validate@5.0.10)) + '@solana/wallet-adapter-bitkeep': 0.3.20(@solana/web3.js@1.91.7(bufferutil@4.0.8)(utf-8-validate@5.0.10)) + '@solana/wallet-adapter-bitpie': 0.5.18(@solana/web3.js@1.91.7(bufferutil@4.0.8)(utf-8-validate@5.0.10)) + '@solana/wallet-adapter-clover': 0.4.19(@solana/web3.js@1.91.7(bufferutil@4.0.8)(utf-8-validate@5.0.10)) + '@solana/wallet-adapter-coin98': 0.5.20(@solana/web3.js@1.91.7(bufferutil@4.0.8)(utf-8-validate@5.0.10)) + '@solana/wallet-adapter-coinbase': 0.1.19(@solana/web3.js@1.91.7(bufferutil@4.0.8)(utf-8-validate@5.0.10)) + '@solana/wallet-adapter-coinhub': 0.3.18(@solana/web3.js@1.91.7(bufferutil@4.0.8)(utf-8-validate@5.0.10)) + '@solana/wallet-adapter-fractal': 0.1.8(@solana/web3.js@1.91.7(bufferutil@4.0.8)(utf-8-validate@5.0.10))(react-dom@18.2.0(react@18.2.0))(react@18.2.0) + '@solana/wallet-adapter-huobi': 0.1.15(@solana/web3.js@1.91.7(bufferutil@4.0.8)(utf-8-validate@5.0.10)) + '@solana/wallet-adapter-hyperpay': 0.1.14(@solana/web3.js@1.91.7(bufferutil@4.0.8)(utf-8-validate@5.0.10)) + '@solana/wallet-adapter-keystone': 0.1.15(@solana/web3.js@1.91.7(bufferutil@4.0.8)(utf-8-validate@5.0.10))(bufferutil@4.0.8)(utf-8-validate@5.0.10) + '@solana/wallet-adapter-krystal': 0.1.12(@solana/web3.js@1.91.7(bufferutil@4.0.8)(utf-8-validate@5.0.10)) + '@solana/wallet-adapter-ledger': 0.9.25(@solana/web3.js@1.91.7(bufferutil@4.0.8)(utf-8-validate@5.0.10)) + '@solana/wallet-adapter-mathwallet': 0.9.18(@solana/web3.js@1.91.7(bufferutil@4.0.8)(utf-8-validate@5.0.10)) + '@solana/wallet-adapter-neko': 0.2.12(@solana/web3.js@1.91.7(bufferutil@4.0.8)(utf-8-validate@5.0.10)) + '@solana/wallet-adapter-nightly': 0.1.16(@solana/web3.js@1.91.7(bufferutil@4.0.8)(utf-8-validate@5.0.10)) + '@solana/wallet-adapter-nufi': 0.1.17(@solana/web3.js@1.91.7(bufferutil@4.0.8)(utf-8-validate@5.0.10)) + '@solana/wallet-adapter-onto': 0.1.7(@solana/web3.js@1.91.7(bufferutil@4.0.8)(utf-8-validate@5.0.10)) + '@solana/wallet-adapter-particle': 0.1.12(@solana/web3.js@1.91.7(bufferutil@4.0.8)(utf-8-validate@5.0.10))(bs58@6.0.0) + '@solana/wallet-adapter-phantom': 0.9.24(@solana/web3.js@1.91.7(bufferutil@4.0.8)(utf-8-validate@5.0.10)) + '@solana/wallet-adapter-safepal': 0.5.18(@solana/web3.js@1.91.7(bufferutil@4.0.8)(utf-8-validate@5.0.10)) + '@solana/wallet-adapter-saifu': 0.1.15(@solana/web3.js@1.91.7(bufferutil@4.0.8)(utf-8-validate@5.0.10)) + '@solana/wallet-adapter-salmon': 0.1.14(@solana/web3.js@1.91.7(bufferutil@4.0.8)(utf-8-validate@5.0.10)) + '@solana/wallet-adapter-sky': 0.1.15(@solana/web3.js@1.91.7(bufferutil@4.0.8)(utf-8-validate@5.0.10)) + '@solana/wallet-adapter-solflare': 0.6.28(@solana/web3.js@1.91.7(bufferutil@4.0.8)(utf-8-validate@5.0.10)) + '@solana/wallet-adapter-solong': 0.9.18(@solana/web3.js@1.91.7(bufferutil@4.0.8)(utf-8-validate@5.0.10)) + '@solana/wallet-adapter-spot': 0.1.15(@solana/web3.js@1.91.7(bufferutil@4.0.8)(utf-8-validate@5.0.10)) + '@solana/wallet-adapter-tokenary': 0.1.12(@solana/web3.js@1.91.7(bufferutil@4.0.8)(utf-8-validate@5.0.10)) + '@solana/wallet-adapter-tokenpocket': 0.4.19(@solana/web3.js@1.91.7(bufferutil@4.0.8)(utf-8-validate@5.0.10)) + '@solana/wallet-adapter-torus': 0.11.28(@babel/runtime@7.25.0)(@sentry/types@7.92.0)(@solana/web3.js@1.91.7(bufferutil@4.0.8)(utf-8-validate@5.0.10))(bufferutil@4.0.8)(utf-8-validate@5.0.10) + '@solana/wallet-adapter-trezor': 0.1.2(@babel/core@7.25.2)(@solana/web3.js@1.91.7(bufferutil@4.0.8)(utf-8-validate@5.0.10))(bufferutil@4.0.8)(react-native@0.74.4(@babel/core@7.25.2)(bufferutil@4.0.8)(utf-8-validate@5.0.10))(tslib@2.6.3)(utf-8-validate@5.0.10) '@solana/wallet-adapter-trust': 0.1.13(@solana/web3.js@1.91.7(bufferutil@4.0.8)(utf-8-validate@5.0.10)) '@solana/wallet-adapter-unsafe-burner': 0.1.7(@solana/web3.js@1.91.7(bufferutil@4.0.8)(utf-8-validate@5.0.10)) '@solana/wallet-adapter-walletconnect': 0.1.16(@solana/web3.js@1.91.7(bufferutil@4.0.8)(utf-8-validate@5.0.10))(bufferutil@4.0.8)(utf-8-validate@5.0.10) @@ -17813,7 +17951,7 @@ snapshots: - encoding - supports-color - '@storybook/builder-vite@7.6.7(typescript@5.3.3)(vite@5.2.11(@types/node@20.11.5))': + '@storybook/builder-vite@7.6.7(typescript@5.3.3)(vite@5.2.11(@types/node@20.11.5)(terser@5.31.3))': dependencies: '@storybook/channels': 7.6.7 '@storybook/client-logger': 7.6.7 @@ -18154,9 +18292,9 @@ snapshots: '@types/express': 4.17.21 file-system-cache: 2.3.0 - '@storybook/web-components-vite@7.6.7(bufferutil@4.0.8)(lit@3.1.0)(react-dom@18.2.0(react@18.2.0))(react@18.2.0)(typescript@5.3.3)(utf-8-validate@5.0.10)(vite@5.2.11(@types/node@20.11.5))': + '@storybook/web-components-vite@7.6.7(bufferutil@4.0.8)(lit@3.1.0)(react-dom@18.2.0(react@18.2.0))(react@18.2.0)(typescript@5.3.3)(utf-8-validate@5.0.10)(vite@5.2.11(@types/node@20.11.5)(terser@5.31.3))': dependencies: - '@storybook/builder-vite': 7.6.7(typescript@5.3.3)(vite@5.2.11(@types/node@20.11.5)) + '@storybook/builder-vite': 7.6.7(typescript@5.3.3)(vite@5.2.11(@types/node@20.11.5)(terser@5.31.3)) '@storybook/core-server': 7.6.7(bufferutil@4.0.8)(utf-8-validate@5.0.10) '@storybook/node-logger': 7.6.7 '@storybook/web-components': 7.6.7(lit@3.1.0)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) @@ -18418,6 +18556,26 @@ snapshots: - expo-localization - react-native + '@trezor/analytics@1.1.0(react-native@0.74.4(@babel/core@7.25.2)(@types/react@18.2.62)(bufferutil@4.0.8)(react@18.2.0)(utf-8-validate@5.0.10))(tslib@2.6.3)': + dependencies: + '@trezor/env-utils': 1.1.0(react-native@0.74.4(@babel/core@7.25.2)(@types/react@18.2.62)(bufferutil@4.0.8)(react@18.2.0)(utf-8-validate@5.0.10))(tslib@2.6.3) + '@trezor/utils': 9.1.0(tslib@2.6.3) + tslib: 2.6.3 + transitivePeerDependencies: + - expo-constants + - expo-localization + - react-native + + '@trezor/analytics@1.1.0(react-native@0.74.4(@babel/core@7.25.2)(bufferutil@4.0.8)(utf-8-validate@5.0.10))(tslib@2.6.3)': + dependencies: + '@trezor/env-utils': 1.1.0(react-native@0.74.4(@babel/core@7.25.2)(bufferutil@4.0.8)(utf-8-validate@5.0.10))(tslib@2.6.3) + '@trezor/utils': 9.1.0(tslib@2.6.3) + tslib: 2.6.3 + transitivePeerDependencies: + - expo-constants + - expo-localization + - react-native + '@trezor/blockchain-link-types@1.1.0(bufferutil@4.0.8)(tslib@2.6.3)(utf-8-validate@5.0.10)': dependencies: '@solana/web3.js': 1.91.7(bufferutil@4.0.8)(utf-8-validate@5.0.10) @@ -18446,56 +18604,74 @@ snapshots: - react-native - utf-8-validate - '@trezor/blockchain-link@2.2.0(bufferutil@4.0.8)(react-native@0.74.4(@babel/core@7.25.2)(@babel/preset-env@7.25.3(@babel/core@7.25.2))(@types/react@18.2.62)(bufferutil@4.0.8)(react@18.2.0)(utf-8-validate@5.0.10))(tslib@2.6.3)(utf-8-validate@5.0.10)': + '@trezor/blockchain-link-utils@1.1.0(bufferutil@4.0.8)(react-native@0.74.4(@babel/core@7.25.2)(@types/react@18.2.62)(bufferutil@4.0.8)(react@18.2.0)(utf-8-validate@5.0.10))(tslib@2.6.3)(utf-8-validate@5.0.10)': dependencies: - '@solana/buffer-layout': 4.0.1 + '@mobily/ts-belt': 3.13.1 '@solana/web3.js': 1.91.7(bufferutil@4.0.8)(utf-8-validate@5.0.10) - '@trezor/blockchain-link-types': 1.1.0(bufferutil@4.0.8)(tslib@2.6.3)(utf-8-validate@5.0.10) - '@trezor/blockchain-link-utils': 1.1.0(bufferutil@4.0.8)(react-native@0.74.4(@babel/core@7.25.2)(@babel/preset-env@7.25.3(@babel/core@7.25.2))(@types/react@18.2.62)(bufferutil@4.0.8)(react@18.2.0)(utf-8-validate@5.0.10))(tslib@2.6.3)(utf-8-validate@5.0.10) + '@trezor/env-utils': 1.1.0(react-native@0.74.4(@babel/core@7.25.2)(@types/react@18.2.62)(bufferutil@4.0.8)(react@18.2.0)(utf-8-validate@5.0.10))(tslib@2.6.3) '@trezor/utils': 9.1.0(tslib@2.6.3) - '@trezor/utxo-lib': 2.1.0(tslib@2.6.3) - '@types/web': 0.0.138 - events: 3.3.0 - ripple-lib: 1.10.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) - socks-proxy-agent: 6.1.1 tslib: 2.6.3 - ws: 8.18.0(bufferutil@4.0.8)(utf-8-validate@5.0.10) transitivePeerDependencies: - bufferutil - encoding - expo-constants - expo-localization - react-native - - supports-color - utf-8-validate - '@trezor/connect-analytics@1.1.0(react-native@0.74.4(@babel/core@7.25.2)(@babel/preset-env@7.25.3(@babel/core@7.25.2))(@types/react@18.2.62)(bufferutil@4.0.8)(react@18.2.0)(utf-8-validate@5.0.10))(tslib@2.6.3)': + '@trezor/blockchain-link-utils@1.1.0(bufferutil@4.0.8)(react-native@0.74.4(@babel/core@7.25.2)(bufferutil@4.0.8)(utf-8-validate@5.0.10))(tslib@2.6.3)(utf-8-validate@5.0.10)': dependencies: - '@trezor/analytics': 1.1.0(react-native@0.74.4(@babel/core@7.25.2)(@babel/preset-env@7.25.3(@babel/core@7.25.2))(@types/react@18.2.62)(bufferutil@4.0.8)(react@18.2.0)(utf-8-validate@5.0.10))(tslib@2.6.3) + '@mobily/ts-belt': 3.13.1 + '@solana/web3.js': 1.91.7(bufferutil@4.0.8)(utf-8-validate@5.0.10) + '@trezor/env-utils': 1.1.0(react-native@0.74.4(@babel/core@7.25.2)(bufferutil@4.0.8)(utf-8-validate@5.0.10))(tslib@2.6.3) + '@trezor/utils': 9.1.0(tslib@2.6.3) tslib: 2.6.3 transitivePeerDependencies: + - bufferutil + - encoding - expo-constants - expo-localization - react-native + - utf-8-validate - '@trezor/connect-common@0.1.0(react-native@0.74.4(@babel/core@7.25.2)(@babel/preset-env@7.25.3(@babel/core@7.25.2))(@types/react@18.2.62)(bufferutil@4.0.8)(react@18.2.0)(utf-8-validate@5.0.10))(tslib@2.6.3)': + '@trezor/blockchain-link@2.2.0(bufferutil@4.0.8)(react-native@0.74.4(@babel/core@7.25.2)(@babel/preset-env@7.25.3(@babel/core@7.25.2))(@types/react@18.2.62)(bufferutil@4.0.8)(react@18.2.0)(utf-8-validate@5.0.10))(tslib@2.6.3)(utf-8-validate@5.0.10)': dependencies: - '@trezor/env-utils': 1.1.0(react-native@0.74.4(@babel/core@7.25.2)(@babel/preset-env@7.25.3(@babel/core@7.25.2))(@types/react@18.2.62)(bufferutil@4.0.8)(react@18.2.0)(utf-8-validate@5.0.10))(tslib@2.6.3) + '@solana/buffer-layout': 4.0.1 + '@solana/web3.js': 1.91.7(bufferutil@4.0.8)(utf-8-validate@5.0.10) + '@trezor/blockchain-link-types': 1.1.0(bufferutil@4.0.8)(tslib@2.6.3)(utf-8-validate@5.0.10) + '@trezor/blockchain-link-utils': 1.1.0(bufferutil@4.0.8)(react-native@0.74.4(@babel/core@7.25.2)(@babel/preset-env@7.25.3(@babel/core@7.25.2))(@types/react@18.2.62)(bufferutil@4.0.8)(react@18.2.0)(utf-8-validate@5.0.10))(tslib@2.6.3)(utf-8-validate@5.0.10) '@trezor/utils': 9.1.0(tslib@2.6.3) + '@trezor/utxo-lib': 2.1.0(tslib@2.6.3) + '@types/web': 0.0.138 + events: 3.3.0 + ripple-lib: 1.10.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) + socks-proxy-agent: 6.1.1 tslib: 2.6.3 + ws: 8.18.0(bufferutil@4.0.8)(utf-8-validate@5.0.10) transitivePeerDependencies: + - bufferutil + - encoding - expo-constants - expo-localization - react-native + - supports-color + - utf-8-validate - '@trezor/connect-web@9.3.0(@babel/core@7.25.2)(bufferutil@4.0.8)(react-native@0.74.4(@babel/core@7.25.2)(@babel/preset-env@7.25.3(@babel/core@7.25.2))(@types/react@18.2.62)(bufferutil@4.0.8)(react@18.2.0)(utf-8-validate@5.0.10))(tslib@2.6.3)(utf-8-validate@5.0.10)': + '@trezor/blockchain-link@2.2.0(bufferutil@4.0.8)(react-native@0.74.4(@babel/core@7.25.2)(@types/react@18.2.62)(bufferutil@4.0.8)(react@18.2.0)(utf-8-validate@5.0.10))(tslib@2.6.3)(utf-8-validate@5.0.10)': dependencies: - '@trezor/connect': 9.3.0(@babel/core@7.25.2)(bufferutil@4.0.8)(react-native@0.74.4(@babel/core@7.25.2)(@babel/preset-env@7.25.3(@babel/core@7.25.2))(@types/react@18.2.62)(bufferutil@4.0.8)(react@18.2.0)(utf-8-validate@5.0.10))(tslib@2.6.3)(utf-8-validate@5.0.10) - '@trezor/connect-common': 0.1.0(react-native@0.74.4(@babel/core@7.25.2)(@babel/preset-env@7.25.3(@babel/core@7.25.2))(@types/react@18.2.62)(bufferutil@4.0.8)(react@18.2.0)(utf-8-validate@5.0.10))(tslib@2.6.3) + '@solana/buffer-layout': 4.0.1 + '@solana/web3.js': 1.91.7(bufferutil@4.0.8)(utf-8-validate@5.0.10) + '@trezor/blockchain-link-types': 1.1.0(bufferutil@4.0.8)(tslib@2.6.3)(utf-8-validate@5.0.10) + '@trezor/blockchain-link-utils': 1.1.0(bufferutil@4.0.8)(react-native@0.74.4(@babel/core@7.25.2)(@types/react@18.2.62)(bufferutil@4.0.8)(react@18.2.0)(utf-8-validate@5.0.10))(tslib@2.6.3)(utf-8-validate@5.0.10) '@trezor/utils': 9.1.0(tslib@2.6.3) + '@trezor/utxo-lib': 2.1.0(tslib@2.6.3) + '@types/web': 0.0.138 + events: 3.3.0 + ripple-lib: 1.10.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) + socks-proxy-agent: 6.1.1 tslib: 2.6.3 + ws: 8.18.0(bufferutil@4.0.8)(utf-8-validate@5.0.10) transitivePeerDependencies: - - '@babel/core' - bufferutil - encoding - expo-constants @@ -18504,29 +18680,21 @@ snapshots: - supports-color - utf-8-validate - '@trezor/connect@9.3.0(@babel/core@7.25.2)(bufferutil@4.0.8)(react-native@0.74.4(@babel/core@7.25.2)(@babel/preset-env@7.25.3(@babel/core@7.25.2))(@types/react@18.2.62)(bufferutil@4.0.8)(react@18.2.0)(utf-8-validate@5.0.10))(tslib@2.6.3)(utf-8-validate@5.0.10)': + '@trezor/blockchain-link@2.2.0(bufferutil@4.0.8)(react-native@0.74.4(@babel/core@7.25.2)(bufferutil@4.0.8)(utf-8-validate@5.0.10))(tslib@2.6.3)(utf-8-validate@5.0.10)': dependencies: - '@babel/preset-typescript': 7.24.7(@babel/core@7.25.2) - '@ethereumjs/common': 4.3.0 - '@ethereumjs/tx': 5.3.0 - '@fivebinaries/coin-selection': 2.2.1 - '@trezor/blockchain-link': 2.2.0(bufferutil@4.0.8)(react-native@0.74.4(@babel/core@7.25.2)(@babel/preset-env@7.25.3(@babel/core@7.25.2))(@types/react@18.2.62)(bufferutil@4.0.8)(react@18.2.0)(utf-8-validate@5.0.10))(tslib@2.6.3)(utf-8-validate@5.0.10) + '@solana/buffer-layout': 4.0.1 + '@solana/web3.js': 1.91.7(bufferutil@4.0.8)(utf-8-validate@5.0.10) '@trezor/blockchain-link-types': 1.1.0(bufferutil@4.0.8)(tslib@2.6.3)(utf-8-validate@5.0.10) - '@trezor/connect-analytics': 1.1.0(react-native@0.74.4(@babel/core@7.25.2)(@babel/preset-env@7.25.3(@babel/core@7.25.2))(@types/react@18.2.62)(bufferutil@4.0.8)(react@18.2.0)(utf-8-validate@5.0.10))(tslib@2.6.3) - '@trezor/connect-common': 0.1.0(react-native@0.74.4(@babel/core@7.25.2)(@babel/preset-env@7.25.3(@babel/core@7.25.2))(@types/react@18.2.62)(bufferutil@4.0.8)(react@18.2.0)(utf-8-validate@5.0.10))(tslib@2.6.3) - '@trezor/protobuf': 1.1.0(tslib@2.6.3) - '@trezor/protocol': 1.1.0(tslib@2.6.3) - '@trezor/schema-utils': 1.1.0(tslib@2.6.3) - '@trezor/transport': 1.2.0(tslib@2.6.3) + '@trezor/blockchain-link-utils': 1.1.0(bufferutil@4.0.8)(react-native@0.74.4(@babel/core@7.25.2)(bufferutil@4.0.8)(utf-8-validate@5.0.10))(tslib@2.6.3)(utf-8-validate@5.0.10) '@trezor/utils': 9.1.0(tslib@2.6.3) '@trezor/utxo-lib': 2.1.0(tslib@2.6.3) - blakejs: 1.2.1 - bs58: 5.0.0 - bs58check: 3.0.1 - cross-fetch: 4.0.0 + '@types/web': 0.0.138 + events: 3.3.0 + ripple-lib: 1.10.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) + socks-proxy-agent: 6.1.1 tslib: 2.6.3 + ws: 8.18.0(bufferutil@4.0.8)(utf-8-validate@5.0.10) transitivePeerDependencies: - - '@babel/core' - bufferutil - encoding - expo-constants @@ -18535,33 +18703,245 @@ snapshots: - supports-color - utf-8-validate - '@trezor/env-utils@1.1.0(react-native@0.74.4(@babel/core@7.25.2)(@babel/preset-env@7.25.3(@babel/core@7.25.2))(@types/react@18.2.62)(bufferutil@4.0.8)(react@18.2.0)(utf-8-validate@5.0.10))(tslib@2.6.3)': + '@trezor/connect-analytics@1.1.0(react-native@0.74.4(@babel/core@7.25.2)(@babel/preset-env@7.25.3(@babel/core@7.25.2))(@types/react@18.2.62)(bufferutil@4.0.8)(react@18.2.0)(utf-8-validate@5.0.10))(tslib@2.6.3)': dependencies: + '@trezor/analytics': 1.1.0(react-native@0.74.4(@babel/core@7.25.2)(@babel/preset-env@7.25.3(@babel/core@7.25.2))(@types/react@18.2.62)(bufferutil@4.0.8)(react@18.2.0)(utf-8-validate@5.0.10))(tslib@2.6.3) tslib: 2.6.3 - ua-parser-js: 1.0.38 - optionalDependencies: - react-native: 0.74.4(@babel/core@7.25.2)(@babel/preset-env@7.25.3(@babel/core@7.25.2))(@types/react@18.2.62)(bufferutil@4.0.8)(react@18.2.0)(utf-8-validate@5.0.10) + transitivePeerDependencies: + - expo-constants + - expo-localization + - react-native - '@trezor/protobuf@1.1.0(tslib@2.6.3)': + '@trezor/connect-analytics@1.1.0(react-native@0.74.4(@babel/core@7.25.2)(@types/react@18.2.62)(bufferutil@4.0.8)(react@18.2.0)(utf-8-validate@5.0.10))(tslib@2.6.3)': dependencies: - '@trezor/schema-utils': 1.1.0(tslib@2.6.3) - protobufjs: 7.2.6 + '@trezor/analytics': 1.1.0(react-native@0.74.4(@babel/core@7.25.2)(@types/react@18.2.62)(bufferutil@4.0.8)(react@18.2.0)(utf-8-validate@5.0.10))(tslib@2.6.3) tslib: 2.6.3 + transitivePeerDependencies: + - expo-constants + - expo-localization + - react-native - '@trezor/protocol@1.1.0(tslib@2.6.3)': + '@trezor/connect-analytics@1.1.0(react-native@0.74.4(@babel/core@7.25.2)(bufferutil@4.0.8)(utf-8-validate@5.0.10))(tslib@2.6.3)': dependencies: + '@trezor/analytics': 1.1.0(react-native@0.74.4(@babel/core@7.25.2)(bufferutil@4.0.8)(utf-8-validate@5.0.10))(tslib@2.6.3) tslib: 2.6.3 + transitivePeerDependencies: + - expo-constants + - expo-localization + - react-native - '@trezor/schema-utils@1.1.0(tslib@2.6.3)': + '@trezor/connect-common@0.1.0(react-native@0.74.4(@babel/core@7.25.2)(@babel/preset-env@7.25.3(@babel/core@7.25.2))(@types/react@18.2.62)(bufferutil@4.0.8)(react@18.2.0)(utf-8-validate@5.0.10))(tslib@2.6.3)': dependencies: - '@sinclair/typebox': 0.31.28 - ts-mixer: 6.0.4 + '@trezor/env-utils': 1.1.0(react-native@0.74.4(@babel/core@7.25.2)(@babel/preset-env@7.25.3(@babel/core@7.25.2))(@types/react@18.2.62)(bufferutil@4.0.8)(react@18.2.0)(utf-8-validate@5.0.10))(tslib@2.6.3) + '@trezor/utils': 9.1.0(tslib@2.6.3) tslib: 2.6.3 + transitivePeerDependencies: + - expo-constants + - expo-localization + - react-native - '@trezor/transport@1.2.0(tslib@2.6.3)': + '@trezor/connect-common@0.1.0(react-native@0.74.4(@babel/core@7.25.2)(@types/react@18.2.62)(bufferutil@4.0.8)(react@18.2.0)(utf-8-validate@5.0.10))(tslib@2.6.3)': dependencies: - '@trezor/protobuf': 1.1.0(tslib@2.6.3) - '@trezor/protocol': 1.1.0(tslib@2.6.3) + '@trezor/env-utils': 1.1.0(react-native@0.74.4(@babel/core@7.25.2)(@types/react@18.2.62)(bufferutil@4.0.8)(react@18.2.0)(utf-8-validate@5.0.10))(tslib@2.6.3) + '@trezor/utils': 9.1.0(tslib@2.6.3) + tslib: 2.6.3 + transitivePeerDependencies: + - expo-constants + - expo-localization + - react-native + + '@trezor/connect-common@0.1.0(react-native@0.74.4(@babel/core@7.25.2)(bufferutil@4.0.8)(utf-8-validate@5.0.10))(tslib@2.6.3)': + dependencies: + '@trezor/env-utils': 1.1.0(react-native@0.74.4(@babel/core@7.25.2)(bufferutil@4.0.8)(utf-8-validate@5.0.10))(tslib@2.6.3) + '@trezor/utils': 9.1.0(tslib@2.6.3) + tslib: 2.6.3 + transitivePeerDependencies: + - expo-constants + - expo-localization + - react-native + + '@trezor/connect-web@9.3.0(@babel/core@7.25.2)(bufferutil@4.0.8)(react-native@0.74.4(@babel/core@7.25.2)(@babel/preset-env@7.25.3(@babel/core@7.25.2))(@types/react@18.2.62)(bufferutil@4.0.8)(react@18.2.0)(utf-8-validate@5.0.10))(tslib@2.6.3)(utf-8-validate@5.0.10)': + dependencies: + '@trezor/connect': 9.3.0(@babel/core@7.25.2)(bufferutil@4.0.8)(react-native@0.74.4(@babel/core@7.25.2)(@babel/preset-env@7.25.3(@babel/core@7.25.2))(@types/react@18.2.62)(bufferutil@4.0.8)(react@18.2.0)(utf-8-validate@5.0.10))(tslib@2.6.3)(utf-8-validate@5.0.10) + '@trezor/connect-common': 0.1.0(react-native@0.74.4(@babel/core@7.25.2)(@babel/preset-env@7.25.3(@babel/core@7.25.2))(@types/react@18.2.62)(bufferutil@4.0.8)(react@18.2.0)(utf-8-validate@5.0.10))(tslib@2.6.3) + '@trezor/utils': 9.1.0(tslib@2.6.3) + tslib: 2.6.3 + transitivePeerDependencies: + - '@babel/core' + - bufferutil + - encoding + - expo-constants + - expo-localization + - react-native + - supports-color + - utf-8-validate + + '@trezor/connect-web@9.3.0(@babel/core@7.25.2)(bufferutil@4.0.8)(react-native@0.74.4(@babel/core@7.25.2)(@types/react@18.2.62)(bufferutil@4.0.8)(react@18.2.0)(utf-8-validate@5.0.10))(tslib@2.6.3)(utf-8-validate@5.0.10)': + dependencies: + '@trezor/connect': 9.3.0(@babel/core@7.25.2)(bufferutil@4.0.8)(react-native@0.74.4(@babel/core@7.25.2)(@types/react@18.2.62)(bufferutil@4.0.8)(react@18.2.0)(utf-8-validate@5.0.10))(tslib@2.6.3)(utf-8-validate@5.0.10) + '@trezor/connect-common': 0.1.0(react-native@0.74.4(@babel/core@7.25.2)(@types/react@18.2.62)(bufferutil@4.0.8)(react@18.2.0)(utf-8-validate@5.0.10))(tslib@2.6.3) + '@trezor/utils': 9.1.0(tslib@2.6.3) + tslib: 2.6.3 + transitivePeerDependencies: + - '@babel/core' + - bufferutil + - encoding + - expo-constants + - expo-localization + - react-native + - supports-color + - utf-8-validate + + '@trezor/connect-web@9.3.0(@babel/core@7.25.2)(bufferutil@4.0.8)(react-native@0.74.4(@babel/core@7.25.2)(bufferutil@4.0.8)(utf-8-validate@5.0.10))(tslib@2.6.3)(utf-8-validate@5.0.10)': + dependencies: + '@trezor/connect': 9.3.0(@babel/core@7.25.2)(bufferutil@4.0.8)(react-native@0.74.4(@babel/core@7.25.2)(bufferutil@4.0.8)(utf-8-validate@5.0.10))(tslib@2.6.3)(utf-8-validate@5.0.10) + '@trezor/connect-common': 0.1.0(react-native@0.74.4(@babel/core@7.25.2)(bufferutil@4.0.8)(utf-8-validate@5.0.10))(tslib@2.6.3) + '@trezor/utils': 9.1.0(tslib@2.6.3) + tslib: 2.6.3 + transitivePeerDependencies: + - '@babel/core' + - bufferutil + - encoding + - expo-constants + - expo-localization + - react-native + - supports-color + - utf-8-validate + + '@trezor/connect@9.3.0(@babel/core@7.25.2)(bufferutil@4.0.8)(react-native@0.74.4(@babel/core@7.25.2)(@babel/preset-env@7.25.3(@babel/core@7.25.2))(@types/react@18.2.62)(bufferutil@4.0.8)(react@18.2.0)(utf-8-validate@5.0.10))(tslib@2.6.3)(utf-8-validate@5.0.10)': + dependencies: + '@babel/preset-typescript': 7.24.7(@babel/core@7.25.2) + '@ethereumjs/common': 4.3.0 + '@ethereumjs/tx': 5.3.0 + '@fivebinaries/coin-selection': 2.2.1 + '@trezor/blockchain-link': 2.2.0(bufferutil@4.0.8)(react-native@0.74.4(@babel/core@7.25.2)(@babel/preset-env@7.25.3(@babel/core@7.25.2))(@types/react@18.2.62)(bufferutil@4.0.8)(react@18.2.0)(utf-8-validate@5.0.10))(tslib@2.6.3)(utf-8-validate@5.0.10) + '@trezor/blockchain-link-types': 1.1.0(bufferutil@4.0.8)(tslib@2.6.3)(utf-8-validate@5.0.10) + '@trezor/connect-analytics': 1.1.0(react-native@0.74.4(@babel/core@7.25.2)(@babel/preset-env@7.25.3(@babel/core@7.25.2))(@types/react@18.2.62)(bufferutil@4.0.8)(react@18.2.0)(utf-8-validate@5.0.10))(tslib@2.6.3) + '@trezor/connect-common': 0.1.0(react-native@0.74.4(@babel/core@7.25.2)(@babel/preset-env@7.25.3(@babel/core@7.25.2))(@types/react@18.2.62)(bufferutil@4.0.8)(react@18.2.0)(utf-8-validate@5.0.10))(tslib@2.6.3) + '@trezor/protobuf': 1.1.0(tslib@2.6.3) + '@trezor/protocol': 1.1.0(tslib@2.6.3) + '@trezor/schema-utils': 1.1.0(tslib@2.6.3) + '@trezor/transport': 1.2.0(tslib@2.6.3) + '@trezor/utils': 9.1.0(tslib@2.6.3) + '@trezor/utxo-lib': 2.1.0(tslib@2.6.3) + blakejs: 1.2.1 + bs58: 5.0.0 + bs58check: 3.0.1 + cross-fetch: 4.0.0 + tslib: 2.6.3 + transitivePeerDependencies: + - '@babel/core' + - bufferutil + - encoding + - expo-constants + - expo-localization + - react-native + - supports-color + - utf-8-validate + + '@trezor/connect@9.3.0(@babel/core@7.25.2)(bufferutil@4.0.8)(react-native@0.74.4(@babel/core@7.25.2)(@types/react@18.2.62)(bufferutil@4.0.8)(react@18.2.0)(utf-8-validate@5.0.10))(tslib@2.6.3)(utf-8-validate@5.0.10)': + dependencies: + '@babel/preset-typescript': 7.24.7(@babel/core@7.25.2) + '@ethereumjs/common': 4.3.0 + '@ethereumjs/tx': 5.3.0 + '@fivebinaries/coin-selection': 2.2.1 + '@trezor/blockchain-link': 2.2.0(bufferutil@4.0.8)(react-native@0.74.4(@babel/core@7.25.2)(@types/react@18.2.62)(bufferutil@4.0.8)(react@18.2.0)(utf-8-validate@5.0.10))(tslib@2.6.3)(utf-8-validate@5.0.10) + '@trezor/blockchain-link-types': 1.1.0(bufferutil@4.0.8)(tslib@2.6.3)(utf-8-validate@5.0.10) + '@trezor/connect-analytics': 1.1.0(react-native@0.74.4(@babel/core@7.25.2)(@types/react@18.2.62)(bufferutil@4.0.8)(react@18.2.0)(utf-8-validate@5.0.10))(tslib@2.6.3) + '@trezor/connect-common': 0.1.0(react-native@0.74.4(@babel/core@7.25.2)(@types/react@18.2.62)(bufferutil@4.0.8)(react@18.2.0)(utf-8-validate@5.0.10))(tslib@2.6.3) + '@trezor/protobuf': 1.1.0(tslib@2.6.3) + '@trezor/protocol': 1.1.0(tslib@2.6.3) + '@trezor/schema-utils': 1.1.0(tslib@2.6.3) + '@trezor/transport': 1.2.0(tslib@2.6.3) + '@trezor/utils': 9.1.0(tslib@2.6.3) + '@trezor/utxo-lib': 2.1.0(tslib@2.6.3) + blakejs: 1.2.1 + bs58: 5.0.0 + bs58check: 3.0.1 + cross-fetch: 4.0.0 + tslib: 2.6.3 + transitivePeerDependencies: + - '@babel/core' + - bufferutil + - encoding + - expo-constants + - expo-localization + - react-native + - supports-color + - utf-8-validate + + '@trezor/connect@9.3.0(@babel/core@7.25.2)(bufferutil@4.0.8)(react-native@0.74.4(@babel/core@7.25.2)(bufferutil@4.0.8)(utf-8-validate@5.0.10))(tslib@2.6.3)(utf-8-validate@5.0.10)': + dependencies: + '@babel/preset-typescript': 7.24.7(@babel/core@7.25.2) + '@ethereumjs/common': 4.3.0 + '@ethereumjs/tx': 5.3.0 + '@fivebinaries/coin-selection': 2.2.1 + '@trezor/blockchain-link': 2.2.0(bufferutil@4.0.8)(react-native@0.74.4(@babel/core@7.25.2)(bufferutil@4.0.8)(utf-8-validate@5.0.10))(tslib@2.6.3)(utf-8-validate@5.0.10) + '@trezor/blockchain-link-types': 1.1.0(bufferutil@4.0.8)(tslib@2.6.3)(utf-8-validate@5.0.10) + '@trezor/connect-analytics': 1.1.0(react-native@0.74.4(@babel/core@7.25.2)(bufferutil@4.0.8)(utf-8-validate@5.0.10))(tslib@2.6.3) + '@trezor/connect-common': 0.1.0(react-native@0.74.4(@babel/core@7.25.2)(bufferutil@4.0.8)(utf-8-validate@5.0.10))(tslib@2.6.3) + '@trezor/protobuf': 1.1.0(tslib@2.6.3) + '@trezor/protocol': 1.1.0(tslib@2.6.3) + '@trezor/schema-utils': 1.1.0(tslib@2.6.3) + '@trezor/transport': 1.2.0(tslib@2.6.3) + '@trezor/utils': 9.1.0(tslib@2.6.3) + '@trezor/utxo-lib': 2.1.0(tslib@2.6.3) + blakejs: 1.2.1 + bs58: 5.0.0 + bs58check: 3.0.1 + cross-fetch: 4.0.0 + tslib: 2.6.3 + transitivePeerDependencies: + - '@babel/core' + - bufferutil + - encoding + - expo-constants + - expo-localization + - react-native + - supports-color + - utf-8-validate + + '@trezor/env-utils@1.1.0(react-native@0.74.4(@babel/core@7.25.2)(@babel/preset-env@7.25.3(@babel/core@7.25.2))(@types/react@18.2.62)(bufferutil@4.0.8)(react@18.2.0)(utf-8-validate@5.0.10))(tslib@2.6.3)': + dependencies: + tslib: 2.6.3 + ua-parser-js: 1.0.38 + optionalDependencies: + react-native: 0.74.4(@babel/core@7.25.2)(@babel/preset-env@7.25.3(@babel/core@7.25.2))(@types/react@18.2.62)(bufferutil@4.0.8)(react@18.2.0)(utf-8-validate@5.0.10) + + '@trezor/env-utils@1.1.0(react-native@0.74.4(@babel/core@7.25.2)(@types/react@18.2.62)(bufferutil@4.0.8)(react@18.2.0)(utf-8-validate@5.0.10))(tslib@2.6.3)': + dependencies: + tslib: 2.6.3 + ua-parser-js: 1.0.38 + optionalDependencies: + react-native: 0.74.4(@babel/core@7.25.2)(@types/react@18.2.62)(bufferutil@4.0.8)(react@18.2.0)(utf-8-validate@5.0.10) + + '@trezor/env-utils@1.1.0(react-native@0.74.4(@babel/core@7.25.2)(bufferutil@4.0.8)(utf-8-validate@5.0.10))(tslib@2.6.3)': + dependencies: + tslib: 2.6.3 + ua-parser-js: 1.0.38 + optionalDependencies: + react-native: 0.74.4(@babel/core@7.25.2)(bufferutil@4.0.8)(utf-8-validate@5.0.10) + + '@trezor/protobuf@1.1.0(tslib@2.6.3)': + dependencies: + '@trezor/schema-utils': 1.1.0(tslib@2.6.3) + protobufjs: 7.2.6 + tslib: 2.6.3 + + '@trezor/protocol@1.1.0(tslib@2.6.3)': + dependencies: + tslib: 2.6.3 + + '@trezor/schema-utils@1.1.0(tslib@2.6.3)': + dependencies: + '@sinclair/typebox': 0.31.28 + ts-mixer: 6.0.4 + tslib: 2.6.3 + + '@trezor/transport@1.2.0(tslib@2.6.3)': + dependencies: + '@trezor/protobuf': 1.1.0(tslib@2.6.3) + '@trezor/protocol': 1.1.0(tslib@2.6.3) '@trezor/utils': 9.1.0(tslib@2.6.3) cross-fetch: 4.0.0 json-stable-stringify: 1.1.1 @@ -18944,7 +19324,7 @@ snapshots: - debug - utf-8-validate - '@vitejs/plugin-react@4.2.1(vite@5.2.11(@types/node@20.11.5))': + '@vitejs/plugin-react@4.2.1(vite@5.2.11(@types/node@20.11.5)(terser@5.31.3))': dependencies: '@babel/core': 7.25.2 '@babel/plugin-transform-react-jsx-self': 7.24.7(@babel/core@7.25.2) @@ -18960,7 +19340,7 @@ snapshots: vite: 5.2.11(@types/node@20.11.5)(terser@5.31.3) vue: 3.4.3(typescript@5.3.3) - '@vitest/coverage-v8@1.1.2(vitest@1.5.0(@types/node@20.11.5)(jsdom@24.1.0))': + '@vitest/coverage-v8@1.1.2(vitest@1.5.0(@types/node@20.11.5)(jsdom@24.1.0)(terser@5.31.3))': dependencies: '@ampproject/remapping': 2.3.0 '@bcoe/v8-coverage': 0.2.3 @@ -18975,11 +19355,11 @@ snapshots: std-env: 3.7.0 test-exclude: 6.0.0 v8-to-istanbul: 9.3.0 - vitest: 1.5.0(@types/node@20.11.5)(jsdom@24.1.0) + vitest: 1.5.0(@types/node@20.11.5)(jsdom@24.1.0)(terser@5.31.3) transitivePeerDependencies: - supports-color - '@vitest/coverage-v8@1.1.2(vitest@2.0.3(@types/node@20.11.5)(jsdom@24.1.0(bufferutil@4.0.8)(utf-8-validate@5.0.10)))': + '@vitest/coverage-v8@1.1.2(vitest@2.0.3(@types/node@20.11.5)(jsdom@24.1.0(bufferutil@4.0.8)(utf-8-validate@5.0.10))(terser@5.31.3))': dependencies: '@ampproject/remapping': 2.3.0 '@bcoe/v8-coverage': 0.2.3 @@ -18994,7 +19374,7 @@ snapshots: std-env: 3.7.0 test-exclude: 6.0.0 v8-to-istanbul: 9.3.0 - vitest: 2.0.3(@types/node@20.11.5)(jsdom@24.1.0(bufferutil@4.0.8)(utf-8-validate@5.0.10)) + vitest: 2.0.3(@types/node@20.11.5)(jsdom@24.1.0(bufferutil@4.0.8)(utf-8-validate@5.0.10))(terser@5.31.3) transitivePeerDependencies: - supports-color @@ -19230,6 +19610,44 @@ snapshots: - uWebSockets.js - utf-8-validate + '@walletconnect/core@2.14.0-canary-e4ee88(bufferutil@4.0.8)(utf-8-validate@5.0.10)': + dependencies: + '@walletconnect/heartbeat': 1.2.2 + '@walletconnect/jsonrpc-provider': 1.0.14 + '@walletconnect/jsonrpc-types': 1.0.4 + '@walletconnect/jsonrpc-utils': 1.0.8 + '@walletconnect/jsonrpc-ws-connection': 1.0.14(bufferutil@4.0.8)(utf-8-validate@5.0.10) + '@walletconnect/keyvaluestorage': 1.1.1 + '@walletconnect/logger': 2.1.2 + '@walletconnect/relay-api': 1.0.10 + '@walletconnect/relay-auth': 1.0.4 + '@walletconnect/safe-json': 1.0.2 + '@walletconnect/time': 1.0.2 + '@walletconnect/types': 2.14.0-canary-e4ee88 + '@walletconnect/utils': 2.14.0-canary-e4ee88 + events: 3.3.0 + isomorphic-unfetch: 3.1.0 + lodash.isequal: 4.5.0 + uint8arrays: 3.1.0 + transitivePeerDependencies: + - '@azure/app-configuration' + - '@azure/cosmos' + - '@azure/data-tables' + - '@azure/identity' + - '@azure/keyvault-secrets' + - '@azure/storage-blob' + - '@capacitor/preferences' + - '@netlify/blobs' + - '@planetscale/database' + - '@react-native-async-storage/async-storage' + - '@upstash/redis' + - '@vercel/kv' + - bufferutil + - encoding + - ioredis + - uWebSockets.js + - utf-8-validate + '@walletconnect/environment@1.0.1': dependencies: tslib: 1.14.1 @@ -19267,6 +19685,39 @@ snapshots: - uWebSockets.js - utf-8-validate + '@walletconnect/ethereum-provider@2.14.0-canary-e4ee88(@types/react@18.2.62)(bufferutil@4.0.8)(react@18.2.0)(utf-8-validate@5.0.10)': + dependencies: + '@walletconnect/jsonrpc-http-connection': 1.0.8 + '@walletconnect/jsonrpc-provider': 1.0.14 + '@walletconnect/jsonrpc-types': 1.0.4 + '@walletconnect/jsonrpc-utils': 1.0.8 + '@walletconnect/modal': 2.6.2(@types/react@18.2.62)(react@18.2.0) + '@walletconnect/sign-client': 2.14.0-canary-e4ee88(bufferutil@4.0.8)(utf-8-validate@5.0.10) + '@walletconnect/types': 2.14.0-canary-e4ee88 + '@walletconnect/universal-provider': 2.14.0-canary-e4ee88(bufferutil@4.0.8)(utf-8-validate@5.0.10) + '@walletconnect/utils': 2.14.0-canary-e4ee88 + events: 3.3.0 + transitivePeerDependencies: + - '@azure/app-configuration' + - '@azure/cosmos' + - '@azure/data-tables' + - '@azure/identity' + - '@azure/keyvault-secrets' + - '@azure/storage-blob' + - '@capacitor/preferences' + - '@netlify/blobs' + - '@planetscale/database' + - '@react-native-async-storage/async-storage' + - '@types/react' + - '@upstash/redis' + - '@vercel/kv' + - bufferutil + - encoding + - ioredis + - react + - uWebSockets.js + - utf-8-validate + '@walletconnect/events@1.0.1': dependencies: keyvaluestorage-interface: 1.0.0 @@ -19435,6 +19886,36 @@ snapshots: - uWebSockets.js - utf-8-validate + '@walletconnect/sign-client@2.14.0-canary-e4ee88(bufferutil@4.0.8)(utf-8-validate@5.0.10)': + dependencies: + '@walletconnect/core': 2.14.0-canary-e4ee88(bufferutil@4.0.8)(utf-8-validate@5.0.10) + '@walletconnect/events': 1.0.1 + '@walletconnect/heartbeat': 1.2.2 + '@walletconnect/jsonrpc-utils': 1.0.8 + '@walletconnect/logger': 2.1.2 + '@walletconnect/time': 1.0.2 + '@walletconnect/types': 2.14.0-canary-e4ee88 + '@walletconnect/utils': 2.14.0-canary-e4ee88 + events: 3.3.0 + transitivePeerDependencies: + - '@azure/app-configuration' + - '@azure/cosmos' + - '@azure/data-tables' + - '@azure/identity' + - '@azure/keyvault-secrets' + - '@azure/storage-blob' + - '@capacitor/preferences' + - '@netlify/blobs' + - '@planetscale/database' + - '@react-native-async-storage/async-storage' + - '@upstash/redis' + - '@vercel/kv' + - bufferutil + - encoding + - ioredis + - uWebSockets.js + - utf-8-validate + '@walletconnect/time@1.0.2': dependencies: tslib: 1.14.1 @@ -19489,6 +19970,30 @@ snapshots: - ioredis - uWebSockets.js + '@walletconnect/types@2.14.0-canary-e4ee88': + dependencies: + '@walletconnect/events': 1.0.1 + '@walletconnect/heartbeat': 1.2.2 + '@walletconnect/jsonrpc-types': 1.0.4 + '@walletconnect/keyvaluestorage': 1.1.1 + '@walletconnect/logger': 2.1.2 + events: 3.3.0 + transitivePeerDependencies: + - '@azure/app-configuration' + - '@azure/cosmos' + - '@azure/data-tables' + - '@azure/identity' + - '@azure/keyvault-secrets' + - '@azure/storage-blob' + - '@capacitor/preferences' + - '@netlify/blobs' + - '@planetscale/database' + - '@react-native-async-storage/async-storage' + - '@upstash/redis' + - '@vercel/kv' + - ioredis + - uWebSockets.js + '@walletconnect/universal-provider@2.14.0(bufferutil@4.0.8)(utf-8-validate@5.0.10)': dependencies: '@walletconnect/jsonrpc-http-connection': 1.0.8 @@ -19519,6 +20024,36 @@ snapshots: - uWebSockets.js - utf-8-validate + '@walletconnect/universal-provider@2.14.0-canary-e4ee88(bufferutil@4.0.8)(utf-8-validate@5.0.10)': + dependencies: + '@walletconnect/jsonrpc-http-connection': 1.0.8 + '@walletconnect/jsonrpc-provider': 1.0.14 + '@walletconnect/jsonrpc-types': 1.0.4 + '@walletconnect/jsonrpc-utils': 1.0.8 + '@walletconnect/logger': 2.1.2 + '@walletconnect/sign-client': 2.14.0-canary-e4ee88(bufferutil@4.0.8)(utf-8-validate@5.0.10) + '@walletconnect/types': 2.14.0-canary-e4ee88 + '@walletconnect/utils': 2.14.0-canary-e4ee88 + events: 3.3.0 + transitivePeerDependencies: + - '@azure/app-configuration' + - '@azure/cosmos' + - '@azure/data-tables' + - '@azure/identity' + - '@azure/keyvault-secrets' + - '@azure/storage-blob' + - '@capacitor/preferences' + - '@netlify/blobs' + - '@planetscale/database' + - '@react-native-async-storage/async-storage' + - '@upstash/redis' + - '@vercel/kv' + - bufferutil + - encoding + - ioredis + - uWebSockets.js + - utf-8-validate + '@walletconnect/utils@2.12.0': dependencies: '@stablelib/chacha20poly1305': 1.0.1 @@ -19583,6 +20118,38 @@ snapshots: - ioredis - uWebSockets.js + '@walletconnect/utils@2.14.0-canary-e4ee88': + dependencies: + '@stablelib/chacha20poly1305': 1.0.1 + '@stablelib/hkdf': 1.0.1 + '@stablelib/random': 1.0.2 + '@stablelib/sha256': 1.0.1 + '@stablelib/x25519': 1.0.3 + '@walletconnect/relay-api': 1.0.10 + '@walletconnect/safe-json': 1.0.2 + '@walletconnect/time': 1.0.2 + '@walletconnect/types': 2.14.0-canary-e4ee88 + '@walletconnect/window-getters': 1.0.1 + '@walletconnect/window-metadata': 1.0.1 + detect-browser: 5.3.0 + query-string: 7.1.3 + uint8arrays: 3.1.0 + transitivePeerDependencies: + - '@azure/app-configuration' + - '@azure/cosmos' + - '@azure/data-tables' + - '@azure/identity' + - '@azure/keyvault-secrets' + - '@azure/storage-blob' + - '@capacitor/preferences' + - '@netlify/blobs' + - '@planetscale/database' + - '@react-native-async-storage/async-storage' + - '@upstash/redis' + - '@vercel/kv' + - ioredis + - uWebSockets.js + '@walletconnect/window-getters@1.0.0': {} '@walletconnect/window-getters@1.0.1': @@ -24656,6 +25223,105 @@ snapshots: - supports-color - utf-8-validate + react-native@0.74.4(@babel/core@7.25.2)(@types/react@18.2.62)(bufferutil@4.0.8)(react@18.2.0)(utf-8-validate@5.0.10): + dependencies: + '@jest/create-cache-key-function': 29.7.0 + '@react-native-community/cli': 13.6.9(bufferutil@4.0.8)(utf-8-validate@5.0.10) + '@react-native-community/cli-platform-android': 13.6.9 + '@react-native-community/cli-platform-ios': 13.6.9 + '@react-native/assets-registry': 0.74.86 + '@react-native/codegen': 0.74.86(@babel/preset-env@7.25.3(@babel/core@7.25.2)) + '@react-native/community-cli-plugin': 0.74.86(@babel/core@7.25.2)(@babel/preset-env@7.25.3(@babel/core@7.25.2))(bufferutil@4.0.8)(utf-8-validate@5.0.10) + '@react-native/gradle-plugin': 0.74.86 + '@react-native/js-polyfills': 0.74.86 + '@react-native/normalize-colors': 0.74.86 + '@react-native/virtualized-lists': 0.74.86(@types/react@18.2.62)(react-native@0.74.4(@babel/core@7.25.2)(@types/react@18.2.62)(bufferutil@4.0.8)(react@18.2.0)(utf-8-validate@5.0.10))(react@18.2.0) + abort-controller: 3.0.0 + anser: 1.4.10 + ansi-regex: 5.0.1 + base64-js: 1.5.1 + chalk: 4.1.2 + event-target-shim: 5.0.1 + flow-enums-runtime: 0.0.6 + invariant: 2.2.4 + jest-environment-node: 29.7.0 + jsc-android: 250231.0.0 + memoize-one: 5.2.1 + metro-runtime: 0.80.9 + metro-source-map: 0.80.9 + mkdirp: 0.5.6 + nullthrows: 1.1.1 + pretty-format: 26.6.2 + promise: 8.3.0 + react: 18.2.0 + react-devtools-core: 5.3.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) + react-refresh: 0.14.2 + react-shallow-renderer: 16.15.0(react@18.2.0) + regenerator-runtime: 0.13.11 + scheduler: 0.24.0-canary-efb381bbf-20230505 + stacktrace-parser: 0.1.10 + whatwg-fetch: 3.6.20 + ws: 6.2.3(bufferutil@4.0.8)(utf-8-validate@5.0.10) + yargs: 17.7.2 + optionalDependencies: + '@types/react': 18.2.62 + transitivePeerDependencies: + - '@babel/core' + - '@babel/preset-env' + - bufferutil + - encoding + - supports-color + - utf-8-validate + optional: true + + react-native@0.74.4(@babel/core@7.25.2)(bufferutil@4.0.8)(utf-8-validate@5.0.10): + dependencies: + '@jest/create-cache-key-function': 29.7.0 + '@react-native-community/cli': 13.6.9(bufferutil@4.0.8)(utf-8-validate@5.0.10) + '@react-native-community/cli-platform-android': 13.6.9 + '@react-native-community/cli-platform-ios': 13.6.9 + '@react-native/assets-registry': 0.74.86 + '@react-native/codegen': 0.74.86(@babel/preset-env@7.25.3(@babel/core@7.25.2)) + '@react-native/community-cli-plugin': 0.74.86(@babel/core@7.25.2)(@babel/preset-env@7.25.3(@babel/core@7.25.2))(bufferutil@4.0.8)(utf-8-validate@5.0.10) + '@react-native/gradle-plugin': 0.74.86 + '@react-native/js-polyfills': 0.74.86 + '@react-native/normalize-colors': 0.74.86 + '@react-native/virtualized-lists': 0.74.86(react-native@0.74.4(@babel/core@7.25.2)(bufferutil@4.0.8)(utf-8-validate@5.0.10)) + abort-controller: 3.0.0 + anser: 1.4.10 + ansi-regex: 5.0.1 + base64-js: 1.5.1 + chalk: 4.1.2 + event-target-shim: 5.0.1 + flow-enums-runtime: 0.0.6 + invariant: 2.2.4 + jest-environment-node: 29.7.0 + jsc-android: 250231.0.0 + memoize-one: 5.2.1 + metro-runtime: 0.80.9 + metro-source-map: 0.80.9 + mkdirp: 0.5.6 + nullthrows: 1.1.1 + pretty-format: 26.6.2 + promise: 8.3.0 + react-devtools-core: 5.3.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) + react-refresh: 0.14.2 + react-shallow-renderer: 16.15.0(react@18.2.0) + regenerator-runtime: 0.13.11 + scheduler: 0.24.0-canary-efb381bbf-20230505 + stacktrace-parser: 0.1.10 + whatwg-fetch: 3.6.20 + ws: 6.2.3(bufferutil@4.0.8)(utf-8-validate@5.0.10) + yargs: 17.7.2 + transitivePeerDependencies: + - '@babel/core' + - '@babel/preset-env' + - bufferutil + - encoding + - supports-color + - utf-8-validate + optional: true + react-qr-reader@2.2.1(react-dom@16.13.1(react@16.13.1))(react@16.13.1): dependencies: jsqr: 1.4.0 @@ -26143,7 +26809,7 @@ snapshots: - utf-8-validate - zod - vite-node@1.5.0(@types/node@20.11.5): + vite-node@1.5.0(@types/node@20.11.5)(terser@5.31.3): dependencies: cac: 6.7.14 debug: 4.3.6 @@ -26160,7 +26826,7 @@ snapshots: - supports-color - terser - vite-node@2.0.3(@types/node@20.11.5): + vite-node@2.0.3(@types/node@20.11.5)(terser@5.31.3): dependencies: cac: 6.7.14 debug: 4.3.6 @@ -26177,7 +26843,7 @@ snapshots: - supports-color - terser - vite-plugin-node-polyfills@0.22.0(rollup@4.20.0)(vite@5.2.11(@types/node@20.11.5)): + vite-plugin-node-polyfills@0.22.0(rollup@4.20.0)(vite@5.2.11(@types/node@20.11.5)(terser@5.31.3)): dependencies: '@rollup/plugin-inject': 5.0.5(rollup@4.20.0) node-stdlib-browser: 1.2.0 @@ -26195,7 +26861,7 @@ snapshots: fsevents: 2.3.3 terser: 5.31.3 - vitest@1.5.0(@types/node@20.11.5)(jsdom@24.1.0): + vitest@1.5.0(@types/node@20.11.5)(jsdom@24.1.0)(terser@5.31.3): dependencies: '@vitest/expect': 1.5.0 '@vitest/runner': 1.5.0 @@ -26215,7 +26881,7 @@ snapshots: tinybench: 2.9.0 tinypool: 0.8.4 vite: 5.2.11(@types/node@20.11.5)(terser@5.31.3) - vite-node: 1.5.0(@types/node@20.11.5) + vite-node: 1.5.0(@types/node@20.11.5)(terser@5.31.3) why-is-node-running: 2.3.0 optionalDependencies: '@types/node': 20.11.5 @@ -26229,7 +26895,7 @@ snapshots: - supports-color - terser - vitest@2.0.3(@types/node@20.11.5)(jsdom@24.1.0(bufferutil@4.0.8)(utf-8-validate@5.0.10)): + vitest@2.0.3(@types/node@20.11.5)(jsdom@24.1.0(bufferutil@4.0.8)(utf-8-validate@5.0.10))(terser@5.31.3): dependencies: '@ampproject/remapping': 2.3.0 '@vitest/expect': 2.0.3 @@ -26248,7 +26914,7 @@ snapshots: tinypool: 1.0.0 tinyrainbow: 1.2.0 vite: 5.2.11(@types/node@20.11.5)(terser@5.31.3) - vite-node: 2.0.3(@types/node@20.11.5) + vite-node: 2.0.3(@types/node@20.11.5)(terser@5.31.3) why-is-node-running: 2.3.0 optionalDependencies: '@types/node': 20.11.5 From 920f07dec5f1a7900bfa31a88e3d95fd30e90677 Mon Sep 17 00:00:00 2001 From: Gancho Radkov Date: Wed, 18 Sep 2024 14:25:15 +0300 Subject: [PATCH 3/7] chore: updates providers to `2.16.1` --- apps/laboratory/package.json | 6 +++--- packages/adapters/ethers/package.json | 6 +++--- packages/adapters/ethers5/package.json | 8 ++++---- packages/adapters/solana/package.json | 6 +++--- packages/adapters/wagmi/package.json | 8 ++++---- packages/appkit-utils/package.json | 2 +- packages/appkit/package.json | 8 ++++---- packages/core/package.json | 2 +- packages/ethers/package.json | 2 +- packages/ethers5/package.json | 2 +- packages/siwe/package.json | 2 +- packages/solana/package.json | 4 ++-- packages/wagmi/package.json | 2 +- 13 files changed, 29 insertions(+), 29 deletions(-) diff --git a/apps/laboratory/package.json b/apps/laboratory/package.json index e8dbc0d229..c35b35b0a5 100644 --- a/apps/laboratory/package.json +++ b/apps/laboratory/package.json @@ -78,9 +78,9 @@ "@tanstack/react-query": "5.24.8", "@wagmi/connectors": "5.1.9", "@wagmi/core": "2.13.4", - "@walletconnect/ethereum-provider": "2.16.1", - "@walletconnect/universal-provider": "2.16.1", - "@walletconnect/utils": "2.16.1", + "@walletconnect/ethereum-provider": "2.16.2", + "@walletconnect/universal-provider": "2.16.2", + "@walletconnect/utils": "2.16.2", "@reown/appkit": "workspace:*", "@reown/appkit-ethers": "workspace:*", "@reown/appkit-ethers5": "workspace:*", diff --git a/packages/adapters/ethers/package.json b/packages/adapters/ethers/package.json index 5e413a601c..c089c89105 100644 --- a/packages/adapters/ethers/package.json +++ b/packages/adapters/ethers/package.json @@ -17,7 +17,7 @@ "test": "vitest run --coverage.enabled=true --coverage.reporter=json --coverage.reporter=json-summary --coverage.reportOnFailure=true" }, "dependencies": { - "@walletconnect/utils": "2.16.1", + "@walletconnect/utils": "2.16.2", "@reown/appkit": "workspace:*", "@reown/appkit-common": "workspace:*", "@reown/appkit-core": "workspace:*", @@ -33,8 +33,8 @@ "@coinbase/wallet-sdk": "4.0.3", "@ethersproject/sha2": "5.7.0", "@vitest/coverage-v8": "2.0.5", - "@walletconnect/types": "2.16.1", - "@walletconnect/universal-provider": "2.16.1", + "@walletconnect/types": "2.16.2", + "@walletconnect/universal-provider": "2.16.2", "ethers": "6.13.0", "vitest": "2.0.5" }, diff --git a/packages/adapters/ethers5/package.json b/packages/adapters/ethers5/package.json index 5909c867f4..879e0a5302 100644 --- a/packages/adapters/ethers5/package.json +++ b/packages/adapters/ethers5/package.json @@ -17,8 +17,8 @@ "test": "vitest run --coverage.enabled=true --coverage.reporter=json --coverage.reporter=json-summary --coverage.reportOnFailure=true" }, "dependencies": { - "@walletconnect/utils": "2.16.1", - "@walletconnect/universal-provider": "2.16.1", + "@walletconnect/utils": "2.16.2", + "@walletconnect/universal-provider": "2.16.2", "@reown/appkit": "workspace:*", "@reown/appkit-common": "workspace:*", "@reown/appkit-core": "workspace:*", @@ -34,8 +34,8 @@ "@coinbase/wallet-sdk": "4.0.3", "@ethersproject/sha2": "5.7.0", "@vitest/coverage-v8": "2.0.5", - "@walletconnect/types": "2.16.1", - "@walletconnect/universal-provider": "2.16.1", + "@walletconnect/types": "2.16.2", + "@walletconnect/universal-provider": "2.16.2", "ethers5": "npm:ethers@5.7.2", "vitest": "2.0.5" }, diff --git a/packages/adapters/solana/package.json b/packages/adapters/solana/package.json index b45c73684a..d7bfaf8a88 100644 --- a/packages/adapters/solana/package.json +++ b/packages/adapters/solana/package.json @@ -48,9 +48,9 @@ "@solana/wallet-standard-features": "1.2.0", "@solana/wallet-standard-util": "1.1.1", "@solana/web3.js": "1.95.2", - "@walletconnect/utils": "2.16.1", - "@walletconnect/types": "2.16.1", - "@walletconnect/universal-provider": "2.16.1", + "@walletconnect/utils": "2.16.2", + "@walletconnect/types": "2.16.2", + "@walletconnect/universal-provider": "2.16.2", "@wallet-standard/app": "1.0.1", "@wallet-standard/base": "1.0.1", "@wallet-standard/features": "1.0.3", diff --git a/packages/adapters/wagmi/package.json b/packages/adapters/wagmi/package.json index d25a04a292..cf6469e55f 100644 --- a/packages/adapters/wagmi/package.json +++ b/packages/adapters/wagmi/package.json @@ -17,8 +17,8 @@ "test": "vitest run --coverage.enabled=true --coverage.reporter=json --coverage.reporter=json-summary --coverage.reportOnFailure=true" }, "dependencies": { - "@walletconnect/utils": "2.16.1", - "@walletconnect/universal-provider": "2.16.1", + "@walletconnect/utils": "2.16.2", + "@walletconnect/universal-provider": "2.16.2", "@reown/appkit": "workspace:*", "@reown/appkit-common": "workspace:*", "@reown/appkit-core": "workspace:*", @@ -37,8 +37,8 @@ "@vitest/coverage-v8": "2.0.5", "@wagmi/connectors": "5.1.9", "@wagmi/core": "2.13.4", - "@walletconnect/types": "2.16.1", - "@walletconnect/universal-provider": "2.16.1", + "@walletconnect/types": "2.16.2", + "@walletconnect/universal-provider": "2.16.2", "viem": "2.21.4", "vitest": "2.0.5", "wagmi": "2.12.9" diff --git a/packages/appkit-utils/package.json b/packages/appkit-utils/package.json index fbb7e80b53..96e82f63e9 100644 --- a/packages/appkit-utils/package.json +++ b/packages/appkit-utils/package.json @@ -44,7 +44,7 @@ "test": "vitest run --dir tests --coverage.enabled=true --coverage.reporter=json --coverage.reporter=json-summary --coverage.reportOnFailure=true" }, "dependencies": { - "@walletconnect/universal-provider": "2.16.1", + "@walletconnect/universal-provider": "2.16.2", "@reown/appkit-common": "workspace:*", "@reown/appkit-core": "workspace:*", "@reown/appkit-polyfills": "workspace:*", diff --git a/packages/appkit/package.json b/packages/appkit/package.json index 77b51b1294..c56ef4e352 100644 --- a/packages/appkit/package.json +++ b/packages/appkit/package.json @@ -89,7 +89,7 @@ } }, "dependencies": { - "@walletconnect/universal-provider": "2.16.1", + "@walletconnect/universal-provider": "2.16.2", "@reown/appkit-common": "workspace:*", "@reown/appkit-core": "workspace:*", "@reown/appkit-polyfills": "workspace:*", @@ -98,8 +98,8 @@ "@reown/appkit-siwe": "workspace:*", "@reown/appkit-ui": "workspace:*", "@reown/appkit-wallet": "workspace:*", - "@walletconnect/types": "2.16.1", - "@walletconnect/utils": "2.16.1", + "@walletconnect/types": "2.16.2", + "@walletconnect/utils": "2.16.2", "valtio": "1.11.2" }, "optionalDependencies": { @@ -118,7 +118,7 @@ "@wallet-standard/features": "1.0.3", "@wallet-standard/wallet": "1.0.1", "@walletconnect/types": "2.13.3", - "@walletconnect/universal-provider": "2.16.1", + "@walletconnect/universal-provider": "2.16.2", "ethers": "6.13.2", "ethers5": "npm:ethers@5.7.2", "react": "18.2.0", diff --git a/packages/core/package.json b/packages/core/package.json index 319dff5976..a39a22cadc 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -31,7 +31,7 @@ "dependencies": { "@reown/appkit-common": "workspace:*", "@reown/appkit-wallet": "workspace:*", - "@walletconnect/universal-provider": "2.16.1", + "@walletconnect/universal-provider": "2.16.2", "valtio": "1.11.2" }, "devDependencies": { diff --git a/packages/ethers/package.json b/packages/ethers/package.json index 37f651aae0..fcbeece05a 100644 --- a/packages/ethers/package.json +++ b/packages/ethers/package.json @@ -44,7 +44,7 @@ }, "dependencies": { "@coinbase/wallet-sdk": "4.0.3", - "@walletconnect/utils": "2.16.1", + "@walletconnect/utils": "2.16.2", "@reown/appkit": "workspace:*", "@reown/appkit-adapter-ethers": "workspace:*", "@reown/appkit-common": "workspace:*", diff --git a/packages/ethers5/package.json b/packages/ethers5/package.json index 33463fc7b0..3519803651 100644 --- a/packages/ethers5/package.json +++ b/packages/ethers5/package.json @@ -44,7 +44,7 @@ }, "dependencies": { "@coinbase/wallet-sdk": "4.0.3", - "@walletconnect/utils": "2.16.1", + "@walletconnect/utils": "2.16.2", "@reown/appkit": "workspace:*", "@reown/appkit-common": "workspace:*", "@reown/appkit-wallet": "workspace:*", diff --git a/packages/siwe/package.json b/packages/siwe/package.json index 68e493d63d..0e81b31171 100644 --- a/packages/siwe/package.json +++ b/packages/siwe/package.json @@ -16,7 +16,7 @@ "lint": "eslint . --ext .js,.jsx,.ts,.tsx" }, "dependencies": { - "@walletconnect/utils": "2.16.1", + "@walletconnect/utils": "2.16.2", "@reown/appkit-core": "workspace:*", "@reown/appkit-ui": "workspace:*", "@reown/appkit-common": "workspace:*", diff --git a/packages/solana/package.json b/packages/solana/package.json index 992ba4699a..39627501ad 100644 --- a/packages/solana/package.json +++ b/packages/solana/package.json @@ -61,7 +61,7 @@ "@wallet-standard/features": "1.0.3", "@wallet-standard/wallet": "1.0.1", "@reown/appkit-adapter-solana": "workspace:*", - "@walletconnect/universal-provider": "2.16.1", + "@walletconnect/universal-provider": "2.16.2", "@reown/appkit": "workspace:*", "@reown/appkit-common": "workspace:*", "@reown/appkit-core": "workspace:*", @@ -77,7 +77,7 @@ "devDependencies": { "@types/bn.js": "5.1.5", "@vitest/coverage-v8": "2.0.5", - "@walletconnect/types": "2.16.1", + "@walletconnect/types": "2.16.2", "vitest": "2.0.5" }, "peerDependencies": { diff --git a/packages/wagmi/package.json b/packages/wagmi/package.json index 2bc6da43f8..75a283f1e9 100644 --- a/packages/wagmi/package.json +++ b/packages/wagmi/package.json @@ -51,7 +51,7 @@ "lint": "eslint . --ext .js,.jsx,.ts,.tsx" }, "dependencies": { - "@walletconnect/utils": "2.16.1", + "@walletconnect/utils": "2.16.2", "@reown/appkit-polyfills": "workspace:*", "@reown/appkit-adapter-wagmi": "workspace:*", "@reown/appkit": "workspace:*", From bef7fe0f2f76d38aa4c1c3e56efbe46dd1742557 Mon Sep 17 00:00:00 2001 From: Gancho Radkov Date: Wed, 18 Sep 2024 15:38:12 +0300 Subject: [PATCH 4/7] fix: updates lab to use `universal-provider` for 5792 tests instead of `ethereum-provider` --- apps/laboratory/package.json | 1 - .../Ethers/Ethers5GetCallsStatusTest.tsx | 6 +- .../components/Ethers/Ethers5ModalInfo.tsx | 6 +- .../Ethers/Ethers5SendCallsTest.tsx | 8 +- ...hers5SendCallsWithPaymasterServiceTest.tsx | 8 +- .../Ethers/EthersGetCallsStatusTest.tsx | 6 +- .../src/components/Ethers/EthersModalInfo.tsx | 6 +- .../components/Ethers/EthersSendCallsTest.tsx | 11 +- ...thersSendCallsWithPaymasterServiceTest.tsx | 8 +- .../src/components/Wagmi/WagmiModalInfo.tsx | 6 +- .../src/hooks/useWagmiActiveCapabilities.ts | 6 +- apps/laboratory/src/utils/EIP5792Utils.ts | 8 +- pnpm-lock.yaml | 722 +++++------------- renovate.json | 1 - 14 files changed, 215 insertions(+), 588 deletions(-) diff --git a/apps/laboratory/package.json b/apps/laboratory/package.json index e8dbc0d229..3c684c5b11 100644 --- a/apps/laboratory/package.json +++ b/apps/laboratory/package.json @@ -78,7 +78,6 @@ "@tanstack/react-query": "5.24.8", "@wagmi/connectors": "5.1.9", "@wagmi/core": "2.13.4", - "@walletconnect/ethereum-provider": "2.16.1", "@walletconnect/universal-provider": "2.16.1", "@walletconnect/utils": "2.16.1", "@reown/appkit": "workspace:*", diff --git a/apps/laboratory/src/components/Ethers/Ethers5GetCallsStatusTest.tsx b/apps/laboratory/src/components/Ethers/Ethers5GetCallsStatusTest.tsx index b603681bfb..2ecc7d7712 100644 --- a/apps/laboratory/src/components/Ethers/Ethers5GetCallsStatusTest.tsx +++ b/apps/laboratory/src/components/Ethers/Ethers5GetCallsStatusTest.tsx @@ -6,7 +6,7 @@ import { useAppKitProvider, type Provider } from '@reown/appkit/react' -import { EthereumProvider } from '@walletconnect/ethereum-provider' +import { UniversalProvider } from '@walletconnect/universal-provider' import { useChakraToast } from '../Toast' import { ethers } from 'ethers5' import { W3mFrameProvider } from '@reown/appkit-wallet' @@ -59,9 +59,9 @@ export function Ethers5GetCallsStatusTest() { if (walletProvider instanceof W3mFrameProvider) { return true } - if (walletProvider instanceof EthereumProvider) { + if (walletProvider instanceof UniversalProvider) { return Boolean( - walletProvider?.signer?.session?.namespaces?.['eip155']?.methods?.includes( + walletProvider?.session?.namespaces?.['eip155']?.methods?.includes( EIP_5792_RPC_METHODS.WALLET_GET_CALLS_STATUS ) ) diff --git a/apps/laboratory/src/components/Ethers/Ethers5ModalInfo.tsx b/apps/laboratory/src/components/Ethers/Ethers5ModalInfo.tsx index 034f5c725b..7188f83c11 100644 --- a/apps/laboratory/src/components/Ethers/Ethers5ModalInfo.tsx +++ b/apps/laboratory/src/components/Ethers/Ethers5ModalInfo.tsx @@ -1,6 +1,6 @@ import * as React from 'react' import { useAppKitAccount, useAppKitNetwork, useAppKitProvider } from '@reown/appkit/react' -import EthereumProvider from '@walletconnect/ethereum-provider' +import UniversalProvider from '@walletconnect/universal-provider' import { AppKitInfo } from '../AppKitInfo' @@ -10,11 +10,11 @@ export function Ethers5ModalInfo() { const { chainId } = useAppKitNetwork() const { isConnected, address } = useAppKitAccount() - const { walletProvider, walletProviderType } = useAppKitProvider('eip155') + const { walletProvider, walletProviderType } = useAppKitProvider('eip155') async function getClientId() { if (walletProviderType === 'walletConnect') { - return await walletProvider?.signer?.client?.core?.crypto?.getClientId() + return await walletProvider?.client?.core?.crypto?.getClientId() } return undefined diff --git a/apps/laboratory/src/components/Ethers/Ethers5SendCallsTest.tsx b/apps/laboratory/src/components/Ethers/Ethers5SendCallsTest.tsx index 163c22cf82..d33e1056ee 100644 --- a/apps/laboratory/src/components/Ethers/Ethers5SendCallsTest.tsx +++ b/apps/laboratory/src/components/Ethers/Ethers5SendCallsTest.tsx @@ -1,7 +1,7 @@ import { Button, Stack, Text, Spacer, Heading } from '@chakra-ui/react' import { useState, useEffect } from 'react' import { useAppKitAccount, useAppKitProvider, useAppKitNetwork } from '@reown/appkit/react' -import { EthereumProvider } from '@walletconnect/ethereum-provider' +import { UniversalProvider } from '@walletconnect/universal-provider' import { useChakraToast } from '../Toast' import type { Address } from 'viem' import type { Provider as RawProvider } from '@reown/appkit' @@ -14,7 +14,7 @@ import { } from '../../utils/EIP5792Utils' import { W3mFrameProvider } from '@reown/appkit-wallet' -type Provider = W3mFrameProvider | Awaited> +type Provider = W3mFrameProvider | Awaited> export function Ethers5SendCallsTest() { const [loading, setLoading] = useState(false) @@ -102,9 +102,9 @@ export function Ethers5SendCallsTest() { if (walletProvider instanceof W3mFrameProvider) { return true } - if (walletProvider instanceof EthereumProvider) { + if (walletProvider instanceof UniversalProvider) { return Boolean( - walletProvider?.signer?.session?.namespaces?.['eip155']?.methods?.includes( + walletProvider?.session?.namespaces?.['eip155']?.methods?.includes( EIP_5792_RPC_METHODS.WALLET_SEND_CALLS ) ) diff --git a/apps/laboratory/src/components/Ethers/Ethers5SendCallsWithPaymasterServiceTest.tsx b/apps/laboratory/src/components/Ethers/Ethers5SendCallsWithPaymasterServiceTest.tsx index 5afb00f9b4..e4838da7de 100644 --- a/apps/laboratory/src/components/Ethers/Ethers5SendCallsWithPaymasterServiceTest.tsx +++ b/apps/laboratory/src/components/Ethers/Ethers5SendCallsWithPaymasterServiceTest.tsx @@ -6,7 +6,7 @@ import { useAppKitProvider, type Provider } from '@reown/appkit/react' -import { EthereumProvider } from '@walletconnect/ethereum-provider' +import { UniversalProvider } from '@walletconnect/universal-provider' import { useChakraToast } from '../Toast' import { parseGwei } from 'viem' import { vitalikEthAddress } from '../../utils/DataUtil' @@ -34,7 +34,7 @@ export function Ethers5SendCallsWithPaymasterServiceTest() { useEffect(() => { if ( address && - (walletProvider instanceof EthereumProvider || walletProvider instanceof W3mFrameProvider) + (walletProvider instanceof UniversalProvider || walletProvider instanceof W3mFrameProvider) ) { getCapabilitySupportedChainInfo( WALLET_CAPABILITIES.PAYMASTER_SERVICE, @@ -111,9 +111,9 @@ export function Ethers5SendCallsWithPaymasterServiceTest() { function isSendCallsSupported(): boolean { // We are currently checking capabilities above. We should use those capabilities instead of this check. - if (walletProvider instanceof EthereumProvider) { + if (walletProvider instanceof UniversalProvider) { return Boolean( - walletProvider?.signer?.session?.namespaces?.['eip155']?.methods?.includes( + walletProvider?.session?.namespaces['eip155']?.methods?.includes( EIP_5792_RPC_METHODS.WALLET_SEND_CALLS ) ) diff --git a/apps/laboratory/src/components/Ethers/EthersGetCallsStatusTest.tsx b/apps/laboratory/src/components/Ethers/EthersGetCallsStatusTest.tsx index 5230452dc8..56a317ace7 100644 --- a/apps/laboratory/src/components/Ethers/EthersGetCallsStatusTest.tsx +++ b/apps/laboratory/src/components/Ethers/EthersGetCallsStatusTest.tsx @@ -6,7 +6,7 @@ import { useAppKitProvider, type Provider } from '@reown/appkit/react' -import { EthereumProvider } from '@walletconnect/ethereum-provider' +import { UniversalProvider } from '@walletconnect/universal-provider' import { useChakraToast } from '../Toast' import { BrowserProvider } from 'ethers' import { W3mFrameProvider } from '@reown/appkit-wallet' @@ -58,9 +58,9 @@ export function EthersGetCallsStatusTest() { if (walletProvider instanceof W3mFrameProvider) { return true } - if (walletProvider instanceof EthereumProvider) { + if (walletProvider instanceof UniversalProvider) { return Boolean( - walletProvider?.signer?.session?.namespaces?.['eip155']?.methods?.includes( + walletProvider?.session?.namespaces?.['eip155']?.methods?.includes( EIP_5792_RPC_METHODS.WALLET_GET_CALLS_STATUS ) ) diff --git a/apps/laboratory/src/components/Ethers/EthersModalInfo.tsx b/apps/laboratory/src/components/Ethers/EthersModalInfo.tsx index 1732bb0fe7..5486c48dec 100644 --- a/apps/laboratory/src/components/Ethers/EthersModalInfo.tsx +++ b/apps/laboratory/src/components/Ethers/EthersModalInfo.tsx @@ -1,6 +1,6 @@ import * as React from 'react' import { useAppKitAccount, useAppKitNetwork, useAppKitProvider } from '@reown/appkit/react' -import EthereumProvider from '@walletconnect/ethereum-provider' +import UniversalProvider from '@walletconnect/universal-provider' import { AppKitInfo } from '../AppKitInfo' @@ -9,11 +9,11 @@ export function EthersModalInfo() { const [clientId, setClientId] = React.useState(undefined) const { isConnected, address } = useAppKitAccount() const { chainId } = useAppKitNetwork() - const { walletProvider, walletProviderType } = useAppKitProvider('eip155') + const { walletProvider, walletProviderType } = useAppKitProvider('eip155') async function getClientId() { if (walletProviderType === 'walletConnect') { - return await walletProvider?.signer?.client?.core?.crypto?.getClientId() + return await walletProvider?.client?.core?.crypto?.getClientId() } return undefined diff --git a/apps/laboratory/src/components/Ethers/EthersSendCallsTest.tsx b/apps/laboratory/src/components/Ethers/EthersSendCallsTest.tsx index 649934b560..df93a7c27a 100644 --- a/apps/laboratory/src/components/Ethers/EthersSendCallsTest.tsx +++ b/apps/laboratory/src/components/Ethers/EthersSendCallsTest.tsx @@ -1,7 +1,7 @@ import { Button, Stack, Text, Spacer, Heading } from '@chakra-ui/react' import { useState, useEffect } from 'react' import { useAppKitAccount, useAppKitNetwork, useAppKitProvider } from '@reown/appkit/react' -import { EthereumProvider } from '@walletconnect/ethereum-provider' +import { UniversalProvider } from '@walletconnect/universal-provider' import { useChakraToast } from '../Toast' import type { Address } from 'viem' import { vitalikEthAddress } from '../../utils/DataUtil' @@ -12,8 +12,7 @@ import { getCapabilitySupportedChainInfo } from '../../utils/EIP5792Utils' import { W3mFrameProvider } from '@reown/appkit-wallet' - -type Provider = W3mFrameProvider | Awaited> +type Provider = W3mFrameProvider | Awaited> export function EthersSendCallsTest() { const [loading, setLoading] = useState(false) @@ -33,7 +32,7 @@ export function EthersSendCallsTest() { if (address && walletProvider) { getCapabilitySupportedChainInfo( WALLET_CAPABILITIES.ATOMIC_BATCH, - walletProvider as Provider, + walletProvider as unknown as Provider, address ).then(capabilities => setAtomicBatchSupportedChains(capabilities)) } else { @@ -100,9 +99,9 @@ export function EthersSendCallsTest() { if (walletProvider instanceof W3mFrameProvider) { return true } - if (walletProvider instanceof EthereumProvider) { + if (walletProvider instanceof UniversalProvider) { return Boolean( - walletProvider?.signer?.session?.namespaces?.['eip155']?.methods?.includes( + walletProvider?.session?.namespaces?.['eip155']?.methods?.includes( EIP_5792_RPC_METHODS.WALLET_SEND_CALLS ) ) diff --git a/apps/laboratory/src/components/Ethers/EthersSendCallsWithPaymasterServiceTest.tsx b/apps/laboratory/src/components/Ethers/EthersSendCallsWithPaymasterServiceTest.tsx index 28ed229523..9f62e80215 100644 --- a/apps/laboratory/src/components/Ethers/EthersSendCallsWithPaymasterServiceTest.tsx +++ b/apps/laboratory/src/components/Ethers/EthersSendCallsWithPaymasterServiceTest.tsx @@ -1,7 +1,7 @@ import { Button, Stack, Text, Input, Tooltip } from '@chakra-ui/react' import { useState, useEffect } from 'react' import { useAppKitAccount, useAppKitNetwork, useAppKitProvider } from '@reown/appkit/react' -import { EthereumProvider } from '@walletconnect/ethereum-provider' +import { UniversalProvider } from '@walletconnect/universal-provider' import { useChakraToast } from '../Toast' import { parseGwei } from 'viem' import { vitalikEthAddress } from '../../utils/DataUtil' @@ -29,7 +29,7 @@ export function EthersSendCallsWithPaymasterServiceTest() { useEffect(() => { if ( address && - (walletProvider instanceof EthereumProvider || walletProvider instanceof W3mFrameProvider) + (walletProvider instanceof UniversalProvider || walletProvider instanceof W3mFrameProvider) ) { getCapabilitySupportedChainInfo( WALLET_CAPABILITIES.PAYMASTER_SERVICE, @@ -106,9 +106,9 @@ export function EthersSendCallsWithPaymasterServiceTest() { function isSendCallsSupported(): boolean { // We are currently checking capabilities above. We should use those capabilities instead of this check. - if (walletProvider instanceof EthereumProvider) { + if (walletProvider instanceof UniversalProvider) { return Boolean( - walletProvider?.signer?.session?.namespaces?.['eip155']?.methods?.includes( + walletProvider?.session?.namespaces?.['eip155']?.methods?.includes( EIP_5792_RPC_METHODS.WALLET_SEND_CALLS ) ) diff --git a/apps/laboratory/src/components/Wagmi/WagmiModalInfo.tsx b/apps/laboratory/src/components/Wagmi/WagmiModalInfo.tsx index 4ad6b4ba4f..fa3ffa62c7 100644 --- a/apps/laboratory/src/components/Wagmi/WagmiModalInfo.tsx +++ b/apps/laboratory/src/components/Wagmi/WagmiModalInfo.tsx @@ -1,5 +1,5 @@ import * as React from 'react' -import EthereumProvider from '@walletconnect/ethereum-provider' +import UniversalProvider from '@walletconnect/universal-provider' import { useAccount } from 'wagmi' import { AppKitInfo } from '../AppKitInfo' @@ -13,9 +13,9 @@ export function WagmiModalInfo() { async function getClientId() { if (connector?.type === 'walletConnect') { const provider = await connector?.getProvider?.() - const ethereumProvider = provider as EthereumProvider + const ethereumProvider = provider as UniversalProvider - return ethereumProvider?.signer?.client?.core?.crypto?.getClientId() + return ethereumProvider.client?.core?.crypto?.getClientId() } return null diff --git a/apps/laboratory/src/hooks/useWagmiActiveCapabilities.ts b/apps/laboratory/src/hooks/useWagmiActiveCapabilities.ts index d4d17cf066..30687945df 100644 --- a/apps/laboratory/src/hooks/useWagmiActiveCapabilities.ts +++ b/apps/laboratory/src/hooks/useWagmiActiveCapabilities.ts @@ -1,4 +1,4 @@ -import { EthereumProvider } from '@walletconnect/ethereum-provider' +import { UniversalProvider } from '@walletconnect/universal-provider' import { useAccount, type Connector } from 'wagmi' import { useState, useEffect, useMemo } from 'react' import { type Address, type WalletCapabilities } from 'viem' @@ -17,7 +17,7 @@ type UseWagmiAvailableCapabilitiesParams = { method: string } -export type Provider = Awaited> | W3mFrameProvider +export type Provider = Awaited> | W3mFrameProvider export function useWagmiAvailableCapabilities({ capability, @@ -85,7 +85,7 @@ export function useWagmiAvailableCapabilities({ return supportedMethods.includes(method) } - return Boolean(provider?.signer?.session?.namespaces?.['eip155']?.methods?.includes(method)) + return Boolean(provider?.session?.namespaces?.['eip155']?.methods?.includes(method)) } useEffect(() => { diff --git a/apps/laboratory/src/utils/EIP5792Utils.ts b/apps/laboratory/src/utils/EIP5792Utils.ts index 0f3e9aefed..0d2f850791 100644 --- a/apps/laboratory/src/utils/EIP5792Utils.ts +++ b/apps/laboratory/src/utils/EIP5792Utils.ts @@ -1,4 +1,4 @@ -import { EthereumProvider } from '@walletconnect/ethereum-provider' +import { UniversalProvider } from '@walletconnect/universal-provider' import { getChain } from './NetworksUtil' import { parseJSON } from './CommonUtils' import { fromHex, type WalletCapabilities } from 'viem' @@ -58,9 +58,9 @@ export function convertCapabilitiesToRecord( export function getProviderCachedCapabilities( address: string, - provider: Awaited> + provider: Awaited> ) { - const walletCapabilitiesString = provider.signer?.session?.sessionProperties?.['capabilities'] + const walletCapabilitiesString = provider?.session?.sessionProperties?.['capabilities'] if (!walletCapabilitiesString) { return undefined } @@ -75,7 +75,7 @@ export function getProviderCachedCapabilities( export async function getCapabilitySupportedChainInfo( capability: string, - provider: Awaited> | W3mFrameProvider, + provider: Awaited> | W3mFrameProvider, address: string ): Promise< { diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 6d7b66f0c3..dd8d165461 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -27,7 +27,7 @@ importers: version: 6.18.1(eslint@8.56.0)(typescript@5.3.3) '@vitest/coverage-v8': specifier: 1.1.2 - version: 1.1.2(vitest@2.0.5(@types/node@20.11.5)(jsdom@24.1.0)(terser@5.32.0)) + version: 1.1.2(vitest@2.0.5(@types/node@20.11.5)(jsdom@24.1.0(bufferutil@4.0.8)(utf-8-validate@5.0.10))(terser@5.32.0)) danger: specifier: 11.3.1 version: 11.3.1 @@ -252,9 +252,6 @@ importers: '@wagmi/core': specifier: 2.13.4 version: 2.13.4(@tanstack/query-core@5.24.8)(@types/react@18.2.62)(react@18.2.0)(typescript@5.3.3)(viem@2.21.4(bufferutil@4.0.8)(typescript@5.3.3)(utf-8-validate@5.0.10)(zod@3.22.4)) - '@walletconnect/ethereum-provider': - specifier: 2.16.1 - version: 2.16.1(@types/react@18.2.62)(bufferutil@4.0.8)(react@18.2.0)(utf-8-validate@5.0.10) '@walletconnect/universal-provider': specifier: 2.16.1 version: 2.16.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) @@ -562,7 +559,7 @@ importers: version: 0.1.14(@solana/web3.js@1.95.2(bufferutil@4.0.8)(utf-8-validate@5.0.10)) '@solana/wallet-adapter-wallets': specifier: 0.19.32 - version: 0.19.32(@babel/core@7.25.2)(@babel/runtime@7.25.6)(@sentry/types@7.92.0)(@solana/web3.js@1.95.2(bufferutil@4.0.8)(utf-8-validate@5.0.10))(bufferutil@4.0.8)(react-dom@18.2.0(react@18.2.0))(react-native@0.75.3(@babel/core@7.25.2)(@types/react@18.2.62)(bufferutil@4.0.8)(react@18.2.0)(typescript@5.3.3)(utf-8-validate@5.0.10))(react@18.2.0)(tslib@2.7.0)(utf-8-validate@5.0.10) + version: 0.19.32(@babel/core@7.25.2)(@babel/runtime@7.25.6)(@sentry/types@7.92.0)(@solana/web3.js@1.95.2(bufferutil@4.0.8)(utf-8-validate@5.0.10))(bs58@6.0.0)(bufferutil@4.0.8)(react-dom@18.2.0(react@18.2.0))(react-native@0.75.3(@babel/core@7.25.2)(@babel/preset-env@7.25.4(@babel/core@7.25.2))(@types/react@18.2.62)(bufferutil@4.0.8)(react@18.2.0)(typescript@5.3.3)(utf-8-validate@5.0.10))(react@18.2.0)(tslib@2.7.0)(utf-8-validate@5.0.10) '@tanstack/react-query': specifier: 5.24.8 version: 5.24.8(react@18.2.0) @@ -661,7 +658,7 @@ importers: version: 0.1.14(@solana/web3.js@1.95.2(bufferutil@4.0.8)(utf-8-validate@5.0.10)) '@solana/wallet-adapter-wallets': specifier: 0.19.32 - version: 0.19.32(@babel/core@7.25.2)(@babel/runtime@7.25.6)(@sentry/types@7.92.0)(@solana/web3.js@1.95.2(bufferutil@4.0.8)(utf-8-validate@5.0.10))(bufferutil@4.0.8)(react-native@0.75.3(@babel/core@7.25.2)(bufferutil@4.0.8)(typescript@5.3.3)(utf-8-validate@5.0.10))(tslib@2.7.0)(utf-8-validate@5.0.10) + version: 0.19.32(@babel/core@7.25.2)(@babel/runtime@7.25.6)(@sentry/types@7.92.0)(@solana/web3.js@1.95.2(bufferutil@4.0.8)(utf-8-validate@5.0.10))(bufferutil@4.0.8)(react-native@0.75.3(@babel/core@7.25.2)(@babel/preset-env@7.25.4(@babel/core@7.25.2))(@types/react@18.2.62)(bufferutil@4.0.8)(react@18.2.0)(typescript@5.3.3)(utf-8-validate@5.0.10))(react@18.2.0)(tslib@2.7.0)(utf-8-validate@5.0.10) vue: specifier: 3.4.3 version: 3.4.3(typescript@5.3.3) @@ -742,7 +739,7 @@ importers: version: 5.7.0 '@vitest/coverage-v8': specifier: 2.0.5 - version: 2.0.5(vitest@2.0.5(@types/node@20.11.5)(jsdom@24.1.0)(terser@5.32.0)) + version: 2.0.5(vitest@2.0.5(@types/node@20.11.5)(jsdom@24.1.0(bufferutil@4.0.8)(utf-8-validate@5.0.10))(terser@5.32.0)) '@walletconnect/types': specifier: 2.16.1 version: 2.16.1 @@ -803,7 +800,7 @@ importers: version: 5.7.0 '@vitest/coverage-v8': specifier: 2.0.5 - version: 2.0.5(vitest@2.0.5(@types/node@20.11.5)(jsdom@24.1.0)(terser@5.32.0)) + version: 2.0.5(vitest@2.0.5(@types/node@20.11.5)(jsdom@24.1.0(bufferutil@4.0.8)(utf-8-validate@5.0.10))(terser@5.32.0)) '@walletconnect/types': specifier: 2.16.1 version: 2.16.1 @@ -828,7 +825,7 @@ importers: devDependencies: '@vitest/coverage-v8': specifier: 2.0.5 - version: 2.0.5(vitest@2.0.5(@types/node@20.11.5)(jsdom@24.1.0)(terser@5.32.0)) + version: 2.0.5(vitest@2.0.5(@types/node@20.11.5)(jsdom@24.1.0(bufferutil@4.0.8)(utf-8-validate@5.0.10))(terser@5.32.0)) vitest: specifier: 2.0.5 version: 2.0.5(@types/node@20.11.5)(jsdom@24.1.0(bufferutil@4.0.8)(utf-8-validate@5.0.10))(terser@5.32.0) @@ -914,7 +911,7 @@ importers: version: 18.2.0 '@vitest/coverage-v8': specifier: 2.0.5 - version: 2.0.5(vitest@2.0.5(@types/node@20.11.5)(jsdom@24.1.0)(terser@5.32.0)) + version: 2.0.5(vitest@2.0.5(@types/node@20.11.5)(jsdom@24.1.0(bufferutil@4.0.8)(utf-8-validate@5.0.10))(terser@5.32.0)) '@vue/runtime-core': specifier: 3.4.3 version: 3.4.3 @@ -981,7 +978,7 @@ importers: version: 18.2.0 '@vitest/coverage-v8': specifier: 2.0.5 - version: 2.0.5(vitest@2.0.5(@types/node@20.11.5)(jsdom@24.1.0)(terser@5.32.0)) + version: 2.0.5(vitest@2.0.5(@types/node@20.11.5)(jsdom@24.1.0(bufferutil@4.0.8)(utf-8-validate@5.0.10))(terser@5.32.0)) '@wagmi/connectors': specifier: 5.1.9 version: 5.1.9(@types/react@18.2.0)(@wagmi/core@2.13.4(@tanstack/query-core@5.24.8)(@types/react@18.2.0)(react@18.2.0)(typescript@5.3.3)(viem@2.21.4(bufferutil@4.0.8)(typescript@5.3.3)(utf-8-validate@5.0.10)(zod@3.22.4)))(bufferutil@4.0.8)(react-dom@18.2.0(react@18.2.0))(react-native@0.75.3(@babel/core@7.25.2)(@babel/preset-env@7.25.4(@babel/core@7.25.2))(@types/react@18.2.0)(bufferutil@4.0.8)(react@18.2.0)(typescript@5.3.3)(utf-8-validate@5.0.10))(react@18.2.0)(rollup@4.21.3)(typescript@5.3.3)(utf-8-validate@5.0.10)(viem@2.21.4(bufferutil@4.0.8)(typescript@5.3.3)(utf-8-validate@5.0.10)(zod@3.22.4))(zod@3.22.4) @@ -1055,7 +1052,7 @@ importers: version: 18.2.0 '@vitest/coverage-v8': specifier: 2.0.5 - version: 2.0.5(vitest@2.0.5(@types/node@20.11.5)(jsdom@24.1.0)(terser@5.32.0)) + version: 2.0.5(vitest@2.0.5(@types/node@20.11.5)(jsdom@24.1.0(bufferutil@4.0.8)(utf-8-validate@5.0.10))(terser@5.32.0)) '@vue/runtime-core': specifier: 3.4.3 version: 3.4.3 @@ -1134,7 +1131,7 @@ importers: version: 1.95.2(bufferutil@4.0.8)(utf-8-validate@5.0.10) '@vitest/coverage-v8': specifier: 2.0.5 - version: 2.0.5(vitest@2.0.5(@types/node@20.11.5)(jsdom@24.1.0)(terser@5.32.0)) + version: 2.0.5(vitest@2.0.5(@types/node@20.11.5)(jsdom@24.1.0(bufferutil@4.0.8)(utf-8-validate@5.0.10))(terser@5.32.0)) vitest: specifier: 2.0.5 version: 2.0.5(@types/node@20.11.5)(jsdom@24.1.0(bufferutil@4.0.8)(utf-8-validate@5.0.10))(terser@5.32.0) @@ -1187,7 +1184,7 @@ importers: devDependencies: '@vitest/coverage-v8': specifier: 2.0.5 - version: 2.0.5(vitest@2.0.5(@types/node@20.11.5)(jsdom@24.1.0)(terser@5.32.0)) + version: 2.0.5(vitest@2.0.5(@types/node@20.11.5)(jsdom@24.1.0(bufferutil@4.0.8)(utf-8-validate@5.0.10))(terser@5.32.0)) vitest: specifier: 2.0.5 version: 2.0.5(@types/node@20.11.5)(jsdom@24.1.0(bufferutil@4.0.8)(utf-8-validate@5.0.10))(terser@5.32.0) @@ -1209,7 +1206,7 @@ importers: devDependencies: '@vitest/coverage-v8': specifier: 2.0.5 - version: 2.0.5(vitest@2.0.5(@types/node@20.11.5)(jsdom@24.1.0)(terser@5.32.0)) + version: 2.0.5(vitest@2.0.5(@types/node@20.11.5)(jsdom@24.1.0(bufferutil@4.0.8)(utf-8-validate@5.0.10))(terser@5.32.0)) viem: specifier: 2.21.4 version: 2.21.4(bufferutil@4.0.8)(typescript@5.3.3)(utf-8-validate@5.0.10)(zod@3.22.4) @@ -1453,7 +1450,7 @@ importers: version: 5.1.5 '@vitest/coverage-v8': specifier: 2.0.5 - version: 2.0.5(vitest@2.0.5(@types/node@20.11.5)(jsdom@24.1.0)(terser@5.32.0)) + version: 2.0.5(vitest@2.0.5(@types/node@20.11.5)(jsdom@24.1.0(bufferutil@4.0.8)(utf-8-validate@5.0.10))(terser@5.32.0)) '@walletconnect/types': specifier: 2.16.1 version: 2.16.1 @@ -1484,7 +1481,7 @@ importers: version: 1.5.5 '@vitest/coverage-v8': specifier: 2.0.5 - version: 2.0.5(vitest@2.0.5(@types/node@20.11.5)(jsdom@24.1.0)(terser@5.32.0)) + version: 2.0.5(vitest@2.0.5(@types/node@20.11.5)(jsdom@24.1.0(bufferutil@4.0.8)(utf-8-validate@5.0.10))(terser@5.32.0)) eslint-plugin-lit: specifier: 1.11.0 version: 1.11.0(eslint@8.57.0) @@ -1564,7 +1561,7 @@ importers: devDependencies: '@vitest/coverage-v8': specifier: 2.0.5 - version: 2.0.5(vitest@2.0.5(@types/node@20.11.5)(jsdom@24.1.0)(terser@5.32.0)) + version: 2.0.5(vitest@2.0.5(@types/node@20.11.5)(jsdom@24.1.0(bufferutil@4.0.8)(utf-8-validate@5.0.10))(terser@5.32.0)) jsdom: specifier: 24.1.0 version: 24.1.0(bufferutil@4.0.8)(utf-8-validate@5.0.10) @@ -6737,15 +6734,16 @@ packages: resolution: {integrity: sha512-UlsnEMT5wwFvmxEjX8s4oju7R3zadxNbZgsFeHEsjh7uknY2zgmUe1Lfc5XU6zyPb1Jx7Nqpdx1KN485ee8ogw==} engines: {node: '>=18'} + '@walletconnect/core@2.16.2': + resolution: {integrity: sha512-Xf1SqLSB8KffNsgUGDE/CguAcKMD+3EKfqfqNhWpimxe1QDZDUw8xq+nnxfx6MAb8fdx9GYe6Lvknx2SAAeAHw==} + engines: {node: '>=18'} + '@walletconnect/environment@1.0.1': resolution: {integrity: sha512-T426LLZtHj8e8rYnKfzsw1aG6+M0BT1ZxayMdv/p8yM0MU+eJDISqNY3/bccxRr4LrF9csq02Rhqt08Ibl0VRg==} '@walletconnect/ethereum-provider@2.15.3': resolution: {integrity: sha512-dzJQp0OZC+TZqKEoLvpy6NdhOFXAD8Oyz3OYZmWwYEaw+R7P2lbXRbYV22fTKyewLYVtNb/P+HJfwmVaiEdp0w==} - '@walletconnect/ethereum-provider@2.16.1': - resolution: {integrity: sha512-oD7DNCssUX3plS5gGUZ9JQ63muQB/vxO68X6RzD2wd8gBsYtSPw4BqYFc7KTO6dUizD6gfPirw32yW2pTvy92w==} - '@walletconnect/events@1.0.1': resolution: {integrity: sha512-NPTqaoi0oPBVNuLv7qPaJazmGHs5JGyO8eEAk5VGKmJzDR7AHzD4k6ilox5kxk1iwiOnFopBOOMLs86Oa76HpQ==} @@ -6813,12 +6811,15 @@ packages: '@walletconnect/sign-client@2.16.1': resolution: {integrity: sha512-s2Tx2n2duxt+sHtuWXrN9yZVaHaYqcEcjwlTD+55/vs5NUPlISf+fFmZLwSeX1kUlrSBrAuxPUcqQuRTKcjLOA==} + '@walletconnect/sign-client@2.16.2': + resolution: {integrity: sha512-R/hk2P3UN5u3FV22E7h9S/Oy8IbDwaBGH7St/BzOpJCjFmf6CF5S3GZVjrXPBesvRF94CROkqMF89wz5HkZepA==} + '@walletconnect/time@1.0.2': resolution: {integrity: sha512-uzdd9woDcJ1AaBZRhqy5rNC9laqWGErfc4dxA9a87mPdKOgWMD85mcFo9dIYIts/Jwocfwn07EC6EzclKubk/g==} '@walletconnect/types@1.8.0': resolution: {integrity: sha512-Cn+3I0V0vT9ghMuzh1KzZvCkiAxTq+1TR2eSqw5E5AVWfmCtECFkVZBP6uUJZ8YjwLqXheI+rnjqPy7sVM4Fyg==} - deprecated: 'WalletConnect''s v1 SDKs are now deprecated. Please upgrade to a v2 SDK. For details see: https://docs.reown.com/' + deprecated: 'WalletConnect''s v1 SDKs are now deprecated. Please upgrade to a v2 SDK. For details see: https://docs.walletconnect.com/' '@walletconnect/types@2.15.3': resolution: {integrity: sha512-z3NJ14f3WVWsyQTSQYaPuSvBfGGiKEKEaldeCZecsOVtMCtjfTrDzj8HDbz6+werogS7joFDPyB/1UdcCDmqjw==} @@ -6826,6 +6827,9 @@ packages: '@walletconnect/types@2.16.1': resolution: {integrity: sha512-9P4RG4VoDEF+yBF/n2TF12gsvT/aTaeZTVDb/AOayafqiPnmrQZMKmNCJJjq1sfdsDcHXFcZWMGsuCeSJCmrXA==} + '@walletconnect/types@2.16.2': + resolution: {integrity: sha512-IIV9kQh6b/WpwhfgPixpziE+8XK/FtdnfvN1oOMs5h+lgwr46OJknPY2p7eS6vvdvEP3xMEc1Kbu1i4tlnroiw==} + '@walletconnect/universal-provider@2.15.3': resolution: {integrity: sha512-KfrtQo/kKu4CtbTbsjMUZvHlViPh9dMuPRnlIltlJc5csdGosjeEt9EC7OIDDBTCgP59A0LV4dQXIcL7azH5DA==} @@ -6838,6 +6842,9 @@ packages: '@walletconnect/utils@2.16.1': resolution: {integrity: sha512-aoQirVoDoiiEtYeYDtNtQxFzwO/oCrz9zqeEEXYJaAwXlGVTS34KFe7W3/Rxd/pldTYKFOZsku2EzpISfH8Wsw==} + '@walletconnect/utils@2.16.2': + resolution: {integrity: sha512-CEMxMCIqvwXd8YIEXfBoCiWY8DtUevJ/w14Si+cmTHWHBDWKRZll7+QUXgICIBx5kyX3GMAKNABaTlg2A2CPSg==} + '@walletconnect/window-getters@1.0.0': resolution: {integrity: sha512-xB0SQsLaleIYIkSsl43vm8EwETpBzJ2gnzk7e0wMF3ktqiTGS6TFHxcprMl5R44KKh4tCcHCJwolMCaDSwtAaA==} @@ -16057,7 +16064,7 @@ snapshots: dependencies: '@solana/web3.js': 1.95.2(bufferutil@4.0.8)(utf-8-validate@5.0.10) '@walletconnect/qrcode-modal': 1.8.0 - '@walletconnect/sign-client': 2.16.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) + '@walletconnect/sign-client': 2.16.2(bufferutil@4.0.8)(utf-8-validate@5.0.10) '@walletconnect/utils': 2.16.1 bs58: 5.0.0 transitivePeerDependencies: @@ -17519,23 +17526,6 @@ snapshots: optionalDependencies: '@types/react': 18.2.62 - '@react-native/virtualized-lists@0.75.3(@types/react@18.2.62)(react-native@0.75.3(@babel/core@7.25.2)(@types/react@18.2.62)(bufferutil@4.0.8)(react@18.2.0)(typescript@5.3.3)(utf-8-validate@5.0.10))(react@18.2.0)': - dependencies: - invariant: 2.2.4 - nullthrows: 1.1.1 - react: 18.2.0 - react-native: 0.75.3(@babel/core@7.25.2)(@types/react@18.2.62)(bufferutil@4.0.8)(react@18.2.0)(typescript@5.3.3)(utf-8-validate@5.0.10) - optionalDependencies: - '@types/react': 18.2.62 - optional: true - - '@react-native/virtualized-lists@0.75.3(react-native@0.75.3(@babel/core@7.25.2)(bufferutil@4.0.8)(typescript@5.3.3)(utf-8-validate@5.0.10))': - dependencies: - invariant: 2.2.4 - nullthrows: 1.1.1 - react-native: 0.75.3(@babel/core@7.25.2)(bufferutil@4.0.8)(typescript@5.3.3)(utf-8-validate@5.0.10) - optional: true - '@rollup/plugin-inject@5.0.5(rollup@4.21.3)': dependencies: '@rollup/pluginutils': 5.1.0(rollup@4.21.3) @@ -18205,40 +18195,6 @@ snapshots: - tslib - utf-8-validate - '@solana/wallet-adapter-trezor@0.1.2(@babel/core@7.25.2)(@solana/web3.js@1.95.2(bufferutil@4.0.8)(utf-8-validate@5.0.10))(bufferutil@4.0.8)(react-native@0.75.3(@babel/core@7.25.2)(@types/react@18.2.62)(bufferutil@4.0.8)(react@18.2.0)(typescript@5.3.3)(utf-8-validate@5.0.10))(tslib@2.7.0)(utf-8-validate@5.0.10)': - dependencies: - '@solana/wallet-adapter-base': 0.9.23(@solana/web3.js@1.95.2(bufferutil@4.0.8)(utf-8-validate@5.0.10)) - '@solana/web3.js': 1.95.2(bufferutil@4.0.8)(utf-8-validate@5.0.10) - '@trezor/connect-web': 9.4.0(@babel/core@7.25.2)(bufferutil@4.0.8)(react-native@0.75.3(@babel/core@7.25.2)(@types/react@18.2.62)(bufferutil@4.0.8)(react@18.2.0)(typescript@5.3.3)(utf-8-validate@5.0.10))(tslib@2.7.0)(utf-8-validate@5.0.10) - buffer: 6.0.3 - transitivePeerDependencies: - - '@babel/core' - - bufferutil - - encoding - - expo-constants - - expo-localization - - react-native - - supports-color - - tslib - - utf-8-validate - - '@solana/wallet-adapter-trezor@0.1.2(@babel/core@7.25.2)(@solana/web3.js@1.95.2(bufferutil@4.0.8)(utf-8-validate@5.0.10))(bufferutil@4.0.8)(react-native@0.75.3(@babel/core@7.25.2)(bufferutil@4.0.8)(typescript@5.3.3)(utf-8-validate@5.0.10))(tslib@2.7.0)(utf-8-validate@5.0.10)': - dependencies: - '@solana/wallet-adapter-base': 0.9.23(@solana/web3.js@1.95.2(bufferutil@4.0.8)(utf-8-validate@5.0.10)) - '@solana/web3.js': 1.95.2(bufferutil@4.0.8)(utf-8-validate@5.0.10) - '@trezor/connect-web': 9.4.0(@babel/core@7.25.2)(bufferutil@4.0.8)(react-native@0.75.3(@babel/core@7.25.2)(bufferutil@4.0.8)(typescript@5.3.3)(utf-8-validate@5.0.10))(tslib@2.7.0)(utf-8-validate@5.0.10) - buffer: 6.0.3 - transitivePeerDependencies: - - '@babel/core' - - bufferutil - - encoding - - expo-constants - - expo-localization - - react-native - - supports-color - - tslib - - utf-8-validate - '@solana/wallet-adapter-trust@0.1.13(@solana/web3.js@1.95.2(bufferutil@4.0.8)(utf-8-validate@5.0.10))': dependencies: '@solana/wallet-adapter-base': 0.9.23(@solana/web3.js@1.95.2(bufferutil@4.0.8)(utf-8-validate@5.0.10)) @@ -18344,76 +18300,7 @@ snapshots: - uWebSockets.js - utf-8-validate - '@solana/wallet-adapter-wallets@0.19.32(@babel/core@7.25.2)(@babel/runtime@7.25.6)(@sentry/types@7.92.0)(@solana/web3.js@1.95.2(bufferutil@4.0.8)(utf-8-validate@5.0.10))(bufferutil@4.0.8)(react-dom@18.2.0(react@18.2.0))(react-native@0.75.3(@babel/core@7.25.2)(@types/react@18.2.62)(bufferutil@4.0.8)(react@18.2.0)(typescript@5.3.3)(utf-8-validate@5.0.10))(react@18.2.0)(tslib@2.7.0)(utf-8-validate@5.0.10)': - dependencies: - '@solana/wallet-adapter-alpha': 0.1.10(@solana/web3.js@1.95.2(bufferutil@4.0.8)(utf-8-validate@5.0.10)) - '@solana/wallet-adapter-avana': 0.1.13(@solana/web3.js@1.95.2(bufferutil@4.0.8)(utf-8-validate@5.0.10)) - '@solana/wallet-adapter-bitkeep': 0.3.20(@solana/web3.js@1.95.2(bufferutil@4.0.8)(utf-8-validate@5.0.10)) - '@solana/wallet-adapter-bitpie': 0.5.18(@solana/web3.js@1.95.2(bufferutil@4.0.8)(utf-8-validate@5.0.10)) - '@solana/wallet-adapter-clover': 0.4.19(@solana/web3.js@1.95.2(bufferutil@4.0.8)(utf-8-validate@5.0.10)) - '@solana/wallet-adapter-coin98': 0.5.20(@solana/web3.js@1.95.2(bufferutil@4.0.8)(utf-8-validate@5.0.10)) - '@solana/wallet-adapter-coinbase': 0.1.19(@solana/web3.js@1.95.2(bufferutil@4.0.8)(utf-8-validate@5.0.10)) - '@solana/wallet-adapter-coinhub': 0.3.18(@solana/web3.js@1.95.2(bufferutil@4.0.8)(utf-8-validate@5.0.10)) - '@solana/wallet-adapter-fractal': 0.1.8(@solana/web3.js@1.95.2(bufferutil@4.0.8)(utf-8-validate@5.0.10))(react-dom@18.2.0(react@18.2.0))(react@18.2.0) - '@solana/wallet-adapter-huobi': 0.1.15(@solana/web3.js@1.95.2(bufferutil@4.0.8)(utf-8-validate@5.0.10)) - '@solana/wallet-adapter-hyperpay': 0.1.14(@solana/web3.js@1.95.2(bufferutil@4.0.8)(utf-8-validate@5.0.10)) - '@solana/wallet-adapter-keystone': 0.1.15(@solana/web3.js@1.95.2(bufferutil@4.0.8)(utf-8-validate@5.0.10))(bufferutil@4.0.8)(utf-8-validate@5.0.10) - '@solana/wallet-adapter-krystal': 0.1.12(@solana/web3.js@1.95.2(bufferutil@4.0.8)(utf-8-validate@5.0.10)) - '@solana/wallet-adapter-ledger': 0.9.25(@solana/web3.js@1.95.2(bufferutil@4.0.8)(utf-8-validate@5.0.10)) - '@solana/wallet-adapter-mathwallet': 0.9.18(@solana/web3.js@1.95.2(bufferutil@4.0.8)(utf-8-validate@5.0.10)) - '@solana/wallet-adapter-neko': 0.2.12(@solana/web3.js@1.95.2(bufferutil@4.0.8)(utf-8-validate@5.0.10)) - '@solana/wallet-adapter-nightly': 0.1.16(@solana/web3.js@1.95.2(bufferutil@4.0.8)(utf-8-validate@5.0.10)) - '@solana/wallet-adapter-nufi': 0.1.17(@solana/web3.js@1.95.2(bufferutil@4.0.8)(utf-8-validate@5.0.10)) - '@solana/wallet-adapter-onto': 0.1.7(@solana/web3.js@1.95.2(bufferutil@4.0.8)(utf-8-validate@5.0.10)) - '@solana/wallet-adapter-particle': 0.1.12(@solana/web3.js@1.95.2(bufferutil@4.0.8)(utf-8-validate@5.0.10))(bs58@6.0.0) - '@solana/wallet-adapter-phantom': 0.9.24(@solana/web3.js@1.95.2(bufferutil@4.0.8)(utf-8-validate@5.0.10)) - '@solana/wallet-adapter-safepal': 0.5.18(@solana/web3.js@1.95.2(bufferutil@4.0.8)(utf-8-validate@5.0.10)) - '@solana/wallet-adapter-saifu': 0.1.15(@solana/web3.js@1.95.2(bufferutil@4.0.8)(utf-8-validate@5.0.10)) - '@solana/wallet-adapter-salmon': 0.1.14(@solana/web3.js@1.95.2(bufferutil@4.0.8)(utf-8-validate@5.0.10)) - '@solana/wallet-adapter-sky': 0.1.15(@solana/web3.js@1.95.2(bufferutil@4.0.8)(utf-8-validate@5.0.10)) - '@solana/wallet-adapter-solflare': 0.6.28(@solana/web3.js@1.95.2(bufferutil@4.0.8)(utf-8-validate@5.0.10)) - '@solana/wallet-adapter-solong': 0.9.18(@solana/web3.js@1.95.2(bufferutil@4.0.8)(utf-8-validate@5.0.10)) - '@solana/wallet-adapter-spot': 0.1.15(@solana/web3.js@1.95.2(bufferutil@4.0.8)(utf-8-validate@5.0.10)) - '@solana/wallet-adapter-tokenary': 0.1.12(@solana/web3.js@1.95.2(bufferutil@4.0.8)(utf-8-validate@5.0.10)) - '@solana/wallet-adapter-tokenpocket': 0.4.19(@solana/web3.js@1.95.2(bufferutil@4.0.8)(utf-8-validate@5.0.10)) - '@solana/wallet-adapter-torus': 0.11.28(@babel/runtime@7.25.6)(@sentry/types@7.92.0)(@solana/web3.js@1.95.2(bufferutil@4.0.8)(utf-8-validate@5.0.10))(bufferutil@4.0.8)(utf-8-validate@5.0.10) - '@solana/wallet-adapter-trezor': 0.1.2(@babel/core@7.25.2)(@solana/web3.js@1.95.2(bufferutil@4.0.8)(utf-8-validate@5.0.10))(bufferutil@4.0.8)(react-native@0.75.3(@babel/core@7.25.2)(@types/react@18.2.62)(bufferutil@4.0.8)(react@18.2.0)(typescript@5.3.3)(utf-8-validate@5.0.10))(tslib@2.7.0)(utf-8-validate@5.0.10) - '@solana/wallet-adapter-trust': 0.1.13(@solana/web3.js@1.95.2(bufferutil@4.0.8)(utf-8-validate@5.0.10)) - '@solana/wallet-adapter-unsafe-burner': 0.1.7(@solana/web3.js@1.95.2(bufferutil@4.0.8)(utf-8-validate@5.0.10)) - '@solana/wallet-adapter-walletconnect': 0.1.16(@solana/web3.js@1.95.2(bufferutil@4.0.8)(utf-8-validate@5.0.10))(bufferutil@4.0.8)(utf-8-validate@5.0.10) - '@solana/wallet-adapter-xdefi': 0.1.7(@solana/web3.js@1.95.2(bufferutil@4.0.8)(utf-8-validate@5.0.10)) - '@solana/web3.js': 1.95.2(bufferutil@4.0.8)(utf-8-validate@5.0.10) - transitivePeerDependencies: - - '@azure/app-configuration' - - '@azure/cosmos' - - '@azure/data-tables' - - '@azure/identity' - - '@azure/keyvault-secrets' - - '@azure/storage-blob' - - '@babel/core' - - '@babel/runtime' - - '@capacitor/preferences' - - '@netlify/blobs' - - '@planetscale/database' - - '@react-native-async-storage/async-storage' - - '@sentry/types' - - '@upstash/redis' - - '@vercel/kv' - - bs58 - - bufferutil - - encoding - - expo-constants - - expo-localization - - ioredis - - react - - react-dom - - react-native - - supports-color - - tslib - - uWebSockets.js - - utf-8-validate - - '@solana/wallet-adapter-wallets@0.19.32(@babel/core@7.25.2)(@babel/runtime@7.25.6)(@sentry/types@7.92.0)(@solana/web3.js@1.95.2(bufferutil@4.0.8)(utf-8-validate@5.0.10))(bufferutil@4.0.8)(react-native@0.75.3(@babel/core@7.25.2)(bufferutil@4.0.8)(typescript@5.3.3)(utf-8-validate@5.0.10))(tslib@2.7.0)(utf-8-validate@5.0.10)': + '@solana/wallet-adapter-wallets@0.19.32(@babel/core@7.25.2)(@babel/runtime@7.25.6)(@sentry/types@7.92.0)(@solana/web3.js@1.95.2(bufferutil@4.0.8)(utf-8-validate@5.0.10))(bufferutil@4.0.8)(react-native@0.75.3(@babel/core@7.25.2)(@babel/preset-env@7.25.4(@babel/core@7.25.2))(@types/react@18.2.62)(bufferutil@4.0.8)(react@18.2.0)(typescript@5.3.3)(utf-8-validate@5.0.10))(react@18.2.0)(tslib@2.7.0)(utf-8-validate@5.0.10)': dependencies: '@solana/wallet-adapter-alpha': 0.1.10(@solana/web3.js@1.95.2(bufferutil@4.0.8)(utf-8-validate@5.0.10)) '@solana/wallet-adapter-avana': 0.1.13(@solana/web3.js@1.95.2(bufferutil@4.0.8)(utf-8-validate@5.0.10)) @@ -18446,7 +18333,7 @@ snapshots: '@solana/wallet-adapter-tokenary': 0.1.12(@solana/web3.js@1.95.2(bufferutil@4.0.8)(utf-8-validate@5.0.10)) '@solana/wallet-adapter-tokenpocket': 0.4.19(@solana/web3.js@1.95.2(bufferutil@4.0.8)(utf-8-validate@5.0.10)) '@solana/wallet-adapter-torus': 0.11.28(@babel/runtime@7.25.6)(@sentry/types@7.92.0)(@solana/web3.js@1.95.2(bufferutil@4.0.8)(utf-8-validate@5.0.10))(bufferutil@4.0.8)(utf-8-validate@5.0.10) - '@solana/wallet-adapter-trezor': 0.1.2(@babel/core@7.25.2)(@solana/web3.js@1.95.2(bufferutil@4.0.8)(utf-8-validate@5.0.10))(bufferutil@4.0.8)(react-native@0.75.3(@babel/core@7.25.2)(bufferutil@4.0.8)(typescript@5.3.3)(utf-8-validate@5.0.10))(tslib@2.7.0)(utf-8-validate@5.0.10) + '@solana/wallet-adapter-trezor': 0.1.2(@babel/core@7.25.2)(@solana/web3.js@1.95.2(bufferutil@4.0.8)(utf-8-validate@5.0.10))(bufferutil@4.0.8)(react-native@0.75.3(@babel/core@7.25.2)(@babel/preset-env@7.25.4(@babel/core@7.25.2))(@types/react@18.2.62)(bufferutil@4.0.8)(react@18.2.0)(typescript@5.3.3)(utf-8-validate@5.0.10))(tslib@2.7.0)(utf-8-validate@5.0.10) '@solana/wallet-adapter-trust': 0.1.13(@solana/web3.js@1.95.2(bufferutil@4.0.8)(utf-8-validate@5.0.10)) '@solana/wallet-adapter-unsafe-burner': 0.1.7(@solana/web3.js@1.95.2(bufferutil@4.0.8)(utf-8-validate@5.0.10)) '@solana/wallet-adapter-walletconnect': 0.1.16(@solana/web3.js@1.95.2(bufferutil@4.0.8)(utf-8-validate@5.0.10))(bufferutil@4.0.8)(utf-8-validate@5.0.10) @@ -19398,26 +19285,6 @@ snapshots: - expo-localization - react-native - '@trezor/analytics@1.2.0(react-native@0.75.3(@babel/core@7.25.2)(@types/react@18.2.62)(bufferutil@4.0.8)(react@18.2.0)(typescript@5.3.3)(utf-8-validate@5.0.10))(tslib@2.7.0)': - dependencies: - '@trezor/env-utils': 1.2.0(react-native@0.75.3(@babel/core@7.25.2)(@types/react@18.2.62)(bufferutil@4.0.8)(react@18.2.0)(typescript@5.3.3)(utf-8-validate@5.0.10))(tslib@2.7.0) - '@trezor/utils': 9.2.0(tslib@2.7.0) - tslib: 2.7.0 - transitivePeerDependencies: - - expo-constants - - expo-localization - - react-native - - '@trezor/analytics@1.2.0(react-native@0.75.3(@babel/core@7.25.2)(bufferutil@4.0.8)(typescript@5.3.3)(utf-8-validate@5.0.10))(tslib@2.7.0)': - dependencies: - '@trezor/env-utils': 1.2.0(react-native@0.75.3(@babel/core@7.25.2)(bufferutil@4.0.8)(typescript@5.3.3)(utf-8-validate@5.0.10))(tslib@2.7.0) - '@trezor/utils': 9.2.0(tslib@2.7.0) - tslib: 2.7.0 - transitivePeerDependencies: - - expo-constants - - expo-localization - - react-native - '@trezor/blockchain-link-types@1.2.0(bufferutil@4.0.8)(tslib@2.7.0)(utf-8-validate@5.0.10)': dependencies: '@solana/web3.js': 1.95.2(bufferutil@4.0.8)(utf-8-validate@5.0.10) @@ -19446,36 +19313,6 @@ snapshots: - react-native - utf-8-validate - '@trezor/blockchain-link-utils@1.2.0(bufferutil@4.0.8)(react-native@0.75.3(@babel/core@7.25.2)(@types/react@18.2.62)(bufferutil@4.0.8)(react@18.2.0)(typescript@5.3.3)(utf-8-validate@5.0.10))(tslib@2.7.0)(utf-8-validate@5.0.10)': - dependencies: - '@mobily/ts-belt': 3.13.1 - '@solana/web3.js': 1.95.2(bufferutil@4.0.8)(utf-8-validate@5.0.10) - '@trezor/env-utils': 1.2.0(react-native@0.75.3(@babel/core@7.25.2)(@types/react@18.2.62)(bufferutil@4.0.8)(react@18.2.0)(typescript@5.3.3)(utf-8-validate@5.0.10))(tslib@2.7.0) - '@trezor/utils': 9.2.0(tslib@2.7.0) - tslib: 2.7.0 - transitivePeerDependencies: - - bufferutil - - encoding - - expo-constants - - expo-localization - - react-native - - utf-8-validate - - '@trezor/blockchain-link-utils@1.2.0(bufferutil@4.0.8)(react-native@0.75.3(@babel/core@7.25.2)(bufferutil@4.0.8)(typescript@5.3.3)(utf-8-validate@5.0.10))(tslib@2.7.0)(utf-8-validate@5.0.10)': - dependencies: - '@mobily/ts-belt': 3.13.1 - '@solana/web3.js': 1.95.2(bufferutil@4.0.8)(utf-8-validate@5.0.10) - '@trezor/env-utils': 1.2.0(react-native@0.75.3(@babel/core@7.25.2)(bufferutil@4.0.8)(typescript@5.3.3)(utf-8-validate@5.0.10))(tslib@2.7.0) - '@trezor/utils': 9.2.0(tslib@2.7.0) - tslib: 2.7.0 - transitivePeerDependencies: - - bufferutil - - encoding - - expo-constants - - expo-localization - - react-native - - utf-8-validate - '@trezor/blockchain-link@2.3.0(bufferutil@4.0.8)(react-native@0.75.3(@babel/core@7.25.2)(@babel/preset-env@7.25.4(@babel/core@7.25.2))(@types/react@18.2.62)(bufferutil@4.0.8)(react@18.2.0)(typescript@5.3.3)(utf-8-validate@5.0.10))(tslib@2.7.0)(utf-8-validate@5.0.10)': dependencies: '@solana/buffer-layout': 4.0.1 @@ -19499,52 +19336,6 @@ snapshots: - supports-color - utf-8-validate - '@trezor/blockchain-link@2.3.0(bufferutil@4.0.8)(react-native@0.75.3(@babel/core@7.25.2)(@types/react@18.2.62)(bufferutil@4.0.8)(react@18.2.0)(typescript@5.3.3)(utf-8-validate@5.0.10))(tslib@2.7.0)(utf-8-validate@5.0.10)': - dependencies: - '@solana/buffer-layout': 4.0.1 - '@solana/web3.js': 1.95.2(bufferutil@4.0.8)(utf-8-validate@5.0.10) - '@trezor/blockchain-link-types': 1.2.0(bufferutil@4.0.8)(tslib@2.7.0)(utf-8-validate@5.0.10) - '@trezor/blockchain-link-utils': 1.2.0(bufferutil@4.0.8)(react-native@0.75.3(@babel/core@7.25.2)(@types/react@18.2.62)(bufferutil@4.0.8)(react@18.2.0)(typescript@5.3.3)(utf-8-validate@5.0.10))(tslib@2.7.0)(utf-8-validate@5.0.10) - '@trezor/utils': 9.2.0(tslib@2.7.0) - '@trezor/utxo-lib': 2.2.0(tslib@2.7.0) - '@types/web': 0.0.138 - events: 3.3.0 - ripple-lib: 1.10.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) - socks-proxy-agent: 6.1.1 - tslib: 2.7.0 - ws: 8.18.0(bufferutil@4.0.8)(utf-8-validate@5.0.10) - transitivePeerDependencies: - - bufferutil - - encoding - - expo-constants - - expo-localization - - react-native - - supports-color - - utf-8-validate - - '@trezor/blockchain-link@2.3.0(bufferutil@4.0.8)(react-native@0.75.3(@babel/core@7.25.2)(bufferutil@4.0.8)(typescript@5.3.3)(utf-8-validate@5.0.10))(tslib@2.7.0)(utf-8-validate@5.0.10)': - dependencies: - '@solana/buffer-layout': 4.0.1 - '@solana/web3.js': 1.95.2(bufferutil@4.0.8)(utf-8-validate@5.0.10) - '@trezor/blockchain-link-types': 1.2.0(bufferutil@4.0.8)(tslib@2.7.0)(utf-8-validate@5.0.10) - '@trezor/blockchain-link-utils': 1.2.0(bufferutil@4.0.8)(react-native@0.75.3(@babel/core@7.25.2)(bufferutil@4.0.8)(typescript@5.3.3)(utf-8-validate@5.0.10))(tslib@2.7.0)(utf-8-validate@5.0.10) - '@trezor/utils': 9.2.0(tslib@2.7.0) - '@trezor/utxo-lib': 2.2.0(tslib@2.7.0) - '@types/web': 0.0.138 - events: 3.3.0 - ripple-lib: 1.10.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) - socks-proxy-agent: 6.1.1 - tslib: 2.7.0 - ws: 8.18.0(bufferutil@4.0.8)(utf-8-validate@5.0.10) - transitivePeerDependencies: - - bufferutil - - encoding - - expo-constants - - expo-localization - - react-native - - supports-color - - utf-8-validate - '@trezor/connect-analytics@1.2.0(react-native@0.75.3(@babel/core@7.25.2)(@babel/preset-env@7.25.4(@babel/core@7.25.2))(@types/react@18.2.62)(bufferutil@4.0.8)(react@18.2.0)(typescript@5.3.3)(utf-8-validate@5.0.10))(tslib@2.7.0)': dependencies: '@trezor/analytics': 1.2.0(react-native@0.75.3(@babel/core@7.25.2)(@babel/preset-env@7.25.4(@babel/core@7.25.2))(@types/react@18.2.62)(bufferutil@4.0.8)(react@18.2.0)(typescript@5.3.3)(utf-8-validate@5.0.10))(tslib@2.7.0) @@ -19554,24 +19345,6 @@ snapshots: - expo-localization - react-native - '@trezor/connect-analytics@1.2.0(react-native@0.75.3(@babel/core@7.25.2)(@types/react@18.2.62)(bufferutil@4.0.8)(react@18.2.0)(typescript@5.3.3)(utf-8-validate@5.0.10))(tslib@2.7.0)': - dependencies: - '@trezor/analytics': 1.2.0(react-native@0.75.3(@babel/core@7.25.2)(@types/react@18.2.62)(bufferutil@4.0.8)(react@18.2.0)(typescript@5.3.3)(utf-8-validate@5.0.10))(tslib@2.7.0) - tslib: 2.7.0 - transitivePeerDependencies: - - expo-constants - - expo-localization - - react-native - - '@trezor/connect-analytics@1.2.0(react-native@0.75.3(@babel/core@7.25.2)(bufferutil@4.0.8)(typescript@5.3.3)(utf-8-validate@5.0.10))(tslib@2.7.0)': - dependencies: - '@trezor/analytics': 1.2.0(react-native@0.75.3(@babel/core@7.25.2)(bufferutil@4.0.8)(typescript@5.3.3)(utf-8-validate@5.0.10))(tslib@2.7.0) - tslib: 2.7.0 - transitivePeerDependencies: - - expo-constants - - expo-localization - - react-native - '@trezor/connect-common@0.2.0(react-native@0.75.3(@babel/core@7.25.2)(@babel/preset-env@7.25.4(@babel/core@7.25.2))(@types/react@18.2.62)(bufferutil@4.0.8)(react@18.2.0)(typescript@5.3.3)(utf-8-validate@5.0.10))(tslib@2.7.0)': dependencies: '@trezor/env-utils': 1.2.0(react-native@0.75.3(@babel/core@7.25.2)(@babel/preset-env@7.25.4(@babel/core@7.25.2))(@types/react@18.2.62)(bufferutil@4.0.8)(react@18.2.0)(typescript@5.3.3)(utf-8-validate@5.0.10))(tslib@2.7.0) @@ -19582,26 +19355,6 @@ snapshots: - expo-localization - react-native - '@trezor/connect-common@0.2.0(react-native@0.75.3(@babel/core@7.25.2)(@types/react@18.2.62)(bufferutil@4.0.8)(react@18.2.0)(typescript@5.3.3)(utf-8-validate@5.0.10))(tslib@2.7.0)': - dependencies: - '@trezor/env-utils': 1.2.0(react-native@0.75.3(@babel/core@7.25.2)(@types/react@18.2.62)(bufferutil@4.0.8)(react@18.2.0)(typescript@5.3.3)(utf-8-validate@5.0.10))(tslib@2.7.0) - '@trezor/utils': 9.2.0(tslib@2.7.0) - tslib: 2.7.0 - transitivePeerDependencies: - - expo-constants - - expo-localization - - react-native - - '@trezor/connect-common@0.2.0(react-native@0.75.3(@babel/core@7.25.2)(bufferutil@4.0.8)(typescript@5.3.3)(utf-8-validate@5.0.10))(tslib@2.7.0)': - dependencies: - '@trezor/env-utils': 1.2.0(react-native@0.75.3(@babel/core@7.25.2)(bufferutil@4.0.8)(typescript@5.3.3)(utf-8-validate@5.0.10))(tslib@2.7.0) - '@trezor/utils': 9.2.0(tslib@2.7.0) - tslib: 2.7.0 - transitivePeerDependencies: - - expo-constants - - expo-localization - - react-native - '@trezor/connect-web@9.4.0(@babel/core@7.25.2)(bufferutil@4.0.8)(react-native@0.75.3(@babel/core@7.25.2)(@babel/preset-env@7.25.4(@babel/core@7.25.2))(@types/react@18.2.62)(bufferutil@4.0.8)(react@18.2.0)(typescript@5.3.3)(utf-8-validate@5.0.10))(tslib@2.7.0)(utf-8-validate@5.0.10)': dependencies: '@trezor/connect': 9.4.0(@babel/core@7.25.2)(bufferutil@4.0.8)(react-native@0.75.3(@babel/core@7.25.2)(@babel/preset-env@7.25.4(@babel/core@7.25.2))(@types/react@18.2.62)(bufferutil@4.0.8)(react@18.2.0)(typescript@5.3.3)(utf-8-validate@5.0.10))(tslib@2.7.0)(utf-8-validate@5.0.10) @@ -19618,11 +19371,26 @@ snapshots: - supports-color - utf-8-validate - '@trezor/connect-web@9.4.0(@babel/core@7.25.2)(bufferutil@4.0.8)(react-native@0.75.3(@babel/core@7.25.2)(@types/react@18.2.62)(bufferutil@4.0.8)(react@18.2.0)(typescript@5.3.3)(utf-8-validate@5.0.10))(tslib@2.7.0)(utf-8-validate@5.0.10)': + '@trezor/connect@9.4.0(@babel/core@7.25.2)(bufferutil@4.0.8)(react-native@0.75.3(@babel/core@7.25.2)(@babel/preset-env@7.25.4(@babel/core@7.25.2))(@types/react@18.2.62)(bufferutil@4.0.8)(react@18.2.0)(typescript@5.3.3)(utf-8-validate@5.0.10))(tslib@2.7.0)(utf-8-validate@5.0.10)': dependencies: - '@trezor/connect': 9.4.0(@babel/core@7.25.2)(bufferutil@4.0.8)(react-native@0.75.3(@babel/core@7.25.2)(@types/react@18.2.62)(bufferutil@4.0.8)(react@18.2.0)(typescript@5.3.3)(utf-8-validate@5.0.10))(tslib@2.7.0)(utf-8-validate@5.0.10) - '@trezor/connect-common': 0.2.0(react-native@0.75.3(@babel/core@7.25.2)(@types/react@18.2.62)(bufferutil@4.0.8)(react@18.2.0)(typescript@5.3.3)(utf-8-validate@5.0.10))(tslib@2.7.0) + '@babel/preset-typescript': 7.24.7(@babel/core@7.25.2) + '@ethereumjs/common': 4.4.0 + '@ethereumjs/tx': 5.4.0 + '@fivebinaries/coin-selection': 2.2.1 + '@trezor/blockchain-link': 2.3.0(bufferutil@4.0.8)(react-native@0.75.3(@babel/core@7.25.2)(@babel/preset-env@7.25.4(@babel/core@7.25.2))(@types/react@18.2.62)(bufferutil@4.0.8)(react@18.2.0)(typescript@5.3.3)(utf-8-validate@5.0.10))(tslib@2.7.0)(utf-8-validate@5.0.10) + '@trezor/blockchain-link-types': 1.2.0(bufferutil@4.0.8)(tslib@2.7.0)(utf-8-validate@5.0.10) + '@trezor/connect-analytics': 1.2.0(react-native@0.75.3(@babel/core@7.25.2)(@babel/preset-env@7.25.4(@babel/core@7.25.2))(@types/react@18.2.62)(bufferutil@4.0.8)(react@18.2.0)(typescript@5.3.3)(utf-8-validate@5.0.10))(tslib@2.7.0) + '@trezor/connect-common': 0.2.0(react-native@0.75.3(@babel/core@7.25.2)(@babel/preset-env@7.25.4(@babel/core@7.25.2))(@types/react@18.2.62)(bufferutil@4.0.8)(react@18.2.0)(typescript@5.3.3)(utf-8-validate@5.0.10))(tslib@2.7.0) + '@trezor/protobuf': 1.2.0(tslib@2.7.0) + '@trezor/protocol': 1.2.0(tslib@2.7.0) + '@trezor/schema-utils': 1.2.0(tslib@2.7.0) + '@trezor/transport': 1.3.0(tslib@2.7.0) '@trezor/utils': 9.2.0(tslib@2.7.0) + '@trezor/utxo-lib': 2.2.0(tslib@2.7.0) + blakejs: 1.2.1 + bs58: 5.0.0 + bs58check: 3.0.1 + cross-fetch: 4.0.0 tslib: 2.7.0 transitivePeerDependencies: - '@babel/core' @@ -19634,136 +19402,13 @@ snapshots: - supports-color - utf-8-validate - '@trezor/connect-web@9.4.0(@babel/core@7.25.2)(bufferutil@4.0.8)(react-native@0.75.3(@babel/core@7.25.2)(bufferutil@4.0.8)(typescript@5.3.3)(utf-8-validate@5.0.10))(tslib@2.7.0)(utf-8-validate@5.0.10)': - dependencies: - '@trezor/connect': 9.4.0(@babel/core@7.25.2)(bufferutil@4.0.8)(react-native@0.75.3(@babel/core@7.25.2)(bufferutil@4.0.8)(typescript@5.3.3)(utf-8-validate@5.0.10))(tslib@2.7.0)(utf-8-validate@5.0.10) - '@trezor/connect-common': 0.2.0(react-native@0.75.3(@babel/core@7.25.2)(bufferutil@4.0.8)(typescript@5.3.3)(utf-8-validate@5.0.10))(tslib@2.7.0) - '@trezor/utils': 9.2.0(tslib@2.7.0) - tslib: 2.7.0 - transitivePeerDependencies: - - '@babel/core' - - bufferutil - - encoding - - expo-constants - - expo-localization - - react-native - - supports-color - - utf-8-validate - - '@trezor/connect@9.4.0(@babel/core@7.25.2)(bufferutil@4.0.8)(react-native@0.75.3(@babel/core@7.25.2)(@babel/preset-env@7.25.4(@babel/core@7.25.2))(@types/react@18.2.62)(bufferutil@4.0.8)(react@18.2.0)(typescript@5.3.3)(utf-8-validate@5.0.10))(tslib@2.7.0)(utf-8-validate@5.0.10)': - dependencies: - '@babel/preset-typescript': 7.24.7(@babel/core@7.25.2) - '@ethereumjs/common': 4.4.0 - '@ethereumjs/tx': 5.4.0 - '@fivebinaries/coin-selection': 2.2.1 - '@trezor/blockchain-link': 2.3.0(bufferutil@4.0.8)(react-native@0.75.3(@babel/core@7.25.2)(@babel/preset-env@7.25.4(@babel/core@7.25.2))(@types/react@18.2.62)(bufferutil@4.0.8)(react@18.2.0)(typescript@5.3.3)(utf-8-validate@5.0.10))(tslib@2.7.0)(utf-8-validate@5.0.10) - '@trezor/blockchain-link-types': 1.2.0(bufferutil@4.0.8)(tslib@2.7.0)(utf-8-validate@5.0.10) - '@trezor/connect-analytics': 1.2.0(react-native@0.75.3(@babel/core@7.25.2)(@babel/preset-env@7.25.4(@babel/core@7.25.2))(@types/react@18.2.62)(bufferutil@4.0.8)(react@18.2.0)(typescript@5.3.3)(utf-8-validate@5.0.10))(tslib@2.7.0) - '@trezor/connect-common': 0.2.0(react-native@0.75.3(@babel/core@7.25.2)(@babel/preset-env@7.25.4(@babel/core@7.25.2))(@types/react@18.2.62)(bufferutil@4.0.8)(react@18.2.0)(typescript@5.3.3)(utf-8-validate@5.0.10))(tslib@2.7.0) - '@trezor/protobuf': 1.2.0(tslib@2.7.0) - '@trezor/protocol': 1.2.0(tslib@2.7.0) - '@trezor/schema-utils': 1.2.0(tslib@2.7.0) - '@trezor/transport': 1.3.0(tslib@2.7.0) - '@trezor/utils': 9.2.0(tslib@2.7.0) - '@trezor/utxo-lib': 2.2.0(tslib@2.7.0) - blakejs: 1.2.1 - bs58: 5.0.0 - bs58check: 3.0.1 - cross-fetch: 4.0.0 - tslib: 2.7.0 - transitivePeerDependencies: - - '@babel/core' - - bufferutil - - encoding - - expo-constants - - expo-localization - - react-native - - supports-color - - utf-8-validate - - '@trezor/connect@9.4.0(@babel/core@7.25.2)(bufferutil@4.0.8)(react-native@0.75.3(@babel/core@7.25.2)(@types/react@18.2.62)(bufferutil@4.0.8)(react@18.2.0)(typescript@5.3.3)(utf-8-validate@5.0.10))(tslib@2.7.0)(utf-8-validate@5.0.10)': - dependencies: - '@babel/preset-typescript': 7.24.7(@babel/core@7.25.2) - '@ethereumjs/common': 4.4.0 - '@ethereumjs/tx': 5.4.0 - '@fivebinaries/coin-selection': 2.2.1 - '@trezor/blockchain-link': 2.3.0(bufferutil@4.0.8)(react-native@0.75.3(@babel/core@7.25.2)(@types/react@18.2.62)(bufferutil@4.0.8)(react@18.2.0)(typescript@5.3.3)(utf-8-validate@5.0.10))(tslib@2.7.0)(utf-8-validate@5.0.10) - '@trezor/blockchain-link-types': 1.2.0(bufferutil@4.0.8)(tslib@2.7.0)(utf-8-validate@5.0.10) - '@trezor/connect-analytics': 1.2.0(react-native@0.75.3(@babel/core@7.25.2)(@types/react@18.2.62)(bufferutil@4.0.8)(react@18.2.0)(typescript@5.3.3)(utf-8-validate@5.0.10))(tslib@2.7.0) - '@trezor/connect-common': 0.2.0(react-native@0.75.3(@babel/core@7.25.2)(@types/react@18.2.62)(bufferutil@4.0.8)(react@18.2.0)(typescript@5.3.3)(utf-8-validate@5.0.10))(tslib@2.7.0) - '@trezor/protobuf': 1.2.0(tslib@2.7.0) - '@trezor/protocol': 1.2.0(tslib@2.7.0) - '@trezor/schema-utils': 1.2.0(tslib@2.7.0) - '@trezor/transport': 1.3.0(tslib@2.7.0) - '@trezor/utils': 9.2.0(tslib@2.7.0) - '@trezor/utxo-lib': 2.2.0(tslib@2.7.0) - blakejs: 1.2.1 - bs58: 5.0.0 - bs58check: 3.0.1 - cross-fetch: 4.0.0 - tslib: 2.7.0 - transitivePeerDependencies: - - '@babel/core' - - bufferutil - - encoding - - expo-constants - - expo-localization - - react-native - - supports-color - - utf-8-validate - - '@trezor/connect@9.4.0(@babel/core@7.25.2)(bufferutil@4.0.8)(react-native@0.75.3(@babel/core@7.25.2)(bufferutil@4.0.8)(typescript@5.3.3)(utf-8-validate@5.0.10))(tslib@2.7.0)(utf-8-validate@5.0.10)': - dependencies: - '@babel/preset-typescript': 7.24.7(@babel/core@7.25.2) - '@ethereumjs/common': 4.4.0 - '@ethereumjs/tx': 5.4.0 - '@fivebinaries/coin-selection': 2.2.1 - '@trezor/blockchain-link': 2.3.0(bufferutil@4.0.8)(react-native@0.75.3(@babel/core@7.25.2)(bufferutil@4.0.8)(typescript@5.3.3)(utf-8-validate@5.0.10))(tslib@2.7.0)(utf-8-validate@5.0.10) - '@trezor/blockchain-link-types': 1.2.0(bufferutil@4.0.8)(tslib@2.7.0)(utf-8-validate@5.0.10) - '@trezor/connect-analytics': 1.2.0(react-native@0.75.3(@babel/core@7.25.2)(bufferutil@4.0.8)(typescript@5.3.3)(utf-8-validate@5.0.10))(tslib@2.7.0) - '@trezor/connect-common': 0.2.0(react-native@0.75.3(@babel/core@7.25.2)(bufferutil@4.0.8)(typescript@5.3.3)(utf-8-validate@5.0.10))(tslib@2.7.0) - '@trezor/protobuf': 1.2.0(tslib@2.7.0) - '@trezor/protocol': 1.2.0(tslib@2.7.0) - '@trezor/schema-utils': 1.2.0(tslib@2.7.0) - '@trezor/transport': 1.3.0(tslib@2.7.0) - '@trezor/utils': 9.2.0(tslib@2.7.0) - '@trezor/utxo-lib': 2.2.0(tslib@2.7.0) - blakejs: 1.2.1 - bs58: 5.0.0 - bs58check: 3.0.1 - cross-fetch: 4.0.0 - tslib: 2.7.0 - transitivePeerDependencies: - - '@babel/core' - - bufferutil - - encoding - - expo-constants - - expo-localization - - react-native - - supports-color - - utf-8-validate - - '@trezor/env-utils@1.2.0(react-native@0.75.3(@babel/core@7.25.2)(@babel/preset-env@7.25.4(@babel/core@7.25.2))(@types/react@18.2.62)(bufferutil@4.0.8)(react@18.2.0)(typescript@5.3.3)(utf-8-validate@5.0.10))(tslib@2.7.0)': + '@trezor/env-utils@1.2.0(react-native@0.75.3(@babel/core@7.25.2)(@babel/preset-env@7.25.4(@babel/core@7.25.2))(@types/react@18.2.62)(bufferutil@4.0.8)(react@18.2.0)(typescript@5.3.3)(utf-8-validate@5.0.10))(tslib@2.7.0)': dependencies: tslib: 2.7.0 ua-parser-js: 1.0.38 optionalDependencies: react-native: 0.75.3(@babel/core@7.25.2)(@babel/preset-env@7.25.4(@babel/core@7.25.2))(@types/react@18.2.62)(bufferutil@4.0.8)(react@18.2.0)(typescript@5.3.3)(utf-8-validate@5.0.10) - '@trezor/env-utils@1.2.0(react-native@0.75.3(@babel/core@7.25.2)(@types/react@18.2.62)(bufferutil@4.0.8)(react@18.2.0)(typescript@5.3.3)(utf-8-validate@5.0.10))(tslib@2.7.0)': - dependencies: - tslib: 2.7.0 - ua-parser-js: 1.0.38 - optionalDependencies: - react-native: 0.75.3(@babel/core@7.25.2)(@types/react@18.2.62)(bufferutil@4.0.8)(react@18.2.0)(typescript@5.3.3)(utf-8-validate@5.0.10) - - '@trezor/env-utils@1.2.0(react-native@0.75.3(@babel/core@7.25.2)(bufferutil@4.0.8)(typescript@5.3.3)(utf-8-validate@5.0.10))(tslib@2.7.0)': - dependencies: - tslib: 2.7.0 - ua-parser-js: 1.0.38 - optionalDependencies: - react-native: 0.75.3(@babel/core@7.25.2)(bufferutil@4.0.8)(typescript@5.3.3)(utf-8-validate@5.0.10) - '@trezor/protobuf@1.2.0(tslib@2.7.0)': dependencies: '@trezor/schema-utils': 1.2.0(tslib@2.7.0) @@ -20213,7 +19858,7 @@ snapshots: vite: 5.2.9(@types/node@20.11.5)(terser@5.32.0) vue: 3.4.3(typescript@5.3.3) - '@vitest/coverage-v8@1.1.2(vitest@2.0.5(@types/node@20.11.5)(jsdom@24.1.0)(terser@5.32.0))': + '@vitest/coverage-v8@1.1.2(vitest@2.0.5(@types/node@20.11.5)(jsdom@24.1.0(bufferutil@4.0.8)(utf-8-validate@5.0.10))(terser@5.32.0))': dependencies: '@ampproject/remapping': 2.3.0 '@bcoe/v8-coverage': 0.2.3 @@ -20232,7 +19877,7 @@ snapshots: transitivePeerDependencies: - supports-color - '@vitest/coverage-v8@2.0.5(vitest@2.0.5(@types/node@20.11.5)(jsdom@24.1.0)(terser@5.32.0))': + '@vitest/coverage-v8@2.0.5(vitest@2.0.5(@types/node@20.11.5)(jsdom@24.1.0(bufferutil@4.0.8)(utf-8-validate@5.0.10))(terser@5.32.0))': dependencies: '@ampproject/remapping': 2.3.0 '@bcoe/v8-coverage': 0.2.3 @@ -20579,22 +20224,24 @@ snapshots: - uWebSockets.js - utf-8-validate - '@walletconnect/environment@1.0.1': + '@walletconnect/core@2.16.2(bufferutil@4.0.8)(utf-8-validate@5.0.10)': dependencies: - tslib: 1.14.1 - - '@walletconnect/ethereum-provider@2.15.3(@types/react@18.2.0)(bufferutil@4.0.8)(react@18.2.0)(utf-8-validate@5.0.10)': - dependencies: - '@walletconnect/jsonrpc-http-connection': 1.0.8 + '@walletconnect/heartbeat': 1.2.2 '@walletconnect/jsonrpc-provider': 1.0.14 '@walletconnect/jsonrpc-types': 1.0.4 '@walletconnect/jsonrpc-utils': 1.0.8 - '@walletconnect/modal': 2.6.2(@types/react@18.2.0)(react@18.2.0) - '@walletconnect/sign-client': 2.15.3(bufferutil@4.0.8)(utf-8-validate@5.0.10) - '@walletconnect/types': 2.15.3 - '@walletconnect/universal-provider': 2.15.3(bufferutil@4.0.8)(utf-8-validate@5.0.10) - '@walletconnect/utils': 2.15.3 + '@walletconnect/jsonrpc-ws-connection': 1.0.14(bufferutil@4.0.8)(utf-8-validate@5.0.10) + '@walletconnect/keyvaluestorage': 1.1.1 + '@walletconnect/logger': 2.1.2 + '@walletconnect/relay-api': 1.0.11 + '@walletconnect/relay-auth': 1.0.4 + '@walletconnect/safe-json': 1.0.2 + '@walletconnect/time': 1.0.2 + '@walletconnect/types': 2.16.2 + '@walletconnect/utils': 2.16.2 events: 3.3.0 + lodash.isequal: 4.5.0 + uint8arrays: 3.1.0 transitivePeerDependencies: - '@azure/app-configuration' - '@azure/cosmos' @@ -20606,23 +20253,24 @@ snapshots: - '@netlify/blobs' - '@planetscale/database' - '@react-native-async-storage/async-storage' - - '@types/react' - '@upstash/redis' - '@vercel/kv' - bufferutil - - encoding - ioredis - - react - uWebSockets.js - utf-8-validate - '@walletconnect/ethereum-provider@2.15.3(@types/react@18.2.62)(bufferutil@4.0.8)(react@18.2.0)(utf-8-validate@5.0.10)': + '@walletconnect/environment@1.0.1': + dependencies: + tslib: 1.14.1 + + '@walletconnect/ethereum-provider@2.15.3(@types/react@18.2.0)(bufferutil@4.0.8)(react@18.2.0)(utf-8-validate@5.0.10)': dependencies: '@walletconnect/jsonrpc-http-connection': 1.0.8 '@walletconnect/jsonrpc-provider': 1.0.14 '@walletconnect/jsonrpc-types': 1.0.4 '@walletconnect/jsonrpc-utils': 1.0.8 - '@walletconnect/modal': 2.6.2(@types/react@18.2.62)(react@18.2.0) + '@walletconnect/modal': 2.6.2(@types/react@18.2.0)(react@18.2.0) '@walletconnect/sign-client': 2.15.3(bufferutil@4.0.8)(utf-8-validate@5.0.10) '@walletconnect/types': 2.15.3 '@walletconnect/universal-provider': 2.15.3(bufferutil@4.0.8)(utf-8-validate@5.0.10) @@ -20649,17 +20297,17 @@ snapshots: - uWebSockets.js - utf-8-validate - '@walletconnect/ethereum-provider@2.16.1(@types/react@18.2.62)(bufferutil@4.0.8)(react@18.2.0)(utf-8-validate@5.0.10)': + '@walletconnect/ethereum-provider@2.15.3(@types/react@18.2.62)(bufferutil@4.0.8)(react@18.2.0)(utf-8-validate@5.0.10)': dependencies: '@walletconnect/jsonrpc-http-connection': 1.0.8 '@walletconnect/jsonrpc-provider': 1.0.14 '@walletconnect/jsonrpc-types': 1.0.4 '@walletconnect/jsonrpc-utils': 1.0.8 '@walletconnect/modal': 2.6.2(@types/react@18.2.62)(react@18.2.0) - '@walletconnect/sign-client': 2.16.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) - '@walletconnect/types': 2.16.1 - '@walletconnect/universal-provider': 2.16.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) - '@walletconnect/utils': 2.16.1 + '@walletconnect/sign-client': 2.15.3(bufferutil@4.0.8)(utf-8-validate@5.0.10) + '@walletconnect/types': 2.15.3 + '@walletconnect/universal-provider': 2.15.3(bufferutil@4.0.8)(utf-8-validate@5.0.10) + '@walletconnect/utils': 2.15.3 events: 3.3.0 transitivePeerDependencies: - '@azure/app-configuration' @@ -20892,6 +20540,35 @@ snapshots: - uWebSockets.js - utf-8-validate + '@walletconnect/sign-client@2.16.2(bufferutil@4.0.8)(utf-8-validate@5.0.10)': + dependencies: + '@walletconnect/core': 2.16.2(bufferutil@4.0.8)(utf-8-validate@5.0.10) + '@walletconnect/events': 1.0.1 + '@walletconnect/heartbeat': 1.2.2 + '@walletconnect/jsonrpc-utils': 1.0.8 + '@walletconnect/logger': 2.1.2 + '@walletconnect/time': 1.0.2 + '@walletconnect/types': 2.16.2 + '@walletconnect/utils': 2.16.2 + events: 3.3.0 + transitivePeerDependencies: + - '@azure/app-configuration' + - '@azure/cosmos' + - '@azure/data-tables' + - '@azure/identity' + - '@azure/keyvault-secrets' + - '@azure/storage-blob' + - '@capacitor/preferences' + - '@netlify/blobs' + - '@planetscale/database' + - '@react-native-async-storage/async-storage' + - '@upstash/redis' + - '@vercel/kv' + - bufferutil + - ioredis + - uWebSockets.js + - utf-8-validate + '@walletconnect/time@1.0.2': dependencies: tslib: 1.14.1 @@ -20946,6 +20623,30 @@ snapshots: - ioredis - uWebSockets.js + '@walletconnect/types@2.16.2': + dependencies: + '@walletconnect/events': 1.0.1 + '@walletconnect/heartbeat': 1.2.2 + '@walletconnect/jsonrpc-types': 1.0.4 + '@walletconnect/keyvaluestorage': 1.1.1 + '@walletconnect/logger': 2.1.2 + events: 3.3.0 + transitivePeerDependencies: + - '@azure/app-configuration' + - '@azure/cosmos' + - '@azure/data-tables' + - '@azure/identity' + - '@azure/keyvault-secrets' + - '@azure/storage-blob' + - '@capacitor/preferences' + - '@netlify/blobs' + - '@planetscale/database' + - '@react-native-async-storage/async-storage' + - '@upstash/redis' + - '@vercel/kv' + - ioredis + - uWebSockets.js + '@walletconnect/universal-provider@2.15.3(bufferutil@4.0.8)(utf-8-validate@5.0.10)': dependencies: '@walletconnect/jsonrpc-http-connection': 1.0.8 @@ -21074,6 +20775,40 @@ snapshots: - ioredis - uWebSockets.js + '@walletconnect/utils@2.16.2': + dependencies: + '@stablelib/chacha20poly1305': 1.0.1 + '@stablelib/hkdf': 1.0.1 + '@stablelib/random': 1.0.2 + '@stablelib/sha256': 1.0.1 + '@stablelib/x25519': 1.0.3 + '@walletconnect/relay-api': 1.0.11 + '@walletconnect/relay-auth': 1.0.4 + '@walletconnect/safe-json': 1.0.2 + '@walletconnect/time': 1.0.2 + '@walletconnect/types': 2.16.2 + '@walletconnect/window-getters': 1.0.1 + '@walletconnect/window-metadata': 1.0.1 + detect-browser: 5.3.0 + elliptic: 6.5.7 + query-string: 7.1.3 + uint8arrays: 3.1.0 + transitivePeerDependencies: + - '@azure/app-configuration' + - '@azure/cosmos' + - '@azure/data-tables' + - '@azure/identity' + - '@azure/keyvault-secrets' + - '@azure/storage-blob' + - '@capacitor/preferences' + - '@netlify/blobs' + - '@planetscale/database' + - '@react-native-async-storage/async-storage' + - '@upstash/redis' + - '@vercel/kv' + - ioredis + - uWebSockets.js + '@walletconnect/window-getters@1.0.0': {} '@walletconnect/window-getters@1.0.1': @@ -21082,7 +20817,7 @@ snapshots: '@walletconnect/window-metadata@1.0.0': dependencies: - '@walletconnect/window-getters': 1.0.0 + '@walletconnect/window-getters': 1.0.1 '@walletconnect/window-metadata@1.0.1': dependencies: @@ -22822,8 +22557,8 @@ snapshots: '@typescript-eslint/parser': 6.18.1(eslint@8.57.0)(typescript@5.3.3) eslint: 8.57.0 eslint-import-resolver-node: 0.3.9 - eslint-import-resolver-typescript: 3.6.3(@typescript-eslint/parser@6.18.1(eslint@8.57.0)(typescript@5.3.3))(eslint-import-resolver-node@0.3.9)(eslint-plugin-import@2.30.0(@typescript-eslint/parser@6.18.1(eslint@8.56.0)(typescript@5.3.3))(eslint@8.57.0))(eslint@8.57.0) - eslint-plugin-import: 2.30.0(@typescript-eslint/parser@6.18.1(eslint@8.57.0)(typescript@5.3.3))(eslint-import-resolver-typescript@3.6.3(@typescript-eslint/parser@6.18.1(eslint@8.57.0)(typescript@5.3.3))(eslint-import-resolver-node@0.3.9)(eslint-plugin-import@2.30.0(@typescript-eslint/parser@6.18.1(eslint@8.56.0)(typescript@5.3.3))(eslint@8.57.0))(eslint@8.57.0))(eslint@8.57.0) + eslint-import-resolver-typescript: 3.6.3(@typescript-eslint/parser@6.18.1(eslint@8.56.0)(typescript@5.3.3))(eslint-import-resolver-node@0.3.9)(eslint-plugin-import@2.30.0(@typescript-eslint/parser@6.18.1(eslint@8.56.0)(typescript@5.3.3))(eslint@8.57.0))(eslint@8.57.0) + eslint-plugin-import: 2.30.0(@typescript-eslint/parser@6.18.1(eslint@8.56.0)(typescript@5.3.3))(eslint-import-resolver-typescript@3.6.3(@typescript-eslint/parser@6.18.1(eslint@8.56.0)(typescript@5.3.3))(eslint-import-resolver-node@0.3.9)(eslint-plugin-import@2.30.0(@typescript-eslint/parser@6.18.1(eslint@8.56.0)(typescript@5.3.3))(eslint@8.57.0))(eslint@8.57.0))(eslint@8.57.0) eslint-plugin-jsx-a11y: 6.10.0(eslint@8.57.0) eslint-plugin-react: 7.36.1(eslint@8.57.0) eslint-plugin-react-hooks: 4.6.2(eslint@8.57.0) @@ -22865,19 +22600,19 @@ snapshots: - eslint-import-resolver-webpack - supports-color - eslint-import-resolver-typescript@3.6.3(@typescript-eslint/parser@6.18.1(eslint@8.57.0)(typescript@5.3.3))(eslint-import-resolver-node@0.3.9)(eslint-plugin-import@2.30.0(@typescript-eslint/parser@6.18.1(eslint@8.56.0)(typescript@5.3.3))(eslint@8.57.0))(eslint@8.57.0): + eslint-import-resolver-typescript@3.6.3(@typescript-eslint/parser@6.18.1(eslint@8.56.0)(typescript@5.3.3))(eslint-import-resolver-node@0.3.9)(eslint-plugin-import@2.30.0(@typescript-eslint/parser@6.18.1(eslint@8.56.0)(typescript@5.3.3))(eslint@8.57.0))(eslint@8.57.0): dependencies: '@nolyfill/is-core-module': 1.0.39 debug: 4.3.7 enhanced-resolve: 5.17.1 eslint: 8.57.0 - eslint-module-utils: 2.11.0(@typescript-eslint/parser@6.18.1(eslint@8.57.0)(typescript@5.3.3))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.3(@typescript-eslint/parser@6.18.1(eslint@8.57.0)(typescript@5.3.3))(eslint-import-resolver-node@0.3.9)(eslint-plugin-import@2.30.0(@typescript-eslint/parser@6.18.1(eslint@8.56.0)(typescript@5.3.3))(eslint@8.57.0))(eslint@8.57.0))(eslint@8.57.0) + eslint-module-utils: 2.11.0(@typescript-eslint/parser@6.18.1(eslint@8.56.0)(typescript@5.3.3))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.3(@typescript-eslint/parser@6.18.1(eslint@8.56.0)(typescript@5.3.3))(eslint-import-resolver-node@0.3.9)(eslint-plugin-import@2.30.0(@typescript-eslint/parser@6.18.1(eslint@8.56.0)(typescript@5.3.3))(eslint@8.57.0))(eslint@8.57.0))(eslint@8.57.0) fast-glob: 3.3.2 get-tsconfig: 4.8.1 is-bun-module: 1.2.1 is-glob: 4.0.3 optionalDependencies: - eslint-plugin-import: 2.30.0(@typescript-eslint/parser@6.18.1(eslint@8.57.0)(typescript@5.3.3))(eslint-import-resolver-typescript@3.6.3(@typescript-eslint/parser@6.18.1(eslint@8.57.0)(typescript@5.3.3))(eslint-import-resolver-node@0.3.9)(eslint-plugin-import@2.30.0(@typescript-eslint/parser@6.18.1(eslint@8.56.0)(typescript@5.3.3))(eslint@8.57.0))(eslint@8.57.0))(eslint@8.57.0) + eslint-plugin-import: 2.30.0(@typescript-eslint/parser@6.18.1(eslint@8.56.0)(typescript@5.3.3))(eslint-import-resolver-typescript@3.6.3(@typescript-eslint/parser@6.18.1(eslint@8.56.0)(typescript@5.3.3))(eslint-import-resolver-node@0.3.9)(eslint-plugin-import@2.30.0(@typescript-eslint/parser@6.18.1(eslint@8.56.0)(typescript@5.3.3))(eslint@8.57.0))(eslint@8.57.0))(eslint@8.57.0) transitivePeerDependencies: - '@typescript-eslint/parser' - eslint-import-resolver-node @@ -22895,14 +22630,14 @@ snapshots: transitivePeerDependencies: - supports-color - eslint-module-utils@2.11.0(@typescript-eslint/parser@6.18.1(eslint@8.57.0)(typescript@5.3.3))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.3(@typescript-eslint/parser@6.18.1(eslint@8.57.0)(typescript@5.3.3))(eslint-import-resolver-node@0.3.9)(eslint-plugin-import@2.30.0(@typescript-eslint/parser@6.18.1(eslint@8.56.0)(typescript@5.3.3))(eslint@8.57.0))(eslint@8.57.0))(eslint@8.57.0): + eslint-module-utils@2.11.0(@typescript-eslint/parser@6.18.1(eslint@8.56.0)(typescript@5.3.3))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.3(@typescript-eslint/parser@6.18.1(eslint@8.56.0)(typescript@5.3.3))(eslint-import-resolver-node@0.3.9)(eslint-plugin-import@2.30.0(@typescript-eslint/parser@6.18.1(eslint@8.56.0)(typescript@5.3.3))(eslint@8.57.0))(eslint@8.57.0))(eslint@8.57.0): dependencies: debug: 3.2.7 optionalDependencies: - '@typescript-eslint/parser': 6.18.1(eslint@8.57.0)(typescript@5.3.3) + '@typescript-eslint/parser': 6.18.1(eslint@8.56.0)(typescript@5.3.3) eslint: 8.57.0 eslint-import-resolver-node: 0.3.9 - eslint-import-resolver-typescript: 3.6.3(@typescript-eslint/parser@6.18.1(eslint@8.57.0)(typescript@5.3.3))(eslint-import-resolver-node@0.3.9)(eslint-plugin-import@2.30.0(@typescript-eslint/parser@6.18.1(eslint@8.56.0)(typescript@5.3.3))(eslint@8.57.0))(eslint@8.57.0) + eslint-import-resolver-typescript: 3.6.3(@typescript-eslint/parser@6.18.1(eslint@8.56.0)(typescript@5.3.3))(eslint-import-resolver-node@0.3.9)(eslint-plugin-import@2.30.0(@typescript-eslint/parser@6.18.1(eslint@8.56.0)(typescript@5.3.3))(eslint@8.57.0))(eslint@8.57.0) transitivePeerDependencies: - supports-color @@ -22934,7 +22669,7 @@ snapshots: - eslint-import-resolver-webpack - supports-color - eslint-plugin-import@2.30.0(@typescript-eslint/parser@6.18.1(eslint@8.57.0)(typescript@5.3.3))(eslint-import-resolver-typescript@3.6.3(@typescript-eslint/parser@6.18.1(eslint@8.57.0)(typescript@5.3.3))(eslint-import-resolver-node@0.3.9)(eslint-plugin-import@2.30.0(@typescript-eslint/parser@6.18.1(eslint@8.56.0)(typescript@5.3.3))(eslint@8.57.0))(eslint@8.57.0))(eslint@8.57.0): + eslint-plugin-import@2.30.0(@typescript-eslint/parser@6.18.1(eslint@8.56.0)(typescript@5.3.3))(eslint-import-resolver-typescript@3.6.3(@typescript-eslint/parser@6.18.1(eslint@8.56.0)(typescript@5.3.3))(eslint-import-resolver-node@0.3.9)(eslint-plugin-import@2.30.0(@typescript-eslint/parser@6.18.1(eslint@8.56.0)(typescript@5.3.3))(eslint@8.57.0))(eslint@8.57.0))(eslint@8.57.0): dependencies: '@rtsao/scc': 1.1.0 array-includes: 3.1.8 @@ -22945,7 +22680,7 @@ snapshots: doctrine: 2.1.0 eslint: 8.57.0 eslint-import-resolver-node: 0.3.9 - eslint-module-utils: 2.11.0(@typescript-eslint/parser@6.18.1(eslint@8.57.0)(typescript@5.3.3))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.3(@typescript-eslint/parser@6.18.1(eslint@8.57.0)(typescript@5.3.3))(eslint-import-resolver-node@0.3.9)(eslint-plugin-import@2.30.0(@typescript-eslint/parser@6.18.1(eslint@8.56.0)(typescript@5.3.3))(eslint@8.57.0))(eslint@8.57.0))(eslint@8.57.0) + eslint-module-utils: 2.11.0(@typescript-eslint/parser@6.18.1(eslint@8.56.0)(typescript@5.3.3))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.3(@typescript-eslint/parser@6.18.1(eslint@8.56.0)(typescript@5.3.3))(eslint-import-resolver-node@0.3.9)(eslint-plugin-import@2.30.0(@typescript-eslint/parser@6.18.1(eslint@8.56.0)(typescript@5.3.3))(eslint@8.57.0))(eslint@8.57.0))(eslint@8.57.0) hasown: 2.0.2 is-core-module: 2.15.1 is-glob: 4.0.3 @@ -22956,7 +22691,7 @@ snapshots: semver: 6.3.1 tsconfig-paths: 3.15.0 optionalDependencies: - '@typescript-eslint/parser': 6.18.1(eslint@8.57.0)(typescript@5.3.3) + '@typescript-eslint/parser': 6.18.1(eslint@8.56.0)(typescript@5.3.3) transitivePeerDependencies: - eslint-import-resolver-typescript - eslint-import-resolver-webpack @@ -26272,111 +26007,6 @@ snapshots: - typescript - utf-8-validate - react-native@0.75.3(@babel/core@7.25.2)(@types/react@18.2.62)(bufferutil@4.0.8)(react@18.2.0)(typescript@5.3.3)(utf-8-validate@5.0.10): - dependencies: - '@jest/create-cache-key-function': 29.7.0 - '@react-native-community/cli': 14.1.0(bufferutil@4.0.8)(typescript@5.3.3)(utf-8-validate@5.0.10) - '@react-native-community/cli-platform-android': 14.1.0 - '@react-native-community/cli-platform-ios': 14.1.0 - '@react-native/assets-registry': 0.75.3 - '@react-native/codegen': 0.75.3(@babel/preset-env@7.25.4(@babel/core@7.25.2)) - '@react-native/community-cli-plugin': 0.75.3(@babel/core@7.25.2)(@babel/preset-env@7.25.4(@babel/core@7.25.2))(bufferutil@4.0.8)(utf-8-validate@5.0.10) - '@react-native/gradle-plugin': 0.75.3 - '@react-native/js-polyfills': 0.75.3 - '@react-native/normalize-colors': 0.75.3 - '@react-native/virtualized-lists': 0.75.3(@types/react@18.2.62)(react-native@0.75.3(@babel/core@7.25.2)(@types/react@18.2.62)(bufferutil@4.0.8)(react@18.2.0)(typescript@5.3.3)(utf-8-validate@5.0.10))(react@18.2.0) - abort-controller: 3.0.0 - anser: 1.4.10 - ansi-regex: 5.0.1 - base64-js: 1.5.1 - chalk: 4.1.2 - commander: 9.5.0 - event-target-shim: 5.0.1 - flow-enums-runtime: 0.0.6 - glob: 7.2.3 - invariant: 2.2.4 - jest-environment-node: 29.7.0 - jsc-android: 250231.0.0 - memoize-one: 5.2.1 - metro-runtime: 0.80.12 - metro-source-map: 0.80.12 - mkdirp: 0.5.6 - nullthrows: 1.1.1 - pretty-format: 26.6.2 - promise: 8.3.0 - react: 18.2.0 - react-devtools-core: 5.3.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) - react-refresh: 0.14.2 - regenerator-runtime: 0.13.11 - scheduler: 0.24.0-canary-efb381bbf-20230505 - semver: 7.6.3 - stacktrace-parser: 0.1.10 - whatwg-fetch: 3.6.20 - ws: 6.2.3(bufferutil@4.0.8)(utf-8-validate@5.0.10) - yargs: 17.7.2 - optionalDependencies: - '@types/react': 18.2.62 - transitivePeerDependencies: - - '@babel/core' - - '@babel/preset-env' - - bufferutil - - encoding - - supports-color - - typescript - - utf-8-validate - optional: true - - react-native@0.75.3(@babel/core@7.25.2)(bufferutil@4.0.8)(typescript@5.3.3)(utf-8-validate@5.0.10): - dependencies: - '@jest/create-cache-key-function': 29.7.0 - '@react-native-community/cli': 14.1.0(bufferutil@4.0.8)(typescript@5.3.3)(utf-8-validate@5.0.10) - '@react-native-community/cli-platform-android': 14.1.0 - '@react-native-community/cli-platform-ios': 14.1.0 - '@react-native/assets-registry': 0.75.3 - '@react-native/codegen': 0.75.3(@babel/preset-env@7.25.4(@babel/core@7.25.2)) - '@react-native/community-cli-plugin': 0.75.3(@babel/core@7.25.2)(@babel/preset-env@7.25.4(@babel/core@7.25.2))(bufferutil@4.0.8)(utf-8-validate@5.0.10) - '@react-native/gradle-plugin': 0.75.3 - '@react-native/js-polyfills': 0.75.3 - '@react-native/normalize-colors': 0.75.3 - '@react-native/virtualized-lists': 0.75.3(react-native@0.75.3(@babel/core@7.25.2)(bufferutil@4.0.8)(typescript@5.3.3)(utf-8-validate@5.0.10)) - abort-controller: 3.0.0 - anser: 1.4.10 - ansi-regex: 5.0.1 - base64-js: 1.5.1 - chalk: 4.1.2 - commander: 9.5.0 - event-target-shim: 5.0.1 - flow-enums-runtime: 0.0.6 - glob: 7.2.3 - invariant: 2.2.4 - jest-environment-node: 29.7.0 - jsc-android: 250231.0.0 - memoize-one: 5.2.1 - metro-runtime: 0.80.12 - metro-source-map: 0.80.12 - mkdirp: 0.5.6 - nullthrows: 1.1.1 - pretty-format: 26.6.2 - promise: 8.3.0 - react-devtools-core: 5.3.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) - react-refresh: 0.14.2 - regenerator-runtime: 0.13.11 - scheduler: 0.24.0-canary-efb381bbf-20230505 - semver: 7.6.3 - stacktrace-parser: 0.1.10 - whatwg-fetch: 3.6.20 - ws: 6.2.3(bufferutil@4.0.8)(utf-8-validate@5.0.10) - yargs: 17.7.2 - transitivePeerDependencies: - - '@babel/core' - - '@babel/preset-env' - - bufferutil - - encoding - - supports-color - - typescript - - utf-8-validate - optional: true - react-qr-reader@2.2.1(react-dom@16.13.1(react@16.13.1))(react@16.13.1): dependencies: jsqr: 1.4.0 diff --git a/renovate.json b/renovate.json index 37352a0754..d6b3cca4d7 100644 --- a/renovate.json +++ b/renovate.json @@ -25,7 +25,6 @@ { "enabled": true, "matchPackageNames": [ - "@walletconnect/ethereum-provider", "@walletconnect/universal-provider", "@walletconnect/utils", "@reown/{/,}**" From e5936cdbd8676f57fb55914e12317a88b1f4484d Mon Sep 17 00:00:00 2001 From: Gancho Radkov Date: Wed, 18 Sep 2024 16:10:50 +0300 Subject: [PATCH 5/7] fix: merge conflict --- .../src/components/Ethers/EthersSendCallsTest.tsx | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/apps/laboratory/src/components/Ethers/EthersSendCallsTest.tsx b/apps/laboratory/src/components/Ethers/EthersSendCallsTest.tsx index 1a9ee891b9..9da632e636 100644 --- a/apps/laboratory/src/components/Ethers/EthersSendCallsTest.tsx +++ b/apps/laboratory/src/components/Ethers/EthersSendCallsTest.tsx @@ -24,9 +24,11 @@ import { import { AddIcon } from '@chakra-ui/icons' import { AddTransactionModal } from '../AddTransactionModal' import { W3mFrameProvider } from '@reown/appkit-wallet' +type Provider = W3mFrameProvider | Awaited> export function EthersSendCallsTest(params: { onCallsHash: (hash: string) => void }) { const { onCallsHash } = params + const [loading, setLoading] = useState(false) const { chainId } = useAppKitNetwork() @@ -64,11 +66,7 @@ export function EthersSendCallsTest(params: { onCallsHash: (hash: string) => voi if (address && walletProvider) { getCapabilitySupportedChainInfo( WALLET_CAPABILITIES.ATOMIC_BATCH, -<<<<<<< HEAD - walletProvider, -======= walletProvider as unknown as Provider, ->>>>>>> fix/5792-tests address ).then(capabilities => setAtomicBatchSupportedChains(capabilities)) } else { From 898c01a8eab12c1f21d8009c5e58d69a2a16573d Mon Sep 17 00:00:00 2001 From: Gancho Radkov Date: Wed, 18 Sep 2024 16:31:38 +0300 Subject: [PATCH 6/7] fix: tests --- .../src/components/Ethers/Ethers5Tests.tsx | 5 +- .../components/Ethers/EthersSendCallsTest.tsx | 14 +- pnpm-lock.yaml | 271 ++++++------------ 3 files changed, 102 insertions(+), 188 deletions(-) diff --git a/apps/laboratory/src/components/Ethers/Ethers5Tests.tsx b/apps/laboratory/src/components/Ethers/Ethers5Tests.tsx index e5c150d5d4..9568175990 100644 --- a/apps/laboratory/src/components/Ethers/Ethers5Tests.tsx +++ b/apps/laboratory/src/components/Ethers/Ethers5Tests.tsx @@ -11,6 +11,7 @@ import { EthersSendCallsWithPaymasterServiceTest } from './EthersSendCallsWithPa export function Ethers5Tests() { const [ready, setReady] = React.useState(false) + const [callsHash, setCallsHash] = React.useState('') const { isConnected } = useAppKitAccount() React.useEffect(() => { @@ -59,13 +60,13 @@ export function Ethers5Tests() { Send Calls (Atomic Batch) - + Get Calls Status - + diff --git a/apps/laboratory/src/components/Ethers/EthersSendCallsTest.tsx b/apps/laboratory/src/components/Ethers/EthersSendCallsTest.tsx index 9da632e636..8647ac6a49 100644 --- a/apps/laboratory/src/components/Ethers/EthersSendCallsTest.tsx +++ b/apps/laboratory/src/components/Ethers/EthersSendCallsTest.tsx @@ -21,7 +21,7 @@ import { WALLET_CAPABILITIES, getCapabilitySupportedChainInfo } from '../../utils/EIP5792Utils' -import { AddIcon } from '@chakra-ui/icons' +import { AddIcon, DeleteIcon } from '@chakra-ui/icons' import { AddTransactionModal } from '../AddTransactionModal' import { W3mFrameProvider } from '@reown/appkit-wallet' type Provider = W3mFrameProvider | Awaited> @@ -85,6 +85,10 @@ export function EthersSendCallsTest(params: { onCallsHash: (hash: string) => voi setIsOpen(true) }, []) + const onRemoveTransaction = useCallback((index: number) => { + setTransactionsToBatch(prev => prev.filter((_, i) => i !== index)) + }, []) + async function onSendCalls() { try { setLoading(true) @@ -184,7 +188,13 @@ export function EthersSendCallsTest(params: { onCallsHash: (hash: string) => voi - ({index + 1}) Sending + + ({index + 1}) Sending + onRemoveTransaction(index)} + /> + {parseInt(tx.value, 16) / 1000000000} ETH to {tx.to} diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index dd8d165461..9b6970be4d 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -252,12 +252,15 @@ importers: '@wagmi/core': specifier: 2.13.4 version: 2.13.4(@tanstack/query-core@5.24.8)(@types/react@18.2.62)(react@18.2.0)(typescript@5.3.3)(viem@2.21.4(bufferutil@4.0.8)(typescript@5.3.3)(utf-8-validate@5.0.10)(zod@3.22.4)) + '@walletconnect/ethereum-provider': + specifier: 2.16.2 + version: 2.16.2(@types/react@18.2.62)(bufferutil@4.0.8)(react@18.2.0)(utf-8-validate@5.0.10) '@walletconnect/universal-provider': - specifier: 2.16.1 - version: 2.16.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) + specifier: 2.16.2 + version: 2.16.2(bufferutil@4.0.8)(utf-8-validate@5.0.10) '@walletconnect/utils': - specifier: 2.16.1 - version: 2.16.1 + specifier: 2.16.2 + version: 2.16.2 axios: specifier: 1.7.2 version: 1.7.2 @@ -725,8 +728,8 @@ importers: specifier: workspace:* version: link:../../wallet '@walletconnect/utils': - specifier: 2.16.1 - version: 2.16.1 + specifier: 2.16.2 + version: 2.16.2 valtio: specifier: 1.11.2 version: 1.11.2(@types/react@18.2.62)(react@18.2.0) @@ -741,11 +744,11 @@ importers: specifier: 2.0.5 version: 2.0.5(vitest@2.0.5(@types/node@20.11.5)(jsdom@24.1.0(bufferutil@4.0.8)(utf-8-validate@5.0.10))(terser@5.32.0)) '@walletconnect/types': - specifier: 2.16.1 - version: 2.16.1 + specifier: 2.16.2 + version: 2.16.2 '@walletconnect/universal-provider': - specifier: 2.16.1 - version: 2.16.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) + specifier: 2.16.2 + version: 2.16.2(bufferutil@4.0.8)(utf-8-validate@5.0.10) ethers: specifier: 6.13.0 version: 6.13.0(bufferutil@4.0.8)(utf-8-validate@5.0.10) @@ -783,11 +786,11 @@ importers: specifier: workspace:* version: link:../../wallet '@walletconnect/universal-provider': - specifier: 2.16.1 - version: 2.16.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) + specifier: 2.16.2 + version: 2.16.2(bufferutil@4.0.8)(utf-8-validate@5.0.10) '@walletconnect/utils': - specifier: 2.16.1 - version: 2.16.1 + specifier: 2.16.2 + version: 2.16.2 valtio: specifier: 1.11.2 version: 1.11.2(@types/react@18.2.62)(react@18.2.0) @@ -802,8 +805,8 @@ importers: specifier: 2.0.5 version: 2.0.5(vitest@2.0.5(@types/node@20.11.5)(jsdom@24.1.0(bufferutil@4.0.8)(utf-8-validate@5.0.10))(terser@5.32.0)) '@walletconnect/types': - specifier: 2.16.1 - version: 2.16.1 + specifier: 2.16.2 + version: 2.16.2 ethers5: specifier: npm:ethers@5.7.2 version: ethers@5.7.2(bufferutil@4.0.8)(utf-8-validate@5.0.10) @@ -884,14 +887,14 @@ importers: specifier: 1.0.1 version: 1.0.1 '@walletconnect/types': - specifier: 2.16.1 - version: 2.16.1 + specifier: 2.16.2 + version: 2.16.2 '@walletconnect/universal-provider': - specifier: 2.16.1 - version: 2.16.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) + specifier: 2.16.2 + version: 2.16.2(bufferutil@4.0.8)(utf-8-validate@5.0.10) '@walletconnect/utils': - specifier: 2.16.1 - version: 2.16.1 + specifier: 2.16.2 + version: 2.16.2 valtio: specifier: 1.11.2 version: 1.11.2(@types/react@18.2.0)(react@18.2.0) @@ -958,11 +961,11 @@ importers: specifier: workspace:* version: link:../../wallet '@walletconnect/universal-provider': - specifier: 2.16.1 - version: 2.16.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) + specifier: 2.16.2 + version: 2.16.2(bufferutil@4.0.8)(utf-8-validate@5.0.10) '@walletconnect/utils': - specifier: 2.16.1 - version: 2.16.1 + specifier: 2.16.2 + version: 2.16.2 valtio: specifier: 1.11.2 version: 1.11.2(@types/react@18.2.0)(react@18.2.0) @@ -986,8 +989,8 @@ importers: specifier: 2.13.4 version: 2.13.4(@tanstack/query-core@5.24.8)(@types/react@18.2.0)(react@18.2.0)(typescript@5.3.3)(viem@2.21.4(bufferutil@4.0.8)(typescript@5.3.3)(utf-8-validate@5.0.10)(zod@3.22.4)) '@walletconnect/types': - specifier: 2.16.1 - version: 2.16.1 + specifier: 2.16.2 + version: 2.16.2 viem: specifier: 2.21.4 version: 2.21.4(bufferutil@4.0.8)(typescript@5.3.3)(utf-8-validate@5.0.10)(zod@3.22.4) @@ -1025,14 +1028,14 @@ importers: specifier: workspace:* version: link:../wallet '@walletconnect/types': - specifier: 2.16.1 - version: 2.16.1 + specifier: 2.16.2 + version: 2.16.2 '@walletconnect/universal-provider': - specifier: 2.16.1 - version: 2.16.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) + specifier: 2.16.2 + version: 2.16.2(bufferutil@4.0.8)(utf-8-validate@5.0.10) '@walletconnect/utils': - specifier: 2.16.1 - version: 2.16.1 + specifier: 2.16.2 + version: 2.16.2 valtio: specifier: 1.11.2 version: 1.11.2(@types/react@18.2.0)(react@18.2.0) @@ -1114,8 +1117,8 @@ importers: specifier: workspace:* version: link:../wallet '@walletconnect/universal-provider': - specifier: 2.16.1 - version: 2.16.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) + specifier: 2.16.2 + version: 2.16.2(bufferutil@4.0.8)(utf-8-validate@5.0.10) valtio: specifier: 1.11.2 version: 1.11.2(@types/react@18.2.62)(react@18.2.0) @@ -1198,8 +1201,8 @@ importers: specifier: workspace:* version: link:../wallet '@walletconnect/universal-provider': - specifier: 2.16.1 - version: 2.16.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) + specifier: 2.16.2 + version: 2.16.2(bufferutil@4.0.8)(utf-8-validate@5.0.10) valtio: specifier: 1.11.2 version: 1.11.2(@types/react@18.2.62)(react@18.2.0) @@ -1241,8 +1244,8 @@ importers: specifier: workspace:* version: link:../wallet '@walletconnect/utils': - specifier: 2.16.1 - version: 2.16.1 + specifier: 2.16.2 + version: 2.16.2 ethers: specifier: '>=6.0.0' version: 6.13.2(bufferutil@4.0.8)(utf-8-validate@5.0.10) @@ -1287,8 +1290,8 @@ importers: specifier: workspace:* version: link:../wallet '@walletconnect/utils': - specifier: 2.16.1 - version: 2.16.1 + specifier: 2.16.2 + version: 2.16.2 valtio: specifier: 1.11.2 version: 1.11.2(@types/react@18.2.62)(react@18.2.0) @@ -1358,8 +1361,8 @@ importers: specifier: workspace:* version: link:../wallet '@walletconnect/utils': - specifier: 2.16.1 - version: 2.16.1 + specifier: 2.16.2 + version: 2.16.2 lit: specifier: 3.1.0 version: 3.1.0 @@ -1418,8 +1421,8 @@ importers: specifier: 1.0.1 version: 1.0.1 '@walletconnect/universal-provider': - specifier: 2.16.1 - version: 2.16.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) + specifier: 2.16.2 + version: 2.16.2(bufferutil@4.0.8)(utf-8-validate@5.0.10) bn.js: specifier: 5.2.1 version: 5.2.1 @@ -1452,8 +1455,8 @@ importers: specifier: 2.0.5 version: 2.0.5(vitest@2.0.5(@types/node@20.11.5)(jsdom@24.1.0(bufferutil@4.0.8)(utf-8-validate@5.0.10))(terser@5.32.0)) '@walletconnect/types': - specifier: 2.16.1 - version: 2.16.1 + specifier: 2.16.2 + version: 2.16.2 vitest: specifier: 2.0.5 version: 2.0.5(@types/node@20.11.5)(jsdom@24.1.0(bufferutil@4.0.8)(utf-8-validate@5.0.10))(terser@5.32.0) @@ -1516,8 +1519,8 @@ importers: specifier: workspace:* version: link:../wallet '@walletconnect/utils': - specifier: 2.16.1 - version: 2.16.1 + specifier: 2.16.2 + version: 2.16.2 devDependencies: '@wagmi/connectors': specifier: 5.1.9 @@ -6730,10 +6733,6 @@ packages: resolution: {integrity: sha512-W1syg0sVTlO9C4XSc1aEI6W7FzK0eydXxUBhCRF2IgiZkTlVQArS4bR6ArVDNWWzmXm1fN4Tr040fw11y4zXTw==} engines: {node: '>=18'} - '@walletconnect/core@2.16.1': - resolution: {integrity: sha512-UlsnEMT5wwFvmxEjX8s4oju7R3zadxNbZgsFeHEsjh7uknY2zgmUe1Lfc5XU6zyPb1Jx7Nqpdx1KN485ee8ogw==} - engines: {node: '>=18'} - '@walletconnect/core@2.16.2': resolution: {integrity: sha512-Xf1SqLSB8KffNsgUGDE/CguAcKMD+3EKfqfqNhWpimxe1QDZDUw8xq+nnxfx6MAb8fdx9GYe6Lvknx2SAAeAHw==} engines: {node: '>=18'} @@ -6744,6 +6743,9 @@ packages: '@walletconnect/ethereum-provider@2.15.3': resolution: {integrity: sha512-dzJQp0OZC+TZqKEoLvpy6NdhOFXAD8Oyz3OYZmWwYEaw+R7P2lbXRbYV22fTKyewLYVtNb/P+HJfwmVaiEdp0w==} + '@walletconnect/ethereum-provider@2.16.2': + resolution: {integrity: sha512-ubIevPEhW27dkmnU//E8qBOc7s8A4CyFJWc2bgwPEEDGQxw/LJPuEJQ+H5MPuhsui7+utVULNMoM693LLVHi7g==} + '@walletconnect/events@1.0.1': resolution: {integrity: sha512-NPTqaoi0oPBVNuLv7qPaJazmGHs5JGyO8eEAk5VGKmJzDR7AHzD4k6ilox5kxk1iwiOnFopBOOMLs86Oa76HpQ==} @@ -6808,9 +6810,6 @@ packages: '@walletconnect/sign-client@2.15.3': resolution: {integrity: sha512-JVArnlCMW1OC9LuzW31HdneioUIqQ7nSTPiXyvSe7QhuQOo+ltNRdunk/A3TD795Y9nALCHPm9z6EexFHHmIpA==} - '@walletconnect/sign-client@2.16.1': - resolution: {integrity: sha512-s2Tx2n2duxt+sHtuWXrN9yZVaHaYqcEcjwlTD+55/vs5NUPlISf+fFmZLwSeX1kUlrSBrAuxPUcqQuRTKcjLOA==} - '@walletconnect/sign-client@2.16.2': resolution: {integrity: sha512-R/hk2P3UN5u3FV22E7h9S/Oy8IbDwaBGH7St/BzOpJCjFmf6CF5S3GZVjrXPBesvRF94CROkqMF89wz5HkZepA==} @@ -6824,24 +6823,18 @@ packages: '@walletconnect/types@2.15.3': resolution: {integrity: sha512-z3NJ14f3WVWsyQTSQYaPuSvBfGGiKEKEaldeCZecsOVtMCtjfTrDzj8HDbz6+werogS7joFDPyB/1UdcCDmqjw==} - '@walletconnect/types@2.16.1': - resolution: {integrity: sha512-9P4RG4VoDEF+yBF/n2TF12gsvT/aTaeZTVDb/AOayafqiPnmrQZMKmNCJJjq1sfdsDcHXFcZWMGsuCeSJCmrXA==} - '@walletconnect/types@2.16.2': resolution: {integrity: sha512-IIV9kQh6b/WpwhfgPixpziE+8XK/FtdnfvN1oOMs5h+lgwr46OJknPY2p7eS6vvdvEP3xMEc1Kbu1i4tlnroiw==} '@walletconnect/universal-provider@2.15.3': resolution: {integrity: sha512-KfrtQo/kKu4CtbTbsjMUZvHlViPh9dMuPRnlIltlJc5csdGosjeEt9EC7OIDDBTCgP59A0LV4dQXIcL7azH5DA==} - '@walletconnect/universal-provider@2.16.1': - resolution: {integrity: sha512-q/tyWUVNenizuClEiaekx9FZj/STU1F3wpDK4PUIh3xh+OmUI5fw2dY3MaNDjyb5AyrS0M8BuQDeuoSuOR/Q7w==} + '@walletconnect/universal-provider@2.16.2': + resolution: {integrity: sha512-2kUywHZmkFuhflcQQgoJzy6DS7/zmitgiStyG2slXJAeItT36xXVrasoLFjRZ4fZZCavq6lkrAXCd2Tk6/pa3A==} '@walletconnect/utils@2.15.3': resolution: {integrity: sha512-MNNdAnaF8XdvJQmUzLDbs+mX+PSL1kWeMY5bpLPF9PJZqtElB5ZtDfZNi4MBqG7vUhuM6eRAHwCe1vdiY+ZdRQ==} - '@walletconnect/utils@2.16.1': - resolution: {integrity: sha512-aoQirVoDoiiEtYeYDtNtQxFzwO/oCrz9zqeEEXYJaAwXlGVTS34KFe7W3/Rxd/pldTYKFOZsku2EzpISfH8Wsw==} - '@walletconnect/utils@2.16.2': resolution: {integrity: sha512-CEMxMCIqvwXd8YIEXfBoCiWY8DtUevJ/w14Si+cmTHWHBDWKRZll7+QUXgICIBx5kyX3GMAKNABaTlg2A2CPSg==} @@ -16065,7 +16058,7 @@ snapshots: '@solana/web3.js': 1.95.2(bufferutil@4.0.8)(utf-8-validate@5.0.10) '@walletconnect/qrcode-modal': 1.8.0 '@walletconnect/sign-client': 2.16.2(bufferutil@4.0.8)(utf-8-validate@5.0.10) - '@walletconnect/utils': 2.16.1 + '@walletconnect/utils': 2.16.2 bs58: 5.0.0 transitivePeerDependencies: - '@azure/app-configuration' @@ -20188,7 +20181,7 @@ snapshots: - uWebSockets.js - utf-8-validate - '@walletconnect/core@2.16.1(bufferutil@4.0.8)(utf-8-validate@5.0.10)': + '@walletconnect/core@2.16.2(bufferutil@4.0.8)(utf-8-validate@5.0.10)': dependencies: '@walletconnect/heartbeat': 1.2.2 '@walletconnect/jsonrpc-provider': 1.0.14 @@ -20201,8 +20194,8 @@ snapshots: '@walletconnect/relay-auth': 1.0.4 '@walletconnect/safe-json': 1.0.2 '@walletconnect/time': 1.0.2 - '@walletconnect/types': 2.16.1 - '@walletconnect/utils': 2.16.1 + '@walletconnect/types': 2.16.2 + '@walletconnect/utils': 2.16.2 events: 3.3.0 lodash.isequal: 4.5.0 uint8arrays: 3.1.0 @@ -20224,24 +20217,22 @@ snapshots: - uWebSockets.js - utf-8-validate - '@walletconnect/core@2.16.2(bufferutil@4.0.8)(utf-8-validate@5.0.10)': + '@walletconnect/environment@1.0.1': dependencies: - '@walletconnect/heartbeat': 1.2.2 + tslib: 1.14.1 + + '@walletconnect/ethereum-provider@2.15.3(@types/react@18.2.0)(bufferutil@4.0.8)(react@18.2.0)(utf-8-validate@5.0.10)': + dependencies: + '@walletconnect/jsonrpc-http-connection': 1.0.8 '@walletconnect/jsonrpc-provider': 1.0.14 '@walletconnect/jsonrpc-types': 1.0.4 '@walletconnect/jsonrpc-utils': 1.0.8 - '@walletconnect/jsonrpc-ws-connection': 1.0.14(bufferutil@4.0.8)(utf-8-validate@5.0.10) - '@walletconnect/keyvaluestorage': 1.1.1 - '@walletconnect/logger': 2.1.2 - '@walletconnect/relay-api': 1.0.11 - '@walletconnect/relay-auth': 1.0.4 - '@walletconnect/safe-json': 1.0.2 - '@walletconnect/time': 1.0.2 - '@walletconnect/types': 2.16.2 - '@walletconnect/utils': 2.16.2 + '@walletconnect/modal': 2.6.2(@types/react@18.2.0)(react@18.2.0) + '@walletconnect/sign-client': 2.15.3(bufferutil@4.0.8)(utf-8-validate@5.0.10) + '@walletconnect/types': 2.15.3 + '@walletconnect/universal-provider': 2.15.3(bufferutil@4.0.8)(utf-8-validate@5.0.10) + '@walletconnect/utils': 2.15.3 events: 3.3.0 - lodash.isequal: 4.5.0 - uint8arrays: 3.1.0 transitivePeerDependencies: - '@azure/app-configuration' - '@azure/cosmos' @@ -20253,24 +20244,23 @@ snapshots: - '@netlify/blobs' - '@planetscale/database' - '@react-native-async-storage/async-storage' + - '@types/react' - '@upstash/redis' - '@vercel/kv' - bufferutil + - encoding - ioredis + - react - uWebSockets.js - utf-8-validate - '@walletconnect/environment@1.0.1': - dependencies: - tslib: 1.14.1 - - '@walletconnect/ethereum-provider@2.15.3(@types/react@18.2.0)(bufferutil@4.0.8)(react@18.2.0)(utf-8-validate@5.0.10)': + '@walletconnect/ethereum-provider@2.15.3(@types/react@18.2.62)(bufferutil@4.0.8)(react@18.2.0)(utf-8-validate@5.0.10)': dependencies: '@walletconnect/jsonrpc-http-connection': 1.0.8 '@walletconnect/jsonrpc-provider': 1.0.14 '@walletconnect/jsonrpc-types': 1.0.4 '@walletconnect/jsonrpc-utils': 1.0.8 - '@walletconnect/modal': 2.6.2(@types/react@18.2.0)(react@18.2.0) + '@walletconnect/modal': 2.6.2(@types/react@18.2.62)(react@18.2.0) '@walletconnect/sign-client': 2.15.3(bufferutil@4.0.8)(utf-8-validate@5.0.10) '@walletconnect/types': 2.15.3 '@walletconnect/universal-provider': 2.15.3(bufferutil@4.0.8)(utf-8-validate@5.0.10) @@ -20297,17 +20287,17 @@ snapshots: - uWebSockets.js - utf-8-validate - '@walletconnect/ethereum-provider@2.15.3(@types/react@18.2.62)(bufferutil@4.0.8)(react@18.2.0)(utf-8-validate@5.0.10)': + '@walletconnect/ethereum-provider@2.16.2(@types/react@18.2.62)(bufferutil@4.0.8)(react@18.2.0)(utf-8-validate@5.0.10)': dependencies: '@walletconnect/jsonrpc-http-connection': 1.0.8 '@walletconnect/jsonrpc-provider': 1.0.14 '@walletconnect/jsonrpc-types': 1.0.4 '@walletconnect/jsonrpc-utils': 1.0.8 '@walletconnect/modal': 2.6.2(@types/react@18.2.62)(react@18.2.0) - '@walletconnect/sign-client': 2.15.3(bufferutil@4.0.8)(utf-8-validate@5.0.10) - '@walletconnect/types': 2.15.3 - '@walletconnect/universal-provider': 2.15.3(bufferutil@4.0.8)(utf-8-validate@5.0.10) - '@walletconnect/utils': 2.15.3 + '@walletconnect/sign-client': 2.16.2(bufferutil@4.0.8)(utf-8-validate@5.0.10) + '@walletconnect/types': 2.16.2 + '@walletconnect/universal-provider': 2.16.2(bufferutil@4.0.8)(utf-8-validate@5.0.10) + '@walletconnect/utils': 2.16.2 events: 3.3.0 transitivePeerDependencies: - '@azure/app-configuration' @@ -20511,35 +20501,6 @@ snapshots: - uWebSockets.js - utf-8-validate - '@walletconnect/sign-client@2.16.1(bufferutil@4.0.8)(utf-8-validate@5.0.10)': - dependencies: - '@walletconnect/core': 2.16.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) - '@walletconnect/events': 1.0.1 - '@walletconnect/heartbeat': 1.2.2 - '@walletconnect/jsonrpc-utils': 1.0.8 - '@walletconnect/logger': 2.1.2 - '@walletconnect/time': 1.0.2 - '@walletconnect/types': 2.16.1 - '@walletconnect/utils': 2.16.1 - events: 3.3.0 - transitivePeerDependencies: - - '@azure/app-configuration' - - '@azure/cosmos' - - '@azure/data-tables' - - '@azure/identity' - - '@azure/keyvault-secrets' - - '@azure/storage-blob' - - '@capacitor/preferences' - - '@netlify/blobs' - - '@planetscale/database' - - '@react-native-async-storage/async-storage' - - '@upstash/redis' - - '@vercel/kv' - - bufferutil - - ioredis - - uWebSockets.js - - utf-8-validate - '@walletconnect/sign-client@2.16.2(bufferutil@4.0.8)(utf-8-validate@5.0.10)': dependencies: '@walletconnect/core': 2.16.2(bufferutil@4.0.8)(utf-8-validate@5.0.10) @@ -20599,30 +20560,6 @@ snapshots: - ioredis - uWebSockets.js - '@walletconnect/types@2.16.1': - dependencies: - '@walletconnect/events': 1.0.1 - '@walletconnect/heartbeat': 1.2.2 - '@walletconnect/jsonrpc-types': 1.0.4 - '@walletconnect/keyvaluestorage': 1.1.1 - '@walletconnect/logger': 2.1.2 - events: 3.3.0 - transitivePeerDependencies: - - '@azure/app-configuration' - - '@azure/cosmos' - - '@azure/data-tables' - - '@azure/identity' - - '@azure/keyvault-secrets' - - '@azure/storage-blob' - - '@capacitor/preferences' - - '@netlify/blobs' - - '@planetscale/database' - - '@react-native-async-storage/async-storage' - - '@upstash/redis' - - '@vercel/kv' - - ioredis - - uWebSockets.js - '@walletconnect/types@2.16.2': dependencies: '@walletconnect/events': 1.0.1 @@ -20677,16 +20614,16 @@ snapshots: - uWebSockets.js - utf-8-validate - '@walletconnect/universal-provider@2.16.1(bufferutil@4.0.8)(utf-8-validate@5.0.10)': + '@walletconnect/universal-provider@2.16.2(bufferutil@4.0.8)(utf-8-validate@5.0.10)': dependencies: '@walletconnect/jsonrpc-http-connection': 1.0.8 '@walletconnect/jsonrpc-provider': 1.0.14 '@walletconnect/jsonrpc-types': 1.0.4 '@walletconnect/jsonrpc-utils': 1.0.8 '@walletconnect/logger': 2.1.2 - '@walletconnect/sign-client': 2.16.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) - '@walletconnect/types': 2.16.1 - '@walletconnect/utils': 2.16.1 + '@walletconnect/sign-client': 2.16.2(bufferutil@4.0.8)(utf-8-validate@5.0.10) + '@walletconnect/types': 2.16.2 + '@walletconnect/utils': 2.16.2 events: 3.3.0 transitivePeerDependencies: - '@azure/app-configuration' @@ -20741,40 +20678,6 @@ snapshots: - ioredis - uWebSockets.js - '@walletconnect/utils@2.16.1': - dependencies: - '@stablelib/chacha20poly1305': 1.0.1 - '@stablelib/hkdf': 1.0.1 - '@stablelib/random': 1.0.2 - '@stablelib/sha256': 1.0.1 - '@stablelib/x25519': 1.0.3 - '@walletconnect/relay-api': 1.0.11 - '@walletconnect/relay-auth': 1.0.4 - '@walletconnect/safe-json': 1.0.2 - '@walletconnect/time': 1.0.2 - '@walletconnect/types': 2.16.1 - '@walletconnect/window-getters': 1.0.1 - '@walletconnect/window-metadata': 1.0.1 - detect-browser: 5.3.0 - elliptic: 6.5.7 - query-string: 7.1.3 - uint8arrays: 3.1.0 - transitivePeerDependencies: - - '@azure/app-configuration' - - '@azure/cosmos' - - '@azure/data-tables' - - '@azure/identity' - - '@azure/keyvault-secrets' - - '@azure/storage-blob' - - '@capacitor/preferences' - - '@netlify/blobs' - - '@planetscale/database' - - '@react-native-async-storage/async-storage' - - '@upstash/redis' - - '@vercel/kv' - - ioredis - - uWebSockets.js - '@walletconnect/utils@2.16.2': dependencies: '@stablelib/chacha20poly1305': 1.0.1 From 7efcc9cb6fc49b1a5eea31b4e77237d0bfea05ef Mon Sep 17 00:00:00 2001 From: Gancho Radkov Date: Wed, 2 Oct 2024 11:49:03 +0300 Subject: [PATCH 7/7] refactor: react usage improvements --- .../src/components/AddTransactionModal.tsx | 15 +++---- .../Ethers/EthersGetCallsStatusTest.tsx | 3 +- .../components/Ethers/EthersSendCallsTest.tsx | 44 +++++++++---------- 3 files changed, 29 insertions(+), 33 deletions(-) diff --git a/apps/laboratory/src/components/AddTransactionModal.tsx b/apps/laboratory/src/components/AddTransactionModal.tsx index 4a0f9957a1..4314e44697 100644 --- a/apps/laboratory/src/components/AddTransactionModal.tsx +++ b/apps/laboratory/src/components/AddTransactionModal.tsx @@ -10,7 +10,7 @@ import { ModalHeader, ModalOverlay } from '@chakra-ui/react' -import { useCallback, useState } from 'react' +import { useState } from 'react' import { ethers } from 'ethers' import { useChakraToast } from './Toast' @@ -19,12 +19,11 @@ type IAddTransactionModalProps = { onClose: () => void onSubmit: (params: { eth: string; to: string }) => void } -export function AddTransactionModal(props: IAddTransactionModalProps) { +export function AddTransactionModal({ isOpen, onClose, onSubmit }: IAddTransactionModalProps) { const toast = useChakraToast() - const { isOpen, onClose, onSubmit } = props const [eth, setEth] = useState(0) const [to, setTo] = useState('') - const onAddTransaction = useCallback(() => { + function onAddTransaction() { if (!ethers.isAddress(to)) { toast({ title: 'Error', @@ -46,12 +45,12 @@ export function AddTransactionModal(props: IAddTransactionModalProps) { onSubmit({ eth: eth.toString(), to }) reset() onClose() - }, [eth, to]) + } - const reset = useCallback(() => { + function reset() { setEth(0) setTo('') - }, []) + } return ( <> @@ -67,7 +66,7 @@ export function AddTransactionModal(props: IAddTransactionModalProps) { setEth(parseFloat(event.target.value))} + onChange={event => setEth(event.target.valueAsNumber)} /> diff --git a/apps/laboratory/src/components/Ethers/EthersGetCallsStatusTest.tsx b/apps/laboratory/src/components/Ethers/EthersGetCallsStatusTest.tsx index 821cacf462..9f0e3d59f0 100644 --- a/apps/laboratory/src/components/Ethers/EthersGetCallsStatusTest.tsx +++ b/apps/laboratory/src/components/Ethers/EthersGetCallsStatusTest.tsx @@ -13,8 +13,7 @@ import { W3mFrameProvider } from '@reown/appkit-wallet' import { type GetCallsStatusParams } from '../../types/EIP5792' import { EIP_5792_RPC_METHODS } from '../../utils/EIP5792Utils' -export function EthersGetCallsStatusTest(params: { callsHash: string }) { - const callsHash = params.callsHash +export function EthersGetCallsStatusTest({ callsHash }: { callsHash: string }) { const [isLoading, setLoading] = useState(false) const [batchCallId, setBatchCallId] = useState(callsHash) diff --git a/apps/laboratory/src/components/Ethers/EthersSendCallsTest.tsx b/apps/laboratory/src/components/Ethers/EthersSendCallsTest.tsx index 8647ac6a49..b928527e02 100644 --- a/apps/laboratory/src/components/Ethers/EthersSendCallsTest.tsx +++ b/apps/laboratory/src/components/Ethers/EthersSendCallsTest.tsx @@ -8,7 +8,7 @@ import { Card, CardBody } from '@chakra-ui/react' -import { useCallback, useState, useEffect } from 'react' +import { useState, useEffect } from 'react' import { Button, Stack, Text, Spacer, Heading } from '@chakra-ui/react' import { useAppKitAccount, useAppKitNetwork, useAppKitProvider } from '@reown/appkit/react' import { UniversalProvider } from '@walletconnect/universal-provider' @@ -26,9 +26,7 @@ import { AddTransactionModal } from '../AddTransactionModal' import { W3mFrameProvider } from '@reown/appkit-wallet' type Provider = W3mFrameProvider | Awaited> -export function EthersSendCallsTest(params: { onCallsHash: (hash: string) => void }) { - const { onCallsHash } = params - +export function EthersSendCallsTest({ onCallsHash }: { onCallsHash: (hash: string) => void }) { const [loading, setLoading] = useState(false) const { chainId } = useAppKitNetwork() @@ -40,21 +38,21 @@ export function EthersSendCallsTest(params: { onCallsHash: (hash: string) => voi const toast = useChakraToast() const [isOpen, setIsOpen] = useState(false) - const onSubmit = useCallback( - (args: { to: string; eth: string }) => { - setLastCallsBatchId(null) - setTransactionsToBatch(prev => [ - ...prev, - { - to: args.to as `0x${string}`, - data: '0x' as `0x${string}`, - value: `0x${parseGwei(args.eth).toString(16)}` - } - ]) - }, - [transactionsToBatch] - ) - const onClose = useCallback(() => setIsOpen(false), []) + function onSubmit(args: { to: string; eth: string }) { + setLastCallsBatchId(null) + setTransactionsToBatch(prev => [ + ...prev, + { + to: args.to as `0x${string}`, + data: '0x' as `0x${string}`, + value: `0x${parseGwei(args.eth).toString(16)}` + } + ]) + } + + function onClose() { + setIsOpen(false) + } const [atomicBatchSupportedChains, setAtomicBatchSupportedChains] = useState< Awaited> @@ -81,13 +79,13 @@ export function EthersSendCallsTest(params: { onCallsHash: (hash: string) => voi chainInfo => chainInfo.chainId === Number(chainId) ) - const onAddTransactionButtonClick = useCallback(() => { + function onAddTransactionButtonClick() { setIsOpen(true) - }, []) + } - const onRemoveTransaction = useCallback((index: number) => { + function onRemoveTransaction(index: number) { setTransactionsToBatch(prev => prev.filter((_, i) => i !== index)) - }, []) + } async function onSendCalls() { try {