From 4b13b87cc38ca83d4893adaedcd159f9a3671ff7 Mon Sep 17 00:00:00 2001 From: Dmitrii Podlesnyi Date: Mon, 1 Jul 2024 16:56:18 +0700 Subject: [PATCH 01/20] feat: wagmi version updated --- features/stake/hooks.tsx | 2 +- package.json | 8 +- providers/sdk-legacy.tsx | 97 +- providers/web3.tsx | 111 +- .../transaction-modal/transaction-modal.tsx | 2 +- .../tx-stages-basic/icons.tsx | 2 +- shared/wallet/fallback/useErrorMessage.ts | 29 +- yarn.lock | 1827 ++++++++++------- 8 files changed, 1162 insertions(+), 916 deletions(-) diff --git a/features/stake/hooks.tsx b/features/stake/hooks.tsx index 6478bb4bb..6c373f9e2 100644 --- a/features/stake/hooks.tsx +++ b/features/stake/hooks.tsx @@ -1,6 +1,6 @@ import { useMemo } from 'react'; import { isDesktop } from 'react-device-detect'; -import { useConnectorInfo } from 'reef-knot/web3-react'; +import { useConnectorInfo } from 'reef-knot/core-react'; const LEDGER_LIVE_ONE_INCH_DESKTOP_DEEPLINK = 'ledgerlive://discover/1inch-lld'; const LEDGER_LIVE_ONE_INCH_MOBILE_DEEPLINK = 'ledgerlive://discover/1inch-llm'; diff --git a/package.json b/package.json index 0737100b0..16231836d 100644 --- a/package.json +++ b/package.json @@ -44,6 +44,7 @@ "@lidofinance/next-pages": "^0.41.0", "@lidofinance/rpc": "^0.41.0", "@lidofinance/satanizer": "^0.41.0", + "@tanstack/react-query": "^5.48.0", "bignumber.js": "9.1.0", "copy-to-clipboard": "^3.3.1", "cors": "^2.8.5", @@ -67,7 +68,7 @@ "react-hook-form": "^7.45.2", "react-is": "^18.2.0", "react-transition-group": "^4.4.2", - "reef-knot": "^4.2.0", + "reef-knot": "5.0.1 ", "remark": "^13.0.0", "remark-external-links": "^8.0.0", "remark-html": "^13.0.1", @@ -76,7 +77,8 @@ "tiny-async-pool": "^1.2.0", "tiny-invariant": "^1.1.0", "uuid": "^8.3.2", - "wagmi": "0.12.19" + "viem": "2.13.3", + "wagmi": "2.10.4" }, "devDependencies": { "@commitlint/cli": "^17.4.4", @@ -123,7 +125,7 @@ "prettier": "^3.0.1", "ts-jest": "^29.1.0", "typechain": "^5.1.2", - "typescript": "^4.9.4", + "typescript": "5.4.5", "url-loader": "^4.1.1", "webpack-preprocessor-loader": "^1.3.0" }, diff --git a/providers/sdk-legacy.tsx b/providers/sdk-legacy.tsx index 1cc3fa550..7c08f53ef 100644 --- a/providers/sdk-legacy.tsx +++ b/providers/sdk-legacy.tsx @@ -1,86 +1,65 @@ -import React, { PropsWithChildren, useEffect, useMemo, useState } from 'react'; -import { ProviderSDK } from '@lido-sdk/react'; -import { getStaticRpcBatchProvider } from '@lido-sdk/providers'; +import React, { PropsWithChildren, useMemo } from 'react'; +import { useSupportedChains, useWeb3 } from 'reef-knot/web3-react'; +import { useConnectorClient } from 'wagmi'; + import { Web3Provider } from '@ethersproject/providers'; -import { Chain, useAccount } from 'wagmi'; +import { ProviderSDK } from '@lido-sdk/react'; + import { mainnet } from 'wagmi/chains'; -import { useWeb3 } from 'reef-knot/web3-react'; -import { onRpcProviderError } from 'utils/rpc-error-handler'; +import { getStaticRpcBatchProvider } from '@lido-sdk/providers'; +import { useReefKnotContext } from 'reef-knot/core-react'; const POLLING_INTERVAL = 12_000; type SDKLegacyProviderProps = PropsWithChildren<{ defaultChainId: number; - supportedChains: Chain[]; - rpc: Record; pollingInterval?: number; }>; export const SDKLegacyProvider = ({ children, defaultChainId, - rpc, - supportedChains, pollingInterval = POLLING_INTERVAL, }: SDKLegacyProviderProps) => { - const { chainId = defaultChainId, account } = useWeb3(); - const { connector, isConnected } = useAccount(); + const { chainId = defaultChainId, account, active } = useWeb3(); + const { supportedChains } = useSupportedChains(); + const { data: client } = useConnectorClient(); + const { rpc } = useReefKnotContext(); - const [providerWeb3, setProviderWeb3] = useState(); + const providerWeb3 = useMemo(() => { + if (!client || !client.account || !active) return; + const { chain, transport } = client; - // Reset web3 provider if the provider was set previously, - // and currently no wallet is connected. - // Gets triggered on a wallet disconnection, for example. - if (!isConnected && providerWeb3) { - setProviderWeb3(undefined); - } + // https://wagmi.sh/core/guides/ethers#reference-implementation-1 + const network = { + chainId: chain.id, + name: chain.name, + ensAddress: chain.contracts?.ensRegistry?.address, + }; + const provider = new Web3Provider(transport, network); + provider.pollingInterval = pollingInterval; - useEffect(() => { - void (async () => { - if (!providerWeb3 && connector && isConnected) { - const provider = await connector.getProvider(); - // `any` param + page reload on network change - // are described here: https://github.com/ethers-io/ethers.js/issues/866 - // this approach is needed to fix a NETWORK_ERROR after chain changing - const wrappedProvider = new Web3Provider(provider, 'any'); - wrappedProvider.on('network', (newNetwork, oldNetwork) => { - // When a Provider makes its initial connection, it emits a "network" - // event with a null oldNetwork along with the newNetwork. So, if the - // oldNetwork exists, it represents a changing network - if (oldNetwork) { - window.location.reload(); - } - }); - wrappedProvider.pollingInterval = pollingInterval; - setProviderWeb3(wrappedProvider); - } - })(); - }, [connector, isConnected, pollingInterval, providerWeb3]); + return provider; + }, [active, client, pollingInterval]); const supportedChainIds = useMemo( - () => supportedChains.map((chain) => chain.id), + () => supportedChains.map((chain) => chain.chainId), [supportedChains], ); - const { providerRpc, providerMainnetRpc } = useMemo(() => { - const providerRpc = getStaticRpcBatchProvider( - chainId, - rpc[chainId], - chainId, - pollingInterval, - ); - - const providerMainnetRpc = getStaticRpcBatchProvider( - mainnet.id, - rpc[mainnet.id], - mainnet.id, - pollingInterval, - ); - providerRpc.on('debug', onRpcProviderError); - providerMainnetRpc.on('debug', onRpcProviderError); + const providerRpc = getStaticRpcBatchProvider( + chainId, + rpc[chainId], + 0, + POLLING_INTERVAL, + ); - return { providerRpc, providerMainnetRpc }; - }, [chainId, pollingInterval, rpc]); + const providerMainnetRpc = getStaticRpcBatchProvider( + mainnet.id, + rpc[mainnet.id], + 0, + POLLING_INTERVAL, + ); return ( // @ts-expect-error Property children does not exist on type diff --git a/providers/web3.tsx b/providers/web3.tsx index 0c9314ddc..b3d12997e 100644 --- a/providers/web3.tsx +++ b/providers/web3.tsx @@ -1,18 +1,26 @@ import { FC, PropsWithChildren, useMemo } from 'react'; -import { ReefKnot, getConnectors, holesky } from 'reef-knot/core-react'; -import { WagmiConfig, createClient, configureChains, Chain } from 'wagmi'; +import { QueryClient, QueryClientProvider } from '@tanstack/react-query'; +import { http, WagmiProvider, createConfig } from 'wagmi'; import * as wagmiChains from 'wagmi/chains'; -import { getStaticRpcBatchProvider } from '@lido-sdk/providers'; +import { + AutoConnect, + ReefKnot, + getWalletsDataList, +} from 'reef-knot/core-react'; +import { WalletsListEthereum } from 'reef-knot/wallets'; import { useUserConfig } from 'config/user-config'; import { useGetRpcUrlByChainId } from 'config/rpc'; import { CHAINS } from 'consts/chains'; import { ConnectWalletModal } from 'shared/wallet/connect-wallet-modal'; -import { onRpcProviderError } from 'utils/rpc-error-handler'; import { SDKLegacyProvider } from './sdk-legacy'; -const wagmiChainsArray = Object.values({ ...wagmiChains, holesky }); +type ChainsList = [wagmiChains.Chain, ...wagmiChains.Chain[]]; + +const wagmiChainsArray = Object.values(wagmiChains) as any as ChainsList; + +const queryClient = new QueryClient(); const Web3Provider: FC = ({ children }) => { const { @@ -37,12 +45,15 @@ const Web3Provider: FC = ({ children }) => { const defaultChain = supportedChains.find((chain) => chain.id === defaultChainId) || supportedChains[0]; // first supported chain as fallback - return { supportedChains, defaultChain }; + return { + supportedChains: supportedChains as ChainsList, + defaultChain, + }; }, [defaultChainId, supportedChainIds]); const getRpcUrlByChainId = useGetRpcUrlByChainId(); - const backendRPC = useMemo( + const backendRPC: Record = useMemo( () => supportedChainIds.reduce( (res, curr) => ({ ...res, [curr]: getRpcUrlByChainId(curr) }), @@ -54,70 +65,44 @@ const Web3Provider: FC = ({ children }) => { [supportedChainIds, getRpcUrlByChainId], ); - const client = useMemo(() => { - const jsonRpcBatchProvider = (chain: Chain) => ({ - provider: () => - getStaticRpcBatchProvider( - chain.id, - getRpcUrlByChainId(chain.id), - undefined, - 12000, - ).on('debug', onRpcProviderError), - chain: { - ...chain, - rpcUrls: { - ...chain.rpcUrls, - public: { http: [getRpcUrlByChainId(chain.id)] }, - default: { http: [getRpcUrlByChainId(chain.id)] }, - }, - }, - }); - - const { chains, provider, webSocketProvider } = configureChains( - supportedChains, - [jsonRpcBatchProvider], - ); - - const connectors = getConnectors({ - chains, - defaultChain, + const { walletsDataList } = useMemo(() => { + return getWalletsDataList({ + walletsList: WalletsListEthereum, rpc: backendRPC, - walletconnectProjectId, + walletconnectProjectId: walletconnectProjectId, + defaultChain: defaultChain, }); + }, [backendRPC, defaultChain, walletconnectProjectId]); - return createClient({ - connectors, - autoConnect: false, // default wagmi autoConnect, MUST be false in our case, because we use custom autoConnect from Reef Knot - provider, - webSocketProvider, + const config = useMemo(() => { + return createConfig({ + chains: supportedChains, + ssr: true, + multiInjectedProviderDiscovery: false, + transports: supportedChains.reduce((res, curr) => ({ + ...res, + [curr.id]: http(backendRPC[curr.id], { batch: true }), + })), }); - }, [ - supportedChains, - defaultChain, - backendRPC, - walletconnectProjectId, - getRpcUrlByChainId, - ]); + }, [supportedChains, backendRPC]); return ( - - - + + - {children} - - - - + {isWalletConnectionAllowed && } + + {children} + + + + + ); }; diff --git a/shared/transaction-modal/transaction-modal.tsx b/shared/transaction-modal/transaction-modal.tsx index c3e55e7e3..67080db7b 100644 --- a/shared/transaction-modal/transaction-modal.tsx +++ b/shared/transaction-modal/transaction-modal.tsx @@ -1,5 +1,5 @@ import { Modal } from '@lidofinance/lido-ui'; -import { useConnectorInfo } from 'reef-knot/web3-react'; +import { useConnectorInfo } from 'reef-knot/core-react'; import { getUseModal, ModalComponentType } from 'providers/modal-provider'; type TransactionModalProps = { diff --git a/shared/transaction-modal/tx-stages-basic/icons.tsx b/shared/transaction-modal/tx-stages-basic/icons.tsx index 4bc9b2b25..51d95a611 100644 --- a/shared/transaction-modal/tx-stages-basic/icons.tsx +++ b/shared/transaction-modal/tx-stages-basic/icons.tsx @@ -1,4 +1,4 @@ -import { useConnectorInfo } from 'reef-knot/web3-react'; +import { useConnectorInfo } from 'reef-knot/core-react'; import { LedgerFail, diff --git a/shared/wallet/fallback/useErrorMessage.ts b/shared/wallet/fallback/useErrorMessage.ts index a0551dd53..887bf0865 100644 --- a/shared/wallet/fallback/useErrorMessage.ts +++ b/shared/wallet/fallback/useErrorMessage.ts @@ -1,18 +1,27 @@ import { - useSupportedChains, - useConnectorError, - helpers, -} from 'reef-knot/web3-react'; -import { useNetwork } from 'wagmi'; + useConnectorInfo, + getUnsupportedChainError, +} from 'reef-knot/core-react'; +import { helpers, useSupportedChains, useWeb3 } from 'reef-knot/web3-react'; +import { useAccount, useConfig } from 'wagmi'; export const useErrorMessage = (): string | undefined => { - const error = useConnectorError(); + const { error } = useWeb3(); + const { chains } = useConfig(); + const { isConnected } = useAccount(); const { isUnsupported } = useSupportedChains(); - const { chains: supportedChains } = useNetwork(); + const { isLedger } = useConnectorInfo(); - // TODO: fix useConnectorError in reef-knot and remove this block - if (isUnsupported) { - return helpers.getUnsupportedChainError(supportedChains).message; + if (isConnected && isUnsupported) { + return getUnsupportedChainError(chains).message; + } + + if (!error) { + return; + } + + if (isLedger) { + return helpers.interceptLedgerError(error).message; } return error?.message; diff --git a/yarn.lock b/yarn.lock index e85d5b36e..4bd89b6a9 100644 --- a/yarn.lock +++ b/yarn.lock @@ -7,6 +7,11 @@ resolved "https://registry.yarnpkg.com/@aashutoshrathi/word-wrap/-/word-wrap-1.2.6.tgz#bd9154aec9983f77b3a034ecaa015c2e4201f6cf" integrity sha512-1Yjs2SvM8TflER/OD3cOjhWWOZb58A2t7wpE2S9XfBYTiIl+XFhQG2bjy4Pu1I+EAlCNUzRDYDdFwFYUKvXcIA== +"@adraffy/ens-normalize@1.10.0": + version "1.10.0" + resolved "https://registry.yarnpkg.com/@adraffy/ens-normalize/-/ens-normalize-1.10.0.tgz#d2a39395c587e092d77cbbc80acf956a54f38bf7" + integrity sha512-nA9XHtlAkYfJxY7bce8DcN7eKxWWCWkU+1GR9d+U6MbNpfwQp8TI7vqOsBsMcHoT4mBu2kypKoSKnghEzOOq5Q== + "@ampproject/remapping@^2.2.0": version "2.2.1" resolved "https://registry.yarnpkg.com/@ampproject/remapping/-/remapping-2.2.1.tgz#99e8e11851128b8702cd57c33684f1d0f260b630" @@ -1000,7 +1005,14 @@ resolved "https://registry.yarnpkg.com/@babel/regjsgen/-/regjsgen-0.8.0.tgz#f0ba69b075e1f05fb2825b7fad991e7adbb18310" integrity sha512-x/rqGMdzj+fWZvCOYForTghzbtqPDZ5gPwaoNGHdgDfF2QA/XZbCBp4Moo5scrkAMPhB7z26XM/AaHuIJdgauA== -"@babel/runtime@^7.17.2", "@babel/runtime@^7.23.2", "@babel/runtime@^7.23.4", "@babel/runtime@^7.5.5", "@babel/runtime@^7.8.4", "@babel/runtime@^7.8.7": +"@babel/runtime@^7.19.4", "@babel/runtime@^7.20.6", "@babel/runtime@^7.21.0": + version "7.24.7" + resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.24.7.tgz#f4f0d5530e8dbdf59b3451b9b3e594b6ba082e12" + integrity sha512-UwgBRMjJP+xv857DCngvqXI3Iq6J4v0wXmwc6sapg+zyhbwmQX67LUEFrkK5tbyJ30jGuG3ZvWpBiB9LCy1kWw== + dependencies: + regenerator-runtime "^0.14.0" + +"@babel/runtime@^7.23.2", "@babel/runtime@^7.5.5", "@babel/runtime@^7.8.4", "@babel/runtime@^7.8.7": version "7.23.9" resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.23.9.tgz#47791a15e4603bb5f905bc0753801cf21d6345f7" integrity sha512-0CX6F+BI2s9dkUqr08KFrAIZgNFj75rdBU/DjCyYLIaV/quFjkk6T+EJ2LkZHyZTbEV4L5p97mNkUsHl2wLFAw== @@ -1046,28 +1058,17 @@ resolved "https://registry.yarnpkg.com/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz#75a2e8b51cb758a7553d6804a5932d7aace75c39" integrity sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw== -"@coinbase/wallet-sdk@^3.6.6": - version "3.7.2" - resolved "https://registry.yarnpkg.com/@coinbase/wallet-sdk/-/wallet-sdk-3.7.2.tgz#7a89bd9e3a06a1f26d4480d8642af33fb0c7e3aa" - integrity sha512-lIGvXMsgpsQWci/XOMQIJ2nIZ8JUy/L+bvC0wkRaYarr0YylwpXrJ2gRM3hCXPS477pkyO7N/kSiAoRgEXUdJQ== +"@coinbase/wallet-sdk@4.0.3": + version "4.0.3" + resolved "https://registry.yarnpkg.com/@coinbase/wallet-sdk/-/wallet-sdk-4.0.3.tgz#fd52dd4c168c35979c7b3294018a6f78d163a593" + integrity sha512-y/OGEjlvosikjfB+wk+4CVb9OxD1ob9cidEBLI5h8Hxaf/Qoob2XoVT1uvhtAzBx34KpGYSd+alKvh/GCRre4Q== dependencies: - "@metamask/safe-event-emitter" "2.0.0" - "@solana/web3.js" "^1.70.1" - bind-decorator "^1.0.11" - bn.js "^5.1.1" buffer "^6.0.3" - clsx "^1.1.0" - eth-block-tracker "6.1.0" - eth-json-rpc-filters "5.1.0" - eth-rpc-errors "4.0.2" - json-rpc-engine "6.1.0" - keccak "^3.0.1" - preact "^10.5.9" - qs "^6.10.3" - rxjs "^6.6.3" + clsx "^1.2.1" + eventemitter3 "^5.0.1" + keccak "^3.0.3" + preact "^10.16.0" sha.js "^2.4.11" - stream-browserify "^3.0.0" - util "^0.12.4" "@colors/colors@1.6.0", "@colors/colors@^1.6.0": version "1.6.0" @@ -1333,6 +1334,38 @@ resolved "https://registry.yarnpkg.com/@eslint/js/-/js-8.56.0.tgz#ef20350fec605a7f7035a01764731b2de0f3782b" integrity sha512-gMsVel9D7f2HLkBma9VbtzZRehRogVRfbr++f06nL2vnCGCNlzOD+/MUov/F4p8myyAHspEhVobgjpX64q5m6A== +"@ethereumjs/common@^3.2.0": + version "3.2.0" + resolved "https://registry.yarnpkg.com/@ethereumjs/common/-/common-3.2.0.tgz#b71df25845caf5456449163012074a55f048e0a0" + integrity sha512-pksvzI0VyLgmuEF2FA/JR/4/y6hcPq8OUail3/AvycBaW1d5VSauOZzqGvJ3RTmR4MU35lWE8KseKOsEhrFRBA== + dependencies: + "@ethereumjs/util" "^8.1.0" + crc-32 "^1.2.0" + +"@ethereumjs/rlp@^4.0.1": + version "4.0.1" + resolved "https://registry.yarnpkg.com/@ethereumjs/rlp/-/rlp-4.0.1.tgz#626fabfd9081baab3d0a3074b0c7ecaf674aaa41" + integrity sha512-tqsQiBQDQdmPWE1xkkBq4rlSW5QZpLOUJ5RJh2/9fug+q9tnUhuZoVLk7s0scUIKTOzEtR72DFBXI4WiZcMpvw== + +"@ethereumjs/tx@^4.1.2", "@ethereumjs/tx@^4.2.0": + version "4.2.0" + resolved "https://registry.yarnpkg.com/@ethereumjs/tx/-/tx-4.2.0.tgz#5988ae15daf5a3b3c815493bc6b495e76009e853" + integrity sha512-1nc6VO4jtFd172BbSnTnDQVr9IYBFl1y4xPzZdtkrkKIncBCkdbgfdRV+MiTkJYAtTxvV12GRZLqBFT1PNK6Yw== + dependencies: + "@ethereumjs/common" "^3.2.0" + "@ethereumjs/rlp" "^4.0.1" + "@ethereumjs/util" "^8.1.0" + ethereum-cryptography "^2.0.0" + +"@ethereumjs/util@^8.1.0": + version "8.1.0" + resolved "https://registry.yarnpkg.com/@ethereumjs/util/-/util-8.1.0.tgz#299df97fb6b034e0577ce9f94c7d9d1004409ed4" + integrity sha512-zQ0IqbdX8FZ9aw11vP+dZkKDkS+kgIvQPHnSAXzP9pLu+Rfu3D3XEeLbicvoXJTYnhZiPmsZUxgdzXwNKxRPbA== + dependencies: + "@ethereumjs/rlp" "^4.0.1" + ethereum-cryptography "^2.0.0" + micro-ftch "^0.3.1" + "@ethersproject/abi@5.7.0", "@ethersproject/abi@^5.5.0", "@ethersproject/abi@^5.7.0": version "5.7.0" resolved "https://registry.yarnpkg.com/@ethersproject/abi/-/abi-5.7.0.tgz#b3f3e045bbbeed1af3947335c247ad625a44e449" @@ -1954,11 +1987,6 @@ "@jridgewell/resolve-uri" "^3.1.0" "@jridgewell/sourcemap-codec" "^1.4.14" -"@ledgerhq/connect-kit-loader@^1.0.1": - version "1.1.8" - resolved "https://registry.yarnpkg.com/@ledgerhq/connect-kit-loader/-/connect-kit-loader-1.1.8.tgz#6cc32191660dd9d6e8f89047af09b0f201e30190" - integrity sha512-mDJsOucVW8m3Lk2fdQst+P74SgiKebvq1iBk4sXLbADQOwhL9bWGaArvO+tW7jPJZwEfSPWBdHcHoYi11XAwZw== - "@ledgerhq/cryptoassets@^11.4.0": version "11.4.0" resolved "https://registry.yarnpkg.com/@ledgerhq/cryptoassets/-/cryptoassets-11.4.0.tgz#e32a3ac8eac82530ff5d7ac5df1912b0f187b8cf" @@ -2254,21 +2282,162 @@ dependencies: "@lit-labs/ssr-dom-shim" "^1.0.0" -"@metamask/safe-event-emitter@2.0.0", "@metamask/safe-event-emitter@^2.0.0": +"@metamask/eth-json-rpc-provider@^1.0.0": + version "1.0.1" + resolved "https://registry.yarnpkg.com/@metamask/eth-json-rpc-provider/-/eth-json-rpc-provider-1.0.1.tgz#3fd5316c767847f4ca107518b611b15396a5a32c" + integrity sha512-whiUMPlAOrVGmX8aKYVPvlKyG4CpQXiNNyt74vE1xb5sPvmx5oA7B/kOi/JdBvhGQq97U1/AVdXEdk2zkP8qyA== + dependencies: + "@metamask/json-rpc-engine" "^7.0.0" + "@metamask/safe-event-emitter" "^3.0.0" + "@metamask/utils" "^5.0.1" + +"@metamask/json-rpc-engine@^7.0.0", "@metamask/json-rpc-engine@^7.3.2": + version "7.3.3" + resolved "https://registry.yarnpkg.com/@metamask/json-rpc-engine/-/json-rpc-engine-7.3.3.tgz#f2b30a2164558014bfcca45db10f5af291d989af" + integrity sha512-dwZPq8wx9yV3IX2caLi9q9xZBw2XeIoYqdyihDDDpuHVCEiqadJLwqM3zy+uwf6F1QYQ65A8aOMQg1Uw7LMLNg== + dependencies: + "@metamask/rpc-errors" "^6.2.1" + "@metamask/safe-event-emitter" "^3.0.0" + "@metamask/utils" "^8.3.0" + +"@metamask/json-rpc-middleware-stream@^6.0.2": + version "6.0.2" + resolved "https://registry.yarnpkg.com/@metamask/json-rpc-middleware-stream/-/json-rpc-middleware-stream-6.0.2.tgz#75852ce481f8f9f091edbfc04ffdf964f8f3cabd" + integrity sha512-jtyx3PRfc1kqoLpYveIVQNwsxYKefc64/LCl9h9Da1m3nUKEvypbYuXSIwi237qvOjKmNHQKsDOZg6f4uBf62Q== + dependencies: + "@metamask/json-rpc-engine" "^7.3.2" + "@metamask/safe-event-emitter" "^3.0.0" + "@metamask/utils" "^8.3.0" + readable-stream "^3.6.2" + +"@metamask/object-multiplex@^2.0.0": + version "2.0.0" + resolved "https://registry.yarnpkg.com/@metamask/object-multiplex/-/object-multiplex-2.0.0.tgz#aa6e4aa7b4e2f457ea4bb51cd7281d931e0aa35d" + integrity sha512-+ItrieVZie3j2LfYE0QkdW3dsEMfMEp419IGx1zyeLqjRZ14iQUPRO0H6CGgfAAoC0x6k2PfCAGRwJUA9BMrqA== + dependencies: + once "^1.4.0" + readable-stream "^3.6.2" + +"@metamask/onboarding@^1.0.1": + version "1.0.1" + resolved "https://registry.yarnpkg.com/@metamask/onboarding/-/onboarding-1.0.1.tgz#14a36e1e175e2f69f09598e2008ab6dc1b3297e6" + integrity sha512-FqHhAsCI+Vacx2qa5mAFcWNSrTcVGMNjzxVgaX8ECSny/BJ9/vgXP9V7WF/8vb9DltPeQkxr+Fnfmm6GHfmdTQ== + dependencies: + bowser "^2.9.0" + +"@metamask/providers@^15.0.0": + version "15.0.0" + resolved "https://registry.yarnpkg.com/@metamask/providers/-/providers-15.0.0.tgz#e8957bb89d2f3379b32b60117d79a141e44db2bc" + integrity sha512-FXvL1NQNl6I7fMOJTfQYcBlBZ33vSlm6w80cMpmn8sJh0Lb7wcBpe02UwBsNlARnI+Qsr26XeDs6WHUHQh8CuA== + dependencies: + "@metamask/json-rpc-engine" "^7.3.2" + "@metamask/json-rpc-middleware-stream" "^6.0.2" + "@metamask/object-multiplex" "^2.0.0" + "@metamask/rpc-errors" "^6.2.1" + "@metamask/safe-event-emitter" "^3.0.0" + "@metamask/utils" "^8.3.0" + detect-browser "^5.2.0" + extension-port-stream "^3.0.0" + fast-deep-equal "^3.1.3" + is-stream "^2.0.0" + readable-stream "^3.6.2" + webextension-polyfill "^0.10.0" + +"@metamask/rpc-errors@^6.2.1": + version "6.3.0" + resolved "https://registry.yarnpkg.com/@metamask/rpc-errors/-/rpc-errors-6.3.0.tgz#adc63f3c1c50ec812d3631a471fe2beca0c3707d" + integrity sha512-B1UIG/0xWkaDs/d6xrxsRf7kmFLdk8YE0HUToaFumjwQM36AjBsqEzVyemPTQv0SIrAPFnSmkLt053JOWcu5iw== + dependencies: + "@metamask/utils" "^8.3.0" + fast-safe-stringify "^2.0.6" + +"@metamask/safe-event-emitter@^2.0.0": version "2.0.0" resolved "https://registry.yarnpkg.com/@metamask/safe-event-emitter/-/safe-event-emitter-2.0.0.tgz#af577b477c683fad17c619a78208cede06f9605c" integrity sha512-/kSXhY692qiV1MXu6EeOZvg5nECLclxNXcKCxJ3cXQgYuRymRHpdx/t7JXfsK+JLjwA1e1c1/SBrlQYpusC29Q== -"@metamask/utils@^3.0.1": - version "3.6.0" - resolved "https://registry.yarnpkg.com/@metamask/utils/-/utils-3.6.0.tgz#b218b969a05ca7a8093b5d1670f6625061de707d" - integrity sha512-9cIRrfkWvHblSiNDVXsjivqa9Ak0RYo/1H6tqTqTbAx+oBK2Sva0lWDHxGchOqA7bySGUJKAWSNJvH6gdHZ0gQ== +"@metamask/safe-event-emitter@^3.0.0": + version "3.1.1" + resolved "https://registry.yarnpkg.com/@metamask/safe-event-emitter/-/safe-event-emitter-3.1.1.tgz#e89b840a7af8097a8ed4953d8dc8470d1302d3ef" + integrity sha512-ihb3B0T/wJm1eUuArYP4lCTSEoZsClHhuWyfo/kMX3m/odpqNcPfsz5O2A3NT7dXCAgWPGDQGPqygCpgeniKMw== + +"@metamask/sdk-communication-layer@0.26.0": + version "0.26.0" + resolved "https://registry.yarnpkg.com/@metamask/sdk-communication-layer/-/sdk-communication-layer-0.26.0.tgz#4578138328823762ee5b25f7943bb7910b888aa6" + integrity sha512-Pu9y2YoQMC7mnaVyr2MddUUofPqqE+rZL1NFk30lJbNCVGopWSubWoF8fJZw54fWngNEN0HXPNkTokd5UCvwjQ== dependencies: + bufferutil "^4.0.8" + date-fns "^2.29.3" + debug "^4.3.4" + utf-8-validate "^6.0.3" + uuid "^8.3.2" + +"@metamask/sdk-install-modal-web@0.26.0": + version "0.26.0" + resolved "https://registry.yarnpkg.com/@metamask/sdk-install-modal-web/-/sdk-install-modal-web-0.26.0.tgz#412a89747a96e94233eb59d2779ab26656096688" + integrity sha512-LyDQFIsWWyU0ZgZR3O9LzRqKzXcYUEGJRCNfb26IjFOquvmQosbhQV0jDNlVa8Tk2Fg4ykTPoaauANh6sVJYVQ== + dependencies: + qr-code-styling "^1.6.0-rc.1" + +"@metamask/sdk@0.26.0": + version "0.26.0" + resolved "https://registry.yarnpkg.com/@metamask/sdk/-/sdk-0.26.0.tgz#0c793994e332158ee5daf257c5267c5432fbc5cf" + integrity sha512-kCVtyGEqCcq0n4i08yeLwNT5cjnreVUNucJr+DMwUlQJ2JCSqAzrYSPhlk1k4LBqhje1OvLoEDJ6JnRshwMZtw== + dependencies: + "@metamask/onboarding" "^1.0.1" + "@metamask/providers" "^15.0.0" + "@metamask/sdk-communication-layer" "0.26.0" + "@metamask/sdk-install-modal-web" "0.26.0" + "@types/dom-screen-wake-lock" "^1.0.0" + bowser "^2.9.0" + cross-fetch "^4.0.0" + debug "^4.3.4" + eciesjs "^0.3.15" + eth-rpc-errors "^4.0.3" + eventemitter2 "^6.4.7" + i18next "22.5.1" + i18next-browser-languagedetector "7.1.0" + obj-multiplex "^1.0.0" + pump "^3.0.0" + qrcode-terminal-nooctal "^0.12.1" + react-native-webview "^11.26.0" + readable-stream "^3.6.2" + rollup-plugin-visualizer "^5.9.2" + socket.io-client "^4.5.1" + util "^0.12.4" + uuid "^8.3.2" + +"@metamask/superstruct@^3.0.0": + version "3.0.0" + resolved "https://registry.yarnpkg.com/@metamask/superstruct/-/superstruct-3.0.0.tgz#0200d0a627522904a7e0fd751dcc6fb863cefacb" + integrity sha512-TOm+Lt/lCJk9j/3QT2LucrPewRmqI7/GKT+blK2IIOAkBMS+9TmeNjd2Y+TlfpSSYstaYsGZyz1XwpiTCg6RLA== + +"@metamask/utils@^5.0.1": + version "5.0.2" + resolved "https://registry.yarnpkg.com/@metamask/utils/-/utils-5.0.2.tgz#140ba5061d90d9dac0280c19cab101bc18c8857c" + integrity sha512-yfmE79bRQtnMzarnKfX7AEJBwFTxvTyw3nBQlu/5rmGXrjAeAMltoGxO62TFurxrQAFMNa/fEjIHNvungZp0+g== + dependencies: + "@ethereumjs/tx" "^4.1.2" "@types/debug" "^4.1.7" debug "^4.3.4" semver "^7.3.8" superstruct "^1.0.3" +"@metamask/utils@^8.3.0": + version "8.5.0" + resolved "https://registry.yarnpkg.com/@metamask/utils/-/utils-8.5.0.tgz#ddd0d4012d5191809404c97648a837ea9962cceb" + integrity sha512-I6bkduevXb72TIM9q2LRO63JSsF9EXduh3sBr9oybNX2hNNpr/j1tEjXrsG0Uabm4MJ1xkGAQEMwifvKZIkyxQ== + dependencies: + "@ethereumjs/tx" "^4.2.0" + "@metamask/superstruct" "^3.0.0" + "@noble/hashes" "^1.3.1" + "@scure/base" "^1.1.3" + "@types/debug" "^4.1.7" + debug "^4.3.4" + pony-cause "^2.1.10" + semver "^7.5.4" + uuid "^9.0.1" + "@motionone/animation@^10.15.1", "@motionone/animation@^10.17.0": version "10.17.0" resolved "https://registry.yarnpkg.com/@motionone/animation/-/animation-10.17.0.tgz#7633c6f684b5fee2b61c405881b8c24662c68fca" @@ -2422,23 +2591,35 @@ resolved "https://registry.yarnpkg.com/@next/swc-win32-x64-msvc/-/swc-win32-x64-msvc-12.3.4.tgz#d28ea15a72cdcf96201c60a43e9630cd7fda168f" integrity sha512-DQ20JEfTBZAgF8QCjYfJhv2/279M6onxFjdG/+5B0Cyj00/EdBxiWb2eGGFgQhrBbNv/lsvzFbbi0Ptf8Vw/bg== -"@noble/curves@^1.2.0": - version "1.3.0" - resolved "https://registry.yarnpkg.com/@noble/curves/-/curves-1.3.0.tgz#01be46da4fd195822dab821e72f71bf4aeec635e" - integrity sha512-t01iSXPuN+Eqzb4eBX0S5oubSqXbK/xXa1Ne18Hj8f9pStxztHCE2gfboSp/dZRLSqfuLpRK2nDXDK+W9puocA== +"@noble/curves@1.2.0", "@noble/curves@~1.2.0": + version "1.2.0" + resolved "https://registry.yarnpkg.com/@noble/curves/-/curves-1.2.0.tgz#92d7e12e4e49b23105a2555c6984d41733d65c35" + integrity sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw== dependencies: - "@noble/hashes" "1.3.3" + "@noble/hashes" "1.3.2" -"@noble/hashes@1.3.3": - version "1.3.3" - resolved "https://registry.yarnpkg.com/@noble/hashes/-/hashes-1.3.3.tgz#39908da56a4adc270147bb07968bf3b16cfe1699" - integrity sha512-V7/fPHgl+jsVPXqqeOzT8egNj2iBIVt+ECeMMG8TdcnTikP3oaBtUVqpT/gYCR68aEBJSF+XbYUxStjbFMqIIA== +"@noble/curves@1.4.0", "@noble/curves@~1.4.0": + version "1.4.0" + resolved "https://registry.yarnpkg.com/@noble/curves/-/curves-1.4.0.tgz#f05771ef64da724997f69ee1261b2417a49522d6" + integrity sha512-p+4cb332SFCrReJkCYe8Xzm0OWi4Jji5jVdIZRL/PmacmDkFNw6MrrV+gGpiPxLHbV+zKFRywUWbaseT+tZRXg== + dependencies: + "@noble/hashes" "1.4.0" -"@noble/hashes@^1.3.3": +"@noble/hashes@1.3.2": + version "1.3.2" + resolved "https://registry.yarnpkg.com/@noble/hashes/-/hashes-1.3.2.tgz#6f26dbc8fbc7205873ce3cee2f690eba0d421b39" + integrity sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ== + +"@noble/hashes@1.4.0", "@noble/hashes@^1.3.1", "@noble/hashes@~1.4.0": version "1.4.0" resolved "https://registry.yarnpkg.com/@noble/hashes/-/hashes-1.4.0.tgz#45814aa329f30e4fe0ba49426f49dfccdd066426" integrity sha512-V1JJ1WTRUqHHrOSh597hURcMqVKVGL/ea3kv0gSnEdsEZ0/+VyPghM1lMNGc00z7CIQorSvbKpuJkxvuHbvdbg== +"@noble/hashes@~1.3.0", "@noble/hashes@~1.3.2": + version "1.3.3" + resolved "https://registry.yarnpkg.com/@noble/hashes/-/hashes-1.3.3.tgz#39908da56a4adc270147bb07968bf3b16cfe1699" + integrity sha512-V7/fPHgl+jsVPXqqeOzT8egNj2iBIVt+ECeMMG8TdcnTikP3oaBtUVqpT/gYCR68aEBJSF+XbYUxStjbFMqIIA== + "@nodelib/fs.scandir@2.1.5": version "2.1.5" resolved "https://registry.yarnpkg.com/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz#7619c2eb21b25483f6d167548b4cfd5a7488c3d5" @@ -2564,28 +2745,28 @@ resolved "https://registry.yarnpkg.com/@polka/url/-/url-1.0.0-next.24.tgz#58601079e11784d20f82d0585865bb42305c4df3" integrity sha512-2LuNTFBIO0m7kKIQvvPHN6UE63VjpmL9rnEEaOOaiSPbZK+zUOYIzBAWcED+3XYzhYsd/0mD57VdxAEqqV52CQ== -"@reef-knot/connect-wallet-modal@4.2.0": - version "4.2.0" - resolved "https://registry.yarnpkg.com/@reef-knot/connect-wallet-modal/-/connect-wallet-modal-4.2.0.tgz#a7fa2cf7b53f0daa30054025d23eb2b8d451c9fc" - integrity sha512-Lvrd7OvjoYDYXkB3MHiBqf5ZkP4sYEqgG+cmtlzAv4Mo7SbY/mQXY1GXpQzX+74NqiLRFm7aFJI3sgm0nZ2h0g== +"@reef-knot/connect-wallet-modal@5.0.0": + version "5.0.0" + resolved "https://registry.yarnpkg.com/@reef-knot/connect-wallet-modal/-/connect-wallet-modal-5.0.0.tgz#f25574e634650e2985cdf6e2dff71b5f7e7a9d0f" + integrity sha512-Keq1xg8GRNVvpCpsYSHxMwkFrF3zFY06E3Fke9kPQsdNWGZKaGmUd8Sn49QhdqsYWbTlWvNd2vpPxYDIGndDyg== dependencies: "@ledgerhq/hw-app-eth" "^6.35.2" "@ledgerhq/hw-transport" "^6.30.1" "@ledgerhq/hw-transport-webhid" "^6.28.1" "@lidofinance/lido-ui" "^3.18.0" - "@reef-knot/wallets-list" "^1.13.3" + "@reef-knot/wallets-list" "^2.0.0" "@types/react" "18.2.45" "@types/react-dom" "18.2.17" -"@reef-knot/core-react@3.2.0": - version "3.2.0" - resolved "https://registry.yarnpkg.com/@reef-knot/core-react/-/core-react-3.2.0.tgz#7ea7a9477602963aaaf1812b7d551dd39ead659d" - integrity sha512-JYUETjfYWcliFoxZmSSFhAF18Rf2ATyM6rT26nlO92wUhnncYFW1WaDyA5gHZneEnq6DOh+0WqwYCyjwCNASyA== +"@reef-knot/core-react@4.0.1": + version "4.0.1" + resolved "https://registry.yarnpkg.com/@reef-knot/core-react/-/core-react-4.0.1.tgz#fbdda4016563392921e367841f0bb35066efd4a9" + integrity sha512-hs+kMyY3knJvUfMrgXlEZaN01pVQ821hfDPZS4fF3/CDrKte7b2t8EHsodlfozcvH4lsq/4Zed9py8NkxnWUDQ== -"@reef-knot/ledger-connector@3.0.0": - version "3.0.0" - resolved "https://registry.yarnpkg.com/@reef-knot/ledger-connector/-/ledger-connector-3.0.0.tgz#518ed32e931917003febdbf3eedea6cdf7a3e0c3" - integrity sha512-H7UkWEBHLoA3xdPNP1Cjc59xOaR4TeIMApMg6C7Kvj4DWGlvYL+yKKsjNqAv7zpAKnM89K8VuH/IAhnpesRlBg== +"@reef-knot/ledger-connector@4.0.0": + version "4.0.0" + resolved "https://registry.yarnpkg.com/@reef-knot/ledger-connector/-/ledger-connector-4.0.0.tgz#51b3e4f0690cf762d6f88093c0b08d2b62f59398" + integrity sha512-vMU5IQCKwHzsLsjYq+dvrrqacUCCdBmKRcHh9ul79M+1X9jTxnOv8qlWiU7e6VdxcCS7pFiixmUMvp1Dl+LmHQ== dependencies: "@ethersproject/abstract-signer" "^5.7.0" "@ethersproject/address" "^5.7.0" @@ -2604,168 +2785,199 @@ "@web3-react/types" "^6.0.7" tiny-invariant "^1.2.0" -"@reef-knot/types@1.8.0": - version "1.8.0" - resolved "https://registry.yarnpkg.com/@reef-knot/types/-/types-1.8.0.tgz#3efee571defc39d774752de66337b549795260d0" - integrity sha512-tiDsAUpDm5grLQ8AFECuDFbYoX05YHNDED9KWuO0IJGXq+cE2Wm76Sm37hsKztdhAd8bI4v9uekxHU8Gv64VSQ== +"@reef-knot/types@2.0.0": + version "2.0.0" + resolved "https://registry.yarnpkg.com/@reef-knot/types/-/types-2.0.0.tgz#bdd1c01df3a1f5444f70e1d5ddba03023ee7a003" + integrity sha512-EjNu6mrXn85Qn7MS+S5mbWaoJYq2zfuZEaq/iCc9JtdXyMhQc493hCSWWEt9kZdu/dKZuoht+8WvTkO7MF8CiA== -"@reef-knot/ui-react@1.1.0": - version "1.1.0" - resolved "https://registry.yarnpkg.com/@reef-knot/ui-react/-/ui-react-1.1.0.tgz#55b3e648fb935791f03a2c4e5ef6da73f3ceedcf" - integrity sha512-2AVKKI6LahCjvNBeKbNlrZbcEdqc3QY/0YRZb4Dg6GkkM8A/QDkD/PivDkCWiagKrxDfFR9XuUGO7lM0QJyKsw== +"@reef-knot/ui-react@2.0.0": + version "2.0.0" + resolved "https://registry.yarnpkg.com/@reef-knot/ui-react/-/ui-react-2.0.0.tgz#0d3ab991e17d4af24d275524ec80a7367bbb83b4" + integrity sha512-G9h9C+/p2Vz0oZcIypS2TUjEg/PMKg0HLFyITs7N5K4QNDhd3EGsXYzo/EzDRHbBFupJBq9yQ/vbup54gQ8r0g== dependencies: react-transition-group "4" use-callback-ref "1.2.5" -"@reef-knot/wallet-adapter-ambire@1.3.1": - version "1.3.1" - resolved "https://registry.yarnpkg.com/@reef-knot/wallet-adapter-ambire/-/wallet-adapter-ambire-1.3.1.tgz#d5c41afc684df6fb49dfbe2aac17030b39b4d032" - integrity sha512-SX0fGJUTbUaXDtEfUDiuXA3OShcYL8x3iq8mBry+j2z5Gn9YTHwH5MHuOwEQ0d8xfg5XtdH4xNKvE3GlOSZMeA== +"@reef-knot/wallet-adapter-ambire@2.0.0": + version "2.0.0" + resolved "https://registry.yarnpkg.com/@reef-knot/wallet-adapter-ambire/-/wallet-adapter-ambire-2.0.0.tgz#c9a0d01a13a9346ac9ad3e428d1c99c592009152" + integrity sha512-jQOtzSkD6Ae1IR0j2avfxpWlLsvqrguHV+qh8pLaV0bmJH95xnz2p4NRZ4dkKT0GH5tcLEl151Ho/lyyr9ZzYA== -"@reef-knot/wallet-adapter-bitkeep@1.3.0": - version "1.3.0" - resolved "https://registry.yarnpkg.com/@reef-knot/wallet-adapter-bitkeep/-/wallet-adapter-bitkeep-1.3.0.tgz#7cd3dac78afb29b8f390e5dd6b425213ad96dc55" - integrity sha512-/M+Lw/jW+DWXVPkml7DaGXHp2af+z/dHmQ+ts9RUufnHN3cjZmmUNC1aqiuyF3adhozFllShY7RjjtVwpDqAKA== +"@reef-knot/wallet-adapter-bitkeep@2.0.0": + version "2.0.0" + resolved "https://registry.yarnpkg.com/@reef-knot/wallet-adapter-bitkeep/-/wallet-adapter-bitkeep-2.0.0.tgz#f4becb75b72b17ce09e62057202db4b6ec3f5984" + integrity sha512-6+BAifIbTAC7g4y8qoTB82p6HBOU79JQacSVDaoWlxVvLxwQqdHw7JFv/T555/a47//fnPEwoZVZpk0hdqq1Cw== -"@reef-knot/wallet-adapter-brave@1.1.0": - version "1.1.0" - resolved "https://registry.yarnpkg.com/@reef-knot/wallet-adapter-brave/-/wallet-adapter-brave-1.1.0.tgz#b10a8cc3444cf4a82196fd76c9630e19611f1201" - integrity sha512-OBCXPE0RMMDKkUJOpLJ8QPVWDjkPn4HM1yYSouBtB+1Hi0HIh1/EiUimJGwWANtFQ6kf9OSlUFW2+sIzJ/ARPQ== +"@reef-knot/wallet-adapter-brave@2.0.0": + version "2.0.0" + resolved "https://registry.yarnpkg.com/@reef-knot/wallet-adapter-brave/-/wallet-adapter-brave-2.0.0.tgz#aeed11213a4fecc04e1a9fb9ae07eb5d2b73c00b" + integrity sha512-pt9r/b6u4qLfYSDMMiu8lBgEwy9EfteUlXOtiigwmtWOT1SHN60NoHNHAbl3PcRpuHMzdd1sqKcORIou6yxsjw== -"@reef-knot/wallet-adapter-browser-extension@1.1.0": - version "1.1.0" - resolved "https://registry.yarnpkg.com/@reef-knot/wallet-adapter-browser-extension/-/wallet-adapter-browser-extension-1.1.0.tgz#fa6151a75b10fd5000b4e82c55c64069a8568eb4" - integrity sha512-rbrGdvinPhKhLjtHpVEX3oEcJcqSAANwapszH4+ttTBu1A+Pkp0f2Isaj1beSs2BN/1uyfsxLArMuB2IvQtsZg== +"@reef-knot/wallet-adapter-browser-extension@2.0.0": + version "2.0.0" + resolved "https://registry.yarnpkg.com/@reef-knot/wallet-adapter-browser-extension/-/wallet-adapter-browser-extension-2.0.0.tgz#3267366c5ebfc64dde0eb3d604859b9d46269df9" + integrity sha512-x0bZYCFcKodHNmJufsbzqPUa0OSe8LIgUXkqebnVJ5eFcZXuJ0W/4dXupLnVffYrgheRHiCJ++mSpS+9lMWdwg== -"@reef-knot/wallet-adapter-coin98@1.2.0": - version "1.2.0" - resolved "https://registry.yarnpkg.com/@reef-knot/wallet-adapter-coin98/-/wallet-adapter-coin98-1.2.0.tgz#778c110717fdfa905c9b8a859d54fd0af5b55a32" - integrity sha512-dH6UXVrXJsibsXYkayYNteXF1z5Rnyb5TlJLm0jFw4d+sAUbdakn25F7G885U1Gj1RF2tDQ4euKRPS4TvtgzLQ== +"@reef-knot/wallet-adapter-coin98@2.0.0": + version "2.0.0" + resolved "https://registry.yarnpkg.com/@reef-knot/wallet-adapter-coin98/-/wallet-adapter-coin98-2.0.0.tgz#a36085c606791cfcc7f4a6cd37653fd10ecdfbe9" + integrity sha512-ylkp4gZVke+BqIyOrS7StnMQpHTSEdk4wIfCh2glcm/jGWzmnVzVxnbG0vxop/breHVHSH+kRrS6xODblTLr1Q== -"@reef-knot/wallet-adapter-coinbase@1.1.0": - version "1.1.0" - resolved "https://registry.yarnpkg.com/@reef-knot/wallet-adapter-coinbase/-/wallet-adapter-coinbase-1.1.0.tgz#fd071da727964c8bb7ba036b2f9f5cd049f82b2e" - integrity sha512-knUZVjEP+Nnh6U2Ojv3OC+OooITjzL+huMmoGatvRHP0TE1AutaXO8IecJU+z8+se8QiO6M3GoM83AZhtrOgGw== +"@reef-knot/wallet-adapter-coinbase@2.0.0": + version "2.0.0" + resolved "https://registry.yarnpkg.com/@reef-knot/wallet-adapter-coinbase/-/wallet-adapter-coinbase-2.0.0.tgz#715ea14dcbd20cc4155d792b50c67ac20d5af65a" + integrity sha512-0/VKWQFyKbYq+OtZD7ndYO84fvD4VU6vs9SA8ohRQhHArb0JKGJYTd390EkL9hOPaTTszvRSwuRrJ4f5/7lgdQ== -"@reef-knot/wallet-adapter-dapp-browser-injected@1.1.1": - version "1.1.1" - resolved "https://registry.yarnpkg.com/@reef-knot/wallet-adapter-dapp-browser-injected/-/wallet-adapter-dapp-browser-injected-1.1.1.tgz#9f05be304d1236e95f4195f40ca9d08421ebee66" - integrity sha512-bJ1mtFQB2D8q+fy4gs4RuBGIp7JtLaWImtpWUVDp0lyGatPOgPat7jo4c9p6tOvP1IksDWTFLNAPg/UuRstAOQ== +"@reef-knot/wallet-adapter-dapp-browser-injected@2.0.0": + version "2.0.0" + resolved "https://registry.yarnpkg.com/@reef-knot/wallet-adapter-dapp-browser-injected/-/wallet-adapter-dapp-browser-injected-2.0.0.tgz#1ebd9be3d8f6a2f390be7a4eb9e32022c75a0ab6" + integrity sha512-Vg/ngCtf6p5hcsg0WcfrDpY6sLYMnNcr5TMlPSANMreswXsRXiU4K6Crg/W3dwQmTp9Q/RUrJheHW0gXRaU0eg== -"@reef-knot/wallet-adapter-exodus@1.3.0": - version "1.3.0" - resolved "https://registry.yarnpkg.com/@reef-knot/wallet-adapter-exodus/-/wallet-adapter-exodus-1.3.0.tgz#6d68836988d92dbe2953444bfb2ba3f1e9a8466b" - integrity sha512-ofm06YBg7oa7bpeTPbnwaqa5TZaiOkkyyLpQ3iGZW74YYnKZhgZdGplXTRadLWcBLIcC8V8PcyGOGfX0HM6l6Q== +"@reef-knot/wallet-adapter-exodus@2.0.0": + version "2.0.0" + resolved "https://registry.yarnpkg.com/@reef-knot/wallet-adapter-exodus/-/wallet-adapter-exodus-2.0.0.tgz#cc4b24eefd23f14f571e2a4d157eff88e249ca25" + integrity sha512-Oz/LHG1YtwoOa+w6Fz3qyKvlHpb0sIsw4KzdyACLZNo6duIAI6CbHm32Fjwbv0lkd0r+KS5zh9lKGkMht8vK2g== -"@reef-knot/wallet-adapter-imtoken@1.2.0": - version "1.2.0" - resolved "https://registry.yarnpkg.com/@reef-knot/wallet-adapter-imtoken/-/wallet-adapter-imtoken-1.2.0.tgz#a9c677049994da16e570b7b82b8b38aaeec0077b" - integrity sha512-4Dd3ykWwwV8piQEfaFvsTdQKuiFx52gdlGQZrnA5dpl/9k5JbeDzUGiKgvGFgoQrx0Rxt7Pduvbpb3N09AXUow== +"@reef-knot/wallet-adapter-imtoken@2.0.0": + version "2.0.0" + resolved "https://registry.yarnpkg.com/@reef-knot/wallet-adapter-imtoken/-/wallet-adapter-imtoken-2.0.0.tgz#bd5ab217d3f126a425c46716b2d26b7aaf3808a5" + integrity sha512-UAJlHMwLeYNqj17ZG3LewVMvJKWHEKUIm0uw3A7I3GQkF8/M5lPwpNJ+inuoMESLWO/BID24ZaoYoWdGgpJNVw== -"@reef-knot/wallet-adapter-ledger-hid@2.1.0": - version "2.1.0" - resolved "https://registry.yarnpkg.com/@reef-knot/wallet-adapter-ledger-hid/-/wallet-adapter-ledger-hid-2.1.0.tgz#dd30ba10a5f1ad6162f2533d05dc878757646985" - integrity sha512-6foKJ8GgaIR3yQRGUtBk8Tytd5MUbiYTgPCIt8farhOSh22+XQu6c0IYt8RnUQaFPjP8SsSKpXA8Gcb2e5kXeg== +"@reef-knot/wallet-adapter-ledger-hid@3.0.0": + version "3.0.0" + resolved "https://registry.yarnpkg.com/@reef-knot/wallet-adapter-ledger-hid/-/wallet-adapter-ledger-hid-3.0.0.tgz#10d71eeaa5a0663c3b16b6ab23d9b7a09c81b158" + integrity sha512-V5osBBDwQnGnmxabXZBF84RYkFrPi2GQdIQvKnvLhan4VvOR9VUTPY8PGwLMuFr4VyDX4T37LU+XLq2dms2Pqw== -"@reef-knot/wallet-adapter-ledger-live@2.1.0": - version "2.1.0" - resolved "https://registry.yarnpkg.com/@reef-knot/wallet-adapter-ledger-live/-/wallet-adapter-ledger-live-2.1.0.tgz#afceba1743479aa04c7a1dca05aa89b93e55e912" - integrity sha512-at2eA/5jvzO3FvZK2Sbrg1sOM4xiphKNfd8kTcb9kixqKLw1SJ8jEwigPC37xWURF0X8fUprz/whZaQ+MQSpFg== +"@reef-knot/wallet-adapter-ledger-live@3.0.0": + version "3.0.0" + resolved "https://registry.yarnpkg.com/@reef-knot/wallet-adapter-ledger-live/-/wallet-adapter-ledger-live-3.0.0.tgz#9fcfb1a2039e0aa98b927bd363084a5435066c23" + integrity sha512-jE1yP3mBLLr5BW4fn8hVp5jfgfL1crVnCsg/xfDFL4h923JgF4IqPHC2/ubs7jBjyVfk3GVsm2nj0g5ivCqJxg== -"@reef-knot/wallet-adapter-metamask@1.2.0": - version "1.2.0" - resolved "https://registry.yarnpkg.com/@reef-knot/wallet-adapter-metamask/-/wallet-adapter-metamask-1.2.0.tgz#b4f4409f17540de6163f3bb2672d47a9025b54fe" - integrity sha512-BfKwSmXX/+kPWggRRnKy+P46qtX9V5945YI6q7glF56ThpFvzPWjalp/vy62rfFWfpDwiWa8/c3D1hWZEecCcA== +"@reef-knot/wallet-adapter-metamask@2.0.0": + version "2.0.0" + resolved "https://registry.yarnpkg.com/@reef-knot/wallet-adapter-metamask/-/wallet-adapter-metamask-2.0.0.tgz#06995cd8fc1090f786c1d126fa39d1edf8f171a2" + integrity sha512-LOl1Q/8q11gue5VQHiPrxKyM/H5BL+W8yIzjQyQ6lmM4q84gsm7utyNL8uE1VycEtXE3+9XgUgmC8ZQuMHn+Bg== -"@reef-knot/wallet-adapter-okx@1.5.0": - version "1.5.0" - resolved "https://registry.yarnpkg.com/@reef-knot/wallet-adapter-okx/-/wallet-adapter-okx-1.5.0.tgz#1a8f4862623ece19b68694d8c10d4a6e7c2119b8" - integrity sha512-sQZAhoriLPWeUmWoTyS4nuDBA5KKmZ/G+KqQjKKDkduAXuw44bDKvTQe1wQ24T78MHP8jnCKOGl0LqgyemPt8w== +"@reef-knot/wallet-adapter-okx@2.0.0": + version "2.0.0" + resolved "https://registry.yarnpkg.com/@reef-knot/wallet-adapter-okx/-/wallet-adapter-okx-2.0.0.tgz#5eb94fe3b4bcce8761cacfddc37643078c706d35" + integrity sha512-WndX3wuQjFwlns6mUrRRUvfSz9A4f4R6UW+n9NRV5Txuc23EHPxGqAIi7ORmU9zSNiuPZUtXzq8ofT7NrquP6Q== -"@reef-knot/wallet-adapter-safe@1.2.0": - version "1.2.0" - resolved "https://registry.yarnpkg.com/@reef-knot/wallet-adapter-safe/-/wallet-adapter-safe-1.2.0.tgz#da30ce7377e55247daa51fd1547850a3d04d7ede" - integrity sha512-klrRBq2CTBpbHNjh76YveFqFp8ZmXz9u5mhZi63XJgYPXioAHiMpGIyWczbCraCWigB+boCqL8+QB9W3pIbHmQ== +"@reef-knot/wallet-adapter-safe@2.0.0": + version "2.0.0" + resolved "https://registry.yarnpkg.com/@reef-knot/wallet-adapter-safe/-/wallet-adapter-safe-2.0.0.tgz#9d853b231e22d2aad62b509a59fe00233f959d68" + integrity sha512-E3IDqAUgZ1yiVOVjBDR0XVl4v1S7yo65r57Urvll5CMsgqoAYvc58fJwArxRuZLknnlsTAmTd95PMVcPIZwQRg== -"@reef-knot/wallet-adapter-trust@1.2.0": - version "1.2.0" - resolved "https://registry.yarnpkg.com/@reef-knot/wallet-adapter-trust/-/wallet-adapter-trust-1.2.0.tgz#c8a3a3f076e6080f3793b4ac393fed0e791a5137" - integrity sha512-YrWJZIvpClk6MxN3ZtpUm7CQX+t8XlQbx4/wOdwrrtk/QUG5Q/h8GCDT8cTMSexDcmetzSTCLrhKTFuaF9+Vtg== +"@reef-knot/wallet-adapter-trust@2.0.0": + version "2.0.0" + resolved "https://registry.yarnpkg.com/@reef-knot/wallet-adapter-trust/-/wallet-adapter-trust-2.0.0.tgz#b3d803013b4d1ec70ccb67d405355e3b5b1cbb70" + integrity sha512-u/feYJo37Ejd6c1kEub8+oJxi7HCAvSHBp7ybQEZXEecVaZFS3tV8qDTFuW7vlplLvcT9jAaJLxmWQJLzqddng== -"@reef-knot/wallet-adapter-walletconnect@1.3.1": - version "1.3.1" - resolved "https://registry.yarnpkg.com/@reef-knot/wallet-adapter-walletconnect/-/wallet-adapter-walletconnect-1.3.1.tgz#b700c77a255e23bc1d9d5b93ad4fbf8ae2a13165" - integrity sha512-q9rjbo7CCzhQe2hC4Vi6gsc3aTLUezr6/F9KEkbtHshsrW6MYSRwaCvzkHyliNszfIQdPb8K5Qy2hNagZlQOnA== +"@reef-knot/wallet-adapter-walletconnect@2.0.0": + version "2.0.0" + resolved "https://registry.yarnpkg.com/@reef-knot/wallet-adapter-walletconnect/-/wallet-adapter-walletconnect-2.0.0.tgz#861fb2e479e17fd74459663218d236890900e948" + integrity sha512-1P17IwmVxShLvkYfNMzRm6uMHsmZHbFIDNu7fr1SXIUlMnEPuFDLWcxtM/bh45FznY77yskIguZqxMqKGVEKnw== -"@reef-knot/wallet-adapter-xdefi@1.1.0": - version "1.1.0" - resolved "https://registry.yarnpkg.com/@reef-knot/wallet-adapter-xdefi/-/wallet-adapter-xdefi-1.1.0.tgz#2b42cf4740afee5cbb189e83a7134a4f48ec88fe" - integrity sha512-PzZ1a1DfbdoVvxD3c8fHIhIg1UZ/vNT8SeG3yiIgWA+l0PQfbOH/Ky/dEzcDY2RJ6asOuUivJkmnZzUi+IjbYA== +"@reef-knot/wallet-adapter-xdefi@2.0.0": + version "2.0.0" + resolved "https://registry.yarnpkg.com/@reef-knot/wallet-adapter-xdefi/-/wallet-adapter-xdefi-2.0.0.tgz#1db5f7d396576e9555e950af01778a1dbb11fda4" + integrity sha512-wT2Nkn6EnB1/vhRrMvbxtEc0T/UPpOAn03PXh5WrgE+I+xzp1w9a0J+kR+/4zdRhPsePohbU9NTZP4EEkbZMjw== -"@reef-knot/wallets-helpers@1.1.6": - version "1.1.6" - resolved "https://registry.yarnpkg.com/@reef-knot/wallets-helpers/-/wallets-helpers-1.1.6.tgz#1262812e33131fd994f53ae8d64fd3ce6c23449e" - integrity sha512-ZhEnqXkafq4t4bPmc2oCUhJKLLfQ2Qb0yL07sMhDlLtK4srSWeXcEZDVnLwxTuVXWn0zW9CIlAot3H6LJTBNcA== - -"@reef-knot/wallets-list@1.13.3", "@reef-knot/wallets-list@^1.13.3": - version "1.13.3" - resolved "https://registry.yarnpkg.com/@reef-knot/wallets-list/-/wallets-list-1.13.3.tgz#a985b91a651f18c43fad240277347f9c56bc0267" - integrity sha512-xZkOj2p8v9wRgavIx5bE8lQ2S6knOi8cAN2+3vtHf7eXtDuxCXg0la+uDXeu+TkttSQlXWKbxplGkzoqOJ0jxg== - dependencies: - "@reef-knot/wallet-adapter-ambire" "1.3.1" - "@reef-knot/wallet-adapter-bitkeep" "1.3.0" - "@reef-knot/wallet-adapter-brave" "1.1.0" - "@reef-knot/wallet-adapter-browser-extension" "1.1.0" - "@reef-knot/wallet-adapter-coin98" "1.2.0" - "@reef-knot/wallet-adapter-coinbase" "1.1.0" - "@reef-knot/wallet-adapter-dapp-browser-injected" "1.1.1" - "@reef-knot/wallet-adapter-exodus" "1.3.0" - "@reef-knot/wallet-adapter-imtoken" "1.2.0" - "@reef-knot/wallet-adapter-ledger-hid" "2.1.0" - "@reef-knot/wallet-adapter-ledger-live" "2.1.0" - "@reef-knot/wallet-adapter-metamask" "1.2.0" - "@reef-knot/wallet-adapter-okx" "1.5.0" - "@reef-knot/wallet-adapter-safe" "1.2.0" - "@reef-knot/wallet-adapter-trust" "1.2.0" - "@reef-knot/wallet-adapter-walletconnect" "1.3.1" - "@reef-knot/wallet-adapter-xdefi" "1.1.0" - -"@reef-knot/web3-react@3.0.1": - version "3.0.1" - resolved "https://registry.yarnpkg.com/@reef-knot/web3-react/-/web3-react-3.0.1.tgz#1ecdc7a05904ef674ccad7bf414c67acf394f5df" - integrity sha512-O2jEVYiQqLZCajNnWTGURaCRTTuA79QIDNRdM/N96nnWHGzKwYiUQjBp6UORH60vKrNYZcz69jjM9IkmHizUUQ== +"@reef-knot/wallets-helpers@2.0.0": + version "2.0.0" + resolved "https://registry.yarnpkg.com/@reef-knot/wallets-helpers/-/wallets-helpers-2.0.0.tgz#ffbc4f2668c156c59c7dd1d084c9b73328eed801" + integrity sha512-aYK0rurZTd+AzufOeULapPOdg0nxq7WOaOyVE7V7guZz6dR7yvAkr90SA8YqnJO6WjV2qUPjx3Q2Bq9CEqIcoQ== + +"@reef-knot/wallets-list@2.0.0", "@reef-knot/wallets-list@^2.0.0": + version "2.0.0" + resolved "https://registry.yarnpkg.com/@reef-knot/wallets-list/-/wallets-list-2.0.0.tgz#ca550f93b2faedd61009421f1d9d4d03bfa5aa29" + integrity sha512-1hHu1L23qyn1vy1FMFF9Ti6IRyMm6b6mi5oivUMe277kHfBu11Dj+7yvCsp8v6tFpKDzsGQ8nxTJCkTgM9dyRQ== + dependencies: + "@reef-knot/wallet-adapter-ambire" "2.0.0" + "@reef-knot/wallet-adapter-bitkeep" "2.0.0" + "@reef-knot/wallet-adapter-brave" "2.0.0" + "@reef-knot/wallet-adapter-browser-extension" "2.0.0" + "@reef-knot/wallet-adapter-coin98" "2.0.0" + "@reef-knot/wallet-adapter-coinbase" "2.0.0" + "@reef-knot/wallet-adapter-dapp-browser-injected" "2.0.0" + "@reef-knot/wallet-adapter-exodus" "2.0.0" + "@reef-knot/wallet-adapter-imtoken" "2.0.0" + "@reef-knot/wallet-adapter-ledger-hid" "3.0.0" + "@reef-knot/wallet-adapter-ledger-live" "3.0.0" + "@reef-knot/wallet-adapter-metamask" "2.0.0" + "@reef-knot/wallet-adapter-okx" "2.0.0" + "@reef-knot/wallet-adapter-safe" "2.0.0" + "@reef-knot/wallet-adapter-trust" "2.0.0" + "@reef-knot/wallet-adapter-walletconnect" "2.0.0" + "@reef-knot/wallet-adapter-xdefi" "2.0.0" + +"@reef-knot/web3-react@4.0.0": + version "4.0.0" + resolved "https://registry.yarnpkg.com/@reef-knot/web3-react/-/web3-react-4.0.0.tgz#ba746c25782a7484271c5b9d38dc4dbfea38e7d5" + integrity sha512-00d3WXie0gk8pNYNUikg3iWDCCS2cmfXBxJqQx+KkTUt9JJWKd8X53c0ACaZ/rCi3MhZhH4nwixriyeq/mIJDQ== dependencies: tiny-invariant "^1.1.0" -"@safe-global/safe-apps-provider@^0.15.2": - version "0.15.2" - resolved "https://registry.yarnpkg.com/@safe-global/safe-apps-provider/-/safe-apps-provider-0.15.2.tgz#fa5c30140134e72bb969da76b80a16c545323e3a" - integrity sha512-BaoGAuY7h6jLBL7P+M6b7hd+1QfTv8uMyNF3udhiNUwA0XwfzH2ePQB13IEV3Mn7wdcIMEEUDS5kHbtAsj60qQ== +"@safe-global/safe-apps-provider@0.18.1": + version "0.18.1" + resolved "https://registry.yarnpkg.com/@safe-global/safe-apps-provider/-/safe-apps-provider-0.18.1.tgz#287b5a1e2ef3be630dacde54279409df3ced8202" + integrity sha512-V4a05A3EgJcriqtDoJklDz1BOinWhC6P0hjUSxshA4KOZM7rGPCTto/usXs09zr1vvL28evl/NldSTv97j2bmg== dependencies: - "@safe-global/safe-apps-sdk" "7.9.0" + "@safe-global/safe-apps-sdk" "^8.1.0" events "^3.3.0" -"@safe-global/safe-apps-sdk@7.9.0": - version "7.9.0" - resolved "https://registry.yarnpkg.com/@safe-global/safe-apps-sdk/-/safe-apps-sdk-7.9.0.tgz#0c79a7760470bfdaf4cce9aa5bceef56898c7037" - integrity sha512-S2EI+JL8ocSgE3uGNaDZCzKmwfhtxXZFDUP76vN0FeaY35itFMyi8F0Vhxu0XnZm3yLzJE3tp5px6GhuQFLU6w== - dependencies: - "@safe-global/safe-gateway-typescript-sdk" "^3.5.3" - ethers "^5.7.2" - -"@safe-global/safe-apps-sdk@^7.9.0": - version "7.11.0" - resolved "https://registry.yarnpkg.com/@safe-global/safe-apps-sdk/-/safe-apps-sdk-7.11.0.tgz#2cbc164fb70141cdf4d3331ff222cd98a2529316" - integrity sha512-RDamzPM1Lhhiiz0O+Dn6FkFqIh47jmZX+HCV/BBnBBOSKfBJE//IGD3+02zMgojXHTikQAburdPes9qmH1SA1A== +"@safe-global/safe-apps-sdk@8.1.0", "@safe-global/safe-apps-sdk@^8.1.0": + version "8.1.0" + resolved "https://registry.yarnpkg.com/@safe-global/safe-apps-sdk/-/safe-apps-sdk-8.1.0.tgz#d1d0c69cd2bf4eef8a79c5d677d16971926aa64a" + integrity sha512-XJbEPuaVc7b9n23MqlF6c+ToYIS3f7P2Sel8f3cSBQ9WORE4xrSuvhMpK9fDSFqJ7by/brc+rmJR/5HViRr0/w== dependencies: "@safe-global/safe-gateway-typescript-sdk" "^3.5.3" - ethers "^5.7.2" + viem "^1.0.0" "@safe-global/safe-gateway-typescript-sdk@^3.5.3": version "3.14.0" resolved "https://registry.yarnpkg.com/@safe-global/safe-gateway-typescript-sdk/-/safe-gateway-typescript-sdk-3.14.0.tgz#9581c524c1ea4956555f40761eb6b4007392aa82" integrity sha512-/dqU66RvHw50n+7x3nwnJedq8V6iLQyoWitNdjx5cFTBmae+rpP+LvHq+LqZfXJVkB1qNytMdjFjdyES0t79gQ== +"@scure/base@^1.1.3", "@scure/base@~1.1.0", "@scure/base@~1.1.2", "@scure/base@~1.1.6": + version "1.1.7" + resolved "https://registry.yarnpkg.com/@scure/base/-/base-1.1.7.tgz#fe973311a5c6267846aa131bc72e96c5d40d2b30" + integrity sha512-PPNYBslrLNNUQ/Yad37MHYsNQtK67EhWb6WtSvNLLPo7SdVZgkUjD6Dg+5On7zNwmskf8OX7I7Nx5oN+MIWE0g== + +"@scure/bip32@1.3.2": + version "1.3.2" + resolved "https://registry.yarnpkg.com/@scure/bip32/-/bip32-1.3.2.tgz#90e78c027d5e30f0b22c1f8d50ff12f3fb7559f8" + integrity sha512-N1ZhksgwD3OBlwTv3R6KFEcPojl/W4ElJOeCZdi+vuI5QmTFwLq3OFf2zd2ROpKvxFdgZ6hUpb0dx9bVNEwYCA== + dependencies: + "@noble/curves" "~1.2.0" + "@noble/hashes" "~1.3.2" + "@scure/base" "~1.1.2" + +"@scure/bip32@1.4.0": + version "1.4.0" + resolved "https://registry.yarnpkg.com/@scure/bip32/-/bip32-1.4.0.tgz#4e1f1e196abedcef395b33b9674a042524e20d67" + integrity sha512-sVUpc0Vq3tXCkDGYVWGIZTRfnvu8LoTDaev7vbwh0omSvVORONr960MQWdKqJDCReIEmTj3PAr73O3aoxz7OPg== + dependencies: + "@noble/curves" "~1.4.0" + "@noble/hashes" "~1.4.0" + "@scure/base" "~1.1.6" + +"@scure/bip39@1.2.1": + version "1.2.1" + resolved "https://registry.yarnpkg.com/@scure/bip39/-/bip39-1.2.1.tgz#5cee8978656b272a917b7871c981e0541ad6ac2a" + integrity sha512-Z3/Fsz1yr904dduJD0NpiyRHhRYHdcnyh73FZWiV+/qhWi83wNJ3NWolYqCEN+ZWsUz2TWwajJggcRE9r1zUYg== + dependencies: + "@noble/hashes" "~1.3.0" + "@scure/base" "~1.1.0" + +"@scure/bip39@1.3.0": + version "1.3.0" + resolved "https://registry.yarnpkg.com/@scure/bip39/-/bip39-1.3.0.tgz#0f258c16823ddd00739461ac31398b4e7d6a18c3" + integrity sha512-disdg7gHuTDZtY+ZdkmLpPCk7fxZSu3gBiEGuoC1XYxv9cGx3Z6cpTggCgW6odSOOIXCiDjuGejW+aJKCY/pIQ== + dependencies: + "@noble/hashes" "~1.4.0" + "@scure/base" "~1.1.6" + "@sinclair/typebox@^0.24.1": version "0.24.51" resolved "https://registry.yarnpkg.com/@sinclair/typebox/-/typebox-0.24.51.tgz#645f33fe4e02defe26f2f5c0410e1c094eac7f5f" @@ -2790,33 +3002,10 @@ dependencies: "@sinonjs/commons" "^3.0.0" -"@solana/buffer-layout@^4.0.1": - version "4.0.1" - resolved "https://registry.yarnpkg.com/@solana/buffer-layout/-/buffer-layout-4.0.1.tgz#b996235eaec15b1e0b5092a8ed6028df77fa6c15" - integrity sha512-E1ImOIAD1tBZFRdjeM4/pzTiTApC0AOBGwyAMS4fwIodCWArzJ3DWdoh8cKxeFM2fElkxBh2Aqts1BPC373rHA== - dependencies: - buffer "~6.0.3" - -"@solana/web3.js@^1.70.1": - version "1.91.6" - resolved "https://registry.yarnpkg.com/@solana/web3.js/-/web3.js-1.91.6.tgz#c090661c344cbc61e6cdeb0da67d3ea80d5848e1" - integrity sha512-dm20nN6HQvXToo+kM51nxHdtaa2wMSRdeK37p+WIWESfeiVHqV8XbV4XnWupq6ngt5vIckhGFG7ZnTBxUgLzDA== - dependencies: - "@babel/runtime" "^7.23.4" - "@noble/curves" "^1.2.0" - "@noble/hashes" "^1.3.3" - "@solana/buffer-layout" "^4.0.1" - agentkeepalive "^4.5.0" - bigint-buffer "^1.1.5" - bn.js "^5.2.1" - borsh "^0.7.0" - bs58 "^4.0.1" - buffer "6.0.3" - fast-stable-stringify "^1.0.0" - jayson "^4.1.0" - node-fetch "^2.7.0" - rpc-websockets "^7.5.1" - superstruct "^0.14.2" +"@socket.io/component-emitter@~3.1.0": + version "3.1.2" + resolved "https://registry.yarnpkg.com/@socket.io/component-emitter/-/component-emitter-3.1.2.tgz#821f8442f4175d8f0467b9daf26e3a18e2d02af2" + integrity sha512-9BCxFwvbGg/RsZK9tjXd8s4UcwR0MWeFQ1XEKIQVVvAGJyINdrqKMcTRyLoK8Rse1GjzLV9cwjWV1olXRWEXVA== "@stablelib/aead@^1.0.1": version "1.0.1" @@ -2912,7 +3101,7 @@ "@stablelib/constant-time" "^1.0.1" "@stablelib/wipe" "^1.0.1" -"@stablelib/random@^1.0.1", "@stablelib/random@^1.0.2": +"@stablelib/random@1.0.2", "@stablelib/random@^1.0.1", "@stablelib/random@^1.0.2": version "1.0.2" resolved "https://registry.yarnpkg.com/@stablelib/random/-/random-1.0.2.tgz#2dece393636489bf7e19c51229dd7900eddf742c" integrity sha512-rIsE83Xpb7clHPVRlBj8qNe5L8ISQOzjghYQm/dZ7VaM2KHYwMW5adjQjrzTZCchFnNCNhkwtnOBa9HTMJCI8w== @@ -2943,7 +3132,7 @@ resolved "https://registry.yarnpkg.com/@stablelib/wipe/-/wipe-1.0.1.tgz#d21401f1d59ade56a62e139462a97f104ed19a36" integrity sha512-WfqfX/eXGiAd3RJe4VU2snh/ZPwtSjLG4ynQ/vYzvghTh7dHFcI1wl+nrkWG6lGhukOxOsUHfv8dUXr58D0ayg== -"@stablelib/x25519@^1.0.3": +"@stablelib/x25519@1.0.3": version "1.0.3" resolved "https://registry.yarnpkg.com/@stablelib/x25519/-/x25519-1.0.3.tgz#13c8174f774ea9f3e5e42213cbf9fc68a3c7b7fd" integrity sha512-KnTbKmUhPhHavzobclVJQG5kuivH+qDLpe84iRqX3CLrKp881cF160JvXJ+hjn1aMyCwYOKeIZefIH/P5cJoRw== @@ -3164,39 +3353,17 @@ dependencies: tslib "^2.4.0" -"@tanstack/query-core@4.36.1": - version "4.36.1" - resolved "https://registry.yarnpkg.com/@tanstack/query-core/-/query-core-4.36.1.tgz#79f8c1a539d47c83104210be2388813a7af2e524" - integrity sha512-DJSilV5+ytBP1FbFcEJovv4rnnm/CokuVvrBEtW/Va9DvuJ3HksbXUJEpI0aV1KtuL4ZoO9AVE6PyNLzF7tLeA== - -"@tanstack/query-persist-client-core@4.36.1": - version "4.36.1" - resolved "https://registry.yarnpkg.com/@tanstack/query-persist-client-core/-/query-persist-client-core-4.36.1.tgz#4d7284994bdc2a15fe6cbe7161be21e03033fe12" - integrity sha512-eocgCeI7D7TRv1IUUBMfVwOI0wdSmMkBIbkKhqEdTrnUHUQEeOaYac8oeZk2cumAWJdycu6P/wB+WqGynTnzXg== - dependencies: - "@tanstack/query-core" "4.36.1" - -"@tanstack/query-sync-storage-persister@^4.27.1": - version "4.36.1" - resolved "https://registry.yarnpkg.com/@tanstack/query-sync-storage-persister/-/query-sync-storage-persister-4.36.1.tgz#bf5d800d54416bc88f150792a53e25ed8aa8769f" - integrity sha512-yMEt5hWe2+1eclf1agMtXHnPIkxEida0lYWkfdhR8U6KXk/lO4Vca6piJmhKI85t0NHlx3l/z6zX+t/Fn5O9NA== - dependencies: - "@tanstack/query-persist-client-core" "4.36.1" - -"@tanstack/react-query-persist-client@^4.28.0": - version "4.36.1" - resolved "https://registry.yarnpkg.com/@tanstack/react-query-persist-client/-/react-query-persist-client-4.36.1.tgz#d96fa44cdc661534379623423da596a7b5dc13a7" - integrity sha512-32I5b9aAu4NCiXZ7Te/KEQLfHbYeTNriVPrKYcvEThnZ9tlW01vLcSoxpUIsMYRsembvJUUAkzYBAiZHLOd6pQ== - dependencies: - "@tanstack/query-persist-client-core" "4.36.1" +"@tanstack/query-core@5.48.0": + version "5.48.0" + resolved "https://registry.yarnpkg.com/@tanstack/query-core/-/query-core-5.48.0.tgz#a3308ec925d8c16d64c789899d6c084c2fe30cbc" + integrity sha512-lZAfPPeVIqXCswE9SSbG33B6/91XOWt/Iq41bFeWb/mnHwQSIfFRbkS4bfs+WhIk9abRArF9Id2fp0Mgo+hq6Q== -"@tanstack/react-query@^4.28.0": - version "4.36.1" - resolved "https://registry.yarnpkg.com/@tanstack/react-query/-/react-query-4.36.1.tgz#acb589fab4085060e2e78013164868c9c785e5d2" - integrity sha512-y7ySVHFyyQblPl3J3eQBWpXZkliroki3ARnBKsdJchlgt7yJLRDUcf4B8soufgiYt3pEQIkBWBx1N9/ZPIeUWw== +"@tanstack/react-query@^5.48.0": + version "5.48.0" + resolved "https://registry.yarnpkg.com/@tanstack/react-query/-/react-query-5.48.0.tgz#7890620272b48aeb278498dfe082f27518f3ac6d" + integrity sha512-GDExbjYWzvDokyRqMSWXdrPiYpp95Aig0oeMIrxTaruOJJgWiWfUP//OAaowm2RrRkGVsavSZdko/XmIrrV2Nw== dependencies: - "@tanstack/query-core" "4.36.1" - use-sync-external-store "^1.2.0" + "@tanstack/query-core" "5.48.0" "@trysound/sax@0.2.0": version "0.2.0" @@ -3264,13 +3431,6 @@ dependencies: "@babel/types" "^7.20.7" -"@types/connect@^3.4.33": - version "3.4.38" - resolved "https://registry.yarnpkg.com/@types/connect/-/connect-3.4.38.tgz#5ba7f3bc4fbbdeaff8dded952e5ff2cc53f8d858" - integrity sha512-K6uROf1LD88uDQqJCktA4yzL1YYAK6NgfsI0v/mTgyPKWsX1CnJ0XPSDhViejru1GcRkLWb8RlzFYJRqGUbaug== - dependencies: - "@types/node" "*" - "@types/debug@^4.1.7": version "4.1.12" resolved "https://registry.yarnpkg.com/@types/debug/-/debug-4.1.12.tgz#a155f21690871953410df4b6b6f53187f0500917" @@ -3278,6 +3438,11 @@ dependencies: "@types/ms" "*" +"@types/dom-screen-wake-lock@^1.0.0": + version "1.0.3" + resolved "https://registry.yarnpkg.com/@types/dom-screen-wake-lock/-/dom-screen-wake-lock-1.0.3.tgz#c3588a5f6f40fae957f9ce5be9bc4927a61bb9a0" + integrity sha512-3Iten7X3Zgwvk6kh6/NRdwN7WbZ760YgFCsF5AxDifltUQzW1RaW+WRmcVtgwFzLjaNu64H+0MPJ13yRa8g3Dw== + "@types/graceful-fs@^4.1.3": version "4.1.9" resolved "https://registry.yarnpkg.com/@types/graceful-fs/-/graceful-fs-4.1.9.tgz#2a06bc0f68a20ab37b3e36aa238be6abdf49e8b4" @@ -3374,11 +3539,6 @@ resolved "https://registry.yarnpkg.com/@types/node/-/node-20.5.1.tgz#178d58ee7e4834152b0e8b4d30cbfab578b9bb30" integrity sha512-4tT2UrL5LBqDwoed9wZ6N3umC4Yhz3W3FloMmiiG4JwmUJWpie0c7lcnUNd4gtMKuDEO4wRVS8B6Xa0uMRsMKg== -"@types/node@^12.12.54": - version "12.20.55" - resolved "https://registry.yarnpkg.com/@types/node/-/node-12.20.55.tgz#c329cbd434c42164f846b909bd6f85b5537f6240" - integrity sha512-J8xLz7q2OFulZ2cyGTLE1TbbZcjpno7FaN6zdJNrgAdrJ+DZzh/uFR6YrTb4C+nXakvud8Q4+rbhoIWlYQbUFQ== - "@types/node@^18.6.1": version "18.19.10" resolved "https://registry.yarnpkg.com/@types/node/-/node-18.19.10.tgz#4de314ab66faf6bc8ba691021a091ddcdf13a158" @@ -3443,6 +3603,13 @@ resolved "https://registry.yarnpkg.com/@types/scheduler/-/scheduler-0.16.8.tgz#ce5ace04cfeabe7ef87c0091e50752e36707deff" integrity sha512-WZLiwShhwLRmeV6zH+GkbOFT6Z6VklCItrDioxUnv+u4Ll+8vKeFySoFyK/0ctcRpOmwAicELfmys1sDc/Rw+A== +"@types/secp256k1@^4.0.6": + version "4.0.6" + resolved "https://registry.yarnpkg.com/@types/secp256k1/-/secp256k1-4.0.6.tgz#d60ba2349a51c2cbc5e816dcd831a42029d376bf" + integrity sha512-hHxJU6PAEUn0TP4S/ZOzuTUvJWuZ6eIKeNKb5RBpODvSl6hp1Wrw4s7ATY50rklRCScUDpHzVA/DQdSjJ3UoYQ== + dependencies: + "@types/node" "*" + "@types/semver@^7.3.12", "@types/semver@^7.5.0": version "7.5.6" resolved "https://registry.yarnpkg.com/@types/semver/-/semver-7.5.6.tgz#c65b2bfce1bec346582c07724e3f8c1017a20339" @@ -3496,13 +3663,6 @@ dependencies: winston "*" -"@types/ws@^7.4.4": - version "7.4.7" - resolved "https://registry.yarnpkg.com/@types/ws/-/ws-7.4.7.tgz#f7c390a36f7a0679aa69de2d501319f4f8d9b702" - integrity sha512-JQbbmxZTZehdc2iszGKs5oC3NFnjeay7mtAWrdt7qNtAVK0g19muApzAy4bm9byz79xa2ZnO/BOBC2R8RC5Lww== - dependencies: - "@types/node" "*" - "@types/yargs-parser@*": version "21.0.3" resolved "https://registry.yarnpkg.com/@types/yargs-parser/-/yargs-parser-21.0.3.tgz#815e30b786d2e8f0dcd85fd5bcf5e1a04d008f15" @@ -3654,79 +3814,50 @@ resolved "https://registry.yarnpkg.com/@ungap/structured-clone/-/structured-clone-1.2.0.tgz#756641adb587851b5ccb3e095daf27ae581c8406" integrity sha512-zuVdFrMJiuCDQUMCzQaD6KL28MjnqqN8XnAqiEq9PNm/hCPTSGfrXCOfwj1ow4LFb/tNymJPwsNbVePc1xFqrQ== -"@wagmi/chains@0.2.22": - version "0.2.22" - resolved "https://registry.yarnpkg.com/@wagmi/chains/-/chains-0.2.22.tgz#25e511e134a00742e4fbf5108613dadf876c5bd9" - integrity sha512-TdiOzJT6TO1JrztRNjTA5Quz+UmQlbvWFG8N41u9tta0boHA1JCAzGGvU6KuIcOmJfRJkKOUIt67wlbopCpVHg== - -"@wagmi/connectors@0.3.24": - version "0.3.24" - resolved "https://registry.yarnpkg.com/@wagmi/connectors/-/connectors-0.3.24.tgz#2c1d69fc0ae6b85b75a4d57547fc7e2d4bc117e8" - integrity sha512-1pI0G9HRblc651dCz9LXuEu/zWQk23XwOUYqJEINb/c2TTLtw5TnTRIcefxxK6RnxeJvcKfnmK0rdZp/4ujFAA== - dependencies: - "@coinbase/wallet-sdk" "^3.6.6" - "@ledgerhq/connect-kit-loader" "^1.0.1" - "@safe-global/safe-apps-provider" "^0.15.2" - "@safe-global/safe-apps-sdk" "^7.9.0" - "@walletconnect/ethereum-provider" "2.9.0" - "@walletconnect/legacy-provider" "^2.0.0" - "@walletconnect/modal" "^2.5.9" - abitype "^0.3.0" - eventemitter3 "^4.0.7" - -"@wagmi/core@0.10.17": - version "0.10.17" - resolved "https://registry.yarnpkg.com/@wagmi/core/-/core-0.10.17.tgz#d2a641c3c608cad813e9eed290769d577512d935" - integrity sha512-qud45y3IlHp7gYWzoFeyysmhyokRie59Xa5tcx5F1E/v4moD5BY0kzD26mZW/ZQ3WZuVK/lZwiiPRqpqWH52Gw== - dependencies: - "@wagmi/chains" "0.2.22" - "@wagmi/connectors" "0.3.24" - abitype "^0.3.0" - eventemitter3 "^4.0.7" - zustand "^4.3.1" - -"@walletconnect/core@2.9.0": - version "2.9.0" - resolved "https://registry.yarnpkg.com/@walletconnect/core/-/core-2.9.0.tgz#7837a5d015a22b48d35b987bcde2aa9ccdf300d8" - integrity sha512-MZYJghS9YCvGe32UOgDj0mCasaOoGHQaYXWeQblXE/xb8HuaM6kAWhjIQN9P+MNp5QP134BHP5olQostcCotXQ== - dependencies: - "@walletconnect/heartbeat" "1.2.1" - "@walletconnect/jsonrpc-provider" "1.0.13" - "@walletconnect/jsonrpc-types" "1.0.3" - "@walletconnect/jsonrpc-utils" "1.0.8" - "@walletconnect/jsonrpc-ws-connection" "1.0.12" - "@walletconnect/keyvaluestorage" "^1.0.2" - "@walletconnect/logger" "^2.0.1" - "@walletconnect/relay-api" "^1.0.9" - "@walletconnect/relay-auth" "^1.0.4" - "@walletconnect/safe-json" "^1.0.2" - "@walletconnect/time" "^1.0.2" - "@walletconnect/types" "2.9.0" - "@walletconnect/utils" "2.9.0" - events "^3.3.0" - lodash.isequal "4.5.0" - uint8arrays "^3.1.0" +"@wagmi/connectors@5.0.16": + version "5.0.16" + resolved "https://registry.yarnpkg.com/@wagmi/connectors/-/connectors-5.0.16.tgz#b5f6db14bdd76230ae38c624c80c35dc886886a0" + integrity sha512-AjZpKmdo8nBhWtvfHfa1NBtU/x6QsWoZthLseVrCZ6Z9dmmVShvq1bd36kpyJGHOTX6H1p/5WQXFG7X84TZ/Sg== + dependencies: + "@coinbase/wallet-sdk" "4.0.3" + "@metamask/sdk" "0.26.0" + "@safe-global/safe-apps-provider" "0.18.1" + "@safe-global/safe-apps-sdk" "8.1.0" + "@walletconnect/ethereum-provider" "2.13.0" + "@walletconnect/modal" "2.6.2" + cbw-sdk "npm:@coinbase/wallet-sdk@3.9.3" -"@walletconnect/crypto@^1.0.3": - version "1.0.3" - resolved "https://registry.yarnpkg.com/@walletconnect/crypto/-/crypto-1.0.3.tgz#7b8dd4d7e2884fe3543c7c07aea425eef5ef9dd4" - integrity sha512-+2jdORD7XQs76I2Odgr3wwrtyuLUXD/kprNVsjWRhhhdO9Mt6WqVzOPu0/t7OHSmgal8k7SoBQzUc5hu/8zL/g== +"@wagmi/core@2.11.4": + version "2.11.4" + resolved "https://registry.yarnpkg.com/@wagmi/core/-/core-2.11.4.tgz#850f53fd399cf3d2cb52144318cafb6cb33f039a" + integrity sha512-vugDoSqHgWFEIIcwnBUFf1VctMfAnq6EK7vIPhVyBtlCdF/9tU0NoH8ayQeP6R6W6mQtnctUU/WM7+mFRnn4OA== dependencies: - "@walletconnect/encoding" "^1.0.2" - "@walletconnect/environment" "^1.0.1" - "@walletconnect/randombytes" "^1.0.3" - aes-js "^3.1.2" - hash.js "^1.1.7" - tslib "1.14.1" + eventemitter3 "5.0.1" + mipd "0.0.5" + zustand "4.4.1" -"@walletconnect/encoding@^1.0.2": - version "1.0.2" - resolved "https://registry.yarnpkg.com/@walletconnect/encoding/-/encoding-1.0.2.tgz#cb3942ad038d6a6bf01158f66773062dd25724da" - integrity sha512-CrwSBrjqJ7rpGQcTL3kU+Ief+Bcuu9PH6JLOb+wM6NITX1GTxR/MfNwnQfhLKK6xpRAyj2/nM04OOH6wS8Imag== +"@walletconnect/core@2.13.0": + version "2.13.0" + resolved "https://registry.yarnpkg.com/@walletconnect/core/-/core-2.13.0.tgz#6b79b039930643e8ee85a0f512b143a35fdb8b52" + integrity sha512-blDuZxQenjeXcVJvHxPznTNl6c/2DO4VNrFnus+qHmO6OtT5lZRowdMtlCaCNb1q0OxzgrmBDcTOCbFcCpio/g== dependencies: - is-typedarray "1.0.0" - tslib "1.14.1" - typedarray-to-buffer "3.1.5" + "@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" + "@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.13.0" + "@walletconnect/utils" "2.13.0" + events "3.3.0" + isomorphic-unfetch "3.1.0" + lodash.isequal "4.5.0" + uint8arrays "3.1.0" "@walletconnect/environment@^1.0.1": version "1.0.1" @@ -3735,22 +3866,23 @@ dependencies: tslib "1.14.1" -"@walletconnect/ethereum-provider@2.9.0": - version "2.9.0" - resolved "https://registry.yarnpkg.com/@walletconnect/ethereum-provider/-/ethereum-provider-2.9.0.tgz#aa6e9e441678c824af8f744c50dafd604f19d69e" - integrity sha512-rSXkC0SXMigJRdIi/M2RMuEuATY1AwtlTWQBnqyxoht7xbO2bQNPCXn0XL4s/GRNrSUtoKSY4aPMHXV4W4yLBA== +"@walletconnect/ethereum-provider@2.13.0": + version "2.13.0" + resolved "https://registry.yarnpkg.com/@walletconnect/ethereum-provider/-/ethereum-provider-2.13.0.tgz#5148851983e0d55fa1c18737b2db22802c82434c" + integrity sha512-dnpW8mmLpWl1AZUYGYZpaAfGw1HFkL0WSlhk5xekx3IJJKn4pLacX2QeIOo0iNkzNQxZfux1AK4Grl1DvtzZEA== dependencies: - "@walletconnect/jsonrpc-http-connection" "^1.0.7" - "@walletconnect/jsonrpc-provider" "^1.0.13" - "@walletconnect/jsonrpc-types" "^1.0.3" - "@walletconnect/jsonrpc-utils" "^1.0.8" - "@walletconnect/sign-client" "2.9.0" - "@walletconnect/types" "2.9.0" - "@walletconnect/universal-provider" "2.9.0" - "@walletconnect/utils" "2.9.0" - events "^3.3.0" - -"@walletconnect/events@^1.0.1": + "@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" + "@walletconnect/sign-client" "2.13.0" + "@walletconnect/types" "2.13.0" + "@walletconnect/universal-provider" "2.13.0" + "@walletconnect/utils" "2.13.0" + events "3.3.0" + +"@walletconnect/events@1.0.1", "@walletconnect/events@^1.0.1": version "1.0.1" resolved "https://registry.yarnpkg.com/@walletconnect/events/-/events-1.0.1.tgz#2b5f9c7202019e229d7ccae1369a9e86bda7816c" integrity sha512-NPTqaoi0oPBVNuLv7qPaJazmGHs5JGyO8eEAk5VGKmJzDR7AHzD4k6ilox5kxk1iwiOnFopBOOMLs86Oa76HpQ== @@ -3758,35 +3890,43 @@ keyvaluestorage-interface "^1.0.0" tslib "1.14.1" -"@walletconnect/heartbeat@1.2.1": - version "1.2.1" - resolved "https://registry.yarnpkg.com/@walletconnect/heartbeat/-/heartbeat-1.2.1.tgz#afaa3a53232ae182d7c9cff41c1084472d8f32e9" - integrity sha512-yVzws616xsDLJxuG/28FqtZ5rzrTA4gUjdEMTbWB5Y8V1XHRmqq4efAxCw5ie7WjbXFSUyBHaWlMR+2/CpQC5Q== +"@walletconnect/heartbeat@1.2.2": + version "1.2.2" + resolved "https://registry.yarnpkg.com/@walletconnect/heartbeat/-/heartbeat-1.2.2.tgz#e8dc5179db7769950c6f9cf59b23516d9b95227d" + integrity sha512-uASiRmC5MwhuRuf05vq4AT48Pq8RMi876zV8rr8cV969uTOzWdB/k+Lj5yI2PBtB1bGQisGen7MM1GcZlQTBXw== dependencies: "@walletconnect/events" "^1.0.1" "@walletconnect/time" "^1.0.2" - tslib "1.14.1" + events "^3.3.0" -"@walletconnect/jsonrpc-http-connection@^1.0.4", "@walletconnect/jsonrpc-http-connection@^1.0.7": - version "1.0.7" - resolved "https://registry.yarnpkg.com/@walletconnect/jsonrpc-http-connection/-/jsonrpc-http-connection-1.0.7.tgz#a6973569b8854c22da707a759d241e4f5c2d5a98" - integrity sha512-qlfh8fCfu8LOM9JRR9KE0s0wxP6ZG9/Jom8M0qsoIQeKF3Ni0FyV4V1qy/cc7nfI46SLQLSl4tgWSfLiE1swyQ== +"@walletconnect/jsonrpc-http-connection@1.0.8": + version "1.0.8" + resolved "https://registry.yarnpkg.com/@walletconnect/jsonrpc-http-connection/-/jsonrpc-http-connection-1.0.8.tgz#2f4c3948f074960a3edd07909560f3be13e2c7ae" + integrity sha512-+B7cRuaxijLeFDJUq5hAzNyef3e3tBDIxyaCNmFtjwnod5AGis3RToNqzFU33vpVcxFhofkpE7Cx+5MYejbMGw== dependencies: "@walletconnect/jsonrpc-utils" "^1.0.6" "@walletconnect/safe-json" "^1.0.1" cross-fetch "^3.1.4" - tslib "1.14.1" + events "^3.3.0" -"@walletconnect/jsonrpc-provider@1.0.13", "@walletconnect/jsonrpc-provider@^1.0.13", "@walletconnect/jsonrpc-provider@^1.0.6": - version "1.0.13" - resolved "https://registry.yarnpkg.com/@walletconnect/jsonrpc-provider/-/jsonrpc-provider-1.0.13.tgz#9a74da648d015e1fffc745f0c7d629457f53648b" - integrity sha512-K73EpThqHnSR26gOyNEL+acEex3P7VWZe6KE12ZwKzAt2H4e5gldZHbjsu2QR9cLeJ8AXuO7kEMOIcRv1QEc7g== +"@walletconnect/jsonrpc-provider@1.0.14": + version "1.0.14" + resolved "https://registry.yarnpkg.com/@walletconnect/jsonrpc-provider/-/jsonrpc-provider-1.0.14.tgz#696f3e3b6d728b361f2e8b853cfc6afbdf2e4e3e" + integrity sha512-rtsNY1XqHvWj0EtITNeuf8PHMvlCLiS3EjQL+WOkxEOA4KPxsohFnBDeyPYiNm4ZvkQdLnece36opYidmtbmow== dependencies: "@walletconnect/jsonrpc-utils" "^1.0.8" "@walletconnect/safe-json" "^1.0.2" - tslib "1.14.1" + events "^3.3.0" + +"@walletconnect/jsonrpc-types@1.0.4": + version "1.0.4" + resolved "https://registry.yarnpkg.com/@walletconnect/jsonrpc-types/-/jsonrpc-types-1.0.4.tgz#ce1a667d79eadf2a2d9d002c152ceb68739c230c" + integrity sha512-P6679fG/M+wuWg9TY8mh6xFSdYnFyFjwFelxyISxMDrlbXokorEVXYOxiqEbrU3x1BmBoCAJJ+vtEaEoMlpCBQ== + dependencies: + events "^3.3.0" + keyvaluestorage-interface "^1.0.0" -"@walletconnect/jsonrpc-types@1.0.3", "@walletconnect/jsonrpc-types@^1.0.2", "@walletconnect/jsonrpc-types@^1.0.3": +"@walletconnect/jsonrpc-types@^1.0.2", "@walletconnect/jsonrpc-types@^1.0.3": version "1.0.3" resolved "https://registry.yarnpkg.com/@walletconnect/jsonrpc-types/-/jsonrpc-types-1.0.3.tgz#65e3b77046f1a7fa8347ae02bc1b841abe6f290c" integrity sha512-iIQ8hboBl3o5ufmJ8cuduGad0CQm3ZlsHtujv9Eu16xq89q+BG7Nh5VLxxUgmtpnrePgFkTwXirCTkwJH1v+Yw== @@ -3794,7 +3934,7 @@ keyvaluestorage-interface "^1.0.0" tslib "1.14.1" -"@walletconnect/jsonrpc-utils@1.0.8", "@walletconnect/jsonrpc-utils@^1.0.4", "@walletconnect/jsonrpc-utils@^1.0.6", "@walletconnect/jsonrpc-utils@^1.0.7", "@walletconnect/jsonrpc-utils@^1.0.8": +"@walletconnect/jsonrpc-utils@1.0.8", "@walletconnect/jsonrpc-utils@^1.0.6", "@walletconnect/jsonrpc-utils@^1.0.8": version "1.0.8" resolved "https://registry.yarnpkg.com/@walletconnect/jsonrpc-utils/-/jsonrpc-utils-1.0.8.tgz#82d0cc6a5d6ff0ecc277cb35f71402c91ad48d72" integrity sha512-vdeb03bD8VzJUL6ZtzRYsFMq1eZQcM3EAzT0a3st59dyLfJ0wq+tKMpmGH7HlB7waD858UWgfIcudbPFsbzVdw== @@ -3803,18 +3943,17 @@ "@walletconnect/jsonrpc-types" "^1.0.3" tslib "1.14.1" -"@walletconnect/jsonrpc-ws-connection@1.0.12": - version "1.0.12" - resolved "https://registry.yarnpkg.com/@walletconnect/jsonrpc-ws-connection/-/jsonrpc-ws-connection-1.0.12.tgz#2192314884fabdda6d0a9d22e157e5b352025ed8" - integrity sha512-HAcadga3Qjt1Cqy+qXEW6zjaCs8uJGdGQrqltzl3OjiK4epGZRdvSzTe63P+t/3z+D2wG+ffEPn0GVcDozmN1w== +"@walletconnect/jsonrpc-ws-connection@1.0.14": + version "1.0.14" + resolved "https://registry.yarnpkg.com/@walletconnect/jsonrpc-ws-connection/-/jsonrpc-ws-connection-1.0.14.tgz#eec700e74766c7887de2bd76c91a0206628732aa" + integrity sha512-Jsl6fC55AYcbkNVkwNM6Jo+ufsuCQRqViOQ8ZBPH9pRREHH9welbBiszuTLqEJiQcO/6XfFDl6bzCJIkrEi8XA== dependencies: "@walletconnect/jsonrpc-utils" "^1.0.6" "@walletconnect/safe-json" "^1.0.2" events "^3.3.0" - tslib "1.14.1" ws "^7.5.1" -"@walletconnect/keyvaluestorage@^1.0.2": +"@walletconnect/keyvaluestorage@1.1.1": version "1.1.1" resolved "https://registry.yarnpkg.com/@walletconnect/keyvaluestorage/-/keyvaluestorage-1.1.1.tgz#dd2caddabfbaf80f6b8993a0704d8b83115a1842" integrity sha512-V7ZQq2+mSxAq7MrRqDxanTzu2RcElfK1PfNYiaVnJgJ7Q7G7hTVwF8voIBx92qsRyGHZihrwNPHuZd1aKkd0rA== @@ -3823,73 +3962,13 @@ idb-keyval "^6.2.1" unstorage "^1.9.0" -"@walletconnect/legacy-client@^2.0.0": - version "2.0.0" - resolved "https://registry.yarnpkg.com/@walletconnect/legacy-client/-/legacy-client-2.0.0.tgz#9f2c09694789fd4b6c5d68d6423b44bac55aed30" - integrity sha512-v5L7rYk9loVnfvUf0mF+76bUPFaU5/Vh7mzL6/950CD/yoGdzYZ3Kj+L7mkC6HPMEGeQsBP1+sqBuiVGZ/aODA== - dependencies: - "@walletconnect/crypto" "^1.0.3" - "@walletconnect/encoding" "^1.0.2" - "@walletconnect/jsonrpc-utils" "^1.0.4" - "@walletconnect/legacy-types" "^2.0.0" - "@walletconnect/legacy-utils" "^2.0.0" - "@walletconnect/safe-json" "^1.0.1" - "@walletconnect/window-getters" "^1.0.1" - "@walletconnect/window-metadata" "^1.0.1" - detect-browser "^5.3.0" - query-string "^6.13.5" - -"@walletconnect/legacy-modal@^2.0.0": - version "2.0.0" - resolved "https://registry.yarnpkg.com/@walletconnect/legacy-modal/-/legacy-modal-2.0.0.tgz#d0fab01a1337a8f5d88cdb1430cbef2d46072bbf" - integrity sha512-jckNd8lMhm4X7dX9TDdxM3bXKJnaqkRs6K2Mo5j6GmbIF9Eyx40jZ5+q457RVxvM6ciZEDT5s1wBHWdWoOo+9Q== - dependencies: - "@walletconnect/legacy-types" "^2.0.0" - "@walletconnect/legacy-utils" "^2.0.0" - copy-to-clipboard "^3.3.3" - preact "^10.12.0" - qrcode "^1.5.1" - -"@walletconnect/legacy-provider@^2.0.0": - version "2.0.0" - resolved "https://registry.yarnpkg.com/@walletconnect/legacy-provider/-/legacy-provider-2.0.0.tgz#08e2db1e4c234743b2f30422bc8100bc42e8fc44" - integrity sha512-A8xPebMI1A+50HbWwTpFCbwP7G+1NGKdTKyg8BUUg3h3Y9JucpC1W6w/x0v1Xw7qFEqQnz74LoIN/A3ytH9xrQ== - dependencies: - "@walletconnect/jsonrpc-http-connection" "^1.0.4" - "@walletconnect/jsonrpc-provider" "^1.0.6" - "@walletconnect/legacy-client" "^2.0.0" - "@walletconnect/legacy-modal" "^2.0.0" - "@walletconnect/legacy-types" "^2.0.0" - "@walletconnect/legacy-utils" "^2.0.0" - -"@walletconnect/legacy-types@^2.0.0": - version "2.0.0" - resolved "https://registry.yarnpkg.com/@walletconnect/legacy-types/-/legacy-types-2.0.0.tgz#224278ae2874c6a2ca805c2d1d062a511dcf7227" - integrity sha512-sOVrA7HUdbI1OwKyPOQU0/DdvTSVFlsXWpAk2K2WvP2erTkBWPMTJq6cv2BmKdoJ3p6gLApT7sd+jHi3OF71uw== - dependencies: - "@walletconnect/jsonrpc-types" "^1.0.2" - -"@walletconnect/legacy-utils@^2.0.0": - version "2.0.0" - resolved "https://registry.yarnpkg.com/@walletconnect/legacy-utils/-/legacy-utils-2.0.0.tgz#e3a637c00783f9cd2ae139b640f82223ab78ed9d" - integrity sha512-CPWxSVVXw0kgNCxvU126g4GiV3mzXmC8IPJ15twE46aJ1FX+RHEIfAzFMFz2F2+fEhBxL63A7dwNQKDXorRPcQ== - dependencies: - "@walletconnect/encoding" "^1.0.2" - "@walletconnect/jsonrpc-utils" "^1.0.4" - "@walletconnect/legacy-types" "^2.0.0" - "@walletconnect/safe-json" "^1.0.1" - "@walletconnect/window-getters" "^1.0.1" - "@walletconnect/window-metadata" "^1.0.1" - detect-browser "^5.3.0" - query-string "^6.13.5" - -"@walletconnect/logger@^2.0.1": - version "2.0.1" - resolved "https://registry.yarnpkg.com/@walletconnect/logger/-/logger-2.0.1.tgz#7f489b96e9a1ff6bf3e58f0fbd6d69718bf844a8" - integrity sha512-SsTKdsgWm+oDTBeNE/zHxxr5eJfZmE9/5yp/Ku+zJtcTAjELb3DXueWkDXmE9h8uHIbJzIb5wj5lPdzyrjT6hQ== +"@walletconnect/logger@2.1.2": + version "2.1.2" + resolved "https://registry.yarnpkg.com/@walletconnect/logger/-/logger-2.1.2.tgz#813c9af61b96323a99f16c10089bfeb525e2a272" + integrity sha512-aAb28I3S6pYXZHQm5ESB+V6rDqIYfsnHaQyzFbwUUBFY4H0OXx/YtTl8lvhUNhMMfb9UxbwEBS253TlXUYJWSw== dependencies: + "@walletconnect/safe-json" "^1.0.2" pino "7.11.0" - tslib "1.14.1" "@walletconnect/modal-core@2.6.2": version "2.6.2" @@ -3908,7 +3987,7 @@ motion "10.16.2" qrcode "1.5.3" -"@walletconnect/modal@^2.5.9": +"@walletconnect/modal@2.6.2": version "2.6.2" resolved "https://registry.yarnpkg.com/@walletconnect/modal/-/modal-2.6.2.tgz#4b534a836f5039eeb3268b80be7217a94dd12651" integrity sha512-eFopgKi8AjKf/0U4SemvcYw9zlLpx9njVN8sf6DAkowC2Md0gPU/UNEbH1Wwj407pEKnEds98pKWib1NN1ACoA== @@ -3916,25 +3995,14 @@ "@walletconnect/modal-core" "2.6.2" "@walletconnect/modal-ui" "2.6.2" -"@walletconnect/randombytes@^1.0.3": - version "1.0.3" - resolved "https://registry.yarnpkg.com/@walletconnect/randombytes/-/randombytes-1.0.3.tgz#e795e4918367fd1e6a2215e075e64ab93e23985b" - integrity sha512-35lpzxcHFbTN3ABefC9W+uBpNZl1GC4Wpx0ed30gibfO/y9oLdy1NznbV96HARQKSBV9J9M/rrtIvf6a23jfYw== - dependencies: - "@walletconnect/encoding" "^1.0.2" - "@walletconnect/environment" "^1.0.1" - randombytes "^2.1.0" - tslib "1.14.1" - -"@walletconnect/relay-api@^1.0.9": - version "1.0.9" - resolved "https://registry.yarnpkg.com/@walletconnect/relay-api/-/relay-api-1.0.9.tgz#f8c2c3993dddaa9f33ed42197fc9bfebd790ecaf" - integrity sha512-Q3+rylJOqRkO1D9Su0DPE3mmznbAalYapJ9qmzDgK28mYF9alcP3UwG/og5V7l7CFOqzCLi7B8BvcBUrpDj0Rg== +"@walletconnect/relay-api@1.0.10": + version "1.0.10" + resolved "https://registry.yarnpkg.com/@walletconnect/relay-api/-/relay-api-1.0.10.tgz#5aef3cd07c21582b968136179aa75849dcc65499" + integrity sha512-tqrdd4zU9VBNqUaXXQASaexklv6A54yEyQQEXYOCr+Jz8Ket0dmPBDyg19LVSNUN2cipAghQc45/KVmfFJ0cYw== dependencies: "@walletconnect/jsonrpc-types" "^1.0.2" - tslib "1.14.1" -"@walletconnect/relay-auth@^1.0.4": +"@walletconnect/relay-auth@1.0.4": version "1.0.4" resolved "https://registry.yarnpkg.com/@walletconnect/relay-auth/-/relay-auth-1.0.4.tgz#0b5c55c9aa3b0ef61f526ce679f3ff8a5c4c2c7c" integrity sha512-kKJcS6+WxYq5kshpPaxGHdwf5y98ZwbfuS4EE/NkQzqrDFm5Cj+dP8LofzWvjrrLkZq7Afy7WrQMXdLy8Sx7HQ== @@ -3946,90 +4014,90 @@ tslib "1.14.1" uint8arrays "^3.0.0" -"@walletconnect/safe-json@^1.0.1", "@walletconnect/safe-json@^1.0.2": +"@walletconnect/safe-json@1.0.2", "@walletconnect/safe-json@^1.0.1", "@walletconnect/safe-json@^1.0.2": version "1.0.2" resolved "https://registry.yarnpkg.com/@walletconnect/safe-json/-/safe-json-1.0.2.tgz#7237e5ca48046e4476154e503c6d3c914126fa77" integrity sha512-Ogb7I27kZ3LPC3ibn8ldyUr5544t3/STow9+lzz7Sfo808YD7SBWk7SAsdBFlYgP2zDRy2hS3sKRcuSRM0OTmA== dependencies: tslib "1.14.1" -"@walletconnect/sign-client@2.9.0": - version "2.9.0" - resolved "https://registry.yarnpkg.com/@walletconnect/sign-client/-/sign-client-2.9.0.tgz#fd3b0acb68bc8d56350f01ed70f8c6326e6e89fa" - integrity sha512-mEKc4LlLMebCe45qzqh+MX4ilQK4kOEBzLY6YJpG8EhyT45eX4JMNA7qQoYa9MRMaaVb/7USJcc4e3ZrjZvQmA== +"@walletconnect/sign-client@2.13.0": + version "2.13.0" + resolved "https://registry.yarnpkg.com/@walletconnect/sign-client/-/sign-client-2.13.0.tgz#f59993f082aec1ca5498b9519027e764c1e6d28b" + integrity sha512-En7KSvNUlQFx20IsYGsFgkNJ2lpvDvRsSFOT5PTdGskwCkUfOpB33SQJ6nCrN19gyoKPNvWg80Cy6MJI0TjNYA== dependencies: - "@walletconnect/core" "2.9.0" - "@walletconnect/events" "^1.0.1" - "@walletconnect/heartbeat" "1.2.1" + "@walletconnect/core" "2.13.0" + "@walletconnect/events" "1.0.1" + "@walletconnect/heartbeat" "1.2.2" "@walletconnect/jsonrpc-utils" "1.0.8" - "@walletconnect/logger" "^2.0.1" - "@walletconnect/time" "^1.0.2" - "@walletconnect/types" "2.9.0" - "@walletconnect/utils" "2.9.0" - events "^3.3.0" + "@walletconnect/logger" "2.1.2" + "@walletconnect/time" "1.0.2" + "@walletconnect/types" "2.13.0" + "@walletconnect/utils" "2.13.0" + events "3.3.0" -"@walletconnect/time@^1.0.2": +"@walletconnect/time@1.0.2", "@walletconnect/time@^1.0.2": version "1.0.2" resolved "https://registry.yarnpkg.com/@walletconnect/time/-/time-1.0.2.tgz#6c5888b835750ecb4299d28eecc5e72c6d336523" integrity sha512-uzdd9woDcJ1AaBZRhqy5rNC9laqWGErfc4dxA9a87mPdKOgWMD85mcFo9dIYIts/Jwocfwn07EC6EzclKubk/g== dependencies: tslib "1.14.1" -"@walletconnect/types@2.9.0": - version "2.9.0" - resolved "https://registry.yarnpkg.com/@walletconnect/types/-/types-2.9.0.tgz#6e5dfdc7212c1ec4ab49a1ec409c743e16093f72" - integrity sha512-ORopsMfSRvUYqtjKKd6scfg8o4/aGebipLxx92AuuUgMTERSU6cGmIrK6rdLu7W6FBJkmngPLEGc9mRqAb9Lug== - dependencies: - "@walletconnect/events" "^1.0.1" - "@walletconnect/heartbeat" "1.2.1" - "@walletconnect/jsonrpc-types" "1.0.3" - "@walletconnect/keyvaluestorage" "^1.0.2" - "@walletconnect/logger" "^2.0.1" - events "^3.3.0" - -"@walletconnect/universal-provider@2.9.0": - version "2.9.0" - resolved "https://registry.yarnpkg.com/@walletconnect/universal-provider/-/universal-provider-2.9.0.tgz#a6b4a1f099262536e17b5c25bf7b3c89db9945a8" - integrity sha512-k3nkSBkF69sJJVoe17IVoPtnhp/sgaa2t+x7BvA/BKeMxE0DGdtRJdEXotTc8DBmI7o2tkq6l8+HyFBGjQ/CjQ== - dependencies: - "@walletconnect/jsonrpc-http-connection" "^1.0.7" - "@walletconnect/jsonrpc-provider" "1.0.13" - "@walletconnect/jsonrpc-types" "^1.0.2" - "@walletconnect/jsonrpc-utils" "^1.0.7" - "@walletconnect/logger" "^2.0.1" - "@walletconnect/sign-client" "2.9.0" - "@walletconnect/types" "2.9.0" - "@walletconnect/utils" "2.9.0" - events "^3.3.0" +"@walletconnect/types@2.13.0": + version "2.13.0" + resolved "https://registry.yarnpkg.com/@walletconnect/types/-/types-2.13.0.tgz#cdac083651f5897084fe9ed62779f11810335ac6" + integrity sha512-MWaVT0FkZwzYbD3tvk8F+2qpPlz1LUSWHuqbINUtMXnSzJtXN49Y99fR7FuBhNFtDalfuWsEK17GrNA+KnAsPQ== + 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" + +"@walletconnect/universal-provider@2.13.0": + version "2.13.0" + resolved "https://registry.yarnpkg.com/@walletconnect/universal-provider/-/universal-provider-2.13.0.tgz#f2b597001245e4d4a06d96dd1bce8d3a8a4dcbbf" + integrity sha512-B5QvO8pnk5Bqn4aIt0OukGEQn2Auk9VbHfhQb9cGwgmSCd1GlprX/Qblu4gyT5+TjHMb1Gz5UssUaZWTWbDhBg== + 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.13.0" + "@walletconnect/types" "2.13.0" + "@walletconnect/utils" "2.13.0" + events "3.3.0" -"@walletconnect/utils@2.9.0": - version "2.9.0" - resolved "https://registry.yarnpkg.com/@walletconnect/utils/-/utils-2.9.0.tgz#c73925edb9fefe79021bcf028e957028f986b728" - integrity sha512-7Tu3m6dZL84KofrNBcblsgpSqU2vdo9ImLD7zWimLXERVGNQ8smXG+gmhQYblebIBhsPzjy9N38YMC3nPlfQNw== +"@walletconnect/utils@2.13.0": + version "2.13.0" + resolved "https://registry.yarnpkg.com/@walletconnect/utils/-/utils-2.13.0.tgz#1fc1fbff0d26db0830e65d1ba8cfe1a13a0616ad" + integrity sha512-q1eDCsRHj5iLe7fF8RroGoPZpdo2CYMZzQSrw1iqL+2+GOeqapxxuJ1vaJkmDUkwgklfB22ufqG6KQnz78sD4w== dependencies: "@stablelib/chacha20poly1305" "1.0.1" "@stablelib/hkdf" "1.0.1" - "@stablelib/random" "^1.0.2" + "@stablelib/random" "1.0.2" "@stablelib/sha256" "1.0.1" - "@stablelib/x25519" "^1.0.3" - "@walletconnect/relay-api" "^1.0.9" - "@walletconnect/safe-json" "^1.0.2" - "@walletconnect/time" "^1.0.2" - "@walletconnect/types" "2.9.0" - "@walletconnect/window-getters" "^1.0.1" - "@walletconnect/window-metadata" "^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.13.0" + "@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" + uint8arrays "3.1.0" -"@walletconnect/window-getters@^1.0.1": +"@walletconnect/window-getters@1.0.1", "@walletconnect/window-getters@^1.0.1": version "1.0.1" resolved "https://registry.yarnpkg.com/@walletconnect/window-getters/-/window-getters-1.0.1.tgz#f36d1c72558a7f6b87ecc4451fc8bd44f63cbbdc" integrity sha512-vHp+HqzGxORPAN8gY03qnbTMnhqIwjeRJNOMOAzePRg4xVEEE2WvYsI9G2NMjOknA8hnuYbU3/hwLcKbjhc8+Q== dependencies: tslib "1.14.1" -"@walletconnect/window-metadata@^1.0.1": +"@walletconnect/window-metadata@1.0.1": version "1.0.1" resolved "https://registry.yarnpkg.com/@walletconnect/window-metadata/-/window-metadata-1.0.1.tgz#2124f75447b7e989e4e4e1581d55d25bc75f7be5" integrity sha512-9koTqyGrM2cqFRW517BPY/iEtUDx2r1+Pwwu5m7sJ7ka79wi3EyqhqcICk/yDmv6jAS1rjKgTKXlEhanYjijcA== @@ -4057,10 +4125,15 @@ JSONStream@^1.3.5: jsonparse "^1.2.0" through ">=2.2.7 <3" -abitype@^0.3.0: - version "0.3.0" - resolved "https://registry.yarnpkg.com/abitype/-/abitype-0.3.0.tgz#75150e337d88cc0b2423ed0d3fc36935f139d04c" - integrity sha512-0YokyAV4hKMcy97Pl+6QgZBlBdZJN2llslOs7kiFY+cu7kMlVXDBpxMExfv0krzBCQt2t7hNovpQ3y/zvEm18A== +abitype@0.9.8: + version "0.9.8" + resolved "https://registry.yarnpkg.com/abitype/-/abitype-0.9.8.tgz#1f120b6b717459deafd213dfbf3a3dd1bf10ae8c" + integrity sha512-puLifILdm+8sjyss4S+fsUN09obiT1g2YW6CtcQF+QDzxR0euzgEB29MZujC6zMk2a6SVmtttq1fc6+YFA7WYQ== + +abitype@1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/abitype/-/abitype-1.0.0.tgz#237176dace81d90d018bebf3a45cb42f2a2d9e97" + integrity sha512-NMeMah//6bJ56H5XRj8QCV4AwuW6hB6zqz2LnhhLdcWVQOsXki6/Pn3APeqxCma62nXIcmZWdu1DlHWS74umVQ== abort-controller@^3.0.0: version "3.0.0" @@ -4089,18 +4162,6 @@ aes-js@3.0.0: resolved "https://registry.yarnpkg.com/aes-js/-/aes-js-3.0.0.tgz#e21df10ad6c2053295bcbb8dab40b09dbea87e4d" integrity sha512-H7wUZRn8WpTq9jocdxQ2c8x2sKo9ZVmzfRE13GiNJXfp7NcKYEdvl3vspKjXox6RIG2VtaRe4JFvxG4rqp2Zuw== -aes-js@^3.1.2: - version "3.1.2" - resolved "https://registry.yarnpkg.com/aes-js/-/aes-js-3.1.2.tgz#db9aabde85d5caabbfc0d4f2a4446960f627146a" - integrity sha512-e5pEa2kBnBOgR4Y/p20pskXI74UEz7de8ZGVo58asOtvSVG5YAbJeELPZxOmt+Bnz3rX753YKhfIn4X4l1PPRQ== - -agentkeepalive@^4.5.0: - version "4.5.0" - resolved "https://registry.yarnpkg.com/agentkeepalive/-/agentkeepalive-4.5.0.tgz#2673ad1389b3c418c5a20c5d7364f93ca04be923" - integrity sha512-5GG/5IbQQpC9FpkRGsSvZI5QYeSCzlJHdpBQntCsuTOxhKD8lqKhrleg2Yi7yvMIf82Ycmmqln9U8V9qwEiJew== - dependencies: - humanize-ms "^1.2.1" - ajv-keywords@^3.5.2: version "3.5.2" resolved "https://registry.yarnpkg.com/ajv-keywords/-/ajv-keywords-3.5.2.tgz#31f29da5ab6e00d1c2d329acf7b5929614d5014d" @@ -4518,13 +4579,6 @@ big.js@^5.2.2: resolved "https://registry.yarnpkg.com/big.js/-/big.js-5.2.2.tgz#65f0af382f578bcdc742bd9c281e9cb2d7768328" integrity sha512-vyL2OymJxmarO8gxMr0mhChsO9QGwhynfuu4+MHTAW6czfq9humCB7rKpUjDd9YUiDPU4mzpyupFSvOClAwbmQ== -bigint-buffer@^1.1.5: - version "1.1.5" - resolved "https://registry.yarnpkg.com/bigint-buffer/-/bigint-buffer-1.1.5.tgz#d038f31c8e4534c1f8d0015209bf34b4fa6dd442" - integrity sha512-trfYco6AoZ+rKhKnxA0hgX0HAbVP/s808/EuDSe2JDzUnCp/xAsli35Orvk67UrTEcwuxZqYZDmfA2RXJgxVvA== - dependencies: - bindings "^1.3.0" - bignumber.js@9.1.0: version "9.1.0" resolved "https://registry.yarnpkg.com/bignumber.js/-/bignumber.js-9.1.0.tgz#8d340146107fe3a6cb8d40699643c302e8773b62" @@ -4540,18 +4594,6 @@ binary-extensions@^2.0.0: resolved "https://registry.yarnpkg.com/binary-extensions/-/binary-extensions-2.2.0.tgz#75f502eeaf9ffde42fc98829645be4ea76bd9e2d" integrity sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA== -bind-decorator@^1.0.11: - version "1.0.11" - resolved "https://registry.yarnpkg.com/bind-decorator/-/bind-decorator-1.0.11.tgz#e41bc06a1f65dd9cec476c91c5daf3978488252f" - integrity sha512-yzkH0uog6Vv/vQ9+rhSKxecnqGUZHYncg7qS7voz3Q76+TAi1SGiOKk2mlOvusQnFz9Dc4BC/NMkeXu11YgjJg== - -bindings@^1.3.0: - version "1.5.0" - resolved "https://registry.yarnpkg.com/bindings/-/bindings-1.5.0.tgz#10353c9e945334bc0511a6d90b38fbc7c9c504df" - integrity sha512-p2q/t/mhvuOj/UeLlV6566GD/guowlr0hHxClI0W9m7MWYkL1F0hLo+0Aexs9HSPCtR1SXQ0TD3MMKrXZajbiQ== - dependencies: - file-uri-to-path "1.0.0" - bintrees@1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/bintrees/-/bintrees-1.0.2.tgz#49f896d6e858a4a499df85c38fb399b9aff840f8" @@ -4562,7 +4604,7 @@ bn.js@^4.11.9: resolved "https://registry.yarnpkg.com/bn.js/-/bn.js-4.12.0.tgz#775b3f278efbb9718eec7361f483fb36fbbfea88" integrity sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA== -bn.js@^5.1.1, bn.js@^5.2.0, bn.js@^5.2.1: +bn.js@^5.2.1: version "5.2.1" resolved "https://registry.yarnpkg.com/bn.js/-/bn.js-5.2.1.tgz#0bc527a6a0d18d0aa8d5b0538ce4a77dccfa7b70" integrity sha512-eXRvHzWyYPBuB4NBy0cmYQjGitUrtqwbvlzP3G6VFnNRbsZQIxQ10PbKKHt8gZ/HW/D/747aDl+QkDqg3KQLMQ== @@ -4572,14 +4614,10 @@ boolbase@^1.0.0: resolved "https://registry.yarnpkg.com/boolbase/-/boolbase-1.0.0.tgz#68dff5fbe60c51eb37725ea9e3ed310dcc1e776e" integrity sha512-JZOSA7Mo9sNGB8+UjSgzdLtokWAky1zbztM3WRLCbZ70/3cTANmQmOdR7y2g+J0e2WXywy1yS468tY+IruqEww== -borsh@^0.7.0: - version "0.7.0" - resolved "https://registry.yarnpkg.com/borsh/-/borsh-0.7.0.tgz#6e9560d719d86d90dc589bca60ffc8a6c51fec2a" - integrity sha512-CLCsZGIBCFnPtkNnieW/a8wmreDmfUtjU2m9yHrzPXIlNbqVs0AQrSatSG6vdNYUqdc83tkQi2eHfF98ubzQLA== - dependencies: - bn.js "^5.2.0" - bs58 "^4.0.0" - text-encoding-utf-8 "^1.0.2" +bowser@^2.9.0: + version "2.11.0" + resolved "https://registry.yarnpkg.com/bowser/-/bowser-2.11.0.tgz#5ca3c35757a7aa5771500c70a73a9f91ef420a8f" + integrity sha512-AlcaJBi/pqqJBIQ8U9Mcpc9i8Aqxn88Skv5d+xBX006BY5u8N3mGLHa5Lgppa7L/HfwgwLgZ6NYs+Ag6uUmJRA== brace-expansion@^1.1.7: version "1.1.11" @@ -4625,7 +4663,7 @@ bs-logger@0.x: dependencies: fast-json-stable-stringify "2.x" -bs58@^4.0.0, bs58@^4.0.1: +bs58@^4.0.0: version "4.0.1" resolved "https://registry.yarnpkg.com/bs58/-/bs58-4.0.1.tgz#be161e76c354f6f788ae4071f63f34e8c4f0a42a" integrity sha512-Ok3Wdf5vOIlBrgCvTq96gBkJw+JUEzdBgyaza5HLtPm7yTHkjRy8+JzNyHF7BHa0bNWOQIp3m5YF0nnFcOIKLw== @@ -4653,7 +4691,7 @@ buffer-from@^1.0.0: resolved "https://registry.yarnpkg.com/buffer-from/-/buffer-from-1.1.2.tgz#2b146a6fd72e80b4f55d255f35ed59a3a9a41bd5" integrity sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ== -buffer@6.0.3, buffer@^6.0.3, buffer@~6.0.3: +buffer@^6.0.3: version "6.0.3" resolved "https://registry.yarnpkg.com/buffer/-/buffer-6.0.3.tgz#2ace578459cc8fbe2a70aaa8f52ee63b6a74c6c6" integrity sha512-FTiCpNxtwiZZHEZbcbTIcZjERVICn9yq/pDFkTl95/AxzD1naBctN7YO68riM/gLSDY7sdrMby8hofADYuuqOA== @@ -4661,7 +4699,7 @@ buffer@6.0.3, buffer@^6.0.3, buffer@~6.0.3: base64-js "^1.3.1" ieee754 "^1.2.1" -bufferutil@^4.0.1: +bufferutil@^4.0.8: version "4.0.8" resolved "https://registry.yarnpkg.com/bufferutil/-/bufferutil-4.0.8.tgz#1de6a71092d65d7766c4d8a522b261a6e787e8ea" integrity sha512-4T53u4PdgsXqKaIctwF8ifXlRTTmEPJ8iEPWFdGZvcf7sbwYo6FKFEX9eNNAnzFZ7EzJAQ3CJeOtCRA4rDp7Pw== @@ -4716,6 +4754,21 @@ caniuse-lite@^1.0.30001406, caniuse-lite@^1.0.30001580: resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001581.tgz#0dfd4db9e94edbdca67d57348ebc070dece279f4" integrity sha512-whlTkwhqV2tUmP3oYhtNfaWGYHDdS3JYFQBKXxcUR9qqPWsRhFHhoISO2Xnl/g0xyKzht9mI1LZpiNWfMzHixQ== +"cbw-sdk@npm:@coinbase/wallet-sdk@3.9.3": + version "3.9.3" + resolved "https://registry.yarnpkg.com/@coinbase/wallet-sdk/-/wallet-sdk-3.9.3.tgz#daf10cb0c85d0363315b7270cb3f02bedc408aab" + integrity sha512-N/A2DRIf0Y3PHc1XAMvbBUu4zisna6qAdqABMZwBMNEfWrXpAwx16pZGkYCLGE+Rvv1edbcB2LYDRnACNcmCiw== + dependencies: + bn.js "^5.2.1" + buffer "^6.0.3" + clsx "^1.2.1" + eth-block-tracker "^7.1.0" + eth-json-rpc-filters "^6.0.0" + eventemitter3 "^5.0.1" + keccak "^3.0.3" + preact "^10.16.0" + sha.js "^2.4.11" + ccount@^1.0.0: version "1.1.0" resolved "https://registry.yarnpkg.com/ccount/-/ccount-1.1.0.tgz#246687debb6014735131be8abab2d93898f8d043" @@ -4874,7 +4927,7 @@ cliui@^8.0.1: strip-ansi "^6.0.1" wrap-ansi "^7.0.0" -clsx@^1.1.0, clsx@^1.1.1: +clsx@^1.1.1, clsx@^1.2.1: version "1.2.1" resolved "https://registry.yarnpkg.com/clsx/-/clsx-1.2.1.tgz#0ddc4a20a549b59c93a4116bb26f5294ca17dc12" integrity sha512-EcR6r5a8bj6pu3ycsa/E/cKVGuTgZJZdsyUYHOksG/UHIiKfjxzRxYJpyVBwYaQeOvghal9fcc4PidlgzugAQg== @@ -4973,11 +5026,6 @@ commander@11.0.0: resolved "https://registry.yarnpkg.com/commander/-/commander-11.0.0.tgz#43e19c25dbedc8256203538e8d7e9346877a6f67" integrity sha512-9HMlXtt/BNoYr8ooyjjNRdIilOTkVJXB+GhxMTtOKwk0R4j4lS4NpjuqmRxroBfnfTSHQIHQB7wryHhXarNjmQ== -commander@^2.20.3: - version "2.20.3" - resolved "https://registry.yarnpkg.com/commander/-/commander-2.20.3.tgz#fd485e84c03eb4881c20722ba48035e8531aeb33" - integrity sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ== - commander@^7.2.0: version "7.2.0" resolved "https://registry.yarnpkg.com/commander/-/commander-7.2.0.tgz#a36cb57d0b501ce108e4d20559a150a391d97ab7" @@ -5035,7 +5083,7 @@ cookie-es@^1.0.0: resolved "https://registry.yarnpkg.com/cookie-es/-/cookie-es-1.0.0.tgz#4759684af168dfc54365b2c2dda0a8d7ee1e4865" integrity sha512-mWYvfOLrfEc996hlKcdABeIiPHUPC6DM2QYZdGGOvhOTbA3tjm2eBwqlJpoFdjC89NI4Qt6h0Pu06Mp+1Pj5OQ== -copy-to-clipboard@^3.3.1, copy-to-clipboard@^3.3.3: +copy-to-clipboard@^3.3.1: version "3.3.3" resolved "https://registry.yarnpkg.com/copy-to-clipboard/-/copy-to-clipboard-3.3.3.tgz#55ac43a1db8ae639a4bd99511c148cdd1b83a1b0" integrity sha512-2KV8NhB5JqC3ky0r9PMCAZKbUHSwtEo4CwCs0KXgruG43gX5PMqDEBbVU4OUzw2MuAWUfsuFmWvEKG5QRfSnJA== @@ -5049,6 +5097,11 @@ core-js-compat@^3.31.0, core-js-compat@^3.34.0: dependencies: browserslist "^4.22.2" +core-util-is@~1.0.0: + version "1.0.3" + resolved "https://registry.yarnpkg.com/core-util-is/-/core-util-is-1.0.3.tgz#a6042d3634c2b27e9328f837b965fac83808db85" + integrity sha512-ZQBvi1DcpJ4GDqanjucZ2Hj3wEO5pZDS89BWbkcrvdxksJorwUDDZamX9ldFkp9aw2lmBDLgkObEA4DWNJ9FYQ== + cors@^2.8.5: version "2.8.5" resolved "https://registry.yarnpkg.com/cors/-/cors-2.8.5.tgz#eac11da51592dd86b9f06f6e7ac293b3df875d29" @@ -5072,6 +5125,11 @@ cosmiconfig@^8.0.0, cosmiconfig@^8.1.3: parse-json "^5.2.0" path-type "^4.0.0" +crc-32@^1.2.0: + version "1.2.2" + resolved "https://registry.yarnpkg.com/crc-32/-/crc-32-1.2.2.tgz#3cad35a934b8bf71f25ca524b6da51fb7eace2ff" + integrity sha512-ROmzCKrTnOwybPcJApAA6WBWij23HVfGVNKqqrZpuyZOHqK2CwHSvpGuyt/UNNvaIjEd8X5IFGp4Mh+Ie1IHJQ== + create-hash@^1.1.0: version "1.2.0" resolved "https://registry.yarnpkg.com/create-hash/-/create-hash-1.2.0.tgz#889078af11a63756bcfb59bd221996be3a9ef196" @@ -5108,6 +5166,13 @@ cross-fetch@^3.1.4: dependencies: node-fetch "^2.6.12" +cross-fetch@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/cross-fetch/-/cross-fetch-4.0.0.tgz#f037aef1580bb3a1a35164ea2a848ba81b445983" + integrity sha512-e4a5N8lVvuLgAWgnCrLr2PP0YyDOTHa9H/Rj54dirp61qXnNq46m82bRhNqIA5VccJtWBvPTFRV3TtvHUKPB1g== + dependencies: + node-fetch "^2.6.12" + cross-spawn@^7.0.2, cross-spawn@^7.0.3: version "7.0.3" resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-7.0.3.tgz#f73a85b9d5d41d045551c177e2882d4ac85728a6" @@ -5200,6 +5265,13 @@ date-fns@2.29.2: resolved "https://registry.yarnpkg.com/date-fns/-/date-fns-2.29.2.tgz#0d4b3d0f3dff0f920820a070920f0d9662c51931" integrity sha512-0VNbwmWJDS/G3ySwFSJA3ayhbURMTJLtwM2DTxf9CWondCnh6DTNlO9JgRSq6ibf4eD0lfMJNBxUdEAHHix+bA== +date-fns@^2.29.3: + version "2.30.0" + resolved "https://registry.yarnpkg.com/date-fns/-/date-fns-2.30.0.tgz#f367e644839ff57894ec6ac480de40cae4b0f4d0" + integrity sha512-fnULvOpxnC5/Vg3NCiWelDsLiUc9bRwAPs/+LfTLNvetFCtCTN+yQz15C/fs4AwX1R9K5GLtLfn8QW+dWisaAw== + dependencies: + "@babel/runtime" "^7.21.0" + debug@4.3.4, debug@^4.0.0, debug@^4.1.0, debug@^4.1.1, debug@^4.3.1, debug@^4.3.2, debug@^4.3.4: version "4.3.4" resolved "https://registry.yarnpkg.com/debug/-/debug-4.3.4.tgz#1319f6579357f2338d3337d2cdd4914bb5dcc865" @@ -5214,6 +5286,13 @@ debug@^3.2.7: dependencies: ms "^2.1.1" +debug@~4.3.1, debug@~4.3.2: + version "4.3.5" + resolved "https://registry.yarnpkg.com/debug/-/debug-4.3.5.tgz#e83444eceb9fedd4a1da56d671ae2446a01a6e1e" + integrity sha512-pt0bNEmneDIvdL1Xsd9oDQ/wrQRkXDT4AUWlNZNPKvW5x/jyO9VFXkJUP07vQ2upmw5PlaITaPKc31jK13V+jg== + dependencies: + ms "2.1.2" + decamelize-keys@^1.1.0: version "1.1.1" resolved "https://registry.yarnpkg.com/decamelize-keys/-/decamelize-keys-1.1.1.tgz#04a2d523b2f18d80d0158a43b895d56dff8d19d8" @@ -5227,7 +5306,7 @@ decamelize@^1.1.0, decamelize@^1.2.0: resolved "https://registry.yarnpkg.com/decamelize/-/decamelize-1.2.0.tgz#f6534d15148269b20352e7bee26f501f9a191290" integrity sha512-z2S+W9X73hAUUki+N+9Za2lBlun89zigOyGrsax+KUQ6wKW4ZoWpEYBkGhQjwAjjDCkWxhY0VKEhk8wzY7F5cA== -decode-uri-component@^0.2.0, decode-uri-component@^0.2.2: +decode-uri-component@^0.2.2: version "0.2.2" resolved "https://registry.yarnpkg.com/decode-uri-component/-/decode-uri-component-0.2.2.tgz#e69dbe25d37941171dd540e024c444cd5188e1e9" integrity sha512-FqUYQ+8o158GyGTrMFJms9qh3CqTKvAqgqsTnkLI8sKu0028orqBhxNMFkFen0zGyg6epACD32pjVk58ngIErQ== @@ -5256,6 +5335,11 @@ define-data-property@^1.0.1, define-data-property@^1.1.1: gopd "^1.0.1" has-property-descriptors "^1.0.0" +define-lazy-prop@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/define-lazy-prop/-/define-lazy-prop-2.0.0.tgz#3f7ae421129bcaaac9bc74905c98a0009ec9ee7f" + integrity sha512-Ds09qNh8yw3khSjiJjiUInaGX9xlqZDY7JVryGxdxV7NPeuqQfplOpQ66yJFZut3jLa5zOwkXw1g9EI2uKh4Og== + define-properties@^1.1.3, define-properties@^1.2.0, define-properties@^1.2.1: version "1.2.1" resolved "https://registry.yarnpkg.com/define-properties/-/define-properties-1.2.1.tgz#10781cc616eb951a80a034bafcaa7377f6af2b6c" @@ -5270,11 +5354,6 @@ defu@^6.1.3, defu@^6.1.4: resolved "https://registry.yarnpkg.com/defu/-/defu-6.1.4.tgz#4e0c9cf9ff68fe5f3d7f2765cc1a012dfdcb0479" integrity sha512-mEQCMmwJu317oSz8CwdIOdwf3xMif1ttiM8LTufzc3g6kR+9Pe236twL8j3IYT1F7GfRgGcW6MWxzZjLIkuHIg== -delay@^5.0.0: - version "5.0.0" - resolved "https://registry.yarnpkg.com/delay/-/delay-5.0.0.tgz#137045ef1b96e5071060dd5be60bf9334436bd1d" - integrity sha512-ReEBKkIfe4ya47wlPYf/gu5ib6yUG0/Aez0JQZQz94kiWtRQvZIQbTiehsnwHvLSWJnQdhVeqYue7Id1dKr0qw== - delayed-stream@~1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/delayed-stream/-/delayed-stream-1.0.0.tgz#df3ae199acadfb7d440aaae0b29e2272b24ec619" @@ -5295,7 +5374,7 @@ destr@^2.0.1, destr@^2.0.2: resolved "https://registry.yarnpkg.com/destr/-/destr-2.0.2.tgz#8d3c0ee4ec0a76df54bc8b819bca215592a8c218" integrity sha512-65AlobnZMiCET00KaFFjUefxDX0khFA/E4myqZ7a6Sq1yZtR8+FVIvilVX66vF2uobSumxooYZChiRPCKNqhmg== -detect-browser@5.3.0, detect-browser@^5.3.0: +detect-browser@5.3.0, detect-browser@^5.2.0: version "5.3.0" resolved "https://registry.yarnpkg.com/detect-browser/-/detect-browser-5.3.0.tgz#9705ef2bddf46072d0f7265a1fe300e36fe7ceca" integrity sha512-53rsFbGdwMwlF7qvCt0ypLM5V5/Mbl0szB7GPN8y9NCcbknYOeVVXdrXEq+90IwAfrrzt6Hd+u2E2ntakICU8w== @@ -5424,6 +5503,15 @@ eastasianwidth@^0.2.0: resolved "https://registry.yarnpkg.com/eastasianwidth/-/eastasianwidth-0.2.0.tgz#696ce2ec0aa0e6ea93a397ffcf24aa7840c827cb" integrity sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA== +eciesjs@^0.3.15: + version "0.3.19" + resolved "https://registry.yarnpkg.com/eciesjs/-/eciesjs-0.3.19.tgz#a22e9e1efe3fdedec02c828e2632ae0d4a073676" + integrity sha512-b+PkRDZ3ym7HEcnbxc22CMVCpgsnr8+gGgST3U5PtgeX1luvINgfXW7efOyUtmn/jFtA/lg5ywBi/Uazf4oeaA== + dependencies: + "@types/secp256k1" "^4.0.6" + futoin-hkdf "^1.5.3" + secp256k1 "^5.0.0" + eip55@^2.1.1: version "2.1.1" resolved "https://registry.yarnpkg.com/eip55/-/eip55-2.1.1.tgz#28b743c4701ac3c811b1e9fe67e39cf1d0781b96" @@ -5449,6 +5537,19 @@ elliptic@6.5.4: minimalistic-assert "^1.0.1" minimalistic-crypto-utils "^1.0.1" +elliptic@^6.5.4: + version "6.5.5" + resolved "https://registry.yarnpkg.com/elliptic/-/elliptic-6.5.5.tgz#c715e09f78b6923977610d4c2346d6ce22e6dded" + integrity sha512-7EjbcmUm17NQFu4Pmgmq2olYMj8nwMnpcddByChSUjArp8F5DQWcIcpriwO4ZToLNAJig0yiyjswfyGNje/ixw== + dependencies: + bn.js "^4.11.9" + brorand "^1.1.0" + hash.js "^1.0.0" + hmac-drbg "^1.0.1" + inherits "^2.0.4" + minimalistic-assert "^1.0.1" + minimalistic-crypto-utils "^1.0.1" + emittery@^0.13.1: version "0.13.1" resolved "https://registry.yarnpkg.com/emittery/-/emittery-0.13.1.tgz#c04b8c3457490e0847ae51fced3af52d338e3dad" @@ -5479,13 +5580,29 @@ encode-utf8@^1.0.3: resolved "https://registry.yarnpkg.com/encode-utf8/-/encode-utf8-1.0.3.tgz#f30fdd31da07fb596f281beb2f6b027851994cda" integrity sha512-ucAnuBEhUK4boH2HjVYG5Q2mQyPorvv0u/ocS+zhdw0S8AlHYY+GOFhP1Gio5z4icpP2ivFSvhtFjQi8+T9ppw== -end-of-stream@^1.4.1: +end-of-stream@^1.1.0, end-of-stream@^1.4.0, end-of-stream@^1.4.1: version "1.4.4" resolved "https://registry.yarnpkg.com/end-of-stream/-/end-of-stream-1.4.4.tgz#5ae64a5f45057baf3626ec14da0ca5e4b2431eb0" integrity sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q== dependencies: once "^1.4.0" +engine.io-client@~6.5.2: + version "6.5.4" + resolved "https://registry.yarnpkg.com/engine.io-client/-/engine.io-client-6.5.4.tgz#b8bc71ed3f25d0d51d587729262486b4b33bd0d0" + integrity sha512-GeZeeRjpD2qf49cZQ0Wvh/8NJNfeXkXXcoGh+F77oEAgo9gUHwT1fCRxSNU+YEEaysOJTnsFHmM5oAcPy4ntvQ== + dependencies: + "@socket.io/component-emitter" "~3.1.0" + debug "~4.3.1" + engine.io-parser "~5.2.1" + ws "~8.17.1" + xmlhttprequest-ssl "~2.0.0" + +engine.io-parser@~5.2.1: + version "5.2.2" + resolved "https://registry.yarnpkg.com/engine.io-parser/-/engine.io-parser-5.2.2.tgz#37b48e2d23116919a3453738c5720455e64e1c49" + integrity sha512-RcyUFKA93/CXH20l4SoVvzZfrSDMOTUS3bWVpTt2FuFP+XYrL8i8oonHP7WInRyVHXh0n/ORtoeiE1os+8qkSw== + enhanced-resolve@^5.12.0: version "5.15.0" resolved "https://registry.yarnpkg.com/enhanced-resolve/-/enhanced-resolve-5.15.0.tgz#1af946c7d93603eb88e9896cee4904dc012e9c35" @@ -5596,33 +5713,21 @@ es-to-primitive@^1.2.1: is-date-object "^1.0.1" is-symbol "^1.0.2" -es6-promise@^4.0.3: - version "4.2.8" - resolved "https://registry.yarnpkg.com/es6-promise/-/es6-promise-4.2.8.tgz#4eb21594c972bc40553d276e510539143db53e0a" - integrity sha512-HJDGx5daxeIvxdBxvG2cb9g4tEvwIk3i8+nhX0yGrYmZUzbkdg8QbDevheDB8gd0//uPj4c1EQua8Q+MViT0/w== - -es6-promisify@^5.0.0: - version "5.0.0" - resolved "https://registry.yarnpkg.com/es6-promisify/-/es6-promisify-5.0.0.tgz#5109d62f3e56ea967c4b63505aef08291c8a5203" - integrity sha512-C+d6UdsYDk0lMebHNR4S2NybQMMngAOnOwYBQjTOiv0MkoJMP0Myw2mgpDLBcpfCmRLxyFqYhS/CfOENq4SJhQ== - dependencies: - es6-promise "^4.0.3" - escalade@^3.1.1: version "3.1.1" resolved "https://registry.yarnpkg.com/escalade/-/escalade-3.1.1.tgz#d8cfdc7000965c5a0174b4a82eaa5c0552742e40" integrity sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw== +escape-string-regexp@2.0.0, escape-string-regexp@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-2.0.0.tgz#a30304e99daa32e23b2fd20f51babd07cffca344" + integrity sha512-UpzcLCXolUWcNu5HtVMHYdXJjArjsF9C0aNnquZYY4uW/Vu0miy5YoWvbV345HauVvcAUnpRuhMMcqTcGOY2+w== + escape-string-regexp@^1.0.5: version "1.0.5" resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz#1b61c0562190a8dff6ae3bb2cf0200ca130b86d4" integrity sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg== -escape-string-regexp@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-2.0.0.tgz#a30304e99daa32e23b2fd20f51babd07cffca344" - integrity sha512-UpzcLCXolUWcNu5HtVMHYdXJjArjsF9C0aNnquZYY4uW/Vu0miy5YoWvbV345HauVvcAUnpRuhMMcqTcGOY2+w== - escape-string-regexp@^4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz#14ba83a5d373e3d311e5afca29cf5bfad965bf34" @@ -5888,22 +5993,23 @@ esutils@^2.0.2: resolved "https://registry.yarnpkg.com/esutils/-/esutils-2.0.3.tgz#74d2eb4de0b8da1293711910d50775b9b710ef64" integrity sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g== -eth-block-tracker@6.1.0: - version "6.1.0" - resolved "https://registry.yarnpkg.com/eth-block-tracker/-/eth-block-tracker-6.1.0.tgz#0481f97bbb88a100b9d45806fe7e37af741cbefc" - integrity sha512-K9SY8+/xMBi4M5HHTDdxnpEqEEGjbNpzHFqvxyjMZej8InV/B+CkFRKM6W+uvrFJ7m8Zd1E0qUkseU3vdIDFYQ== +eth-block-tracker@^7.1.0: + version "7.1.0" + resolved "https://registry.yarnpkg.com/eth-block-tracker/-/eth-block-tracker-7.1.0.tgz#dfc16085c6817cc30caabba381deb8d204c1c766" + integrity sha512-8YdplnuE1IK4xfqpf4iU7oBxnOYAc35934o083G8ao+8WM8QQtt/mVlAY6yIAdY1eMeLqg4Z//PZjJGmWGPMRg== dependencies: - "@metamask/safe-event-emitter" "^2.0.0" - "@metamask/utils" "^3.0.1" + "@metamask/eth-json-rpc-provider" "^1.0.0" + "@metamask/safe-event-emitter" "^3.0.0" + "@metamask/utils" "^5.0.1" json-rpc-random-id "^1.0.1" pify "^3.0.0" -eth-json-rpc-filters@5.1.0: - version "5.1.0" - resolved "https://registry.yarnpkg.com/eth-json-rpc-filters/-/eth-json-rpc-filters-5.1.0.tgz#f0c2aeaec2a45e2dc6ca1b9843d8e85447821427" - integrity sha512-fos+9xmoa1A2Ytsc9eYof17r81BjdJOUcGcgZn4K/tKdCCTb+a8ytEtwlu1op5qsXFDlgGmstTELFrDEc89qEQ== +eth-json-rpc-filters@^6.0.0: + version "6.0.1" + resolved "https://registry.yarnpkg.com/eth-json-rpc-filters/-/eth-json-rpc-filters-6.0.1.tgz#0b3e370f017f5c6f58d3e7bd0756d8099ed85c56" + integrity sha512-ITJTvqoCw6OVMLs7pI8f4gG92n/St6x80ACtHodeS+IXmO0w+t1T5OOzfSt7KLSMLRkVUoexV7tztLgDxg+iig== dependencies: - "@metamask/safe-event-emitter" "^2.0.0" + "@metamask/safe-event-emitter" "^3.0.0" async-mutex "^0.2.6" eth-query "^2.1.2" json-rpc-engine "^6.1.0" @@ -5917,20 +6023,23 @@ eth-query@^2.1.2: json-rpc-random-id "^1.0.0" xtend "^4.0.1" -eth-rpc-errors@4.0.2: - version "4.0.2" - resolved "https://registry.yarnpkg.com/eth-rpc-errors/-/eth-rpc-errors-4.0.2.tgz#11bc164e25237a679061ac05b7da7537b673d3b7" - integrity sha512-n+Re6Gu8XGyfFy1it0AwbD1x0MUzspQs0D5UiPs1fFPCr6WAwZM+vbIhXheBFrpgosqN9bs5PqlB4Q61U/QytQ== - dependencies: - fast-safe-stringify "^2.0.6" - -eth-rpc-errors@^4.0.2: +eth-rpc-errors@^4.0.2, eth-rpc-errors@^4.0.3: version "4.0.3" resolved "https://registry.yarnpkg.com/eth-rpc-errors/-/eth-rpc-errors-4.0.3.tgz#6ddb6190a4bf360afda82790bb7d9d5e724f423a" integrity sha512-Z3ymjopaoft7JDoxZcEb3pwdGh7yiYMhOwm2doUt6ASXlMavpNlK6Cre0+IMl2VSGyEU9rkiperQhp5iRxn5Pg== dependencies: fast-safe-stringify "^2.0.6" +ethereum-cryptography@^2.0.0: + version "2.2.0" + resolved "https://registry.yarnpkg.com/ethereum-cryptography/-/ethereum-cryptography-2.2.0.tgz#06e2d9c0d89f98ffc6a83818f55bf85afecd50dc" + integrity sha512-hsm9JhfytIf8QME/3B7j4bc8V+VdTU+Vas1aJlvIS96ffoNAosudXvGoEvWmc7QZYdkC8mrMJz9r0fcbw7GyCA== + dependencies: + "@noble/curves" "1.4.0" + "@noble/hashes" "1.4.0" + "@scure/bip32" "1.4.0" + "@scure/bip39" "1.3.0" + ethers@5.7.2, ethers@^5.7.2: version "5.7.2" resolved "https://registry.yarnpkg.com/ethers/-/ethers-5.7.2.tgz#3a7deeabbb8c030d4126b24f84e525466145872e" @@ -5972,17 +6081,22 @@ event-target-shim@^5.0.0: resolved "https://registry.yarnpkg.com/event-target-shim/-/event-target-shim-5.0.1.tgz#5d4d3ebdf9583d63a5333ce2deb7480ab2b05789" integrity sha512-i/2XbnSz/uxRCU6+NdVJgKWDTM427+MqYbkQzD321DuCQJUqOuJKIA0IM2+W2xtYHdKOmZ4dR6fExsd4SXL+WQ== -eventemitter3@^4.0.0, eventemitter3@^4.0.7: - version "4.0.7" - resolved "https://registry.yarnpkg.com/eventemitter3/-/eventemitter3-4.0.7.tgz#2de9b68f6528d5644ef5c59526a1b4a07306169f" - integrity sha512-8guHBZCwKnFhYdHr2ysuRWErTwhoN2X8XELRlrRwpmfeY2jjuUN4taQMsULKUVo1K4DvZl+0pgfyoysHxvmvEw== +eventemitter2@^6.4.7: + version "6.4.9" + resolved "https://registry.yarnpkg.com/eventemitter2/-/eventemitter2-6.4.9.tgz#41f2750781b4230ed58827bc119d293471ecb125" + integrity sha512-JEPTiaOt9f04oa6NOkc4aH+nVp5I3wEjpHbIPqfgCdD5v5bUzy7xQqwcVO2aDQgOWhI28da57HksMrzK9HlRxg== -eventemitter3@^5.0.1: +eventemitter3@5.0.1, eventemitter3@^5.0.1: version "5.0.1" resolved "https://registry.yarnpkg.com/eventemitter3/-/eventemitter3-5.0.1.tgz#53f5ffd0a492ac800721bb42c66b841de96423c4" integrity sha512-GWkBvjiSZK87ELrYOSESUYeVIc9mvLLf/nXalMOS5dYrgZq9o5OVkbZAVM06CVxYsCwH9BDZFPlQTlPA1j4ahA== -events@^3.3.0: +eventemitter3@^4.0.0: + version "4.0.7" + resolved "https://registry.yarnpkg.com/eventemitter3/-/eventemitter3-4.0.7.tgz#2de9b68f6528d5644ef5c59526a1b4a07306169f" + integrity sha512-8guHBZCwKnFhYdHr2ysuRWErTwhoN2X8XELRlrRwpmfeY2jjuUN4taQMsULKUVo1K4DvZl+0pgfyoysHxvmvEw== + +events@3.3.0, events@^3.3.0: version "3.3.0" resolved "https://registry.yarnpkg.com/events/-/events-3.3.0.tgz#31a95ad0a924e2d2c419a813aeb2c4e878ea7400" integrity sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q== @@ -6060,6 +6174,14 @@ extend@^3.0.0: resolved "https://registry.yarnpkg.com/extend/-/extend-3.0.2.tgz#f8b1136b4071fbd8eb140aff858b1019ec2915fa" integrity sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g== +extension-port-stream@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/extension-port-stream/-/extension-port-stream-3.0.0.tgz#00a7185fe2322708a36ed24843c81bd754925fef" + integrity sha512-an2S5quJMiy5bnZKEf6AkfH/7r8CzHvhchU40gxN+OM6HPhe7Z9T1FUychcf2M9PpPOO0Hf7BAEfJkw2TDIBDw== + dependencies: + readable-stream "^3.6.2 || ^4.4.2" + webextension-polyfill ">=0.10.0 <1.0" + external-editor@^3.0.3: version "3.1.0" resolved "https://registry.yarnpkg.com/external-editor/-/external-editor-3.1.0.tgz#cb03f740befae03ea4d283caed2741a83f335495" @@ -6069,11 +6191,6 @@ external-editor@^3.0.3: iconv-lite "^0.4.24" tmp "^0.0.33" -eyes@^0.1.8: - version "0.1.8" - resolved "https://registry.yarnpkg.com/eyes/-/eyes-0.1.8.tgz#62cf120234c683785d902348a800ef3e0cc20bc0" - integrity sha512-GipyPsXO1anza0AOZdy69Im7hGFCNB7Y/NGjDlZGJ3GJJLtwNSb2vrzYrTYJRrRloVx7pl+bhUaTB8yiccPvFQ== - fast-deep-equal@^3.1.1, fast-deep-equal@^3.1.3: version "3.1.3" resolved "https://registry.yarnpkg.com/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz#3a7d56b559d6cbc3eb512325244e619a65c6c525" @@ -6110,11 +6227,6 @@ fast-safe-stringify@^2.0.6: resolved "https://registry.yarnpkg.com/fast-safe-stringify/-/fast-safe-stringify-2.1.1.tgz#c406a83b6e70d9e35ce3b30a81141df30aeba884" integrity sha512-W+KJc2dmILlPplD/H4K9l9LcAHAfPtP6BY84uVLXQ6Evcz9Lcg33Y2z1IVblT6xdY54PXYVHEv+0Wpq8Io6zkA== -fast-stable-stringify@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/fast-stable-stringify/-/fast-stable-stringify-1.0.0.tgz#5c5543462b22aeeefd36d05b34e51c78cb86d313" - integrity sha512-wpYMUmFu5f00Sm0cj2pfivpmawLZ0NKdviQ4w9zJeR8JVtOpOxHmLaJuj0vxvGqMJQWyP/COUkF75/57OKyRag== - fastq@^1.6.0: version "1.17.0" resolved "https://registry.yarnpkg.com/fastq/-/fastq-1.17.0.tgz#ca5e1a90b5e68f97fc8b61330d5819b82f5fab03" @@ -6148,11 +6260,6 @@ file-entry-cache@^6.0.1: dependencies: flat-cache "^3.0.4" -file-uri-to-path@1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/file-uri-to-path/-/file-uri-to-path-1.0.0.tgz#553a7b8446ff6f684359c445f1e37a05dacc33dd" - integrity sha512-0Zt+s3L7Vf1biwWZ29aARiVYLx7iMGnEUl9x33fbB/j3jR81u/O2LbqK+Bm1CDSNDKVtJ/YjwY7TUd5SkeLQLw== - fill-range@^7.0.1: version "7.0.1" resolved "https://registry.yarnpkg.com/fill-range/-/fill-range-7.0.1.tgz#1919a6a7c75fe38b2c7c77e5198535da9acdda40" @@ -6291,6 +6398,11 @@ functions-have-names@^1.2.3: resolved "https://registry.yarnpkg.com/functions-have-names/-/functions-have-names-1.2.3.tgz#0404fe4ee2ba2f607f0e0ec3c80bae994133b834" integrity sha512-xckBUXyTIqT97tq2x2AMb+g163b5JFysYk0x4qxNFwbfQkmNZoiRHb6sPzI9/QV33WeuvVYBUIiD4NzNIyqaRQ== +futoin-hkdf@^1.5.3: + version "1.5.3" + resolved "https://registry.yarnpkg.com/futoin-hkdf/-/futoin-hkdf-1.5.3.tgz#6c8024f2e1429da086d4e18289ef2239ad33ee35" + integrity sha512-SewY5KdMpaoCeh7jachEWFsh1nNlaDjNHZXWqL5IGwtpEYHTgkr2+AMCgNwKWkcc0wpSYrZfR7he4WdmHFtDxQ== + gensync@^1.0.0-beta.2: version "1.0.0-beta.2" resolved "https://registry.yarnpkg.com/gensync/-/gensync-1.0.0-beta.2.tgz#32a6ee76c3d7f52d46b2b1ae5d93fea8580a25e0" @@ -6535,7 +6647,7 @@ hash-base@^3.0.0: readable-stream "^3.6.0" safe-buffer "^5.2.0" -hash.js@1.1.7, hash.js@^1.0.0, hash.js@^1.0.3, hash.js@^1.1.7: +hash.js@1.1.7, hash.js@^1.0.0, hash.js@^1.0.3: version "1.1.7" resolved "https://registry.yarnpkg.com/hash.js/-/hash.js-1.1.7.tgz#0babca538e8d4ee4a0f8988d68866537a003cf42" integrity sha512-taOaskGt4z4SOANNseOviYDvjEJinIkRgmp7LbKP2YTTmVxWBl87s/uzK9r+44BclBSp2X7K1hqeNfz9JbBeXA== @@ -6646,18 +6758,25 @@ human-signals@^5.0.0: resolved "https://registry.yarnpkg.com/human-signals/-/human-signals-5.0.0.tgz#42665a284f9ae0dade3ba41ebc37eb4b852f3a28" integrity sha512-AXcZb6vzzrFAUE61HnN4mpLqd/cSIwNQjtNWR0euPm6y0iqx3G4gOXaIDdtdDwZmhwe82LA6+zinmW4UBWVePQ== -humanize-ms@^1.2.1: - version "1.2.1" - resolved "https://registry.yarnpkg.com/humanize-ms/-/humanize-ms-1.2.1.tgz#c46e3159a293f6b896da29316d8b6fe8bb79bbed" - integrity sha512-Fl70vYtsAFb/C06PTS9dZBo7ihau+Tu/DNCk/OyHhea07S+aeMWpFFkUaXRa8fI+ScZbEI8dfSxwY7gxZ9SAVQ== - dependencies: - ms "^2.0.0" - husky@^7.0.1: version "7.0.4" resolved "https://registry.yarnpkg.com/husky/-/husky-7.0.4.tgz#242048245dc49c8fb1bf0cc7cfb98dd722531535" integrity sha512-vbaCKN2QLtP/vD4yvs6iz6hBEo6wkSzs8HpRah1Z6aGmF2KW5PdYuAd7uX5a+OyBZHBhd+TFLqgjUgytQr4RvQ== +i18next-browser-languagedetector@7.1.0: + version "7.1.0" + resolved "https://registry.yarnpkg.com/i18next-browser-languagedetector/-/i18next-browser-languagedetector-7.1.0.tgz#01876fac51f86b78975e79b48ccb62e2313a2d7d" + integrity sha512-cr2k7u1XJJ4HTOjM9GyOMtbOA47RtUoWRAtt52z43r3AoMs2StYKyjS3URPhzHaf+mn10hY9dZWamga5WPQjhA== + dependencies: + "@babel/runtime" "^7.19.4" + +i18next@22.5.1: + version "22.5.1" + resolved "https://registry.yarnpkg.com/i18next/-/i18next-22.5.1.tgz#99df0b318741a506000c243429a7352e5f44d424" + integrity sha512-8TGPgM3pAD+VRsMtUMNknRz3kzqwp/gPALrWMsDnmC1mKqJwpWyooQRLMcbTwq8z8YwSmuj+ZYvc+xCuEpkssA== + dependencies: + "@babel/runtime" "^7.20.6" + iconv-lite@^0.4.24: version "0.4.24" resolved "https://registry.yarnpkg.com/iconv-lite/-/iconv-lite-0.4.24.tgz#2022b4b25fbddc21d2f524974a474aafe733908b" @@ -6714,7 +6833,7 @@ inflight@^1.0.4: once "^1.3.0" wrappy "1" -inherits@2, inherits@^2.0.1, inherits@^2.0.3, inherits@^2.0.4, inherits@~2.0.4: +inherits@2, inherits@^2.0.1, inherits@^2.0.3, inherits@^2.0.4, inherits@~2.0.3: version "2.0.4" resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.4.tgz#0fa2c64f932917c3433a0ded55363aae37416b7c" integrity sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ== @@ -6752,7 +6871,7 @@ internal-slot@^1.0.5: hasown "^2.0.0" side-channel "^1.0.4" -invariant@2, invariant@^2.2.2: +invariant@2, invariant@2.2.4, invariant@^2.2.2: version "2.2.4" resolved "https://registry.yarnpkg.com/invariant/-/invariant-2.2.4.tgz#610f3c92c9359ce1db616e538008d23ff35158e6" integrity sha512-phJfQVBuaJM5raOpJjSfkiD6BpbCE4Ns//LaXl6wGYtUBY83nWS6Rf9tXm2e8VaK60JEjYldbPif/A2B1C2gNA== @@ -6889,6 +7008,11 @@ is-decimal@^1.0.0: resolved "https://registry.yarnpkg.com/is-decimal/-/is-decimal-1.0.4.tgz#65a3a5958a1c5b63a706e1b333d7cd9f630d3fa5" integrity sha512-RGdriMmQQvZ2aqaQq3awNA6dCGtKpiDFcOzrTWrDAT2MiWrKQVPmxLGHl7Y2nNu6led0kEyoX0enY0qXYsv9zw== +is-docker@^2.0.0, is-docker@^2.1.1: + version "2.2.1" + resolved "https://registry.yarnpkg.com/is-docker/-/is-docker-2.2.1.tgz#33eeabe23cfe86f14bde4408a02c0cfb853acdaa" + integrity sha512-F+i2BKsFrH66iaUFc0woD8sLy8getkwTwtOBjvs56Cx4CgJDeKQeqfz8wAYiSb8JOprWhHH5p77PbmYCvvUuXQ== + is-docker@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/is-docker/-/is-docker-3.0.0.tgz#90093aa3106277d8a77a5910dbae71747e15a200" @@ -7057,11 +7181,6 @@ is-typed-array@^1.1.10, is-typed-array@^1.1.12, is-typed-array@^1.1.3, is-typed- dependencies: which-typed-array "^1.1.11" -is-typedarray@1.0.0, is-typedarray@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/is-typedarray/-/is-typedarray-1.0.0.tgz#e479c80858df0c1b11ddda6940f96011fcda4a9a" - integrity sha512-cyA56iCMHAh5CdzjJIa4aohJyeO1YbwLi3Jc35MmRU6poroFjIGZzUzupGiRPOjgHg9TLu43xbpwXk523fMxKA== - is-weakmap@^2.0.1: version "2.0.1" resolved "https://registry.yarnpkg.com/is-weakmap/-/is-weakmap-2.0.1.tgz#5008b59bdc43b698201d18f62b37b2ca243e8cf2" @@ -7082,6 +7201,13 @@ is-weakset@^2.0.1: call-bind "^1.0.2" get-intrinsic "^1.1.1" +is-wsl@^2.2.0: + version "2.2.0" + resolved "https://registry.yarnpkg.com/is-wsl/-/is-wsl-2.2.0.tgz#74a4c76e77ca9fd3f932f290c17ea326cd157271" + integrity sha512-fKzAra0rGJUUBwGBgNkHZuToZcn+TtXHpeCgmkMJMMYx1sQDYaCSyjJBSCa2nH1DGm7s3n1oBnohoVTBaN7Lww== + dependencies: + is-docker "^2.0.0" + is-wsl@^3.1.0: version "3.1.0" resolved "https://registry.yarnpkg.com/is-wsl/-/is-wsl-3.1.0.tgz#e1c657e39c10090afcbedec61720f6b924c3cbd2" @@ -7101,6 +7227,11 @@ isarray@^2.0.5: resolved "https://registry.yarnpkg.com/isarray/-/isarray-2.0.5.tgz#8af1e4c1221244cc62459faf38940d4e644a5723" integrity sha512-xHjhDr3cNBK0BzdUJSPXZntQUx/mwMS5Rw4A7lPJ90XGAO6ISP/ePDNuo0vhqOZU+UD5JoodwCAAoZQd3FeAKw== +isarray@~1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/isarray/-/isarray-1.0.0.tgz#bb935d48582cba168c06834957a54a3e07124f11" + integrity sha512-VLghIWNM6ELQzo7zwmcg0NmTVyWKYjvIeM83yjp0wRDTmUnrM678fQbcKBo6n2CJEF0szoG//ytg+TKla89ALQ== + isexe@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/isexe/-/isexe-2.0.0.tgz#e8fbf374dc556ff8947a10dcb0572d633f2cfa10" @@ -7114,10 +7245,23 @@ isomorphic-fetch@^3.0.0: node-fetch "^2.6.1" whatwg-fetch "^3.4.1" -isomorphic-ws@^4.0.1: - version "4.0.1" - resolved "https://registry.yarnpkg.com/isomorphic-ws/-/isomorphic-ws-4.0.1.tgz#55fd4cd6c5e6491e76dc125938dd863f5cd4f2dc" - integrity sha512-BhBvN2MBpWTaSHdWRb/bwdZJ1WaehQ2L1KngkCkfLUGF0mAWAT1sQUQacEmQ0jXkFw/czDXPNQSL5u2/Krsz1w== +isomorphic-unfetch@3.1.0: + version "3.1.0" + resolved "https://registry.yarnpkg.com/isomorphic-unfetch/-/isomorphic-unfetch-3.1.0.tgz#87341d5f4f7b63843d468438128cb087b7c3e98f" + integrity sha512-geDJjpoZ8N0kWexiwkX8F9NkTsXhetLPVbZFQ+JTW239QNOwvB0gniuR1Wc6f0AMTn7/mFGyXvHTifrCp/GH8Q== + dependencies: + node-fetch "^2.6.1" + unfetch "^4.2.0" + +isows@1.0.3: + version "1.0.3" + resolved "https://registry.yarnpkg.com/isows/-/isows-1.0.3.tgz#93c1cf0575daf56e7120bab5c8c448b0809d0d74" + integrity sha512-2cKei4vlmg2cxEjm3wVSqn8pcoRF/LX/wpifuuNquFO4SQmPwarClT+SUCA2lt+l581tTeZIPIZuIDo2jWN1fg== + +isows@1.0.4: + version "1.0.4" + resolved "https://registry.yarnpkg.com/isows/-/isows-1.0.4.tgz#810cd0d90cc4995c26395d2aa4cfa4037ebdf061" + integrity sha512-hEzjY+x9u9hPmBom9IIAqdJCwNLax+xrPb51vEPpERoFlIxgmZcHzsT5jKG06nvInKOBGvReAVz80Umed5CczQ== istanbul-lib-coverage@^3.0.0, istanbul-lib-coverage@^3.2.0: version "3.2.2" @@ -7183,24 +7327,6 @@ iterator.prototype@^1.1.2: reflect.getprototypeof "^1.0.4" set-function-name "^2.0.1" -jayson@^4.1.0: - version "4.1.0" - resolved "https://registry.yarnpkg.com/jayson/-/jayson-4.1.0.tgz#60dc946a85197317f2b1439d672a8b0a99cea2f9" - integrity sha512-R6JlbyLN53Mjku329XoRT2zJAE6ZgOQ8f91ucYdMCD4nkGCF9kZSrcGXpHIU4jeKj58zUZke2p+cdQchU7Ly7A== - dependencies: - "@types/connect" "^3.4.33" - "@types/node" "^12.12.54" - "@types/ws" "^7.4.4" - JSONStream "^1.3.5" - commander "^2.20.3" - delay "^5.0.0" - es6-promisify "^5.0.0" - eyes "^0.1.8" - isomorphic-ws "^4.0.1" - json-stringify-safe "^5.0.1" - uuid "^8.3.2" - ws "^7.4.5" - jest-changed-files@^29.7.0: version "29.7.0" resolved "https://registry.yarnpkg.com/jest-changed-files/-/jest-changed-files-29.7.0.tgz#1c06d07e77c78e1585d020424dedc10d6e17ac3a" @@ -7644,7 +7770,7 @@ json-parse-even-better-errors@^2.3.0: resolved "https://registry.yarnpkg.com/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz#7c47805a94319928e05777405dc12e1f7a4ee02d" integrity sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w== -json-rpc-engine@6.1.0, json-rpc-engine@^6.1.0: +json-rpc-engine@^6.1.0: version "6.1.0" resolved "https://registry.yarnpkg.com/json-rpc-engine/-/json-rpc-engine-6.1.0.tgz#bf5ff7d029e1c1bf20cb6c0e9f348dcd8be5a393" integrity sha512-NEdLrtrq1jUZyfjkr9OCz9EzCNhnRyWtt1PAnvnhwy6e8XETS0Dtc+ZNCO2gvuAoKsIn2+vCSowXTYE4CkgnAQ== @@ -7672,11 +7798,6 @@ json-stable-stringify-without-jsonify@^1.0.1: resolved "https://registry.yarnpkg.com/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz#9db7b59496ad3f3cfef30a75142d2d930ad72651" integrity sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw== -json-stringify-safe@^5.0.1: - version "5.0.1" - resolved "https://registry.yarnpkg.com/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz#1296a2d58fd45f19a0f6ce01d65701e2c735b6eb" - integrity sha512-ZClg6AaYvamvYEE82d3Iyd3vSSIjQ+odgjaTzRuO3s7toCdFKczob2i0zCh7JE8kWn17yvAWhUVxvqGwUalsRA== - json5@^1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/json5/-/json5-1.0.2.tgz#63d98d60f21b313b77c4d6da18bfa69d80e1d593" @@ -7730,7 +7851,7 @@ jsonschema@^1.4.1: object.assign "^4.1.4" object.values "^1.1.6" -keccak@^3.0.1, keccak@^3.0.3: +keccak@^3.0.3: version "3.0.4" resolved "https://registry.yarnpkg.com/keccak/-/keccak-3.0.4.tgz#edc09b89e633c0549da444432ecf062ffadee86d" integrity sha512-3vKuW0jV8J3XNTzvfyicFR5qvxrSAGl7KIhvgOu5cmWwM7tZRj3fMbj/pfIf4be7aznbc+prBWGjywox/g2Y6Q== @@ -8186,6 +8307,11 @@ mersenne-twister@^1.1.0: resolved "https://registry.yarnpkg.com/mersenne-twister/-/mersenne-twister-1.1.0.tgz#f916618ee43d7179efcf641bec4531eb9670978a" integrity sha512-mUYWsMKNrm4lfygPkL3OfGzOPTR2DBlTkBNHM//F6hGp8cLThY897crAlk3/Jo17LEOOjQUrNAx6DvgO77QJkA== +micro-ftch@^0.3.1: + version "0.3.1" + resolved "https://registry.yarnpkg.com/micro-ftch/-/micro-ftch-0.3.1.tgz#6cb83388de4c1f279a034fb0cf96dfc050853c5f" + integrity sha512-/0LLxhzP0tfiR5hcQebtudP56gUurs2CLkGarnCiB/OqEyUFQ6U3paQi/tgLv0hBJYt2rnr9MNpxz4fiiugstg== + micromark@~2.11.0: version "2.11.4" resolved "https://registry.yarnpkg.com/micromark/-/micromark-2.11.4.tgz#d13436138eea826383e822449c9a5c50ee44665a" @@ -8277,6 +8403,13 @@ minimist@^1.2.0, minimist@^1.2.6: resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.8.tgz#c1a464e7693302e082a075cee0c057741ac4772c" integrity sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA== +mipd@0.0.5: + version "0.0.5" + resolved "https://registry.yarnpkg.com/mipd/-/mipd-0.0.5.tgz#367ee796531c23f0631f129038700b1406663aec" + integrity sha512-gbKA784D2WKb5H/GtqEv+Ofd1S9Zj+Z/PGDIl1u1QAbswkxD28BQ5bSXQxkeBzPBABg1iDSbiwGG1XqlOxRspA== + dependencies: + viem "^1.1.4" + mkdirp@^1.0.4: version "1.0.4" resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-1.0.4.tgz#3eb5ed62622756d79a5f0e2a221dfebad75c2f7e" @@ -8319,7 +8452,7 @@ ms@2.1.2: resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.2.tgz#d09d1f357b443f493382a8eb3ccd183872ae6009" integrity sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w== -ms@^2.0.0, ms@^2.1.1, ms@^2.1.3: +ms@^2.1.1, ms@^2.1.3: version "2.1.3" resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.3.tgz#574c8138ce1d2b5861f0b44579dbadd60c6615b2" integrity sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA== @@ -8401,6 +8534,11 @@ node-addon-api@^2.0.0: resolved "https://registry.yarnpkg.com/node-addon-api/-/node-addon-api-2.0.2.tgz#432cfa82962ce494b132e9d72a15b29f71ff5d32" integrity sha512-Ntyt4AIXyaLIuMHF6IOoTakB3K+RWxwtsHNRxllEoA6vPwP9o4866g6YWDLUdnucilZhmkxiHwHr11gAENw+QA== +node-addon-api@^5.0.0: + version "5.1.0" + resolved "https://registry.yarnpkg.com/node-addon-api/-/node-addon-api-5.1.0.tgz#49da1ca055e109a23d537e9de43c09cca21eb762" + integrity sha512-eh0GgfEkpnoWDq+VY8OyvYhFEzBk6jIYbRKdIlyTiAXIVJ8PyBaKb0rp7oDtoddbdoHWhq8wwr+XZ81F1rpNdA== + node-addon-api@^7.0.0: version "7.1.0" resolved "https://registry.yarnpkg.com/node-addon-api/-/node-addon-api-7.1.0.tgz#71f609369379c08e251c558527a107107b5e0fdb" @@ -8411,7 +8549,7 @@ node-fetch-native@^1.4.0, node-fetch-native@^1.4.1, node-fetch-native@^1.6.1: resolved "https://registry.yarnpkg.com/node-fetch-native/-/node-fetch-native-1.6.1.tgz#f95c74917d3cebc794cdae0cd2a9c7594aad0cb4" integrity sha512-bW9T/uJDPAJB2YNYEpWzE54U5O3MQidXsOyTfnbKYtTtFexRvGzb1waphBN4ZwP6EcIvYYEOwW0b72BpAqydTw== -node-fetch@^2.6.1, node-fetch@^2.6.12, node-fetch@^2.6.7, node-fetch@^2.7.0: +node-fetch@^2.6.1, node-fetch@^2.6.12, node-fetch@^2.6.7: version "2.7.0" resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-2.7.0.tgz#d0f0fa6e3e2dc1d27efcd8ad99d550bda94d187d" integrity sha512-c4FRfUm/dbcWZ7U+1Wq0AwCyFL+3nt2bEw05wfxSz+DWpWsitgmSgYmy2dQdWyKC1694ELPqMs/YzUSNozLt8A== @@ -8489,6 +8627,15 @@ nth-check@^2.0.1: dependencies: boolbase "^1.0.0" +obj-multiplex@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/obj-multiplex/-/obj-multiplex-1.0.0.tgz#2f2ae6bfd4ae11befe742ea9ea5b36636eabffc1" + integrity sha512-0GNJAOsHoBHeNTvl5Vt6IWnpUEcc3uSRxzBri7EDyIcMgYvnY2JL2qdeV5zTMjWQX5OHcD5amcW2HFfDh0gjIA== + dependencies: + end-of-stream "^1.4.0" + once "^1.4.0" + readable-stream "^2.3.3" + object-assign@^4, object-assign@^4.1.1: version "4.1.1" resolved "https://registry.yarnpkg.com/object-assign/-/object-assign-4.1.1.tgz#2109adc7965887cfc05cbbd442cac8bfbb360863" @@ -8583,7 +8730,7 @@ on-exit-leak-free@^2.1.0: resolved "https://registry.yarnpkg.com/on-exit-leak-free/-/on-exit-leak-free-2.1.2.tgz#fed195c9ebddb7d9e4c3842f93f281ac8dadd3b8" integrity sha512-0eJJY6hXLGf1udHwfNftBqH+g73EU4B504nZeKpz1sYRKafAghwxEJunB2O7rDZkL4PGfsMVnTXZ2EjibbqcsA== -once@^1.3.0, once@^1.4.0: +once@^1.3.0, once@^1.3.1, once@^1.4.0: version "1.4.0" resolved "https://registry.yarnpkg.com/once/-/once-1.4.0.tgz#583b1aa775961d4b113ac17d9c50baef9dd76bd1" integrity sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w== @@ -8618,6 +8765,15 @@ onetime@^6.0.0: dependencies: mimic-fn "^4.0.0" +open@^8.4.0: + version "8.4.2" + resolved "https://registry.yarnpkg.com/open/-/open-8.4.2.tgz#5b5ffe2a8f793dcd2aad73e550cb87b59cb084f9" + integrity sha512-7x81NCL719oNbsq/3mh+hVrAWmFuEYUqrq/Iw3kUzH8ReypT9QQ0BLoJS7/G9k6N81XjW4qHWtjWwe/9eLy1EQ== + dependencies: + define-lazy-prop "^2.0.0" + is-docker "^2.1.1" + is-wsl "^2.2.0" + opener@^1.5.2: version "1.5.2" resolved "https://registry.yarnpkg.com/opener/-/opener-1.5.2.tgz#5d37e1f35077b9dcac4301372271afdeb2a13598" @@ -8872,6 +9028,11 @@ pngjs@^5.0.0: resolved "https://registry.yarnpkg.com/pngjs/-/pngjs-5.0.0.tgz#e79dd2b215767fd9c04561c01236df960bce7fbb" integrity sha512-40QW5YalBNfQo5yRYmiw7Yz6TKKVr3h6970B2YE+3fQpsWcrbj1PzJgxeJ19DRQjhMbKPIuMY8rFaXc8moolVw== +pony-cause@^2.1.10: + version "2.1.11" + resolved "https://registry.yarnpkg.com/pony-cause/-/pony-cause-2.1.11.tgz#d69a20aaccdb3bdb8f74dd59e5c68d8e6772e4bd" + integrity sha512-M7LhCsdNbNgiLYiP4WjsfLUuFmCfnjdF6jKe2R9NKl4WFN+HZPGHJZ9lnLP7f9ZnKe3U9nuWD0szirmj+migUg== + postcss-value-parser@^4.0.2: version "4.2.0" resolved "https://registry.yarnpkg.com/postcss-value-parser/-/postcss-value-parser-4.2.0.tgz#723c09920836ba6d3e5af019f92bc0971c02e514" @@ -8886,10 +9047,10 @@ postcss@8.4.14, postcss@^8.4.31: picocolors "^1.0.0" source-map-js "^1.0.2" -preact@^10.12.0, preact@^10.5.9: - version "10.19.3" - resolved "https://registry.yarnpkg.com/preact/-/preact-10.19.3.tgz#7a7107ed2598a60676c943709ea3efb8aaafa899" - integrity sha512-nHHTeFVBTHRGxJXKkKu5hT8C/YWBkPso4/Gad6xuj5dbptt9iF9NZr9pHbPhBrnT2klheu7mHTxTZ/LjwJiEiQ== +preact@^10.16.0: + version "10.22.0" + resolved "https://registry.yarnpkg.com/preact/-/preact-10.22.0.tgz#a50f38006ae438d255e2631cbdaf7488e6dd4e16" + integrity sha512-RRurnSjJPj4rp5K6XoP45Ui33ncb7e4H7WiOHVpjbkvqvA3U+N8Z6Qbo0AE6leGYBV66n8EhEaFixvIu3SkxFw== prelude-ls@^1.2.1: version "1.2.1" @@ -8925,6 +9086,11 @@ pretty-format@^29.7.0: ansi-styles "^5.0.0" react-is "^18.0.0" +process-nextick-args@~2.0.0: + version "2.0.1" + resolved "https://registry.yarnpkg.com/process-nextick-args/-/process-nextick-args-2.0.1.tgz#7820d9b16120cc55ca9ae7792680ae7dba6d7fe2" + integrity sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag== + process-warning@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/process-warning/-/process-warning-1.0.0.tgz#980a0b25dc38cd6034181be4b7726d89066b4616" @@ -8981,6 +9147,14 @@ proxy-from-env@^1.1.0: resolved "https://registry.yarnpkg.com/proxy-from-env/-/proxy-from-env-1.1.0.tgz#e102f16ca355424865755d2c9e8ea4f24d58c3e2" integrity sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg== +pump@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/pump/-/pump-3.0.0.tgz#b4a2116815bde2f4e1ea602354e8c75565107a64" + integrity sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww== + dependencies: + end-of-stream "^1.1.0" + once "^1.3.1" + punycode@^2.1.0: version "2.3.1" resolved "https://registry.yarnpkg.com/punycode/-/punycode-2.3.1.tgz#027422e2faec0b25e1549c3e1bd8309b9133b6e5" @@ -8991,7 +9165,24 @@ pure-rand@^6.0.0: resolved "https://registry.yarnpkg.com/pure-rand/-/pure-rand-6.0.4.tgz#50b737f6a925468679bff00ad20eade53f37d5c7" integrity sha512-LA0Y9kxMYv47GIPJy6MI84fqTd2HmYZI83W/kM/SkKfDlajnZYfmXFTxkbY+xSBPkLJxltMa9hIkmdc29eguMA== -qrcode@1.5.3, qrcode@^1.5.1: +qr-code-styling@^1.6.0-rc.1: + version "1.6.0-rc.1" + resolved "https://registry.yarnpkg.com/qr-code-styling/-/qr-code-styling-1.6.0-rc.1.tgz#6c89e185fa50cc9135101085c12ae95b06f1b290" + integrity sha512-ModRIiW6oUnsP18QzrRYZSc/CFKFKIdj7pUs57AEVH20ajlglRpN3HukjHk0UbNMTlKGuaYl7Gt6/O5Gg2NU2Q== + dependencies: + qrcode-generator "^1.4.3" + +qrcode-generator@^1.4.3: + version "1.4.4" + resolved "https://registry.yarnpkg.com/qrcode-generator/-/qrcode-generator-1.4.4.tgz#63f771224854759329a99048806a53ed278740e7" + integrity sha512-HM7yY8O2ilqhmULxGMpcHSF1EhJJ9yBj8gvDEuZ6M+KGJ0YY2hKpnXvRD+hZPLrDVck3ExIGhmPtSdcjC+guuw== + +qrcode-terminal-nooctal@^0.12.1: + version "0.12.1" + resolved "https://registry.yarnpkg.com/qrcode-terminal-nooctal/-/qrcode-terminal-nooctal-0.12.1.tgz#45016aca0d82b2818de7af0a06d072ad671fbe2e" + integrity sha512-jy/kkD0iIMDjTucB+5T6KBsnirlhegDH47vHgrj5MejchSQmi/EAMM0xMFeePgV9CJkkAapNakpVUWYgHvtdKg== + +qrcode@1.5.3: version "1.5.3" resolved "https://registry.yarnpkg.com/qrcode/-/qrcode-1.5.3.tgz#03afa80912c0dccf12bc93f615a535aad1066170" integrity sha512-puyri6ApkEHYiVl4CFzo1tDkAZ+ATcnbJrJ6RiBM1Fhctdn/ix9MTE3hRph33omisEbC/2fcfemsseiKgBPKZg== @@ -9001,13 +9192,6 @@ qrcode@1.5.3, qrcode@^1.5.1: pngjs "^5.0.0" yargs "^15.3.1" -qs@^6.10.3: - version "6.11.2" - resolved "https://registry.yarnpkg.com/qs/-/qs-6.11.2.tgz#64bea51f12c1f5da1bc01496f48ffcff7c69d7d9" - integrity sha512-tDNIz22aBzCDxLtVH++VnTfzxlfeK5CbqohpSqpJgj1Wg/cQbStNAz3NuqCs5vV+pjBsK4x4pN9HlVh7rcYRiA== - dependencies: - side-channel "^1.0.4" - query-string@7.1.3: version "7.1.3" resolved "https://registry.yarnpkg.com/query-string/-/query-string-7.1.3.tgz#a1cf90e994abb113a325804a972d98276fe02328" @@ -9018,16 +9202,6 @@ query-string@7.1.3: split-on-first "^1.0.0" strict-uri-encode "^2.0.0" -query-string@^6.13.5: - version "6.14.1" - resolved "https://registry.yarnpkg.com/query-string/-/query-string-6.14.1.tgz#7ac2dca46da7f309449ba0f86b1fd28255b0c86a" - integrity sha512-XDxAeVmpfu1/6IjyT/gXHOl+S0vQ9owggJ30hhWKdHAsNPOcasn5o9BW0eejZqL2e4vMjhAxoW3jVHcD6mbcYw== - dependencies: - decode-uri-component "^0.2.0" - filter-obj "^1.1.0" - split-on-first "^1.0.0" - strict-uri-encode "^2.0.0" - queue-microtask@^1.2.2: version "1.2.3" resolved "https://registry.yarnpkg.com/queue-microtask/-/queue-microtask-1.2.3.tgz#4929228bbc724dfac43e0efb058caf7b6cfb6243" @@ -9055,13 +9229,6 @@ raf@^3.4.1: dependencies: performance-now "^2.1.0" -randombytes@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/randombytes/-/randombytes-2.1.0.tgz#df6f84372f0270dc65cdf6291349ab7a473d4f2a" - integrity sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ== - dependencies: - safe-buffer "^5.1.0" - raw-loader@^4.0.2: version "4.0.2" resolved "https://registry.yarnpkg.com/raw-loader/-/raw-loader-4.0.2.tgz#1aac6b7d1ad1501e66efdac1522c73e59a584eb6" @@ -9115,6 +9282,14 @@ react-jazzicon@^1.0.4: dependencies: mersenne-twister "^1.1.0" +react-native-webview@^11.26.0: + version "11.26.1" + resolved "https://registry.yarnpkg.com/react-native-webview/-/react-native-webview-11.26.1.tgz#658c09ed5162dc170b361e48c2dd26c9712879da" + integrity sha512-hC7BkxOpf+z0UKhxFSFTPAM4shQzYmZHoELa6/8a/MspcjEP7ukYKpuSUTLDywQditT8yI9idfcKvfZDKQExGw== + dependencies: + escape-string-regexp "2.0.0" + invariant "2.2.4" + react-toastify@7.0.4: version "7.0.4" resolved "https://registry.yarnpkg.com/react-toastify/-/react-toastify-7.0.4.tgz#7d0b743f2b96f65754264ca6eae31911a82378db" @@ -9158,7 +9333,7 @@ read-pkg@^5.2.0: parse-json "^5.0.0" type-fest "^0.6.0" -readable-stream@3, readable-stream@^3.0.0, readable-stream@^3.1.1, readable-stream@^3.4.0, readable-stream@^3.5.0, readable-stream@^3.6.0: +readable-stream@3, readable-stream@^3.0.0, readable-stream@^3.1.1, readable-stream@^3.4.0, readable-stream@^3.6.0, readable-stream@^3.6.2: version "3.6.2" resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-3.6.2.tgz#56a9b36ea965c00c5a93ef31eb111a0f11056967" integrity sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA== @@ -9167,7 +9342,20 @@ readable-stream@3, readable-stream@^3.0.0, readable-stream@^3.1.1, readable-stre string_decoder "^1.1.1" util-deprecate "^1.0.1" -readable-stream@^4.0.0: +readable-stream@^2.3.3: + version "2.3.8" + resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-2.3.8.tgz#91125e8042bba1b9887f49345f6277027ce8be9b" + integrity sha512-8p0AUk4XODgIewSi0l8Epjs+EVnWiK7NoDIEGU0HhE7+ZyY8D1IMY7odu5lRrFXGg71L15KG8QrPmum45RTtdA== + dependencies: + core-util-is "~1.0.0" + inherits "~2.0.3" + isarray "~1.0.0" + process-nextick-args "~2.0.0" + safe-buffer "~5.1.1" + string_decoder "~1.1.1" + util-deprecate "~1.0.1" + +"readable-stream@^3.6.2 || ^4.4.2", readable-stream@^4.0.0: version "4.5.2" resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-4.5.2.tgz#9e7fc4c45099baeed934bff6eb97ba6cf2729e09" integrity sha512-yjavECdqeZ3GLXNgRXgeQEdz9fvDDkNKyHnbHRFtOr7/LcfgBcmct7t/ET+HaCTqfh06OzoAxrkN/IfjJBVe+g== @@ -9215,19 +9403,19 @@ redis-parser@^3.0.0: dependencies: redis-errors "^1.0.0" -reef-knot@^4.2.0: - version "4.2.0" - resolved "https://registry.yarnpkg.com/reef-knot/-/reef-knot-4.2.0.tgz#fac4cca371ebb2d16ca50e8453892cd331b4f206" - integrity sha512-OSzl8eOu8ZB1D9bhCxWubj5JxTgUeQ3P2YIth546n4sR5aT2QhxIAXOTn5M4ZcHlpu18O8R6TmNmRRjZX99vkw== - dependencies: - "@reef-knot/connect-wallet-modal" "4.2.0" - "@reef-knot/core-react" "3.2.0" - "@reef-knot/ledger-connector" "3.0.0" - "@reef-knot/types" "1.8.0" - "@reef-knot/ui-react" "1.1.0" - "@reef-knot/wallets-helpers" "1.1.6" - "@reef-knot/wallets-list" "1.13.3" - "@reef-knot/web3-react" "3.0.1" +"reef-knot@5.0.1 ": + version "5.0.1" + resolved "https://registry.yarnpkg.com/reef-knot/-/reef-knot-5.0.1.tgz#557dd80346f2c54ce964450a972a3afefee8e05b" + integrity sha512-tsjwfUmSgKmfwAK57ry7w0gHxVPT46cTAlHLZ7zIApQVSzetucDu5qkO8qqINCnAK+duOn05JysrALZ48a5s9w== + dependencies: + "@reef-knot/connect-wallet-modal" "5.0.0" + "@reef-knot/core-react" "4.0.1" + "@reef-knot/ledger-connector" "4.0.0" + "@reef-knot/types" "2.0.0" + "@reef-knot/ui-react" "2.0.0" + "@reef-knot/wallets-helpers" "2.0.0" + "@reef-knot/wallets-list" "2.0.0" + "@reef-knot/web3-react" "4.0.0" reflect.getprototypeof@^1.0.4: version "1.0.4" @@ -9461,18 +9649,15 @@ ripemd160@^2.0.1: hash-base "^3.0.0" inherits "^2.0.1" -rpc-websockets@^7.5.1: - version "7.9.0" - resolved "https://registry.yarnpkg.com/rpc-websockets/-/rpc-websockets-7.9.0.tgz#a3938e16d6f134a3999fdfac422a503731bf8973" - integrity sha512-DwKewQz1IUA5wfLvgM8wDpPRcr+nWSxuFxx5CbrI2z/MyyZ4nXLM86TvIA+cI1ZAdqC8JIBR1mZR55dzaLU+Hw== +rollup-plugin-visualizer@^5.9.2: + version "5.12.0" + resolved "https://registry.yarnpkg.com/rollup-plugin-visualizer/-/rollup-plugin-visualizer-5.12.0.tgz#661542191ce78ee4f378995297260d0c1efb1302" + integrity sha512-8/NU9jXcHRs7Nnj07PF2o4gjxmm9lXIrZ8r175bT9dK8qoLlvKTwRMArRCMgpMGlq8CTLugRvEmyMeMXIU2pNQ== dependencies: - "@babel/runtime" "^7.17.2" - eventemitter3 "^4.0.7" - uuid "^8.3.2" - ws "^8.5.0" - optionalDependencies: - bufferutil "^4.0.1" - utf-8-validate "^5.0.2" + open "^8.4.0" + picomatch "^2.3.1" + source-map "^0.7.4" + yargs "^17.5.1" run-async@^2.2.0: version "2.4.1" @@ -9486,7 +9671,7 @@ run-parallel@^1.1.9: dependencies: queue-microtask "^1.2.2" -rxjs@^6.4.0, rxjs@^6.6.3: +rxjs@^6.4.0: version "6.6.7" resolved "https://registry.yarnpkg.com/rxjs/-/rxjs-6.6.7.tgz#90ac018acabf491bf65044235d5863c4dab804c9" integrity sha512-hTdwr+7yYNIT5n4AMYp85KA6yw2Va0FLa3Rguvbpa4W3I5xynaBZo41cM3XM+4Q6fRMj3sBYIR1VAmZMXYJvRQ== @@ -9510,11 +9695,16 @@ safe-array-concat@^1.0.1: has-symbols "^1.0.3" isarray "^2.0.5" -safe-buffer@^5.0.1, safe-buffer@^5.1.0, safe-buffer@^5.1.2, safe-buffer@^5.2.0, safe-buffer@~5.2.0: +safe-buffer@^5.0.1, safe-buffer@^5.1.2, safe-buffer@^5.2.0, safe-buffer@~5.2.0: version "5.2.1" resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.2.1.tgz#1eaf9fa9bdb1fdd4ec75f58f9cdb4e6b7827eec6" integrity sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ== +safe-buffer@~5.1.0, safe-buffer@~5.1.1: + version "5.1.2" + resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.1.2.tgz#991ec69d296e0313747d59bdfd2b745c35f8828d" + integrity sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g== + safe-regex-test@^1.0.0: version "1.0.2" resolved "https://registry.yarnpkg.com/safe-regex-test/-/safe-regex-test-1.0.2.tgz#3ba32bdb3ea35f940ee87e5087c60ee786c3f6c5" @@ -9555,6 +9745,15 @@ scrypt-js@3.0.1: resolved "https://registry.yarnpkg.com/scrypt-js/-/scrypt-js-3.0.1.tgz#d314a57c2aef69d1ad98a138a21fe9eafa9ee312" integrity sha512-cdwTTnqPu0Hyvf5in5asVdZocVDTNRmR7XEcJuIzMjJeSHybHl7vpB66AzwTaIg6CLSbtjcxc8fqcySfnTkccA== +secp256k1@^5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/secp256k1/-/secp256k1-5.0.0.tgz#be6f0c8c7722e2481e9773336d351de8cddd12f7" + integrity sha512-TKWX8xvoGHrxVdqbYeZM9w+izTF4b9z3NhSaDkdn81btvuh+ivbIMGT/zQvDtTFWhRlThpoz6LEYTr7n8A5GcA== + dependencies: + elliptic "^6.5.4" + node-addon-api "^5.0.0" + node-gyp-build "^4.2.0" + section-matter@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/section-matter/-/section-matter-1.0.0.tgz#e9041953506780ec01d59f292a19c7b850b84167" @@ -9691,6 +9890,24 @@ snake-case@^3.0.4: dot-case "^3.0.4" tslib "^2.0.3" +socket.io-client@^4.5.1: + version "4.7.5" + resolved "https://registry.yarnpkg.com/socket.io-client/-/socket.io-client-4.7.5.tgz#919be76916989758bdc20eec63f7ee0ae45c05b7" + integrity sha512-sJ/tqHOCe7Z50JCBCXrsY3I2k03iOiUe+tj1OmKeD2lXPiGH/RUCdTZFoqVyN7l1MnpIzPrGtLcijffmeouNlQ== + dependencies: + "@socket.io/component-emitter" "~3.1.0" + debug "~4.3.2" + engine.io-client "~6.5.2" + socket.io-parser "~4.2.4" + +socket.io-parser@~4.2.4: + version "4.2.4" + resolved "https://registry.yarnpkg.com/socket.io-parser/-/socket.io-parser-4.2.4.tgz#c806966cf7270601e47469ddeec30fbdfda44c83" + integrity sha512-/GbIKmo8ioc+NIWIhwdecY0ge+qVBSMdgxGygevmdHj24bsfgtCmcUUcQ5ZzcylGFHsN3k4HB4Cgkl96KVnuew== + dependencies: + "@socket.io/component-emitter" "~3.1.0" + debug "~4.3.1" + sonic-boom@^2.2.1: version "2.8.0" resolved "https://registry.yarnpkg.com/sonic-boom/-/sonic-boom-2.8.0.tgz#c1def62a77425090e6ad7516aad8eb402e047611" @@ -9723,6 +9940,11 @@ source-map@^0.6.0, source-map@^0.6.1: resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.6.1.tgz#74722af32e9614e9c287a8d0bbde48b5e2f1a263" integrity sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g== +source-map@^0.7.4: + version "0.7.4" + resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.7.4.tgz#a9bbe705c9d8846f4e08ff6765acf0f1b0898656" + integrity sha512-l3BikUxvPOcn5E74dZiq5BGsTb5yEwhaTSzccU6t4sDOH8NWJCstKO5QT2CvtFoK6F0saL7p9xHAqHOlCPJygA== + space-separated-tokens@^1.0.0: version "1.1.5" resolved "https://registry.yarnpkg.com/space-separated-tokens/-/space-separated-tokens-1.1.5.tgz#85f32c3d10d9682007e917414ddc5c26d1aa6899" @@ -9798,14 +10020,6 @@ std-env@^3.7.0: resolved "https://registry.yarnpkg.com/std-env/-/std-env-3.7.0.tgz#c9f7386ced6ecf13360b6c6c55b8aaa4ef7481d2" integrity sha512-JPbdCEQLj1w5GilpiHAx3qJvFndqybBysA3qUOnznweH4QbNYUsW/ea8QzSrnh0vNsezMMw5bcVool8lM0gwzg== -stream-browserify@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/stream-browserify/-/stream-browserify-3.0.0.tgz#22b0a2850cdf6503e73085da1fc7b7d0c2122f2f" - integrity sha512-H73RAHsVBapbim0tU2JwwOiXUj+fikfiaoYAKHF3VJfA0pe2BCzkhAHBlLG6REzE+2WNZcxOXjK7lkso+9euLA== - dependencies: - inherits "~2.0.4" - readable-stream "^3.5.0" - stream-shift@^1.0.0: version "1.0.3" resolved "https://registry.yarnpkg.com/stream-shift/-/stream-shift-1.0.3.tgz#85b8fab4d71010fc3ba8772e8046cc49b8a3864b" @@ -9904,6 +10118,13 @@ string_decoder@^1.1.1, string_decoder@^1.3.0: dependencies: safe-buffer "~5.2.0" +string_decoder@~1.1.1: + version "1.1.1" + resolved "https://registry.yarnpkg.com/string_decoder/-/string_decoder-1.1.1.tgz#9cf1611ba62685d7030ae9e4ba34149c3af03fc8" + integrity sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg== + dependencies: + safe-buffer "~5.1.0" + stringify-entities@^3.0.1: version "3.1.0" resolved "https://registry.yarnpkg.com/stringify-entities/-/stringify-entities-3.1.0.tgz#b8d3feac256d9ffcc9fa1fefdcf3ca70576ee903" @@ -10018,11 +10239,6 @@ styled-system@5.1.5, styled-system@^5.1.5: "@styled-system/variant" "^5.1.5" object-assign "^4.1.1" -superstruct@^0.14.2: - version "0.14.2" - resolved "https://registry.yarnpkg.com/superstruct/-/superstruct-0.14.2.tgz#0dbcdf3d83676588828f1cf5ed35cda02f59025b" - integrity sha512-nPewA6m9mR3d6k7WkZ8N8zpTWfenFH3q9pA2PkuiZxINr9DKB2+40wEQf0ixn8VaGuJ78AB6iWOtStI+/4FKZQ== - superstruct@^1.0.3: version "1.0.3" resolved "https://registry.yarnpkg.com/superstruct/-/superstruct-1.0.3.tgz#de626a5b49c6641ff4d37da3c7598e7a87697046" @@ -10111,11 +10327,6 @@ test-value@^2.1.0: array-back "^1.0.3" typical "^2.6.0" -text-encoding-utf-8@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/text-encoding-utf-8/-/text-encoding-utf-8-1.0.2.tgz#585b62197b0ae437e3c7b5d0af27ac1021e10d13" - integrity sha512-8bw4MY9WjdsD2aMtO0OzOCY3pXGYNx2d2FfHRVUKkiCPDWjKuOlhLVASS+pD7VkLTVjW268LYJHwsnPFlBpbAg== - text-extensions@^1.0.0: version "1.9.0" resolved "https://registry.yarnpkg.com/text-extensions/-/text-extensions-1.9.0.tgz#1853e45fee39c945ce6f6c36b2d659b5aabc2a26" @@ -10395,19 +10606,17 @@ typed-array-length@^1.0.4: for-each "^0.3.3" is-typed-array "^1.1.9" -typedarray-to-buffer@3.1.5: - version "3.1.5" - resolved "https://registry.yarnpkg.com/typedarray-to-buffer/-/typedarray-to-buffer-3.1.5.tgz#a97ee7a9ff42691b9f783ff1bc5112fe3fca9080" - integrity sha512-zdu8XMNEDepKKR+XYOXAVPtWui0ly0NtohUscw+UmaHiAWT8hrV1rr//H6V+0DvJ3OQ19S979M0laLfX8rm82Q== - dependencies: - is-typedarray "^1.0.0" +typescript@5.4.5: + version "5.4.5" + resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.4.5.tgz#42ccef2c571fdbd0f6718b1d1f5e6e5ef006f611" + integrity sha512-vcI4UpRgg81oIRUFwR0WSIHKt11nJ7SAVlYNIu+QpqeyXP+gpQJy/Z4+F0aGxSE4MqwjyXvW/TzgkLAx2AGHwQ== "typescript@^4.6.4 || ^5.2.2": version "5.3.3" resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.3.3.tgz#b3ce6ba258e72e6305ba66f5c9b452aaee3ffe37" integrity sha512-pXWcraxM0uxAS+tN0AG/BF2TyqmHO014Z070UsJ+pFvYuRSq8KH8DmWpnbXe0pEPDHXZV3FcAbJkijJ5oNEnWw== -typescript@^4.7, typescript@^4.9.4: +typescript@^4.7: version "4.9.5" resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.9.5.tgz#095979f9bcc0d09da324d58d03ce8f8374cbe65a" integrity sha512-1FXk9E2Hm+QzZQ7z+McJiHL4NW1F2EzMu9Nq9i3zAaGqibafqYwCVU6WyWAuyQRRzOlxou8xZSyXLEN8oKj24g== @@ -10432,7 +10641,14 @@ ufo@^1.3.0, ufo@^1.3.1, ufo@^1.3.2: resolved "https://registry.yarnpkg.com/ufo/-/ufo-1.3.2.tgz#c7d719d0628a1c80c006d2240e0d169f6e3c0496" integrity sha512-o+ORpgGwaYQXgqGDwd+hkS4PuZ3QnmqMMxRuajK/a38L6fTpcE5GPIfrf+L/KemFzfUpeUQc1rRS1iDBozvnFA== -uint8arrays@^3.0.0, uint8arrays@^3.1.0: +uint8arrays@3.1.0: + version "3.1.0" + resolved "https://registry.yarnpkg.com/uint8arrays/-/uint8arrays-3.1.0.tgz#8186b8eafce68f28bd29bd29d683a311778901e2" + integrity sha512-ei5rfKtoRO8OyOIor2Rz5fhzjThwIHJZ3uyDPnDHTXbP0aMQ1RN/6AI5B5d9dBxJOU+BvOAk7ZQ1xphsX8Lrog== + dependencies: + multiformats "^9.4.2" + +uint8arrays@^3.0.0: version "3.1.1" resolved "https://registry.yarnpkg.com/uint8arrays/-/uint8arrays-3.1.1.tgz#2d8762acce159ccd9936057572dade9459f65ae0" integrity sha512-+QJa8QRnbdXVpHYjLoTpJIdCTiw9Ir62nocClWuXIq2JIh4Uta0cQsTSpFL678p2CN8B+XSApwcU+pQEqVpKWg== @@ -10470,6 +10686,11 @@ unenv@^1.9.0: node-fetch-native "^1.6.1" pathe "^1.1.1" +unfetch@^4.2.0: + version "4.2.0" + resolved "https://registry.yarnpkg.com/unfetch/-/unfetch-4.2.0.tgz#7e21b0ef7d363d8d9af0fb929a5555f6ef97a3be" + integrity sha512-F9p7yYCn6cIW9El1zi0HI6vqpeIvBsr3dSuRO6Xuppb1u5rXpCPmMvLSyECLhybr9isec8Ohl0hPekMVrEinDA== + unicode-canonical-property-names-ecmascript@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/unicode-canonical-property-names-ecmascript/-/unicode-canonical-property-names-ecmascript-2.0.0.tgz#301acdc525631670d39f6146e0e77ff6bbdebddc" @@ -10619,19 +10840,19 @@ use-callback-ref@1.2.5: resolved "https://registry.yarnpkg.com/use-callback-ref/-/use-callback-ref-1.2.5.tgz#6115ed242cfbaed5915499c0a9842ca2912f38a5" integrity sha512-gN3vgMISAgacF7sqsLPByqoePooY3n2emTH59Ur5d/M8eg4WTWu1xp8i8DHjohftIyEx0S08RiYxbffr4j8Peg== -use-sync-external-store@1.2.0, use-sync-external-store@^1.2.0: +use-sync-external-store@1.2.0: version "1.2.0" resolved "https://registry.yarnpkg.com/use-sync-external-store/-/use-sync-external-store-1.2.0.tgz#7dbefd6ef3fe4e767a0cf5d7287aacfb5846928a" integrity sha512-eEgnFxGQ1Ife9bzYs6VLi8/4X6CObHMw9Qr9tPY43iKwsPw8xE8+EFsf/2cFZ5S3esXgpWgtSCtLNS41F+sKPA== -utf-8-validate@^5.0.2: - version "5.0.10" - resolved "https://registry.yarnpkg.com/utf-8-validate/-/utf-8-validate-5.0.10.tgz#d7d10ea39318171ca982718b6b96a8d2442571a2" - integrity sha512-Z6czzLq4u8fPOyx7TU6X3dvUZVvoJmxSQ+IcrlmagKhilxlhZgxPK6C5Jqbkw1IDUmFTM+cz9QDnnLTwDz/2gQ== +utf-8-validate@^6.0.3: + version "6.0.4" + resolved "https://registry.yarnpkg.com/utf-8-validate/-/utf-8-validate-6.0.4.tgz#1305a1bfd94cecb5a866e6fc74fd07f3ed7292e5" + integrity sha512-xu9GQDeFp+eZ6LnCywXN/zBancWvOpUMzgjLPSjy4BRHSmTelvn2E0DG0o1sTiw5hkCKBHo8rwSKncfRfv2EEQ== dependencies: node-gyp-build "^4.3.0" -util-deprecate@^1.0.1: +util-deprecate@^1.0.1, util-deprecate@~1.0.1: version "1.0.2" resolved "https://registry.yarnpkg.com/util-deprecate/-/util-deprecate-1.0.2.tgz#450d4dc9fa70de732762fbd2d4a28981419a0ccf" integrity sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw== @@ -10657,6 +10878,11 @@ uuid@^8.3.2: resolved "https://registry.yarnpkg.com/uuid/-/uuid-8.3.2.tgz#80d5b5ced271bb9af6c445f21a1a04c606cefbe2" integrity sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg== +uuid@^9.0.1: + version "9.0.1" + resolved "https://registry.yarnpkg.com/uuid/-/uuid-9.0.1.tgz#e188d4c8853cc722220392c424cd637f32293f30" + integrity sha512-b+1eJOlsR9K8HJpow9Ok3fiWOWSIcIzXodvv0rQjVoOVNpWMpxf1wZNpt4y9h10odCNrqnYp1OBzRktckBe3sA== + v8-compile-cache-lib@^3.0.1: version "3.0.1" resolved "https://registry.yarnpkg.com/v8-compile-cache-lib/-/v8-compile-cache-lib-3.0.1.tgz#6336e8d71965cb3d35a1bbb7868445a7c05264bf" @@ -10710,17 +10936,42 @@ vfile@^4.0.0: unist-util-stringify-position "^2.0.0" vfile-message "^2.0.0" -wagmi@0.12.19: - version "0.12.19" - resolved "https://registry.yarnpkg.com/wagmi/-/wagmi-0.12.19.tgz#5f5038330907f70c033ea51ef8a9136289567256" - integrity sha512-S/el9BDb/HNeQWh1v8TvntMPX/CgKLDAoJqDb8i7jifLfWPqFL7gor3vnI1Vs6ZlB8uh7m+K1Qyg+mKhbITuDQ== - dependencies: - "@tanstack/query-sync-storage-persister" "^4.27.1" - "@tanstack/react-query" "^4.28.0" - "@tanstack/react-query-persist-client" "^4.28.0" - "@wagmi/core" "0.10.17" - abitype "^0.3.0" - use-sync-external-store "^1.2.0" +viem@2.13.3: + version "2.13.3" + resolved "https://registry.yarnpkg.com/viem/-/viem-2.13.3.tgz#950426e4cacf5e12fab2c202a339371901712481" + integrity sha512-3tlwDRKHSelupFjbFMdUxF41f79ktyH2F9PAQ9Dltbs1DpdDlR1x+Ksa0th6qkyjjAbpDZP3F5nMTJv/1GVPdQ== + dependencies: + "@adraffy/ens-normalize" "1.10.0" + "@noble/curves" "1.2.0" + "@noble/hashes" "1.3.2" + "@scure/bip32" "1.3.2" + "@scure/bip39" "1.2.1" + abitype "1.0.0" + isows "1.0.4" + ws "8.13.0" + +viem@^1.0.0, viem@^1.1.4: + version "1.21.4" + resolved "https://registry.yarnpkg.com/viem/-/viem-1.21.4.tgz#883760e9222540a5a7e0339809202b45fe6a842d" + integrity sha512-BNVYdSaUjeS2zKQgPs+49e5JKocfo60Ib2yiXOWBT6LuVxY1I/6fFX3waEtpXvL1Xn4qu+BVitVtMh9lyThyhQ== + dependencies: + "@adraffy/ens-normalize" "1.10.0" + "@noble/curves" "1.2.0" + "@noble/hashes" "1.3.2" + "@scure/bip32" "1.3.2" + "@scure/bip39" "1.2.1" + abitype "0.9.8" + isows "1.0.3" + ws "8.13.0" + +wagmi@2.10.4: + version "2.10.4" + resolved "https://registry.yarnpkg.com/wagmi/-/wagmi-2.10.4.tgz#0df1b19bc78a660a14add7f8b7175ece52511b58" + integrity sha512-FrQ9a2EgGohnk8v1mTHUAqdBv1EHVWGy/lxezqdJaH2oF062sz2TWlWjbbFCxvd+obrrIPcEjIaOpvJMVt0nRg== + dependencies: + "@wagmi/connectors" "5.0.16" + "@wagmi/core" "2.11.4" + use-sync-external-store "1.2.0" walker@^1.0.8: version "1.0.8" @@ -10729,6 +10980,16 @@ walker@^1.0.8: dependencies: makeerror "1.0.12" +"webextension-polyfill@>=0.10.0 <1.0": + version "0.12.0" + resolved "https://registry.yarnpkg.com/webextension-polyfill/-/webextension-polyfill-0.12.0.tgz#f62c57d2cd42524e9fbdcee494c034cae34a3d69" + integrity sha512-97TBmpoWJEE+3nFBQ4VocyCdLKfw54rFaJ6EVQYLBCXqCIpLSZkwGgASpv4oPt9gdKCJ80RJlcmNzNn008Ag6Q== + +webextension-polyfill@^0.10.0: + version "0.10.0" + resolved "https://registry.yarnpkg.com/webextension-polyfill/-/webextension-polyfill-0.10.0.tgz#ccb28101c910ba8cf955f7e6a263e662d744dbb8" + integrity sha512-c5s35LgVa5tFaHhrZDnr3FpQpjj1BB+RXhLTYUxGqBVN460HkbM8TBtEqdXWbpTKfzwCcjAZVF7zXCYSKtcp9g== + webidl-conversions@^3.0.0: version "3.0.1" resolved "https://registry.yarnpkg.com/webidl-conversions/-/webidl-conversions-3.0.1.tgz#24534275e2a7bc6be7bc86611cc16ae0a5654871" @@ -10900,15 +11161,25 @@ ws@7.4.6: resolved "https://registry.yarnpkg.com/ws/-/ws-7.4.6.tgz#5654ca8ecdeee47c33a9a4bf6d28e2be2980377c" integrity sha512-YmhHDO4MzaDLB+M9ym/mDA5z0naX8j7SIlT8f8z+I0VtzsRbekxEutHSme7NPS2qE8StCYQNUnfWdXta/Yu85A== -ws@^7.3.1, ws@^7.4.5, ws@^7.5.1: +ws@8.13.0: + version "8.13.0" + resolved "https://registry.yarnpkg.com/ws/-/ws-8.13.0.tgz#9a9fb92f93cf41512a0735c8f4dd09b8a1211cd0" + integrity sha512-x9vcZYTrFPC7aSIbj7sRCYo7L/Xb8Iy+pW0ng0wt2vCJv7M9HOMy0UoN3rr+IFC7hb7vXoqS+P9ktyLLLhO+LA== + +ws@^7.3.1, ws@^7.5.1: version "7.5.9" resolved "https://registry.yarnpkg.com/ws/-/ws-7.5.9.tgz#54fa7db29f4c7cec68b1ddd3a89de099942bb591" integrity sha512-F+P9Jil7UiSKSkppIiD94dN07AwvFixvLIj1Og1Rl9GGMuNipJnV9JzjD6XuqmAeiswGvUmNLjr5cFuXwNS77Q== -ws@^8.5.0: - version "8.16.0" - resolved "https://registry.yarnpkg.com/ws/-/ws-8.16.0.tgz#d1cd774f36fbc07165066a60e40323eab6446fd4" - integrity sha512-HS0c//TP7Ina87TfiPUz1rQzMhHrl/SG2guqRcTOIUYD2q8uhUdNHZYJUaQ8aTGPzCh+c6oawMKW35nFl1dxyQ== +ws@~8.17.1: + version "8.17.1" + resolved "https://registry.yarnpkg.com/ws/-/ws-8.17.1.tgz#9293da530bb548febc95371d90f9c878727d919b" + integrity sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ== + +xmlhttprequest-ssl@~2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/xmlhttprequest-ssl/-/xmlhttprequest-ssl-2.0.0.tgz#91360c86b914e67f44dce769180027c0da618c67" + integrity sha512-QKxVRxiRACQcVuQEYFsI1hhkrMlrXHPegbbd1yn9UHOmRxY+si12nQYzri3vbzt8VdTTRviqcKxcyllFas5z2A== xtend@^4.0.0, xtend@^4.0.1: version "4.0.2" @@ -10975,7 +11246,7 @@ yargs@^15.3.1: y18n "^4.0.0" yargs-parser "^18.1.2" -yargs@^17.0.0, yargs@^17.3.1: +yargs@^17.0.0, yargs@^17.3.1, yargs@^17.5.1: version "17.7.2" resolved "https://registry.yarnpkg.com/yargs/-/yargs-17.7.2.tgz#991df39aca675a192b816e1e0363f9d75d2aa269" integrity sha512-7dSzzRQ++CKnNI/krKnYRV7JKKPUXMEh61soaHKg9mrWEhzFWhFnxPxGl+69cD1Ou63C13NUPCnmIcrvqCuM6w== @@ -10998,10 +11269,10 @@ yocto-queue@^0.1.0: resolved "https://registry.yarnpkg.com/yocto-queue/-/yocto-queue-0.1.0.tgz#0294eb3dee05028d31ee1a5fa2c556a6aaf10a1b" integrity sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q== -zustand@^4.3.1: - version "4.5.0" - resolved "https://registry.yarnpkg.com/zustand/-/zustand-4.5.0.tgz#141354af56f91de378aa6c4b930032ab338f3ef0" - integrity sha512-zlVFqS5TQ21nwijjhJlx4f9iGrXSL0o/+Dpy4txAP22miJ8Ti6c1Ol1RLNN98BMib83lmDH/2KmLwaNXpjrO1A== +zustand@4.4.1: + version "4.4.1" + resolved "https://registry.yarnpkg.com/zustand/-/zustand-4.4.1.tgz#0cd3a3e4756f21811bd956418fdc686877e8b3b0" + integrity sha512-QCPfstAS4EBiTQzlaGP1gmorkh/UL1Leaj2tdj+zZCZ/9bm0WS7sI2wnfD5lpOszFqWJ1DcPnGoY8RDL61uokw== dependencies: use-sync-external-store "1.2.0" From 5b0fc65deab48c39cc92f2fa7cae0b77eb4a9ff7 Mon Sep 17 00:00:00 2001 From: Dmitrii Podlesnyi Date: Mon, 1 Jul 2024 20:20:14 +0700 Subject: [PATCH 02/20] feat: metrics handlers updated --- consts/matomo-wallets-events.ts | 112 +++++++++----------------------- 1 file changed, 32 insertions(+), 80 deletions(-) diff --git a/consts/matomo-wallets-events.ts b/consts/matomo-wallets-events.ts index fe83f9cbf..7fd3e6572 100644 --- a/consts/matomo-wallets-events.ts +++ b/consts/matomo-wallets-events.ts @@ -1,5 +1,6 @@ import { MatomoEventType, trackEvent } from '@lidofinance/analytics-matomo'; -import { Metrics as WalletsMetrics } from 'reef-knot/connect-wallet-modal'; +import { Metrics } from 'reef-knot/connect-wallet-modal'; +import { WalletIdsEthereum } from 'reef-knot/wallets'; export const enum MATOMO_WALLETS_EVENTS_TYPES { onClickAmbire = 'onClickAmbire', @@ -166,92 +167,43 @@ export const MATOMO_WALLETS_EVENTS: Record< ], }; -export const walletsMetrics: WalletsMetrics = { +const getMetricHandler = (event: Parameters) => () => + trackEvent(...event); + +export const walletsMetrics: Metrics = { events: { click: { handlers: { - onClickAmbire: () => { - trackEvent(...MATOMO_WALLETS_EVENTS.onClickAmbire); - }, - onClickBrave: () => { - trackEvent(...MATOMO_WALLETS_EVENTS.onClickBrave); - }, - onClickCoin98: () => { - trackEvent(...MATOMO_WALLETS_EVENTS.onClickCoin98); - }, - onClickCoinbase: () => { - trackEvent(...MATOMO_WALLETS_EVENTS.onClickCoinbase); - }, - onClickExodus: () => { - trackEvent(...MATOMO_WALLETS_EVENTS.onClickExodus); - }, - onClickImToken: () => { - trackEvent(...MATOMO_WALLETS_EVENTS.onClickImToken); - }, - onClickLedger: () => { - trackEvent(...MATOMO_WALLETS_EVENTS.onClickLedger); - }, - onClickMetamask: () => { - trackEvent(...MATOMO_WALLETS_EVENTS.onClickMetamask); - }, - onClickTrust: () => { - trackEvent(...MATOMO_WALLETS_EVENTS.onClickTrust); - }, - onClickWalletconnect: () => { - trackEvent(...MATOMO_WALLETS_EVENTS.onClickWC); - }, - onClickXdefi: () => { - trackEvent(...MATOMO_WALLETS_EVENTS.onClickXdefi); - }, - onClickOkx: () => { - trackEvent(...MATOMO_WALLETS_EVENTS.onClickOkx); - }, - onClickBitget: () => { - trackEvent(...MATOMO_WALLETS_EVENTS.onClickBitget); - }, + ambire: getMetricHandler(MATOMO_WALLETS_EVENTS.onClickAmbire), + brave: getMetricHandler(MATOMO_WALLETS_EVENTS.onClickBrave), + coin98: getMetricHandler(MATOMO_WALLETS_EVENTS.onClickCoin98), + coinbase: getMetricHandler(MATOMO_WALLETS_EVENTS.onClickCoinbase), + exodus: getMetricHandler(MATOMO_WALLETS_EVENTS.onClickExodus), + imToken: getMetricHandler(MATOMO_WALLETS_EVENTS.onClickImToken), + ledgerHID: getMetricHandler(MATOMO_WALLETS_EVENTS.onClickLedger), + metaMask: getMetricHandler(MATOMO_WALLETS_EVENTS.onClickMetamask), + trust: getMetricHandler(MATOMO_WALLETS_EVENTS.onClickTrust), + walletConnect: getMetricHandler(MATOMO_WALLETS_EVENTS.onClickWC), + xdefi: getMetricHandler(MATOMO_WALLETS_EVENTS.onClickXdefi), + okx: getMetricHandler(MATOMO_WALLETS_EVENTS.onClickOkx), + bitget: getMetricHandler(MATOMO_WALLETS_EVENTS.onClickBitget), }, }, connect: { handlers: { - onConnectAmbire: () => { - trackEvent(...MATOMO_WALLETS_EVENTS.onConnectAmbire); - }, - onConnectBrave: () => { - trackEvent(...MATOMO_WALLETS_EVENTS.onConnectBrave); - }, - onConnectCoin98: () => { - trackEvent(...MATOMO_WALLETS_EVENTS.onConnectCoin98); - }, - onConnectCoinbase: () => { - trackEvent(...MATOMO_WALLETS_EVENTS.onConnectCoinbase); - }, - onConnectExodus: () => { - trackEvent(...MATOMO_WALLETS_EVENTS.onConnectExodus); - }, - onConnectImToken: () => { - trackEvent(...MATOMO_WALLETS_EVENTS.onConnectImToken); - }, - onConnectLedger: () => { - trackEvent(...MATOMO_WALLETS_EVENTS.onConnectLedger); - }, - onConnectMetamask: () => { - trackEvent(...MATOMO_WALLETS_EVENTS.onConnectMetamask); - }, - onConnectTrust: () => { - trackEvent(...MATOMO_WALLETS_EVENTS.onConnectTrust); - }, - onConnectWalletconnect: () => { - trackEvent(...MATOMO_WALLETS_EVENTS.onConnectWC); - }, - onConnectXdefi: () => { - trackEvent(...MATOMO_WALLETS_EVENTS.onConnectXdefi); - }, - onConnectOkx: () => { - trackEvent(...MATOMO_WALLETS_EVENTS.onConnectOkx); - }, - onConnectBitget: () => { - trackEvent(...MATOMO_WALLETS_EVENTS.onConnectBitget); - }, + ambire: getMetricHandler(MATOMO_WALLETS_EVENTS.onConnectAmbire), + brave: getMetricHandler(MATOMO_WALLETS_EVENTS.onConnectBrave), + coin98: getMetricHandler(MATOMO_WALLETS_EVENTS.onConnectCoin98), + coinbase: getMetricHandler(MATOMO_WALLETS_EVENTS.onConnectCoinbase), + exodus: getMetricHandler(MATOMO_WALLETS_EVENTS.onConnectExodus), + imToken: getMetricHandler(MATOMO_WALLETS_EVENTS.onConnectImToken), + ledgerHID: getMetricHandler(MATOMO_WALLETS_EVENTS.onConnectLedger), + metaMask: getMetricHandler(MATOMO_WALLETS_EVENTS.onConnectMetamask), + trust: getMetricHandler(MATOMO_WALLETS_EVENTS.onConnectTrust), + walletConnect: getMetricHandler(MATOMO_WALLETS_EVENTS.onConnectWC), + xdefi: getMetricHandler(MATOMO_WALLETS_EVENTS.onConnectXdefi), + okx: getMetricHandler(MATOMO_WALLETS_EVENTS.onConnectOkx), + bitget: getMetricHandler(MATOMO_WALLETS_EVENTS.onConnectBitget), }, }, }, From 054a1f3cdd5ad3fea9e0332a82ee659f50b0a462 Mon Sep 17 00:00:00 2001 From: Dmitrii Podlesnyi Date: Mon, 1 Jul 2024 20:37:53 +0700 Subject: [PATCH 03/20] fix: metrics typings --- utilsApi/nextApiWrappers.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utilsApi/nextApiWrappers.ts b/utilsApi/nextApiWrappers.ts index e4987dbb7..439d096c2 100644 --- a/utilsApi/nextApiWrappers.ts +++ b/utilsApi/nextApiWrappers.ts @@ -135,7 +135,7 @@ const collectRequestAddressMetric = async ({ call.params[0].to ) { const { to, data } = call.params[0]; - const address = utils.getAddress(to); + const address = utils.getAddress(to) as `0x${string}`; const contractName = METRIC_CONTRACT_ADDRESSES[chainId][address]; const methodEncoded = data?.slice(0, 10); // `0x` and 8 next symbols const methodDecoded = contractName From fb7caa42b86d4c5796be22be1f7811d437f70d87 Mon Sep 17 00:00:00 2001 From: Evgeny Taktarov Date: Tue, 2 Jul 2024 20:01:55 +0700 Subject: [PATCH 04/20] feat: add jumper dex --- assets/icons/jumper.svg | 5 + consts/matomo-click-events.ts | 6 + .../request/form/options/dex-options.tsx | 24 +++- .../request/form/options/options-picker.tsx | 2 +- .../form/options/{styles.ts => styles.tsx} | 113 +++++++++++++++--- .../request/withdrawal-rates/icons.tsx | 8 ++ .../request/withdrawal-rates/integrations.ts | 36 +++++- .../request/withdrawal-rates/types.ts | 7 +- .../withdrawal-rates/use-withdrawal-rates.ts | 2 +- utils/get-jumper-rate.ts | 49 ++++++++ 10 files changed, 228 insertions(+), 24 deletions(-) create mode 100644 assets/icons/jumper.svg rename features/withdrawals/request/form/options/{styles.ts => styles.tsx} (72%) create mode 100644 utils/get-jumper-rate.ts diff --git a/assets/icons/jumper.svg b/assets/icons/jumper.svg new file mode 100644 index 000000000..d0dd04c21 --- /dev/null +++ b/assets/icons/jumper.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/consts/matomo-click-events.ts b/consts/matomo-click-events.ts index 3d2ff1044..a80211ab5 100644 --- a/consts/matomo-click-events.ts +++ b/consts/matomo-click-events.ts @@ -56,6 +56,7 @@ export const enum MATOMO_CLICK_EVENTS_TYPES { withdrawalGoToCowSwap = 'withdrawalGoToCowSwap', withdrawalGoToParaswap = 'withdrawalGoToParaswap', withdrawalGoToOpenOcean = 'withdrawalGoToOpenOcean', + withdrawalGoToJumper = 'withdrawalGoToJumper', withdrawalEtherscanSuccessTemplate = 'withdrawalEtherscanSuccessTemplate', withdrawalGuideSuccessTemplate = 'withdrawalGuideSuccessTemplate', @@ -318,6 +319,11 @@ export const MATOMO_CLICK_EVENTS: Record< 'Click on «Go to OpenOcean in aggregators list on Request tab', 'eth_withdrawals_request_go_to_OpenOcean', ], + [MATOMO_CLICK_EVENTS_TYPES.withdrawalGoToJumper]: [ + 'Ethereum_Withdrawals_Widget', + 'Click on «Go to Jumper in aggregators list on Request tab', + 'eth_withdrawals_request_go_to_Jumper', + ], [MATOMO_CLICK_EVENTS_TYPES.withdrawalEtherscanSuccessTemplate]: [ 'Ethereum_Withdrawals_Widget', 'Click on "Etherscan" on success template after withdrawal request', diff --git a/features/withdrawals/request/form/options/dex-options.tsx b/features/withdrawals/request/form/options/dex-options.tsx index fc0fc3889..a42bbb7d7 100644 --- a/features/withdrawals/request/form/options/dex-options.tsx +++ b/features/withdrawals/request/form/options/dex-options.tsx @@ -13,8 +13,13 @@ import { InlineLoaderSmall, DexOptionLoader, DexWarning, + DexOptionsShowMore, + DexOptionsCheckMarkIcon, } from './styles'; import { ReactComponent as AttentionTriangle } from 'assets/icons/attention-triangle.svg'; +import { useState } from 'react'; + +const MAX_SHOWN_ELEMENTS = 3; type DexOptionProps = { title: string; @@ -66,13 +71,19 @@ const DexOption: React.FC = ({ export const DexOptions: React.FC< React.ComponentProps > = (props) => { + const [showMore, setShowMore] = useState(false); const { data, initialLoading, amount, selectedToken, enabledDexes } = useWithdrawalRates(); const isAnyDexEnabled = enabledDexes.length > 0; + const allowExpand = enabledDexes.length > MAX_SHOWN_ELEMENTS; return ( - + {!isAnyDexEnabled && ( @@ -96,6 +107,17 @@ export const DexOptions: React.FC< /> ); })} + {allowExpand && ( + { + e.preventDefault(); + setShowMore(!showMore); + }} + > + {showMore ? 'Hide' : 'See all options'} + + + )} ); }; diff --git a/features/withdrawals/request/form/options/options-picker.tsx b/features/withdrawals/request/form/options/options-picker.tsx index 79af92aa8..c6e07ef2b 100644 --- a/features/withdrawals/request/form/options/options-picker.tsx +++ b/features/withdrawals/request/form/options/options-picker.tsx @@ -97,7 +97,7 @@ const DexButton: React.FC = ({ isActive, onClick }) => { onClick={onClick} > - Use aggregators + Use DEXs {ENABLED_WITHDRAWAL_DEXES.map((dexKey) => { const Icon = getDexConfig(dexKey).icon; diff --git a/features/withdrawals/request/form/options/styles.ts b/features/withdrawals/request/form/options/styles.tsx similarity index 72% rename from features/withdrawals/request/form/options/styles.ts rename to features/withdrawals/request/form/options/styles.tsx index 795d1b941..c2b7581e8 100644 --- a/features/withdrawals/request/form/options/styles.ts +++ b/features/withdrawals/request/form/options/styles.tsx @@ -76,42 +76,45 @@ export const OptionsPickerButton = styled.button<{ $active?: boolean }>` display: flex; flex-direction: column; gap: 4px; + position: relative; + cursor: pointer; // we need to update lido ui background-color: ${({ theme }) => theme.name === ThemeName.light ? '#F6F8FA' : '#2D2D35'}; border-radius: ${({ theme }) => theme.borderRadiusesMap.lg}px; - border: 1px solid var(--lido-color-border); - position: relative; - cursor: pointer; - + border: ${({ $active }) => ($active ? '2' : '1')}px solid + var(--lido-color-border); border-color: ${({ $active }) => $active ? '#00A3FF' : 'var(--lido-color-border)'}; - padding: 16px 20px; + padding: ${({ $active }) => ($active ? '15px 19px' : '16px 20px')}; + font-size: 12px; font-family: inherit; color: var(--lido-color-text); - /* safari workaround */ + /* safari outline workaround */ + ::before { + content: ''; + pointer-events: none; + position: absolute; + opacity: 0; + top: -3px; + right: -3px; + bottom: -3px; + left: -3px; + } + &:focus { outline: none; ::before { - content: ''; - pointer-events: none; - position: absolute; - top: -2px; - right: -2px; - bottom: -2px; - left: -2px; - + opacity: 1; + // to match with border change speed + transition: opacity 0s linear 0.1s; border: 1px solid var(--lido-color-borderActive); border-radius: ${({ theme }) => theme.borderRadiusesMap.lg + 1}px; } } - - & > :first-child { - margin-bottom: 12px; - } `; export const OptionsPickerRow = styled.div` @@ -122,11 +125,16 @@ export const OptionsPickerRow = styled.div` width: 100%; gap: 8px; line-height: 20px; + font-weight: 400; text-align: right; ${({ theme }) => theme.mediaQueries.md} { flex-direction: column; text-align: center; } + + &:first-child { + margin-bottom: 12px; + } `; export const OptionsPickerLabel = styled.label` @@ -170,10 +178,50 @@ export const OptionsPickerIcons = styled.div` // DEX OPTIONS -export const DexOptionsContainer = styled.div` +export const DexOptionsContainer = styled.div<{ $maxElements: number }>` display: flex; flex-direction: column; gap: 8px; + + & > div, + span { + display: none; + ${({ theme }) => theme.mediaQueries.md} { + display: grid; + } + + &:nth-of-type(-n + ${({ $maxElements }) => $maxElements}) { + display: grid; + } + } +`; + +export const DexOptionsShowMore = styled.button` + display: flex; + + ${({ theme }) => theme.mediaQueries.md} { + display: none; + } + + padding: 2px 16px; + margin-top: 8px; + flex: 0 1; + + align-self: center; + flex-direction: row; + justify-content: center; + align-items: center; + gap: 8px; + + background: none; + outline: none; + border: none; + color: var(--lido-color-primary); + line-height: 20px; + font-size: 12px; + font-weight: 700; + + cursor: pointer; `; export const DexOptionStyled = styled.div<{ $loading?: boolean }>` @@ -265,3 +313,30 @@ export const DexWarning = styled.div` margin-right: ${({ theme }) => theme.spaceMap.xs}px; } `; + +const DexOptionsCheckMark = (props: React.ComponentProps<'svg'>) => ( + + + +); + +export const DexOptionsCheckMarkIcon = styled(DexOptionsCheckMark)<{ + $active?: boolean; +}>` + transition: transform 0.3s ease-in-out; + transform: rotateY(180deg); + transform: ${({ $active }) => + $active ? 'rotateZ(180deg)' : 'rotateZ(0deg)'}; +`; diff --git a/features/withdrawals/request/withdrawal-rates/icons.tsx b/features/withdrawals/request/withdrawal-rates/icons.tsx index a598f670d..a2c89f5ac 100644 --- a/features/withdrawals/request/withdrawal-rates/icons.tsx +++ b/features/withdrawals/request/withdrawal-rates/icons.tsx @@ -3,6 +3,7 @@ import OpenOcean from 'assets/icons/open-ocean.svg'; import Paraswap from 'assets/icons/paraswap-circle.svg'; import Oneinch from 'assets/icons/oneinch-circle.svg'; import Bebop from 'assets/icons/bebop.svg'; +import Jumper from 'assets/icons/jumper.svg'; export const OpenOceanIcon = styled.img.attrs({ src: OpenOcean, @@ -31,3 +32,10 @@ export const BebopIcon = styled.img.attrs({ })` display: block; `; + +export const JumperIcon = styled.img.attrs({ + src: Jumper, + alt: 'Jumper', +})` + display: block; +`; diff --git a/features/withdrawals/request/withdrawal-rates/integrations.ts b/features/withdrawals/request/withdrawal-rates/integrations.ts index 24d1a7477..45e9ba962 100644 --- a/features/withdrawals/request/withdrawal-rates/integrations.ts +++ b/features/withdrawals/request/withdrawal-rates/integrations.ts @@ -12,7 +12,13 @@ import { getBebopRate } from 'utils/get-bebop-rate'; import { getOpenOceanRate } from 'utils/get-open-ocean-rate'; import { standardFetcher } from 'utils/standardFetcher'; -import { BebopIcon, OneInchIcon, OpenOceanIcon, ParaSwapIcon } from './icons'; +import { + BebopIcon, + OneInchIcon, + OpenOceanIcon, + ParaSwapIcon, + JumperIcon, +} from './icons'; import type { DexWithdrawalApi, @@ -20,6 +26,7 @@ import type { GetRateType, RateCalculationResult, } from './types'; +import { getJumperRate } from 'utils/get-jumper-rate'; const RATE_PRECISION = 100000; const RATE_PRECISION_BN = BigNumber.from(RATE_PRECISION); @@ -144,6 +151,23 @@ const getBebopWithdrawalRate: GetRateType = async ({ amount, token }) => { }; }; +const getJumperWithdrawalRate: GetRateType = async ({ amount, token }) => { + try { + if (amount.gt(Zero)) { + return await getJumperRate(amount, token, 'ETH'); + } + } catch (e) { + console.warn( + '[getOneInchWithdrawalRate] Failed to receive withdraw rate', + e, + ); + } + return { + rate: null, + toReceive: null, + }; +}; + const dexWithdrawalMap: DexWithdrawalIntegrationMap = { 'open-ocean': { title: 'OpenOcean', @@ -188,6 +212,16 @@ const dexWithdrawalMap: DexWithdrawalIntegrationMap = { getTokenAddress(CHAINS.Mainnet, token), )}&sellAmounts=${formatEther(amount)}&source=lido`, }, + jumper: { + title: 'Jumper', + icon: JumperIcon, + fetcher: getJumperWithdrawalRate, + matomoEvent: MATOMO_CLICK_EVENTS_TYPES.withdrawalGoToJumper, + link: (amount, token) => + `https://jumper.exchange/?fromAmount=${formatEther(amount)}&fromChain=1&fromToken=${getAddress( + getTokenAddress(CHAINS.Mainnet, token), + )}&source=lido&toChain=1&toToken=0x0000000000000000000000000000000000000000`, + }, } as const; export const getDexConfig = (dexKey: DexWithdrawalApi) => diff --git a/features/withdrawals/request/withdrawal-rates/types.ts b/features/withdrawals/request/withdrawal-rates/types.ts index d3d57136c..388526f5f 100644 --- a/features/withdrawals/request/withdrawal-rates/types.ts +++ b/features/withdrawals/request/withdrawal-rates/types.ts @@ -19,7 +19,12 @@ export type SingleWithdrawalRateResult = { toReceive: BigNumber | null; }; -export type DexWithdrawalApi = 'paraswap' | 'open-ocean' | 'one-inch' | 'bebop'; +export type DexWithdrawalApi = + | 'paraswap' + | 'open-ocean' + | 'one-inch' + | 'bebop' + | 'jumper'; export type DexWithdrawalIntegration = { title: string; diff --git a/features/withdrawals/request/withdrawal-rates/use-withdrawal-rates.ts b/features/withdrawals/request/withdrawal-rates/use-withdrawal-rates.ts index 9eb775b4c..6c3a154e0 100644 --- a/features/withdrawals/request/withdrawal-rates/use-withdrawal-rates.ts +++ b/features/withdrawals/request/withdrawal-rates/use-withdrawal-rates.ts @@ -23,7 +23,7 @@ export type useWithdrawalRatesOptions = { fallbackValue?: BigNumber; }; -export const getWithdrawalRates = async ( +const getWithdrawalRates = async ( params: GetWithdrawalRateParams, ): Promise => { const rates = await Promise.all( diff --git a/utils/get-jumper-rate.ts b/utils/get-jumper-rate.ts new file mode 100644 index 000000000..06e562f3c --- /dev/null +++ b/utils/get-jumper-rate.ts @@ -0,0 +1,49 @@ +import { BigNumber } from 'ethers'; +import { TOKENS } from '@lido-sdk/constants'; +import { standardFetcher } from './standardFetcher'; + +type JumperGetQuotePartial = { + estimate: { + toAmount: string; + }; +}; + +type RateToken = TOKENS.STETH | TOKENS.WSTETH | 'ETH'; + +type RateCalculationResult = { rate: number; toReceive: BigNumber }; + +const RATE_PRECISION = 1000000; + +export const getJumperRate = async ( + amount: BigNumber, + fromToken: RateToken, + toToken: RateToken, +): Promise => { + const basePath = 'https://li.quest/v1/quote'; + + const params = new URLSearchParams({ + fromChain: 'ETH', + toChain: 'ETH', + fromToken, + toToken, + fromAddress: '0x11D00000000000000000000000000000000011D0', + fromAmount: amount.toString(), + source: 'lido', + }); + + const data = await standardFetcher( + `${basePath}?${params.toString()}`, + ); + + if (data && data.estimate && data.estimate.toAmount) { + const toAmount = BigNumber.from(data.estimate.toAmount); + const rate = + toAmount.mul(BigNumber.from(RATE_PRECISION)).div(amount).toNumber() / + RATE_PRECISION; + return { + rate, + toReceive: toAmount, + }; + } + throw new Error('[getJumperRate] Could not get quote, invalid response body'); +}; From 8bb0fa033da58635d7d4d8c38bdb0bd1b37d302d Mon Sep 17 00:00:00 2001 From: Evgeny Taktarov Date: Tue, 2 Jul 2024 20:09:00 +0700 Subject: [PATCH 05/20] fix: icons style --- features/withdrawals/request/form/options/styles.tsx | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/features/withdrawals/request/form/options/styles.tsx b/features/withdrawals/request/form/options/styles.tsx index c2b7581e8..7eb0c3d13 100644 --- a/features/withdrawals/request/form/options/styles.tsx +++ b/features/withdrawals/request/form/options/styles.tsx @@ -163,8 +163,15 @@ export const OptionsPickerIcons = styled.div` width: 20px; height: 20px; border-radius: 100%; - border: 1px solid var(--lido-color-backgroundSecondary); - background-color: var(--lido-color-backgroundSecondary); + border: 1px solid; + border-color: ${({ theme }) => + theme.name === ThemeName.light + ? 'var(--lido-color-backgroundSecondary)' + : '#F6F8FA'}; + background-color: ${({ theme }) => + theme.name === ThemeName.light + ? 'var(--lido-color-backgroundSecondary)' + : '#F6F8FA'}; margin: -1px 0 -1px -8px; &:first-child { margin-left: 0px; From 0f151e917c53df9785f0b852cb4e077da20b1ebd Mon Sep 17 00:00:00 2001 From: Anton Shalimov Date: Wed, 3 Jul 2024 13:57:33 +0300 Subject: [PATCH 06/20] fix: use chainId for SDK only from supportedChainIds --- providers/sdk-legacy.tsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/providers/sdk-legacy.tsx b/providers/sdk-legacy.tsx index 7c08f53ef..d86e900fe 100644 --- a/providers/sdk-legacy.tsx +++ b/providers/sdk-legacy.tsx @@ -21,7 +21,7 @@ export const SDKLegacyProvider = ({ defaultChainId, pollingInterval = POLLING_INTERVAL, }: SDKLegacyProviderProps) => { - const { chainId = defaultChainId, account, active } = useWeb3(); + const { chainId: web3ChainId = defaultChainId, account, active } = useWeb3(); const { supportedChains } = useSupportedChains(); const { data: client } = useConnectorClient(); const { rpc } = useReefKnotContext(); @@ -47,6 +47,9 @@ export const SDKLegacyProvider = ({ [supportedChains], ); + const chainId = + supportedChainIds.indexOf(web3ChainId) > -1 ? web3ChainId : defaultChainId; + const providerRpc = getStaticRpcBatchProvider( chainId, rpc[chainId], From dcd5e7a31cdbc923ad2ffada32befccb846f2b61 Mon Sep 17 00:00:00 2001 From: Dmitrii Podlesnyi Date: Wed, 3 Jul 2024 22:22:40 +0700 Subject: [PATCH 07/20] fix: wagmi config transports init --- providers/web3.tsx | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/providers/web3.tsx b/providers/web3.tsx index b3d12997e..c69bb91d2 100644 --- a/providers/web3.tsx +++ b/providers/web3.tsx @@ -79,10 +79,13 @@ const Web3Provider: FC = ({ children }) => { chains: supportedChains, ssr: true, multiInjectedProviderDiscovery: false, - transports: supportedChains.reduce((res, curr) => ({ - ...res, - [curr.id]: http(backendRPC[curr.id], { batch: true }), - })), + transports: supportedChains.reduce( + (res, curr) => ({ + ...res, + [curr.id]: http(backendRPC[curr.id], { batch: true }), + }), + {}, + ), }); }, [supportedChains, backendRPC]); From 13e001fe5e05a621944c2c637023e52ff27ea2d6 Mon Sep 17 00:00:00 2001 From: Evgeny Taktarov Date: Thu, 4 Jul 2024 11:26:04 +0700 Subject: [PATCH 08/20] fix: move icon from assets --- assets/icons/chevron-blue.svg | 14 +++++++++++++ .../request/form/options/styles.tsx | 21 ++----------------- 2 files changed, 16 insertions(+), 19 deletions(-) create mode 100644 assets/icons/chevron-blue.svg diff --git a/assets/icons/chevron-blue.svg b/assets/icons/chevron-blue.svg new file mode 100644 index 000000000..7d6009272 --- /dev/null +++ b/assets/icons/chevron-blue.svg @@ -0,0 +1,14 @@ + + + \ No newline at end of file diff --git a/features/withdrawals/request/form/options/styles.tsx b/features/withdrawals/request/form/options/styles.tsx index 7eb0c3d13..102598456 100644 --- a/features/withdrawals/request/form/options/styles.tsx +++ b/features/withdrawals/request/form/options/styles.tsx @@ -4,6 +4,7 @@ import { FormatToken } from 'shared/formatters'; import Lido from 'assets/icons/lido.svg'; import ExternalLink from 'assets/icons/external-link-icon.svg'; +import { ReactComponent as ChevronBlue } from 'assets/icons/chevron-blue.svg'; // ICONS @@ -321,25 +322,7 @@ export const DexWarning = styled.div` } `; -const DexOptionsCheckMark = (props: React.ComponentProps<'svg'>) => ( - - - -); - -export const DexOptionsCheckMarkIcon = styled(DexOptionsCheckMark)<{ +export const DexOptionsCheckMarkIcon = styled(ChevronBlue)<{ $active?: boolean; }>` transition: transform 0.3s ease-in-out; From cf175b72e22adc58abb4adcac575ea8f665d5401 Mon Sep 17 00:00:00 2001 From: Evgeny Taktarov Date: Thu, 4 Jul 2024 16:39:56 +0700 Subject: [PATCH 09/20] feat: add animation --- .../options/{ => dex-options}/dex-options.tsx | 63 ++++---- .../form/options/dex-options/index.tsx | 1 + .../form/options/dex-options/styles.ts | 153 ++++++++++++++++++ .../request/form/options/styles.tsx | 153 +----------------- .../withdrawals-constants/index.ts | 2 +- 5 files changed, 192 insertions(+), 180 deletions(-) rename features/withdrawals/request/form/options/{ => dex-options}/dex-options.tsx (68%) create mode 100644 features/withdrawals/request/form/options/dex-options/index.tsx create mode 100644 features/withdrawals/request/form/options/dex-options/styles.ts diff --git a/features/withdrawals/request/form/options/dex-options.tsx b/features/withdrawals/request/form/options/dex-options/dex-options.tsx similarity index 68% rename from features/withdrawals/request/form/options/dex-options.tsx rename to features/withdrawals/request/form/options/dex-options/dex-options.tsx index a42bbb7d7..bff3acc9b 100644 --- a/features/withdrawals/request/form/options/dex-options.tsx +++ b/features/withdrawals/request/form/options/dex-options/dex-options.tsx @@ -10,7 +10,6 @@ import { DexOptionStyled, DexOptionsContainer, DexOptionAmount, - InlineLoaderSmall, DexOptionLoader, DexWarning, DexOptionsShowMore, @@ -18,6 +17,7 @@ import { } from './styles'; import { ReactComponent as AttentionTriangle } from 'assets/icons/attention-triangle.svg'; import { useState } from 'react'; +import { InlineLoaderSmall } from '../styles'; const MAX_SHOWN_ELEMENTS = 3; @@ -79,34 +79,37 @@ export const DexOptions: React.FC< const allowExpand = enabledDexes.length > MAX_SHOWN_ELEMENTS; return ( - - {!isAnyDexEnabled && ( - - -
Aggregator's prices are not available now
-
- )} - {isAnyDexEnabled && - initialLoading && - enabledDexes.map((_, i) => )} - {isAnyDexEnabled && - !initialLoading && - data?.map(({ title, toReceive, link, rate, matomoEvent, icon }) => { - return ( - trackMatomoEvent(matomoEvent)} - url={link(amount, selectedToken)} - key={title} - toReceive={rate ? toReceive : null} - /> - ); - })} + <> + + {!isAnyDexEnabled && ( + + +
Aggregator's prices are not available now
+
+ )} + {isAnyDexEnabled && + initialLoading && + enabledDexes.map((_, i) => )} + {isAnyDexEnabled && + !initialLoading && + data?.map(({ title, toReceive, link, rate, matomoEvent, icon }) => { + return ( + trackMatomoEvent(matomoEvent)} + url={link(amount, selectedToken)} + key={title} + toReceive={rate ? toReceive : null} + /> + ); + })} +
{allowExpand && ( { @@ -118,6 +121,6 @@ export const DexOptions: React.FC< )} -
+ ); }; diff --git a/features/withdrawals/request/form/options/dex-options/index.tsx b/features/withdrawals/request/form/options/dex-options/index.tsx new file mode 100644 index 000000000..8ceb50ba1 --- /dev/null +++ b/features/withdrawals/request/form/options/dex-options/index.tsx @@ -0,0 +1 @@ +export { DexOptions } from './dex-options'; diff --git a/features/withdrawals/request/form/options/dex-options/styles.ts b/features/withdrawals/request/form/options/dex-options/styles.ts new file mode 100644 index 000000000..40e2754e7 --- /dev/null +++ b/features/withdrawals/request/form/options/dex-options/styles.ts @@ -0,0 +1,153 @@ +import styled from 'styled-components'; +import { InlineLoader, ThemeName } from '@lidofinance/lido-ui'; +import ExternalLink from 'assets/icons/external-link-icon.svg'; +import { ReactComponent as ChevronBlue } from 'assets/icons/chevron-blue.svg'; + +export const DexOptionsContainer = styled.div<{ + $maxElements: number; + $showMore: boolean; +}>` + --itemHeight: 82px; + --itemGap: 8px; + + display: flex; + flex-direction: column; + gap: var(--itemGap); + overflow-y: hidden; + max-height: calc( + (var(--itemGap) + var(--itemHeight)) * ${({ $maxElements }) => $maxElements} - var( + --itemGap + ) + ); + transition: max-height 0.2s ease-in-out; + + ${({ theme }) => theme.mediaQueries.md} { + max-height: unset; + } +`; + +export const DexOptionsShowMore = styled.button` + display: flex; + + ${({ theme }) => theme.mediaQueries.md} { + display: none; + } + + padding: 2px 16px; + margin: 8px auto 0px; + + flex: 0 1; + + align-self: center; + flex-direction: row; + justify-content: center; + align-items: center; + gap: 8px; + + background: none; + outline: none; + border: none; + color: var(--lido-color-primary); + line-height: 20px; + font-size: 12px; + font-weight: 700; + + cursor: pointer; +`; + +export const DexOptionStyled = styled.div<{ $loading?: boolean }>` + width: 100%; + + min-height: var(--itemHeight); + max-height: var(--itemHeight); + // we need to update lido ui + background-color: ${({ theme }) => + theme.name === ThemeName.light ? '#F6F8FA' : '#2D2D35'}; + border-radius: ${({ theme }) => theme.borderRadiusesMap.lg}px; + padding: 16px 20px; + + display: grid; + gap: 5px 16px; + grid-template: 1fr 1fr / 44px max-content; + + & > svg, + & > img { + grid-row: 1 / 3; + grid-column: 1 / 1; + align-self: center; + width: 44px; + filter: ${({ theme }) => + theme.name === ThemeName.light + ? 'drop-shadow(0px 0px 1px rgba(246, 248, 250, 255))' + : 'unset'}; + } +`; + +export const DexOptionLoader = styled(InlineLoader)` + display: block; + width: 100%; + min-height: 82px; + border-radius: ${({ theme }) => theme.borderRadiusesMap.lg}px; +`; + +export const DexOptionBlockTitle = styled.span` + grid-row: 1; + grid-column: 2; + color: var(--lido-color-text); + font-weight: 400; + font-size: 14px; +`; + +export const DexOptionBlockLink = styled.a` + grid-row: 2; + grid-column: 2; + &::after { + content: ' '; + display: inline-block; + background: url(${ExternalLink}) center / contain no-repeat; + width: 12px; + height: 12px; + margin-left: 8px; + margin-bottom: -1px; + } +`; + +export const DexOptionAmount = styled.span` + grid-row: 1 / 3; + grid-column: 3; + width: 100%; + justify-self: end; + align-self: center; + text-align: end; + + color: var(--lido-color-text); + font-weight: 700; + font-size: 14px; +`; + +export const DexWarning = styled.div` + display: flex; + align-items: center; + justify-content: center; + padding: ${({ theme }) => theme.spaceMap.md}px; + font-weight: 400; + font-size: ${({ theme }) => theme.fontSizesMap.xs}px; + // we need to update lido ui + background-color: ${({ theme }) => + theme.name === ThemeName.light ? '#F6F8FA' : '#2D2D35'}; + border-radius: ${({ theme }) => theme.borderRadiusesMap.lg}px; + + svg { + display: block; + margin-right: ${({ theme }) => theme.spaceMap.xs}px; + } +`; + +export const DexOptionsCheckMarkIcon = styled(ChevronBlue)<{ + $active?: boolean; +}>` + transition: transform 0.3s ease-in-out; + transform: rotateY(180deg); + transform: ${({ $active }) => + $active ? 'rotateZ(180deg)' : 'rotateZ(0deg)'}; +`; diff --git a/features/withdrawals/request/form/options/styles.tsx b/features/withdrawals/request/form/options/styles.tsx index 102598456..68bffb3d4 100644 --- a/features/withdrawals/request/form/options/styles.tsx +++ b/features/withdrawals/request/form/options/styles.tsx @@ -3,8 +3,6 @@ import { InlineLoader, ThemeName } from '@lidofinance/lido-ui'; import { FormatToken } from 'shared/formatters'; import Lido from 'assets/icons/lido.svg'; -import ExternalLink from 'assets/icons/external-link-icon.svg'; -import { ReactComponent as ChevronBlue } from 'assets/icons/chevron-blue.svg'; // ICONS @@ -22,6 +20,10 @@ export const OptionAmountRow = styled.div` // LIDO OPTION +export const InlineLoaderSmall = styled(InlineLoader)` + max-width: 74px; +`; + export const LidoOptionContainer = styled.div` width: 100%; min-height: 82px; @@ -183,150 +185,3 @@ export const OptionsPickerIcons = styled.div` : 'unset'}; } `; - -// DEX OPTIONS - -export const DexOptionsContainer = styled.div<{ $maxElements: number }>` - display: flex; - flex-direction: column; - gap: 8px; - - & > div, - span { - display: none; - ${({ theme }) => theme.mediaQueries.md} { - display: grid; - } - - &:nth-of-type(-n + ${({ $maxElements }) => $maxElements}) { - display: grid; - } - } -`; - -export const DexOptionsShowMore = styled.button` - display: flex; - - ${({ theme }) => theme.mediaQueries.md} { - display: none; - } - - padding: 2px 16px; - margin-top: 8px; - flex: 0 1; - - align-self: center; - flex-direction: row; - justify-content: center; - align-items: center; - gap: 8px; - - background: none; - outline: none; - border: none; - color: var(--lido-color-primary); - line-height: 20px; - font-size: 12px; - font-weight: 700; - - cursor: pointer; -`; - -export const DexOptionStyled = styled.div<{ $loading?: boolean }>` - width: 100%; - min-height: 82px; - // we need to update lido ui - background-color: ${({ theme }) => - theme.name === ThemeName.light ? '#F6F8FA' : '#2D2D35'}; - border-radius: ${({ theme }) => theme.borderRadiusesMap.lg}px; - padding: 16px 20px; - - display: grid; - gap: 5px 16px; - grid-template: 1fr 1fr / 44px max-content; - - & > svg, - & > img { - grid-row: 1 / 3; - grid-column: 1 / 1; - align-self: center; - width: 44px; - filter: ${({ theme }) => - theme.name === ThemeName.light - ? 'drop-shadow(0px 0px 1px rgba(246, 248, 250, 255))' - : 'unset'}; - } -`; - -export const DexOptionLoader = styled(InlineLoader)` - display: block; - width: 100%; - min-height: 82px; - border-radius: ${({ theme }) => theme.borderRadiusesMap.lg}px; -`; - -export const DexOptionBlockTitle = styled.span` - grid-row: 1; - grid-column: 2; - color: var(--lido-color-text); - font-weight: 400; - font-size: 14px; -`; - -export const DexOptionBlockLink = styled.a` - grid-row: 2; - grid-column: 2; - &::after { - content: ' '; - display: inline-block; - background: url(${ExternalLink}) center / contain no-repeat; - width: 12px; - height: 12px; - margin-left: 8px; - margin-bottom: -1px; - } -`; - -export const DexOptionAmount = styled.span` - grid-row: 1 / 3; - grid-column: 3; - width: 100%; - justify-self: end; - align-self: center; - text-align: end; - - color: var(--lido-color-text); - font-weight: 700; - font-size: 14px; -`; - -export const InlineLoaderSmall = styled(InlineLoader)` - max-width: 74px; -`; - -export const DexWarning = styled.div` - display: flex; - align-items: center; - justify-content: center; - padding: ${({ theme }) => theme.spaceMap.md}px; - font-weight: 400; - font-size: ${({ theme }) => theme.fontSizesMap.xs}px; - // we need to update lido ui - background-color: ${({ theme }) => - theme.name === ThemeName.light ? '#F6F8FA' : '#2D2D35'}; - border-radius: ${({ theme }) => theme.borderRadiusesMap.lg}px; - - svg { - display: block; - margin-right: ${({ theme }) => theme.spaceMap.xs}px; - } -`; - -export const DexOptionsCheckMarkIcon = styled(ChevronBlue)<{ - $active?: boolean; -}>` - transition: transform 0.3s ease-in-out; - transform: rotateY(180deg); - transform: ${({ $active }) => - $active ? 'rotateZ(180deg)' : 'rotateZ(0deg)'}; -`; diff --git a/features/withdrawals/withdrawals-constants/index.ts b/features/withdrawals/withdrawals-constants/index.ts index 1fcc9bbdc..67617418b 100644 --- a/features/withdrawals/withdrawals-constants/index.ts +++ b/features/withdrawals/withdrawals-constants/index.ts @@ -18,6 +18,6 @@ export const VALIDATION_CONTEXT_TIMEOUT = 4000; export const ENABLED_WITHDRAWAL_DEXES: DexWithdrawalApi[] = overrideWithQAMockArray( - ['one-inch', 'paraswap', 'bebop'], + ['one-inch', 'paraswap', 'bebop', 'jumper'], 'mock-qa-helpers-enabled-withdrawal-dexes', ); From e56b8dcdeb7e0f4c6c3aa988edf559296b69b465 Mon Sep 17 00:00:00 2001 From: DiRaiks Date: Thu, 4 Jul 2024 12:56:17 +0300 Subject: [PATCH 10/20] fix: change text animation --- .../request/form/options/dex-options/dex-options.tsx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/features/withdrawals/request/form/options/dex-options/dex-options.tsx b/features/withdrawals/request/form/options/dex-options/dex-options.tsx index bff3acc9b..1ba026529 100644 --- a/features/withdrawals/request/form/options/dex-options/dex-options.tsx +++ b/features/withdrawals/request/form/options/dex-options/dex-options.tsx @@ -72,6 +72,7 @@ export const DexOptions: React.FC< React.ComponentProps > = (props) => { const [showMore, setShowMore] = useState(false); + const [buttonText, setButtonText] = useState('See all options'); const { data, initialLoading, amount, selectedToken, enabledDexes } = useWithdrawalRates(); @@ -84,6 +85,9 @@ export const DexOptions: React.FC< data-testid="dexOptionContainer" $showMore={showMore} $maxElements={showMore ? enabledDexes.length : MAX_SHOWN_ELEMENTS} + onTransitionEnd={() => + setButtonText(showMore ? 'Hide' : 'See all options') + } {...props} > {!isAnyDexEnabled && ( @@ -117,7 +121,7 @@ export const DexOptions: React.FC< setShowMore(!showMore); }} > - {showMore ? 'Hide' : 'See all options'} + {buttonText} )} From f3fef5205fdf7a3e042a165f90e290672ef0c5b8 Mon Sep 17 00:00:00 2001 From: Evgeny Taktarov Date: Thu, 4 Jul 2024 18:07:05 +0700 Subject: [PATCH 11/20] chore: remove unused prop --- .../withdrawals/request/form/options/dex-options/dex-options.tsx | 1 - features/withdrawals/request/form/options/dex-options/styles.ts | 1 - 2 files changed, 2 deletions(-) diff --git a/features/withdrawals/request/form/options/dex-options/dex-options.tsx b/features/withdrawals/request/form/options/dex-options/dex-options.tsx index bff3acc9b..81220d99b 100644 --- a/features/withdrawals/request/form/options/dex-options/dex-options.tsx +++ b/features/withdrawals/request/form/options/dex-options/dex-options.tsx @@ -82,7 +82,6 @@ export const DexOptions: React.FC< <> diff --git a/features/withdrawals/request/form/options/dex-options/styles.ts b/features/withdrawals/request/form/options/dex-options/styles.ts index 40e2754e7..10100871f 100644 --- a/features/withdrawals/request/form/options/dex-options/styles.ts +++ b/features/withdrawals/request/form/options/dex-options/styles.ts @@ -5,7 +5,6 @@ import { ReactComponent as ChevronBlue } from 'assets/icons/chevron-blue.svg'; export const DexOptionsContainer = styled.div<{ $maxElements: number; - $showMore: boolean; }>` --itemHeight: 82px; --itemGap: 8px; From f73feb5cc9dfb93b31a82ccf357fcc8bc9d2c574 Mon Sep 17 00:00:00 2001 From: Alexander Khramov Date: Mon, 8 Jul 2024 19:45:59 +0300 Subject: [PATCH 12/20] feat: update header and footer styles, fix mobile nav on iphones --- .../layout/footer/external-link.tsx | 12 +++++++ .../components/layout/footer/link-to-ipfs.tsx | 2 +- shared/components/layout/footer/styles.tsx | 35 +++++++++---------- .../header/components/navigation/styles.tsx | 20 +++++++---- shared/components/layout/header/styles.tsx | 10 +++--- styles/constants.ts | 17 +++++++-- 6 files changed, 62 insertions(+), 34 deletions(-) create mode 100644 shared/components/layout/footer/external-link.tsx diff --git a/shared/components/layout/footer/external-link.tsx b/shared/components/layout/footer/external-link.tsx new file mode 100644 index 000000000..339e710ff --- /dev/null +++ b/shared/components/layout/footer/external-link.tsx @@ -0,0 +1,12 @@ +import React from 'react'; +import { ExternalLinkIconFooter, FooterLink } from './styles'; + +export const ExternalLink = ({ + children, + ...props +}: React.ComponentProps) => ( + + {children} + + +); diff --git a/shared/components/layout/footer/link-to-ipfs.tsx b/shared/components/layout/footer/link-to-ipfs.tsx index f130814eb..700aadd66 100644 --- a/shared/components/layout/footer/link-to-ipfs.tsx +++ b/shared/components/layout/footer/link-to-ipfs.tsx @@ -1,7 +1,7 @@ import { IPFS_INFO_URL, useRemoteVersion } from 'features/ipfs'; import { OnlyInfraRender } from 'shared/components/only-infra-render'; -import { ExternalLink } from './styles'; +import { ExternalLink } from './external-link'; export const LinkToIpfs = () => { const { data } = useRemoteVersion(); diff --git a/shared/components/layout/footer/styles.tsx b/shared/components/layout/footer/styles.tsx index 09a3e1815..4808bb4d1 100644 --- a/shared/components/layout/footer/styles.tsx +++ b/shared/components/layout/footer/styles.tsx @@ -2,10 +2,17 @@ import styled from 'styled-components'; import { Container, Link } from '@lidofinance/lido-ui'; import { LogoLido } from 'shared/components/logos/logos'; -import { NAV_MOBILE_MEDIA } from 'styles/constants'; +import { + FOOTER_DESKTOP_PADDING_X, + FOOTER_DESKTOP_PADDING_Y, + FOOTER_MAX_WIDTH, + FOOTER_MOBILE_MARGIN_BOTTOM, + FOOTER_MOBILE_PADDING_X, + FOOTER_MOBILE_PADDING_Y, + NAV_MOBILE_MEDIA, +} from 'styles/constants'; import { ReactComponent as ExternalLinkIcon } from 'assets/icons/external-link-icon.svg'; -import React from 'react'; export const FooterStyle = styled(Container)` position: relative; @@ -16,12 +23,12 @@ export const FooterStyle = styled(Container)` flex-wrap: wrap; width: 100%; - max-width: 1424px; - padding: 24px 32px; + max-width: ${FOOTER_MAX_WIDTH}px; + padding: ${FOOTER_DESKTOP_PADDING_Y}px ${FOOTER_DESKTOP_PADDING_X}px; ${NAV_MOBILE_MEDIA} { - margin-bottom: 60px; - padding: 20px 18px; + margin-bottom: ${FOOTER_MOBILE_MARGIN_BOTTOM}px; + padding: ${FOOTER_MOBILE_PADDING_X}px ${FOOTER_MOBILE_PADDING_Y}px; justify-content: center; } `; @@ -70,14 +77,14 @@ export const LinkDivider = styled.div` `; export const LogoLidoStyle = styled(LogoLido)` - margin-right: 32px; + margin-right: ${({ theme }) => theme.spaceMap.xxl}px; `; export const FooterDivider = styled.div` position: absolute; top: 0; - left: 32px; - width: calc(100% - 64px); + left: ${FOOTER_DESKTOP_PADDING_X}px; + width: calc(100% - ${FOOTER_DESKTOP_PADDING_X * 2}px); height: 1px; background: var(--lido-color-popupMenuItemBgActiveHover); opacity: 0.12; @@ -107,13 +114,3 @@ export const ExternalLinkIconFooter = styled(ExternalLinkIcon).attrs({ fill: var(--lido-color-textSecondary); } `; - -export const ExternalLink = ({ - children, - ...props -}: React.ComponentProps) => ( - - {children} - - -); diff --git a/shared/components/layout/header/components/navigation/styles.tsx b/shared/components/layout/header/components/navigation/styles.tsx index 2d0c2c5bc..a4d3848da 100644 --- a/shared/components/layout/header/components/navigation/styles.tsx +++ b/shared/components/layout/header/components/navigation/styles.tsx @@ -1,11 +1,15 @@ import styled, { css } from 'styled-components'; -import { NAV_MOBILE_MEDIA, NAV_MOBILE_HEIGHT } from 'styles/constants'; +import { + NAV_MOBILE_MEDIA, + NAV_MOBILE_HEIGHT, + NAV_DESKTOP_GUTTER_X, +} from 'styles/constants'; export const desktopCss = css` - margin: 0 46px; + margin: 0 ${NAV_DESKTOP_GUTTER_X}px; display: flex; - gap: 32px; + gap: ${({ theme }) => theme.spaceMap.xxl}px; svg { margin-right: 10px; @@ -18,18 +22,19 @@ const mobileCss = css` bottom: 0; left: 0; right: 0; - padding: 8px; + padding: ${({ theme: { spaceMap } }) => + `${spaceMap.sm}px ${spaceMap.sm}px max(env(safe-area-inset-bottom), ${spaceMap.sm}px)`}; background-color: var(--lido-color-foreground); display: flex; - gap: 32px; + gap: ${({ theme }) => theme.spaceMap.xxl}px; justify-content: space-around; align-items: center; border-top: 1px solid var(--lido-color-border); - height: ${NAV_MOBILE_HEIGHT}px; + height: calc(${NAV_MOBILE_HEIGHT}px + env(safe-area-inset-bottom)); svg { margin-right: 0; - margin-bottom: 7px; + margin-bottom: ${({ theme }) => theme.spaceMap.sm}px; } `; @@ -71,6 +76,7 @@ export const NavLink = styled.span<{ active: boolean }>` } ${NAV_MOBILE_MEDIA} { + width: ${({ theme }) => theme.spaceMap.xl}px; flex-direction: column; text-transform: none; font-weight: 500; diff --git a/shared/components/layout/header/styles.tsx b/shared/components/layout/header/styles.tsx index da64a6902..2786a8de3 100644 --- a/shared/components/layout/header/styles.tsx +++ b/shared/components/layout/header/styles.tsx @@ -1,12 +1,12 @@ import { Container } from '@lidofinance/lido-ui'; import styled, { keyframes } from 'styled-components'; -import { NAV_MOBILE_MEDIA } from 'styles/constants'; +import { DOT_SIZE, HEADER_PADDING_Y, NAV_MOBILE_MEDIA } from 'styles/constants'; export const HeaderStyle = styled((props) => )` position: relative; - padding-top: 18px; - padding-bottom: 18px; + padding-top: ${HEADER_PADDING_Y}px; + padding-bottom: ${HEADER_PADDING_Y}px; display: flex; align-items: center; `; @@ -33,8 +33,8 @@ const glimmer = keyframes` `; export const DotStyle = styled.p` - height: 6px; - width: 6px; + height: ${DOT_SIZE}px; + width: ${DOT_SIZE}px; background-color: lightgreen; border-radius: 50%; animation: ${glimmer} 2s ease-in-out infinite; diff --git a/styles/constants.ts b/styles/constants.ts index 6809ed3a1..73fe6214e 100644 --- a/styles/constants.ts +++ b/styles/constants.ts @@ -1,5 +1,18 @@ export const NAV_MOBILE_HEIGHT = 60; - export const NAV_MOBILE_MAX_WIDTH = 880; - export const NAV_MOBILE_MEDIA = `@media screen and (max-width: ${NAV_MOBILE_MAX_WIDTH}px)`; + +export const NAV_DESKTOP_GUTTER_X = 46; + +export const HEADER_PADDING_Y = 18; + +export const DOT_SIZE = 6; + +export const FOOTER_MAX_WIDTH = 1424; + +export const FOOTER_DESKTOP_PADDING_X = 32; +export const FOOTER_DESKTOP_PADDING_Y = 24; + +export const FOOTER_MOBILE_PADDING_X = 20; +export const FOOTER_MOBILE_PADDING_Y = 18; +export const FOOTER_MOBILE_MARGIN_BOTTOM = 60; From 32af85da661129df2a5490f9d814397085c11139 Mon Sep 17 00:00:00 2001 From: Dmitrii Podlesnyi Date: Tue, 9 Jul 2024 18:33:33 +0700 Subject: [PATCH 13/20] fix: sdk legacy web3 provider instance value --- providers/sdk-legacy.tsx | 86 +++++++++++++++++++++++++++------------- 1 file changed, 59 insertions(+), 27 deletions(-) diff --git a/providers/sdk-legacy.tsx b/providers/sdk-legacy.tsx index d86e900fe..9c6203118 100644 --- a/providers/sdk-legacy.tsx +++ b/providers/sdk-legacy.tsx @@ -1,6 +1,6 @@ -import React, { PropsWithChildren, useMemo } from 'react'; +import React, { PropsWithChildren, useEffect, useMemo, useState } from 'react'; import { useSupportedChains, useWeb3 } from 'reef-knot/web3-react'; -import { useConnectorClient } from 'wagmi'; +import { useClient, useConfig } from 'wagmi'; import { Web3Provider } from '@ethersproject/providers'; import { ProviderSDK } from '@lido-sdk/react'; @@ -23,45 +23,77 @@ export const SDKLegacyProvider = ({ }: SDKLegacyProviderProps) => { const { chainId: web3ChainId = defaultChainId, account, active } = useWeb3(); const { supportedChains } = useSupportedChains(); - const { data: client } = useConnectorClient(); + const config = useConfig(); + const client = useClient(); const { rpc } = useReefKnotContext(); - const providerWeb3 = useMemo(() => { - if (!client || !client.account || !active) return; - const { chain, transport } = client; + const [providerWeb3, setProviderWeb3] = useState(); - // https://wagmi.sh/core/guides/ethers#reference-implementation-1 - const network = { - chainId: chain.id, - name: chain.name, - ensAddress: chain.contracts?.ensRegistry?.address, + useEffect(() => { + let isHookMounted = true; + + const getProviderTransport = async () => { + const { state } = config; + if (!state.current) return client?.transport; + const connector = state.connections.get(state.current)?.connector; + if (!connector) return client?.transport; + const provider: any = await connector.getProvider(); + return provider || client?.transport; + }; + + const getProviderValue = async () => { + if (!client || !account || !active) return undefined; + const { chain } = client; + const providerTransport = await getProviderTransport(); + + // https://wagmi.sh/core/guides/ethers#reference-implementation-1 + const provider = new Web3Provider(providerTransport, { + chainId: chain.id, + name: chain.name, + ensAddress: chain.contracts?.ensRegistry?.address, + }); + provider.pollingInterval = pollingInterval; + + return provider; }; - const provider = new Web3Provider(transport, network); - provider.pollingInterval = pollingInterval; - return provider; - }, [active, client, pollingInterval]); + const getProviderAndSet = async () => { + const provider = await getProviderValue(); + if (isHookMounted) setProviderWeb3(provider); + }; + + void getProviderAndSet(); + + return () => { + isHookMounted = false; + }; + }, [config, config.state, client, account, active, pollingInterval]); const supportedChainIds = useMemo( () => supportedChains.map((chain) => chain.chainId), [supportedChains], ); - const chainId = - supportedChainIds.indexOf(web3ChainId) > -1 ? web3ChainId : defaultChainId; + const chainId = useMemo(() => { + return supportedChainIds.indexOf(web3ChainId) > -1 + ? web3ChainId + : defaultChainId; + }, [defaultChainId, supportedChainIds, web3ChainId]); - const providerRpc = getStaticRpcBatchProvider( - chainId, - rpc[chainId], - 0, - POLLING_INTERVAL, + const providerRpc = useMemo( + () => getStaticRpcBatchProvider(chainId, rpc[chainId], 0, POLLING_INTERVAL), + [rpc, chainId], ); - const providerMainnetRpc = getStaticRpcBatchProvider( - mainnet.id, - rpc[mainnet.id], - 0, - POLLING_INTERVAL, + const providerMainnetRpc = useMemo( + () => + getStaticRpcBatchProvider( + mainnet.id, + rpc[mainnet.id], + 0, + POLLING_INTERVAL, + ), + [rpc], ); return ( From 09a997f12bf227befcb61496ddb24736fb9bffd7 Mon Sep 17 00:00:00 2001 From: Dmitrii Podlesnyi Date: Tue, 9 Jul 2024 20:01:02 +0700 Subject: [PATCH 14/20] chore: reef-knot version updated --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 16231836d..6e98d7218 100644 --- a/package.json +++ b/package.json @@ -68,7 +68,7 @@ "react-hook-form": "^7.45.2", "react-is": "^18.2.0", "react-transition-group": "^4.4.2", - "reef-knot": "5.0.1 ", + "reef-knot": "5.0.2", "remark": "^13.0.0", "remark-external-links": "^8.0.0", "remark-html": "^13.0.1", From 61f358b29760f7abb4e9d28e9b5adeb96e1cabc5 Mon Sep 17 00:00:00 2001 From: Dmitrii Podlesnyi Date: Tue, 9 Jul 2024 21:17:19 +0700 Subject: [PATCH 15/20] chore: reef-knot version updated --- yarn.lock | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/yarn.lock b/yarn.lock index 4bd89b6a9..ccd5f06ee 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2745,10 +2745,10 @@ resolved "https://registry.yarnpkg.com/@polka/url/-/url-1.0.0-next.24.tgz#58601079e11784d20f82d0585865bb42305c4df3" integrity sha512-2LuNTFBIO0m7kKIQvvPHN6UE63VjpmL9rnEEaOOaiSPbZK+zUOYIzBAWcED+3XYzhYsd/0mD57VdxAEqqV52CQ== -"@reef-knot/connect-wallet-modal@5.0.0": - version "5.0.0" - resolved "https://registry.yarnpkg.com/@reef-knot/connect-wallet-modal/-/connect-wallet-modal-5.0.0.tgz#f25574e634650e2985cdf6e2dff71b5f7e7a9d0f" - integrity sha512-Keq1xg8GRNVvpCpsYSHxMwkFrF3zFY06E3Fke9kPQsdNWGZKaGmUd8Sn49QhdqsYWbTlWvNd2vpPxYDIGndDyg== +"@reef-knot/connect-wallet-modal@5.0.1": + version "5.0.1" + resolved "https://registry.yarnpkg.com/@reef-knot/connect-wallet-modal/-/connect-wallet-modal-5.0.1.tgz#9696b02f3c97326b2f0f7ac4865f53754f952a1a" + integrity sha512-fcazH7TVdMcbT2p53wzAN239ekkFHndF3miqGMDr53pMNyGnF6TPIn+S2m4mhET9QQ2QyjsSjeOu8Wdk9DROqw== dependencies: "@ledgerhq/hw-app-eth" "^6.35.2" "@ledgerhq/hw-transport" "^6.30.1" @@ -9403,12 +9403,12 @@ redis-parser@^3.0.0: dependencies: redis-errors "^1.0.0" -"reef-knot@5.0.1 ": - version "5.0.1" - resolved "https://registry.yarnpkg.com/reef-knot/-/reef-knot-5.0.1.tgz#557dd80346f2c54ce964450a972a3afefee8e05b" - integrity sha512-tsjwfUmSgKmfwAK57ry7w0gHxVPT46cTAlHLZ7zIApQVSzetucDu5qkO8qqINCnAK+duOn05JysrALZ48a5s9w== +reef-knot@5.0.2: + version "5.0.2" + resolved "https://registry.yarnpkg.com/reef-knot/-/reef-knot-5.0.2.tgz#13f026e9933a3fbdd05534ba382cad872abd7c76" + integrity sha512-fh8K3FLIWKcrvCphNbVXXtNS18PETfniw6DWArBCnHrJALosdQ+BxW6Fy/SAAVH9qty743cIB31ZjRdPlYdpRw== dependencies: - "@reef-knot/connect-wallet-modal" "5.0.0" + "@reef-knot/connect-wallet-modal" "5.0.1" "@reef-knot/core-react" "4.0.1" "@reef-knot/ledger-connector" "4.0.0" "@reef-knot/types" "2.0.0" From c663e9dabb348980a137df5edef470e3e03988a5 Mon Sep 17 00:00:00 2001 From: Dmitrii Podlesnyi Date: Wed, 10 Jul 2024 18:41:01 +0700 Subject: [PATCH 16/20] fix: wallets modal metrics --- package.json | 2 +- yarn.lock | 18 +++++++++--------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/package.json b/package.json index 6e98d7218..251e4a07c 100644 --- a/package.json +++ b/package.json @@ -68,7 +68,7 @@ "react-hook-form": "^7.45.2", "react-is": "^18.2.0", "react-transition-group": "^4.4.2", - "reef-knot": "5.0.2", + "reef-knot": "5.0.3", "remark": "^13.0.0", "remark-external-links": "^8.0.0", "remark-html": "^13.0.1", diff --git a/yarn.lock b/yarn.lock index ccd5f06ee..949405e8e 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2745,10 +2745,10 @@ resolved "https://registry.yarnpkg.com/@polka/url/-/url-1.0.0-next.24.tgz#58601079e11784d20f82d0585865bb42305c4df3" integrity sha512-2LuNTFBIO0m7kKIQvvPHN6UE63VjpmL9rnEEaOOaiSPbZK+zUOYIzBAWcED+3XYzhYsd/0mD57VdxAEqqV52CQ== -"@reef-knot/connect-wallet-modal@5.0.1": - version "5.0.1" - resolved "https://registry.yarnpkg.com/@reef-knot/connect-wallet-modal/-/connect-wallet-modal-5.0.1.tgz#9696b02f3c97326b2f0f7ac4865f53754f952a1a" - integrity sha512-fcazH7TVdMcbT2p53wzAN239ekkFHndF3miqGMDr53pMNyGnF6TPIn+S2m4mhET9QQ2QyjsSjeOu8Wdk9DROqw== +"@reef-knot/connect-wallet-modal@5.0.2": + version "5.0.2" + resolved "https://registry.yarnpkg.com/@reef-knot/connect-wallet-modal/-/connect-wallet-modal-5.0.2.tgz#96cf9bd20cac49b8d0c18c4c9ec7961730f59cdc" + integrity sha512-olxisJiyaP3+xZMvnjpqsDqyMpT7UC79yQJPRbFPQAYor5ngTa+sOh72zsUmuXDFQlh4reyt/KZ+7vOTYRsuNg== dependencies: "@ledgerhq/hw-app-eth" "^6.35.2" "@ledgerhq/hw-transport" "^6.30.1" @@ -9403,12 +9403,12 @@ redis-parser@^3.0.0: dependencies: redis-errors "^1.0.0" -reef-knot@5.0.2: - version "5.0.2" - resolved "https://registry.yarnpkg.com/reef-knot/-/reef-knot-5.0.2.tgz#13f026e9933a3fbdd05534ba382cad872abd7c76" - integrity sha512-fh8K3FLIWKcrvCphNbVXXtNS18PETfniw6DWArBCnHrJALosdQ+BxW6Fy/SAAVH9qty743cIB31ZjRdPlYdpRw== +reef-knot@5.0.3: + version "5.0.3" + resolved "https://registry.yarnpkg.com/reef-knot/-/reef-knot-5.0.3.tgz#245d22df519da74ba25b7628210cf4a3f0378176" + integrity sha512-aba8oYGtMYAHHhGlu0GgVjhbdQCY90j83Rii5sYT44H+3zSWsCkt9TrKwL8bIig75L47QtYsNHdmLMZCjO5PZA== dependencies: - "@reef-knot/connect-wallet-modal" "5.0.1" + "@reef-knot/connect-wallet-modal" "5.0.2" "@reef-knot/core-react" "4.0.1" "@reef-knot/ledger-connector" "4.0.0" "@reef-knot/types" "2.0.0" From daadcf40faa21a5af8f2ffa4c5e153672174da9b Mon Sep 17 00:00:00 2001 From: DiRaiks Date: Wed, 10 Jul 2024 16:16:04 +0300 Subject: [PATCH 17/20] fix: add global css vars --- .../styles.tsx | 4 +-- shared/components/layout/footer/styles.tsx | 25 ++++++------------- .../header/components/navigation/styles.tsx | 14 +++-------- shared/components/layout/header/styles.tsx | 12 ++++----- shared/components/layout/styles.tsx | 4 +-- styles/constants.ts | 16 ------------ styles/global.ts | 18 +++++++++++++ 7 files changed, 37 insertions(+), 56 deletions(-) diff --git a/features/ipfs/rpc-availability-check-result-box/styles.tsx b/features/ipfs/rpc-availability-check-result-box/styles.tsx index 5a7d5ee25..6b04046a9 100644 --- a/features/ipfs/rpc-availability-check-result-box/styles.tsx +++ b/features/ipfs/rpc-availability-check-result-box/styles.tsx @@ -6,8 +6,6 @@ import { themeDefault, } from '@lidofinance/lido-ui'; -import { NAV_MOBILE_MEDIA } from 'styles/constants'; - type TextProps = Omit, 'color'> & { color?: keyof typeof themeDefault.colors; }; @@ -38,7 +36,7 @@ export const Wrap = styled.div` border-radius: 2px 0 0 0; background: var(--lido-color-accent); - ${NAV_MOBILE_MEDIA} { + @media screen and (max-width: var(--nav-mobile-max-width)) { display: none; } } diff --git a/shared/components/layout/footer/styles.tsx b/shared/components/layout/footer/styles.tsx index 4808bb4d1..1c99734ff 100644 --- a/shared/components/layout/footer/styles.tsx +++ b/shared/components/layout/footer/styles.tsx @@ -2,15 +2,6 @@ import styled from 'styled-components'; import { Container, Link } from '@lidofinance/lido-ui'; import { LogoLido } from 'shared/components/logos/logos'; -import { - FOOTER_DESKTOP_PADDING_X, - FOOTER_DESKTOP_PADDING_Y, - FOOTER_MAX_WIDTH, - FOOTER_MOBILE_MARGIN_BOTTOM, - FOOTER_MOBILE_PADDING_X, - FOOTER_MOBILE_PADDING_Y, - NAV_MOBILE_MEDIA, -} from 'styles/constants'; import { ReactComponent as ExternalLinkIcon } from 'assets/icons/external-link-icon.svg'; @@ -23,12 +14,12 @@ export const FooterStyle = styled(Container)` flex-wrap: wrap; width: 100%; - max-width: ${FOOTER_MAX_WIDTH}px; - padding: ${FOOTER_DESKTOP_PADDING_Y}px ${FOOTER_DESKTOP_PADDING_X}px; + max-width: var(--footer-max-width); + padding: var(--footer-desktop-padding-y) var(--footer-desktop-padding-x); - ${NAV_MOBILE_MEDIA} { - margin-bottom: ${FOOTER_MOBILE_MARGIN_BOTTOM}px; - padding: ${FOOTER_MOBILE_PADDING_X}px ${FOOTER_MOBILE_PADDING_Y}px; + @media screen and (max-width: var(--nav-mobile-max-width)) { + margin-bottom: var(--footer-mobile-margin-bottom); + padding: var(--footer-mobile-padding-x) var(--footer-mobile-padding-y); justify-content: center; } `; @@ -83,13 +74,13 @@ export const LogoLidoStyle = styled(LogoLido)` export const FooterDivider = styled.div` position: absolute; top: 0; - left: ${FOOTER_DESKTOP_PADDING_X}px; - width: calc(100% - ${FOOTER_DESKTOP_PADDING_X * 2}px); + left: var(--footer-desktop-padding-x); + width: calc(100% - var(--footer-desktop-padding-x) * 2); height: 1px; background: var(--lido-color-popupMenuItemBgActiveHover); opacity: 0.12; - ${NAV_MOBILE_MEDIA} { + @media screen and (max-width: var(--nav-mobile-max-width)) { display: none; } `; diff --git a/shared/components/layout/header/components/navigation/styles.tsx b/shared/components/layout/header/components/navigation/styles.tsx index a4d3848da..48f0c9f0e 100644 --- a/shared/components/layout/header/components/navigation/styles.tsx +++ b/shared/components/layout/header/components/navigation/styles.tsx @@ -1,13 +1,7 @@ import styled, { css } from 'styled-components'; -import { - NAV_MOBILE_MEDIA, - NAV_MOBILE_HEIGHT, - NAV_DESKTOP_GUTTER_X, -} from 'styles/constants'; - export const desktopCss = css` - margin: 0 ${NAV_DESKTOP_GUTTER_X}px; + margin: 0 var(--nav-desktop-gutter-x); display: flex; gap: ${({ theme }) => theme.spaceMap.xxl}px; @@ -30,7 +24,7 @@ const mobileCss = css` justify-content: space-around; align-items: center; border-top: 1px solid var(--lido-color-border); - height: calc(${NAV_MOBILE_HEIGHT}px + env(safe-area-inset-bottom)); + height: calc(var(--nav-mobile-height) + env(safe-area-inset-bottom)); svg { margin-right: 0; @@ -41,7 +35,7 @@ const mobileCss = css` export const Nav = styled.div` ${desktopCss} // mobile kicks in on a bit higher width for nav - ${NAV_MOBILE_MEDIA} { + @media screen and (max-width: var(--nav-mobile-max-width)) { ${mobileCss} } z-index: 6; @@ -75,7 +69,7 @@ export const NavLink = styled.span<{ active: boolean }>` active ? `var(--lido-color-primary)` : `var(--lido-color-secondary)`}; } - ${NAV_MOBILE_MEDIA} { + @media screen and (max-width: var(--nav-mobile-max-width)) { width: ${({ theme }) => theme.spaceMap.xl}px; flex-direction: column; text-transform: none; diff --git a/shared/components/layout/header/styles.tsx b/shared/components/layout/header/styles.tsx index 2786a8de3..12ea7ab6c 100644 --- a/shared/components/layout/header/styles.tsx +++ b/shared/components/layout/header/styles.tsx @@ -1,12 +1,10 @@ import { Container } from '@lidofinance/lido-ui'; import styled, { keyframes } from 'styled-components'; -import { DOT_SIZE, HEADER_PADDING_Y, NAV_MOBILE_MEDIA } from 'styles/constants'; - export const HeaderStyle = styled((props) => )` position: relative; - padding-top: ${HEADER_PADDING_Y}px; - padding-bottom: ${HEADER_PADDING_Y}px; + padding-top: var(--header-padding-y); + padding-bottom: var(--header-padding-y); display: flex; align-items: center; `; @@ -33,8 +31,8 @@ const glimmer = keyframes` `; export const DotStyle = styled.p` - height: ${DOT_SIZE}px; - width: ${DOT_SIZE}px; + height: var(--dot-size); + width: var(--dot-size); background-color: lightgreen; border-radius: 50%; animation: ${glimmer} 2s ease-in-out infinite; @@ -49,7 +47,7 @@ export const IPFSInfoBoxOnlyDesktopWrapper = styled.div` width: 255px; z-index: 3; - ${NAV_MOBILE_MEDIA} { + @media screen and (max-width: var(--nav-mobile-max-width)) { display: none; } `; diff --git a/shared/components/layout/styles.tsx b/shared/components/layout/styles.tsx index 6b89b6e41..123037314 100644 --- a/shared/components/layout/styles.tsx +++ b/shared/components/layout/styles.tsx @@ -1,8 +1,6 @@ import { H1 } from '@lidofinance/lido-ui'; import styled from 'styled-components'; -import { NAV_MOBILE_MEDIA } from 'styles/constants'; - export const LayoutTitleStyle = styled((props) =>

)` font-weight: 800; font-size: ${({ theme }) => theme.fontSizesMap.xl}px; @@ -31,7 +29,7 @@ export const LayoutSubTitleStyle = styled.h4` export const IPFSInfoBoxOnlyMobileAndPortableWrapper = styled.div` display: none; - ${NAV_MOBILE_MEDIA} { + @media screen and (max-width: var(--nav-mobile-max-width)) { display: block; margin-top: -6px; margin-bottom: 40px; diff --git a/styles/constants.ts b/styles/constants.ts index 73fe6214e..31f9b841f 100644 --- a/styles/constants.ts +++ b/styles/constants.ts @@ -1,18 +1,2 @@ export const NAV_MOBILE_HEIGHT = 60; export const NAV_MOBILE_MAX_WIDTH = 880; -export const NAV_MOBILE_MEDIA = `@media screen and (max-width: ${NAV_MOBILE_MAX_WIDTH}px)`; - -export const NAV_DESKTOP_GUTTER_X = 46; - -export const HEADER_PADDING_Y = 18; - -export const DOT_SIZE = 6; - -export const FOOTER_MAX_WIDTH = 1424; - -export const FOOTER_DESKTOP_PADDING_X = 32; -export const FOOTER_DESKTOP_PADDING_Y = 24; - -export const FOOTER_MOBILE_PADDING_X = 20; -export const FOOTER_MOBILE_PADDING_Y = 18; -export const FOOTER_MOBILE_MARGIN_BOTTOM = 60; diff --git a/styles/global.ts b/styles/global.ts index 98be07e51..4a9158959 100644 --- a/styles/global.ts +++ b/styles/global.ts @@ -1,6 +1,24 @@ import { createGlobalStyle } from 'styled-components'; +import { NAV_MOBILE_HEIGHT, NAV_MOBILE_MAX_WIDTH } from './constants'; + const GlobalStyle = createGlobalStyle` + :root { + --nav-mobile-height: ${NAV_MOBILE_HEIGHT}px; + --nav-mobile-max-width: ${NAV_MOBILE_MAX_WIDTH}px; + --nav-desktop-gutter-x: 46px; + + --header-padding-y: 18px; + --dot-size: 6px; + + --footer-max-width: 1424px; + --footer-desktop-padding-x: 32px; + --footer-desktop-padding-y: 24px; + + --footer-mobile-padding-x: 20px; + --footer-mobile-padding-y: 18px; + --footer-mobile-margin-bottom: 60px; + } * { margin: 0; padding: 0; From b859401e143f481a8790d9af581129c3c0952de6 Mon Sep 17 00:00:00 2001 From: Evgeny Taktarov Date: Wed, 10 Jul 2024 20:28:44 +0700 Subject: [PATCH 18/20] chore: update dexes config --- features/withdrawals/withdrawals-constants/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/features/withdrawals/withdrawals-constants/index.ts b/features/withdrawals/withdrawals-constants/index.ts index 67617418b..1fcc9bbdc 100644 --- a/features/withdrawals/withdrawals-constants/index.ts +++ b/features/withdrawals/withdrawals-constants/index.ts @@ -18,6 +18,6 @@ export const VALIDATION_CONTEXT_TIMEOUT = 4000; export const ENABLED_WITHDRAWAL_DEXES: DexWithdrawalApi[] = overrideWithQAMockArray( - ['one-inch', 'paraswap', 'bebop', 'jumper'], + ['one-inch', 'paraswap', 'bebop'], 'mock-qa-helpers-enabled-withdrawal-dexes', ); From 2ae38c4851361cd21ef3c3606708cee43e2c24ce Mon Sep 17 00:00:00 2001 From: DiRaiks Date: Wed, 10 Jul 2024 16:42:13 +0300 Subject: [PATCH 19/20] fix: media query --- features/ipfs/rpc-availability-check-result-box/styles.tsx | 3 ++- shared/components/layout/footer/styles.tsx | 5 +++-- .../layout/header/components/navigation/styles.tsx | 5 +++-- shared/components/layout/header/styles.tsx | 3 ++- shared/components/layout/styles.tsx | 3 ++- styles/global.ts | 4 ++++ 6 files changed, 16 insertions(+), 7 deletions(-) diff --git a/features/ipfs/rpc-availability-check-result-box/styles.tsx b/features/ipfs/rpc-availability-check-result-box/styles.tsx index 6b04046a9..b40da4746 100644 --- a/features/ipfs/rpc-availability-check-result-box/styles.tsx +++ b/features/ipfs/rpc-availability-check-result-box/styles.tsx @@ -5,6 +5,7 @@ import { Text as TextOriginal, themeDefault, } from '@lidofinance/lido-ui'; +import { devicesMedia } from 'styles/global'; type TextProps = Omit, 'color'> & { color?: keyof typeof themeDefault.colors; @@ -36,7 +37,7 @@ export const Wrap = styled.div` border-radius: 2px 0 0 0; background: var(--lido-color-accent); - @media screen and (max-width: var(--nav-mobile-max-width)) { + @media ${devicesMedia.mobile} { display: none; } } diff --git a/shared/components/layout/footer/styles.tsx b/shared/components/layout/footer/styles.tsx index 1c99734ff..3ea9565ed 100644 --- a/shared/components/layout/footer/styles.tsx +++ b/shared/components/layout/footer/styles.tsx @@ -4,6 +4,7 @@ import { Container, Link } from '@lidofinance/lido-ui'; import { LogoLido } from 'shared/components/logos/logos'; import { ReactComponent as ExternalLinkIcon } from 'assets/icons/external-link-icon.svg'; +import { devicesMedia } from 'styles/global'; export const FooterStyle = styled(Container)` position: relative; @@ -17,7 +18,7 @@ export const FooterStyle = styled(Container)` max-width: var(--footer-max-width); padding: var(--footer-desktop-padding-y) var(--footer-desktop-padding-x); - @media screen and (max-width: var(--nav-mobile-max-width)) { + @media ${devicesMedia.mobile} { margin-bottom: var(--footer-mobile-margin-bottom); padding: var(--footer-mobile-padding-x) var(--footer-mobile-padding-y); justify-content: center; @@ -80,7 +81,7 @@ export const FooterDivider = styled.div` background: var(--lido-color-popupMenuItemBgActiveHover); opacity: 0.12; - @media screen and (max-width: var(--nav-mobile-max-width)) { + @media ${devicesMedia.mobile} { display: none; } `; diff --git a/shared/components/layout/header/components/navigation/styles.tsx b/shared/components/layout/header/components/navigation/styles.tsx index 48f0c9f0e..d59d41f69 100644 --- a/shared/components/layout/header/components/navigation/styles.tsx +++ b/shared/components/layout/header/components/navigation/styles.tsx @@ -1,4 +1,5 @@ import styled, { css } from 'styled-components'; +import { devicesMedia } from 'styles/global'; export const desktopCss = css` margin: 0 var(--nav-desktop-gutter-x); @@ -35,7 +36,7 @@ const mobileCss = css` export const Nav = styled.div` ${desktopCss} // mobile kicks in on a bit higher width for nav - @media screen and (max-width: var(--nav-mobile-max-width)) { + @media ${devicesMedia.mobile} { ${mobileCss} } z-index: 6; @@ -69,7 +70,7 @@ export const NavLink = styled.span<{ active: boolean }>` active ? `var(--lido-color-primary)` : `var(--lido-color-secondary)`}; } - @media screen and (max-width: var(--nav-mobile-max-width)) { + @media ${devicesMedia.mobile} { width: ${({ theme }) => theme.spaceMap.xl}px; flex-direction: column; text-transform: none; diff --git a/shared/components/layout/header/styles.tsx b/shared/components/layout/header/styles.tsx index 12ea7ab6c..87c5fc64e 100644 --- a/shared/components/layout/header/styles.tsx +++ b/shared/components/layout/header/styles.tsx @@ -1,5 +1,6 @@ import { Container } from '@lidofinance/lido-ui'; import styled, { keyframes } from 'styled-components'; +import { devicesMedia } from 'styles/global'; export const HeaderStyle = styled((props) => )` position: relative; @@ -47,7 +48,7 @@ export const IPFSInfoBoxOnlyDesktopWrapper = styled.div` width: 255px; z-index: 3; - @media screen and (max-width: var(--nav-mobile-max-width)) { + @media ${devicesMedia.mobile} { display: none; } `; diff --git a/shared/components/layout/styles.tsx b/shared/components/layout/styles.tsx index 123037314..e63a31275 100644 --- a/shared/components/layout/styles.tsx +++ b/shared/components/layout/styles.tsx @@ -1,5 +1,6 @@ import { H1 } from '@lidofinance/lido-ui'; import styled from 'styled-components'; +import { devicesMedia } from 'styles/global'; export const LayoutTitleStyle = styled((props) =>

)` font-weight: 800; @@ -29,7 +30,7 @@ export const LayoutSubTitleStyle = styled.h4` export const IPFSInfoBoxOnlyMobileAndPortableWrapper = styled.div` display: none; - @media screen and (max-width: var(--nav-mobile-max-width)) { + @media ${devicesMedia.mobile} { display: block; margin-top: -6px; margin-bottom: 40px; diff --git a/styles/global.ts b/styles/global.ts index 4a9158959..432dbac8f 100644 --- a/styles/global.ts +++ b/styles/global.ts @@ -2,6 +2,10 @@ import { createGlobalStyle } from 'styled-components'; import { NAV_MOBILE_HEIGHT, NAV_MOBILE_MAX_WIDTH } from './constants'; +export const devicesMedia = { + mobile: `screen and (max-width: ${NAV_MOBILE_MAX_WIDTH}px)`, +}; + const GlobalStyle = createGlobalStyle` :root { --nav-mobile-height: ${NAV_MOBILE_HEIGHT}px; From a941f465d18886b647859fa32f5587bc1de782b0 Mon Sep 17 00:00:00 2001 From: DiRaiks Date: Wed, 10 Jul 2024 16:54:14 +0300 Subject: [PATCH 20/20] refactor: rename media var --- features/ipfs/rpc-availability-check-result-box/styles.tsx | 4 ++-- shared/components/layout/footer/styles.tsx | 6 +++--- .../layout/header/components/navigation/styles.tsx | 6 +++--- shared/components/layout/header/styles.tsx | 4 ++-- shared/components/layout/styles.tsx | 4 ++-- styles/global.ts | 2 +- 6 files changed, 13 insertions(+), 13 deletions(-) diff --git a/features/ipfs/rpc-availability-check-result-box/styles.tsx b/features/ipfs/rpc-availability-check-result-box/styles.tsx index b40da4746..1a981f597 100644 --- a/features/ipfs/rpc-availability-check-result-box/styles.tsx +++ b/features/ipfs/rpc-availability-check-result-box/styles.tsx @@ -5,7 +5,7 @@ import { Text as TextOriginal, themeDefault, } from '@lidofinance/lido-ui'; -import { devicesMedia } from 'styles/global'; +import { devicesHeaderMedia } from 'styles/global'; type TextProps = Omit, 'color'> & { color?: keyof typeof themeDefault.colors; @@ -37,7 +37,7 @@ export const Wrap = styled.div` border-radius: 2px 0 0 0; background: var(--lido-color-accent); - @media ${devicesMedia.mobile} { + @media ${devicesHeaderMedia.mobile} { display: none; } } diff --git a/shared/components/layout/footer/styles.tsx b/shared/components/layout/footer/styles.tsx index 3ea9565ed..979c73945 100644 --- a/shared/components/layout/footer/styles.tsx +++ b/shared/components/layout/footer/styles.tsx @@ -4,7 +4,7 @@ import { Container, Link } from '@lidofinance/lido-ui'; import { LogoLido } from 'shared/components/logos/logos'; import { ReactComponent as ExternalLinkIcon } from 'assets/icons/external-link-icon.svg'; -import { devicesMedia } from 'styles/global'; +import { devicesHeaderMedia } from 'styles/global'; export const FooterStyle = styled(Container)` position: relative; @@ -18,7 +18,7 @@ export const FooterStyle = styled(Container)` max-width: var(--footer-max-width); padding: var(--footer-desktop-padding-y) var(--footer-desktop-padding-x); - @media ${devicesMedia.mobile} { + @media ${devicesHeaderMedia.mobile} { margin-bottom: var(--footer-mobile-margin-bottom); padding: var(--footer-mobile-padding-x) var(--footer-mobile-padding-y); justify-content: center; @@ -81,7 +81,7 @@ export const FooterDivider = styled.div` background: var(--lido-color-popupMenuItemBgActiveHover); opacity: 0.12; - @media ${devicesMedia.mobile} { + @media ${devicesHeaderMedia.mobile} { display: none; } `; diff --git a/shared/components/layout/header/components/navigation/styles.tsx b/shared/components/layout/header/components/navigation/styles.tsx index d59d41f69..d4fafc0b2 100644 --- a/shared/components/layout/header/components/navigation/styles.tsx +++ b/shared/components/layout/header/components/navigation/styles.tsx @@ -1,5 +1,5 @@ import styled, { css } from 'styled-components'; -import { devicesMedia } from 'styles/global'; +import { devicesHeaderMedia } from 'styles/global'; export const desktopCss = css` margin: 0 var(--nav-desktop-gutter-x); @@ -36,7 +36,7 @@ const mobileCss = css` export const Nav = styled.div` ${desktopCss} // mobile kicks in on a bit higher width for nav - @media ${devicesMedia.mobile} { + @media ${devicesHeaderMedia.mobile} { ${mobileCss} } z-index: 6; @@ -70,7 +70,7 @@ export const NavLink = styled.span<{ active: boolean }>` active ? `var(--lido-color-primary)` : `var(--lido-color-secondary)`}; } - @media ${devicesMedia.mobile} { + @media ${devicesHeaderMedia.mobile} { width: ${({ theme }) => theme.spaceMap.xl}px; flex-direction: column; text-transform: none; diff --git a/shared/components/layout/header/styles.tsx b/shared/components/layout/header/styles.tsx index 87c5fc64e..ea4ff9ad4 100644 --- a/shared/components/layout/header/styles.tsx +++ b/shared/components/layout/header/styles.tsx @@ -1,6 +1,6 @@ import { Container } from '@lidofinance/lido-ui'; import styled, { keyframes } from 'styled-components'; -import { devicesMedia } from 'styles/global'; +import { devicesHeaderMedia } from 'styles/global'; export const HeaderStyle = styled((props) => )` position: relative; @@ -48,7 +48,7 @@ export const IPFSInfoBoxOnlyDesktopWrapper = styled.div` width: 255px; z-index: 3; - @media ${devicesMedia.mobile} { + @media ${devicesHeaderMedia.mobile} { display: none; } `; diff --git a/shared/components/layout/styles.tsx b/shared/components/layout/styles.tsx index e63a31275..03f3f69da 100644 --- a/shared/components/layout/styles.tsx +++ b/shared/components/layout/styles.tsx @@ -1,6 +1,6 @@ import { H1 } from '@lidofinance/lido-ui'; import styled from 'styled-components'; -import { devicesMedia } from 'styles/global'; +import { devicesHeaderMedia } from 'styles/global'; export const LayoutTitleStyle = styled((props) =>

)` font-weight: 800; @@ -30,7 +30,7 @@ export const LayoutSubTitleStyle = styled.h4` export const IPFSInfoBoxOnlyMobileAndPortableWrapper = styled.div` display: none; - @media ${devicesMedia.mobile} { + @media ${devicesHeaderMedia.mobile} { display: block; margin-top: -6px; margin-bottom: 40px; diff --git a/styles/global.ts b/styles/global.ts index 432dbac8f..20c3b9444 100644 --- a/styles/global.ts +++ b/styles/global.ts @@ -2,7 +2,7 @@ import { createGlobalStyle } from 'styled-components'; import { NAV_MOBILE_HEIGHT, NAV_MOBILE_MAX_WIDTH } from './constants'; -export const devicesMedia = { +export const devicesHeaderMedia = { mobile: `screen and (max-width: ${NAV_MOBILE_MAX_WIDTH}px)`, };