From 820c6959f4283c32cb9e8134b3787b797b5769a8 Mon Sep 17 00:00:00 2001 From: Andrew Lee Date: Wed, 13 Nov 2024 13:49:34 -0500 Subject: [PATCH 1/5] changed isDev to constant in env.ts --- packages/checkout/src/api/data.ts | 2 ++ packages/checkout/src/utils/sardine.ts | 2 ++ packages/checkout/src/views/PendingTransaction.tsx | 2 ++ .../kit/src/connectors/wagmiConnectors/sequenceWaasConnector.ts | 2 ++ packages/kit/src/hooks/useAPIClient.ts | 2 ++ packages/kit/src/hooks/useIndexerClient.ts | 2 ++ packages/kit/src/hooks/useMetadataClient.ts | 2 ++ packages/kit/src/index.ts | 2 ++ packages/kit/tsconfig.json | 2 +- 9 files changed, 17 insertions(+), 1 deletion(-) diff --git a/packages/checkout/src/api/data.ts b/packages/checkout/src/api/data.ts index 9950e401..2bf56b55 100644 --- a/packages/checkout/src/api/data.ts +++ b/packages/checkout/src/api/data.ts @@ -3,6 +3,8 @@ import { ChainId, networks } from '@0xsequence/network' import { CreditCardCheckout } from '../contexts' +import { DEVMODE } from '@0xsequence/kit' + export interface FetchSardineClientTokenReturn { token: string orderId: string diff --git a/packages/checkout/src/utils/sardine.ts b/packages/checkout/src/utils/sardine.ts index 672222e9..5ae23bdf 100644 --- a/packages/checkout/src/utils/sardine.ts +++ b/packages/checkout/src/utils/sardine.ts @@ -1,6 +1,8 @@ import { ChainId, networks } from '@0xsequence/network' import { ethers } from 'ethers' +import { DEVMODE } from '@0xsequence/kit' + export interface CheckSardineWhitelistStatusArgs { isDev: boolean chainId: number diff --git a/packages/checkout/src/views/PendingTransaction.tsx b/packages/checkout/src/views/PendingTransaction.tsx index 819f9ca9..4567325e 100644 --- a/packages/checkout/src/views/PendingTransaction.tsx +++ b/packages/checkout/src/views/PendingTransaction.tsx @@ -6,6 +6,8 @@ import { fetchSardineOrderStatus } from '../api' import { TransactionPendingNavigation } from '../contexts' import { useNavigation, useCheckoutModal, useSardineClientToken, useTransactionStatusModal } from '../hooks' +import { DEVMODE } from '@0xsequence/kit' + const POLLING_TIME = 10 * 1000 export const PendingTransaction = () => { diff --git a/packages/kit/src/connectors/wagmiConnectors/sequenceWaasConnector.ts b/packages/kit/src/connectors/wagmiConnectors/sequenceWaasConnector.ts index 92456207..317f0d2a 100644 --- a/packages/kit/src/connectors/wagmiConnectors/sequenceWaasConnector.ts +++ b/packages/kit/src/connectors/wagmiConnectors/sequenceWaasConnector.ts @@ -20,6 +20,8 @@ import { createConnector } from 'wagmi' import { LocalStorageKey } from '../../constants/localStorage' +import { DEVMODE } from '../../env' + export interface SequenceWaasConnectConfig { googleClientId?: string appleClientId?: string diff --git a/packages/kit/src/hooks/useAPIClient.ts b/packages/kit/src/hooks/useAPIClient.ts index 5b4d879a..b54b3197 100644 --- a/packages/kit/src/hooks/useAPIClient.ts +++ b/packages/kit/src/hooks/useAPIClient.ts @@ -5,6 +5,8 @@ import { useKitConfig } from '../contexts/KitConfig' import { useProjectAccessKey } from './useProjectAccessKey' +import { DEVMODE } from '../env' + export const useAPIClient = () => { const projectAccessKey = useProjectAccessKey() const { isDev = false } = useKitConfig() diff --git a/packages/kit/src/hooks/useIndexerClient.ts b/packages/kit/src/hooks/useIndexerClient.ts index d6082ab9..956d826d 100644 --- a/packages/kit/src/hooks/useIndexerClient.ts +++ b/packages/kit/src/hooks/useIndexerClient.ts @@ -6,6 +6,8 @@ import { useKitConfig } from '../contexts/KitConfig' import { useProjectAccessKey } from './useProjectAccessKey' +import { DEVMODE } from '../env' + export const useIndexerClient = (chainId: ChainId) => { const projectAccessKey = useProjectAccessKey() diff --git a/packages/kit/src/hooks/useMetadataClient.ts b/packages/kit/src/hooks/useMetadataClient.ts index c3aec1f3..5191134c 100644 --- a/packages/kit/src/hooks/useMetadataClient.ts +++ b/packages/kit/src/hooks/useMetadataClient.ts @@ -5,6 +5,8 @@ import { useKitConfig } from '../contexts/KitConfig' import { useProjectAccessKey } from './useProjectAccessKey' +import { DEVMODE } from '../env' + export const useMetadataClient = () => { const projectAccessKey = useProjectAccessKey() diff --git a/packages/kit/src/index.ts b/packages/kit/src/index.ts index 57342645..5c8fbff9 100644 --- a/packages/kit/src/index.ts +++ b/packages/kit/src/index.ts @@ -115,3 +115,5 @@ export { // Components export { NetworkBadge } from './components/NetworkBadge' export { CollectibleTileImage } from './components/CollectibleTileImage' + +export { DEVMODE } from './env' diff --git a/packages/kit/tsconfig.json b/packages/kit/tsconfig.json index b4416ddf..5eecc68d 100644 --- a/packages/kit/tsconfig.json +++ b/packages/kit/tsconfig.json @@ -16,5 +16,5 @@ "lib": ["es2022", "dom", "dom.iterable"], "jsx": "react-jsx" }, - "include": ["./src/**/*.ts", "./src/**/*.tsx"] + "include": ["./src/**/*.ts", "./src/**/*.tsx", "src/env.ts"] } From 06b7950b8eb06241958af211a255a20f6e3995c9 Mon Sep 17 00:00:00 2001 From: Andrew Lee Date: Wed, 13 Nov 2024 13:50:43 -0500 Subject: [PATCH 2/5] env.ts file --- packages/kit/src/env.ts | 1 + 1 file changed, 1 insertion(+) create mode 100644 packages/kit/src/env.ts diff --git a/packages/kit/src/env.ts b/packages/kit/src/env.ts new file mode 100644 index 00000000..24254c1b --- /dev/null +++ b/packages/kit/src/env.ts @@ -0,0 +1 @@ +export const DEVMODE = false From 0eeedac05915e1b96ff3aedde790e068c226038e Mon Sep 17 00:00:00 2001 From: Andrew Lee Date: Mon, 18 Nov 2024 16:56:37 -0500 Subject: [PATCH 3/5] switched isDev instances to DEVMODE --- README.md | 1 - examples/react/src/components/Connected.tsx | 2 -- examples/react/src/config.ts | 1 - examples/react/src/utils/helpers.ts | 1 - packages/checkout/README.md | 1 - packages/checkout/src/api/data.ts | 12 +++++------- packages/checkout/src/contexts/CheckoutModal.ts | 1 - .../checkout/src/contexts/SelectPaymentModal.ts | 3 +-- .../checkout/src/hooks/useSelectPaymentModal.ts | 12 +++++++++--- packages/checkout/src/utils/sardine.ts | 7 +++---- .../PaymentSelection/PayWithCreditCard/index.tsx | 2 -- .../checkout/src/views/PendingTransaction.tsx | 8 ++------ packages/kit/README.md | 1 - packages/kit/src/config/defaultConnectors.ts | 12 ++++-------- .../wagmiConnectors/sequenceWaasConnector.ts | 4 +--- packages/kit/src/hooks/useAPIClient.ts | 5 +---- packages/kit/src/hooks/useIndexerClient.ts | 16 ++++++---------- packages/kit/src/hooks/useMetadataClient.ts | 6 +----- packages/kit/src/types.ts | 1 - 19 files changed, 33 insertions(+), 63 deletions(-) diff --git a/README.md b/README.md index 5f12627a..00460f44 100644 --- a/README.md +++ b/README.md @@ -56,7 +56,6 @@ interface CreateConfigOptions { chainId: number }> ethAuth?: EthAuthSettings - isDev?: boolean wagmiConfig?: WagmiConfig // optional wagmiConfig overrides diff --git a/examples/react/src/components/Connected.tsx b/examples/react/src/components/Connected.tsx index 89903ae3..011ac5ec 100644 --- a/examples/react/src/components/Connected.tsx +++ b/examples/react/src/components/Connected.tsx @@ -352,7 +352,6 @@ export const Connected = () => { currencyAddress, collectionAddress, creditCardProviders: ['sardine'], - isDev: true, copyrightText: 'ⓒ2024 Sequence', onSuccess: (txnHash: string) => { console.log('success!', txnHash) @@ -382,7 +381,6 @@ export const Connected = () => { nftId: checkoutTokenId, nftAddress: checkoutTokenContractAddress, nftQuantity, - isDev: true, approvedSpenderAddress: orderbookAddress, calldata: getOrderbookCalldata({ orderId: checkoutOrderId, diff --git a/examples/react/src/config.ts b/examples/react/src/config.ts index 571e70b8..6c45af82 100644 --- a/examples/react/src/config.ts +++ b/examples/react/src/config.ts @@ -23,7 +23,6 @@ export const kitConfig: KitConfig = { projectName: 'Kit Demo', useMock: isDebugMode }, - isDev: isDebugMode, displayedAssets: [ // Native token { diff --git a/examples/react/src/utils/helpers.ts b/examples/react/src/utils/helpers.ts index 1cf33e21..3c34994f 100644 --- a/examples/react/src/utils/helpers.ts +++ b/examples/react/src/utils/helpers.ts @@ -35,7 +35,6 @@ export interface GetCheckoutSettings { calldata: string approvedSpenderAddress?: string nftDecimals?: string - isDev?: boolean } export const getCheckoutSettings = (args: GetCheckoutSettings) => { diff --git a/packages/checkout/README.md b/packages/checkout/README.md index 5b6f587f..9d7874a4 100644 --- a/packages/checkout/README.md +++ b/packages/checkout/README.md @@ -116,7 +116,6 @@ const creditCardCheckout = { nftId: checkoutTokenId, nftAddress: checkoutTokenContractAddress, nftQuantity, - isDev: true, calldata: getOrderbookCalldata({ orderId: checkoutOrderId, quantity: nftQuantity, diff --git a/packages/checkout/src/api/data.ts b/packages/checkout/src/api/data.ts index 2bf56b55..da89c6c0 100644 --- a/packages/checkout/src/api/data.ts +++ b/packages/checkout/src/api/data.ts @@ -16,20 +16,18 @@ export interface MethodArguments { export interface FetchSardineClientTokenArgs { order: CreditCardCheckout - isDev: boolean projectAccessKey: string tokenMetadata?: TokenMetadata } export const fetchSardineClientToken = async ({ order, - isDev, projectAccessKey, tokenMetadata }: FetchSardineClientTokenArgs): Promise => { // Test credentials: https://docs.sardine.ai/docs/integrate-payments/nft-checkout-testing-credentials - const accessKey = isDev ? '17xhjK4yjRf1fr0am8kgKfICAAAAAAAAA' : projectAccessKey - const url = isDev + const accessKey = DEVMODE ? '17xhjK4yjRf1fr0am8kgKfICAAAAAAAAA' : projectAccessKey + const url = DEVMODE ? 'https://dev-api.sequence.app/rpc/API/SardineGetNFTCheckoutToken' : 'https://api.sequence.app/rpc/API/SardineGetNFTCheckoutToken' @@ -70,10 +68,10 @@ export const fetchSardineClientToken = async ({ } } -export const fetchSardineOrderStatus = async (orderId: string, isDev: boolean, projectAccessKey: string) => { +export const fetchSardineOrderStatus = async (orderId: string, projectAccessKey: string) => { // Test credentials: https://docs.sardine.ai/docs/integrate-payments/nft-checkout-testing-credentials - const accessKey = isDev ? '17xhjK4yjRf1fr0am8kgKfICAAAAAAAAA' : projectAccessKey - const url = isDev + const accessKey = DEVMODE ? '17xhjK4yjRf1fr0am8kgKfICAAAAAAAAA' : projectAccessKey + const url = DEVMODE ? 'https://dev-api.sequence.app/rpc/API/SardineGetNFTCheckoutOrderStatus' : 'https://api.sequence.app/rpc/API/SardineGetNFTCheckoutOrderStatus' const response = await fetch(url, { diff --git a/packages/checkout/src/contexts/CheckoutModal.ts b/packages/checkout/src/contexts/CheckoutModal.ts index 1956bc94..ff6fb59d 100644 --- a/packages/checkout/src/contexts/CheckoutModal.ts +++ b/packages/checkout/src/contexts/CheckoutModal.ts @@ -31,7 +31,6 @@ export interface CreditCardCheckout { calldata: string onSuccess?: (transactionHash: string, settings: CreditCardCheckout) => void onError?: (error: Error, settings: CreditCardCheckout) => void - isDev?: boolean approvedSpenderAddress?: string } diff --git a/packages/checkout/src/contexts/SelectPaymentModal.ts b/packages/checkout/src/contexts/SelectPaymentModal.ts index 9f477637..8324aec4 100644 --- a/packages/checkout/src/contexts/SelectPaymentModal.ts +++ b/packages/checkout/src/contexts/SelectPaymentModal.ts @@ -9,7 +9,7 @@ export interface Collectible { quantity: string decimals?: number price?: string - } +} export interface SelectPaymentSettings { collectibles: Collectible[] @@ -21,7 +21,6 @@ export interface SelectPaymentSettings { collectionAddress: string | Hex recipientAddress: string | Hex approvedSpenderAddress?: string - isDev?: boolean transactionConfirmations?: number onSuccess?: (txHash: string) => void onError?: (error: Error) => void diff --git a/packages/checkout/src/hooks/useSelectPaymentModal.ts b/packages/checkout/src/hooks/useSelectPaymentModal.ts index 0da8a8e0..8fb699b2 100644 --- a/packages/checkout/src/hooks/useSelectPaymentModal.ts +++ b/packages/checkout/src/hooks/useSelectPaymentModal.ts @@ -19,7 +19,6 @@ export const getERC1155SaleContractConfig = ({ recipientAddress, collectibles, collectionAddress, - isDev = false, ...restProps }: ERC1155SaleContractSettings): SelectPaymentSettings => { const erc1155SalesContractAbi = [ @@ -43,7 +42,15 @@ export const getERC1155SaleContractConfig = ({ const purchaseTransactionData = encodeFunctionData({ abi: erc1155SalesContractAbi, functionName: 'mint', - args: [recipientAddress, collectibles.map(c => BigInt(c.tokenId)), collectibles.map(c => BigInt(c.quantity)), toHex(0), currencyAddress, price, [toHex(0, { size: 32 })]] + args: [ + recipientAddress, + collectibles.map(c => BigInt(c.tokenId)), + collectibles.map(c => BigInt(c.quantity)), + toHex(0), + currencyAddress, + price, + [toHex(0, { size: 32 })] + ] }) return { @@ -53,7 +60,6 @@ export const getERC1155SaleContractConfig = ({ recipientAddress, collectibles, collectionAddress, - isDev, txData: purchaseTransactionData, ...restProps } diff --git a/packages/checkout/src/utils/sardine.ts b/packages/checkout/src/utils/sardine.ts index 5ae23bdf..40ea22cc 100644 --- a/packages/checkout/src/utils/sardine.ts +++ b/packages/checkout/src/utils/sardine.ts @@ -4,20 +4,19 @@ import { ethers } from 'ethers' import { DEVMODE } from '@0xsequence/kit' export interface CheckSardineWhitelistStatusArgs { - isDev: boolean chainId: number marketplaceAddress: string } export const checkSardineWhitelistStatus = async ( - { isDev, chainId, marketplaceAddress }: CheckSardineWhitelistStatusArgs, + { chainId, marketplaceAddress }: CheckSardineWhitelistStatusArgs, projectAccessKey: string ) => { const referenceId = `sequence-kit-sardine-whitelist-check` - const accessKey = isDev ? '17xhjK4yjRf1fr0am8kgKfICAAAAAAAAA' : projectAccessKey + const accessKey = DEVMODE ? '17xhjK4yjRf1fr0am8kgKfICAAAAAAAAA' : projectAccessKey - const url = isDev + const url = DEVMODE ? 'https://dev-api.sequence.app/rpc/API/SardineGetNFTCheckoutToken' : 'https://api.sequence.app/rpc/API/SardineGetNFTCheckoutToken' diff --git a/packages/checkout/src/views/PaymentSelection/PayWithCreditCard/index.tsx b/packages/checkout/src/views/PaymentSelection/PayWithCreditCard/index.tsx index ceb7a4b3..82035c8f 100644 --- a/packages/checkout/src/views/PaymentSelection/PayWithCreditCard/index.tsx +++ b/packages/checkout/src/views/PaymentSelection/PayWithCreditCard/index.tsx @@ -36,7 +36,6 @@ export const PayWithCreditCard = ({ settings, disableButtons }: PayWithCreditCar collectibles, collectionAddress, approvedSpenderAddress, - isDev = false, onSuccess = () => {}, onError = () => {}, creditCardProviders = [] @@ -93,7 +92,6 @@ export const PayWithCreditCard = ({ settings, disableButtons }: PayWithCreditCar nftAddress: collectionAddress, nftQuantity: collectible.quantity, nftDecimals: collectible.decimals === undefined ? undefined : String(collectible.decimals), - isDev, calldata: txData, approvedSpenderAddress: approvedSpenderAddress || targetContractAddress } diff --git a/packages/checkout/src/views/PendingTransaction.tsx b/packages/checkout/src/views/PendingTransaction.tsx index 4567325e..df8920a0 100644 --- a/packages/checkout/src/views/PendingTransaction.tsx +++ b/packages/checkout/src/views/PendingTransaction.tsx @@ -28,14 +28,11 @@ export const PendingTransaction = () => { ) const tokenMetadata = tokensMetadata ? tokensMetadata[0] : undefined - const isDev = settings?.creditCardCheckout?.isDev || false - const disableSardineClientTokenFetch = isLoadingTokenMetadata const { data, isLoading, isError } = useSardineClientToken( { order: creditCardCheckout, - isDev, projectAccessKey: projectAccessKey, tokenMetadata: tokenMetadata }, @@ -44,7 +41,7 @@ export const PendingTransaction = () => { const authToken = data?.token - const url = isDev + const url = DEVMODE ? `https://sardine-checkout-sandbox.sequence.info?api_url=https://sardine-api-sandbox.sequence.info&client_token=${authToken}&show_features=true` : `https://sardine-checkout.sequence.info?api_url=https://sardine-api.sequence.info&client_token=${authToken}&show_features=true` @@ -57,9 +54,8 @@ export const PendingTransaction = () => { const { orderId } = data console.log('Polling for transaction status') - const isDev = creditCardCheckout?.isDev || false - const pollResponse = await fetchSardineOrderStatus(orderId, isDev, projectAccessKey) + const pollResponse = await fetchSardineOrderStatus(orderId, projectAccessKey) const status = pollResponse.resp.status const transactionHash = pollResponse.resp?.transactionHash diff --git a/packages/kit/README.md b/packages/kit/README.md index 9bab04e2..24ecda62 100644 --- a/packages/kit/README.md +++ b/packages/kit/README.md @@ -55,7 +55,6 @@ interface CreateConfigOptions { chainId: number }> ethAuth?: EthAuthSettings - isDev?: boolean wagmiConfig?: WagmiConfig // optional wagmiConfig overrides diff --git a/packages/kit/src/config/defaultConnectors.ts b/packages/kit/src/config/defaultConnectors.ts index a4fddb3c..178d1404 100644 --- a/packages/kit/src/config/defaultConnectors.ts +++ b/packages/kit/src/config/defaultConnectors.ts @@ -23,7 +23,6 @@ export interface CommonConnectorOptions { export interface DefaultWaasConnectorOptions extends CommonConnectorOptions { waasConfigKey: string enableConfirmationModal?: boolean - isDev?: boolean email?: boolean @@ -98,7 +97,7 @@ export const getDefaultConnectors = (walletType: T, option } export const getDefaultWaasConnectors = (options: DefaultWaasConnectorOptions): CreateConnectorFn[] => { - const { projectAccessKey, waasConfigKey, appName, enableConfirmationModal, defaultChainId, isDev } = options + const { projectAccessKey, waasConfigKey, appName, enableConfirmationModal, defaultChainId } = options const wallets: Wallet[] = [] @@ -108,8 +107,7 @@ export const getDefaultWaasConnectors = (options: DefaultWaasConnectorOptions): projectAccessKey, waasConfigKey, enableConfirmationModal, - network: defaultChainId, - isDev + network: defaultChainId }) ) } @@ -123,8 +121,7 @@ export const getDefaultWaasConnectors = (options: DefaultWaasConnectorOptions): waasConfigKey, googleClientId, enableConfirmationModal, - network: defaultChainId, - isDev + network: defaultChainId }) ) } @@ -140,8 +137,7 @@ export const getDefaultWaasConnectors = (options: DefaultWaasConnectorOptions): appleClientId, appleRedirectURI, enableConfirmationModal, - network: defaultChainId, - isDev + network: defaultChainId }) ) } diff --git a/packages/kit/src/connectors/wagmiConnectors/sequenceWaasConnector.ts b/packages/kit/src/connectors/wagmiConnectors/sequenceWaasConnector.ts index 317f0d2a..26cb1cec 100644 --- a/packages/kit/src/connectors/wagmiConnectors/sequenceWaasConnector.ts +++ b/packages/kit/src/connectors/wagmiConnectors/sequenceWaasConnector.ts @@ -28,7 +28,6 @@ export interface SequenceWaasConnectConfig { appleRedirectURI?: string enableConfirmationModal?: boolean loginType: 'email' | 'google' | 'apple' - isDev?: boolean } export type BaseSequenceWaasConnectorOptions = SequenceConfig & SequenceWaasConnectConfig & Partial @@ -53,8 +52,7 @@ export function sequenceWaasWallet(params: BaseSequenceWaasConnectorOptions) { [LocalStorageKey.WaasSignInEmail]: string } - const isDev = !!params?.isDev - const nodesUrl = isDev ? 'https://dev-nodes.sequence.app' : 'https://nodes.sequence.app' + const nodesUrl = DEVMODE ? 'https://dev-nodes.sequence.app' : 'https://nodes.sequence.app' const showConfirmationModal = params.enableConfirmationModal ?? false diff --git a/packages/kit/src/hooks/useAPIClient.ts b/packages/kit/src/hooks/useAPIClient.ts index b54b3197..f8dd330f 100644 --- a/packages/kit/src/hooks/useAPIClient.ts +++ b/packages/kit/src/hooks/useAPIClient.ts @@ -1,17 +1,14 @@ import { SequenceAPIClient } from '@0xsequence/api' import { useMemo } from 'react' -import { useKitConfig } from '../contexts/KitConfig' - import { useProjectAccessKey } from './useProjectAccessKey' import { DEVMODE } from '../env' export const useAPIClient = () => { const projectAccessKey = useProjectAccessKey() - const { isDev = false } = useKitConfig() - const clientUrl = isDev ? 'https://dev-api.sequence.app' : 'https://api.sequence.app' + const clientUrl = DEVMODE ? 'https://dev-api.sequence.app' : 'https://api.sequence.app' const apiClient = useMemo(() => { return new SequenceAPIClient(clientUrl, projectAccessKey) diff --git a/packages/kit/src/hooks/useIndexerClient.ts b/packages/kit/src/hooks/useIndexerClient.ts index 956d826d..ba8c0cd2 100644 --- a/packages/kit/src/hooks/useIndexerClient.ts +++ b/packages/kit/src/hooks/useIndexerClient.ts @@ -2,8 +2,6 @@ import { SequenceIndexer } from '@0xsequence/indexer' import { ChainId, networks } from '@0xsequence/network' import { useMemo } from 'react' -import { useKitConfig } from '../contexts/KitConfig' - import { useProjectAccessKey } from './useProjectAccessKey' import { DEVMODE } from '../env' @@ -11,14 +9,12 @@ import { DEVMODE } from '../env' export const useIndexerClient = (chainId: ChainId) => { const projectAccessKey = useProjectAccessKey() - const { isDev = false } = useKitConfig() - const indexerClients = useMemo(() => { return new Map() - }, [projectAccessKey, isDev]) + }, [projectAccessKey]) const network = networks[chainId] - const clientUrl = isDev ? `https://dev-${network.name}-indexer.sequence.app` : `https://${network.name}-indexer.sequence.app` + const clientUrl = DEVMODE ? `https://dev-${network.name}-indexer.sequence.app` : `https://${network.name}-indexer.sequence.app` if (!indexerClients.has(chainId)) { indexerClients.set(chainId, new SequenceIndexer(clientUrl, projectAccessKey)) @@ -36,17 +32,17 @@ export const useIndexerClient = (chainId: ChainId) => { export const useIndexerClients = (chainIds: ChainId[]) => { const projectAccessKey = useProjectAccessKey() - const { isDev = false } = useKitConfig() - const indexerClients = useMemo(() => { return new Map() - }, [projectAccessKey, isDev]) + }, [projectAccessKey]) const result = new Map() for (const chainId of chainIds) { const network = networks[chainId] - const clientUrl = isDev ? `https://dev-${network.name}-indexer.sequence.app` : `https://${network.name}-indexer.sequence.app` + const clientUrl = DEVMODE + ? `https://dev-${network.name}-indexer.sequence.app` + : `https://${network.name}-indexer.sequence.app` if (!indexerClients.has(chainId)) { indexerClients.set(chainId, new SequenceIndexer(clientUrl, projectAccessKey)) diff --git a/packages/kit/src/hooks/useMetadataClient.ts b/packages/kit/src/hooks/useMetadataClient.ts index 5191134c..7103157f 100644 --- a/packages/kit/src/hooks/useMetadataClient.ts +++ b/packages/kit/src/hooks/useMetadataClient.ts @@ -1,8 +1,6 @@ import { SequenceMetadata } from '@0xsequence/metadata' import { useMemo } from 'react' -import { useKitConfig } from '../contexts/KitConfig' - import { useProjectAccessKey } from './useProjectAccessKey' import { DEVMODE } from '../env' @@ -10,10 +8,8 @@ import { DEVMODE } from '../env' export const useMetadataClient = () => { const projectAccessKey = useProjectAccessKey() - const { isDev = false } = useKitConfig() - const metadataClient = useMemo(() => { - const clientUrl = isDev ? 'https://dev-metadata.sequence.app' : 'https://metadata.sequence.app' + const clientUrl = DEVMODE ? 'https://dev-metadata.sequence.app' : 'https://metadata.sequence.app' return new SequenceMetadata(clientUrl, projectAccessKey) }, [projectAccessKey]) diff --git a/packages/kit/src/types.ts b/packages/kit/src/types.ts index 5ef32da5..f407809d 100644 --- a/packages/kit/src/types.ts +++ b/packages/kit/src/types.ts @@ -75,7 +75,6 @@ export interface KitConfig { } displayedAssets?: DisplayedAsset[] ethAuth?: EthAuthSettings - isDev?: boolean } export type StorageItem = { From ad5be71aa05fe5790e8839657b531e0c07e11de8 Mon Sep 17 00:00:00 2001 From: Andrew Lee Date: Mon, 18 Nov 2024 17:29:48 -0500 Subject: [PATCH 4/5] added .env and generate-env --- .env.example | 1 + scripts/generate-env.js | 12 ++++++++++++ 2 files changed, 13 insertions(+) create mode 100644 .env.example create mode 100644 scripts/generate-env.js diff --git a/.env.example b/.env.example new file mode 100644 index 00000000..32135bab --- /dev/null +++ b/.env.example @@ -0,0 +1 @@ +DEVMODE=false \ No newline at end of file diff --git a/scripts/generate-env.js b/scripts/generate-env.js new file mode 100644 index 00000000..92b62669 --- /dev/null +++ b/scripts/generate-env.js @@ -0,0 +1,12 @@ +const fs = require('fs') +const path = require('path') +const dotenv = require('dotenv') + +dotenv.config() + +const envFilePath = path.resolve(__dirname, '../packages/kit/src/env.ts') +const envFileContent = `export const DEVMODE = ${process.env.DEVMODE}` + +fs.writeFileSync(envFilePath, envFileContent.trim(), 'utf8') + +console.log('env.ts file generated successfully') From 8e513a5eac3f3e83e3d0c5d3795af03dc0d32f9d Mon Sep 17 00:00:00 2001 From: Andrew Lee Date: Mon, 18 Nov 2024 18:12:49 -0500 Subject: [PATCH 5/5] added scripts to package.json and updated ts dep in next example --- .gitignore | 3 + examples/components/package.json | 2 +- examples/next/package.json | 2 +- examples/react/package.json | 2 +- package.json | 6 +- packages/kit/src/env.ts | 2 +- pnpm-lock.yaml | 603 ++++++++----------------------- 7 files changed, 156 insertions(+), 464 deletions(-) diff --git a/.gitignore b/.gitignore index 059c5452..825f091c 100644 --- a/.gitignore +++ b/.gitignore @@ -19,3 +19,6 @@ dist/ .cache package-lock.json coverage + +.env +env.ts \ No newline at end of file diff --git a/examples/components/package.json b/examples/components/package.json index 3261b576..9cc3d994 100644 --- a/examples/components/package.json +++ b/examples/components/package.json @@ -5,7 +5,7 @@ }, "dependencies": { "@radix-ui/react-popover": "^1.0.7", - "typescript": "latest" + "typescript": "^5.6.3" }, "peerDependencies": { "@0xsequence/design-system": ">= 1.7.8", diff --git a/examples/next/package.json b/examples/next/package.json index ed7284b1..3fa41384 100644 --- a/examples/next/package.json +++ b/examples/next/package.json @@ -30,6 +30,6 @@ "eslint": "^8", "eslint-config-next": "14.2.3", "postcss": "^8", - "typescript": "^5" + "typescript": "^5.6.3" } } diff --git a/examples/react/package.json b/examples/react/package.json index 9cf866fa..e3a13dbe 100644 --- a/examples/react/package.json +++ b/examples/react/package.json @@ -21,7 +21,7 @@ "framer-motion": "^8.5.2", "react": "^18.3.1", "react-dom": "^18.3.1", - "typescript": "^5.4.5", + "typescript": "^5.6.3", "viem": "^2.12.0", "wagmi": "^2.9.5" }, diff --git a/package.json b/package.json index ba2fe48d..3e702355 100644 --- a/package.json +++ b/package.json @@ -4,6 +4,9 @@ "license": "Apache-2.0", "sideEffects": false, "scripts": { + "copy-env": "(cp -n .env.example .env) || echo '.env already exists'", + "generate-env": "node ./scripts/generate-env.js", + "postinstall": "pnpm run copy-env && pnpm run generate-env", "build": "turbo run build --filter={packages/*}", "build:clean": "turbo run build:clean", "dev": "turbo run dev --filter={packages/*}", @@ -39,6 +42,7 @@ "@typescript-eslint/parser": "^7.10.0", "@vanilla-extract/css": "^1.15.2", "@vanilla-extract/recipes": "^0.5.3", + "dotenv": "^16.4.5", "eslint": "^8.27.0", "eslint-config-prettier": "^8.10.0", "eslint-plugin-import": "^2.29.1", @@ -49,7 +53,7 @@ "react-dom": "^18.3.1", "rimraf": "^5.0.7", "turbo": "2.0.1", - "typescript": "~5.4.5", + "typescript": "^5.6.3", "wagmi": "^2.9.5" }, "resolutions": {}, diff --git a/packages/kit/src/env.ts b/packages/kit/src/env.ts index 24254c1b..00f4517f 100644 --- a/packages/kit/src/env.ts +++ b/packages/kit/src/env.ts @@ -1 +1 @@ -export const DEVMODE = false +export const DEVMODE = false \ No newline at end of file diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index d916127c..76eec22c 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -28,16 +28,19 @@ importers: version: 18.3.0 '@typescript-eslint/eslint-plugin': specifier: ^7.10.0 - version: 7.18.0(@typescript-eslint/parser@7.18.0(eslint@8.57.1)(typescript@5.4.5))(eslint@8.57.1)(typescript@5.4.5) + version: 7.18.0(@typescript-eslint/parser@7.18.0(eslint@8.57.1)(typescript@5.6.3))(eslint@8.57.1)(typescript@5.6.3) '@typescript-eslint/parser': specifier: ^7.10.0 - version: 7.18.0(eslint@8.57.1)(typescript@5.4.5) + version: 7.18.0(eslint@8.57.1)(typescript@5.6.3) '@vanilla-extract/css': specifier: ^1.15.2 version: 1.15.5 '@vanilla-extract/recipes': specifier: ^0.5.3 version: 0.5.5(@vanilla-extract/css@1.15.5) + dotenv: + specifier: ^16.4.5 + version: 16.4.5 eslint: specifier: ^8.27.0 version: 8.57.1 @@ -46,7 +49,7 @@ importers: version: 8.10.0(eslint@8.57.1) eslint-plugin-import: specifier: ^2.29.1 - version: 2.30.0(@typescript-eslint/parser@7.18.0(eslint@8.57.1)(typescript@5.4.5))(eslint@8.57.1) + version: 2.30.0(@typescript-eslint/parser@7.18.0(eslint@8.57.1)(typescript@5.6.3))(eslint@8.57.1) eslint-plugin-prettier: specifier: ^4.2.1 version: 4.2.1(eslint-config-prettier@8.10.0(eslint@8.57.1))(eslint@8.57.1)(prettier@3.3.3) @@ -69,11 +72,11 @@ importers: specifier: 2.0.1 version: 2.0.1 typescript: - specifier: ~5.4.5 - version: 5.4.5 + specifier: ^5.6.3 + version: 5.6.3 wagmi: specifier: ^2.9.5 - version: 2.12.12(@tanstack/query-core@5.56.2)(@tanstack/react-query@5.56.2(react@18.3.1))(@types/react@18.3.8)(bufferutil@4.0.8)(react-dom@18.3.1(react@18.3.1))(react-native@0.75.3(@babel/core@7.25.2)(@babel/preset-env@7.25.4(@babel/core@7.25.2))(@types/react@18.3.8)(bufferutil@4.0.8)(react@18.3.1)(typescript@5.4.5)(utf-8-validate@5.0.10))(react@18.3.1)(rollup@4.22.2)(typescript@5.4.5)(utf-8-validate@5.0.10)(viem@2.21.10(bufferutil@4.0.8)(typescript@5.4.5)(utf-8-validate@5.0.10)) + version: 2.12.12(@tanstack/query-core@5.56.2)(@tanstack/react-query@5.56.2(react@18.3.1))(@types/react@18.3.8)(bufferutil@4.0.8)(react-dom@18.3.1(react@18.3.1))(react-native@0.75.3(@babel/core@7.25.2)(@babel/preset-env@7.25.4(@babel/core@7.25.2))(@types/react@18.3.8)(bufferutil@4.0.8)(react@18.3.1)(typescript@5.6.3)(utf-8-validate@5.0.10))(react@18.3.1)(rollup@4.22.2)(typescript@5.6.3)(utf-8-validate@5.0.10)(viem@2.21.10(bufferutil@4.0.8)(typescript@5.6.3)(utf-8-validate@5.0.10)) examples/components: dependencies: @@ -87,11 +90,11 @@ importers: specifier: ^1.0.7 version: 1.1.1(@types/react-dom@18.3.0)(@types/react@18.3.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) typescript: - specifier: latest - version: 5.6.2 + specifier: ^5.6.3 + version: 5.6.3 wagmi: specifier: '*' - version: 2.12.12(@tanstack/query-core@5.56.2)(@tanstack/react-query@5.56.2(react@18.3.1))(@types/react@18.3.8)(bufferutil@4.0.8)(react-dom@18.3.1(react@18.3.1))(react-native@0.75.3(@babel/core@7.25.2)(@babel/preset-env@7.25.4(@babel/core@7.25.2))(@types/react@18.3.8)(bufferutil@4.0.8)(react@18.3.1)(typescript@5.6.2)(utf-8-validate@5.0.10))(react@18.3.1)(rollup@4.22.2)(typescript@5.6.2)(utf-8-validate@5.0.10)(viem@2.21.10(bufferutil@4.0.8)(typescript@5.6.2)(utf-8-validate@5.0.10)) + version: 2.12.12(@tanstack/query-core@5.56.2)(@tanstack/react-query@5.56.2(react@18.3.1))(@types/react@18.3.8)(bufferutil@4.0.8)(react-dom@18.3.1(react@18.3.1))(react-native@0.75.3(@babel/core@7.25.2)(@babel/preset-env@7.25.4(@babel/core@7.25.2))(@types/react@18.3.8)(bufferutil@4.0.8)(react@18.3.1)(typescript@5.6.3)(utf-8-validate@5.0.10))(react@18.3.1)(rollup@4.22.2)(typescript@5.6.3)(utf-8-validate@5.0.10)(viem@2.21.10(bufferutil@4.0.8)(typescript@5.6.3)(utf-8-validate@5.0.10)) examples/next: dependencies: @@ -127,10 +130,10 @@ importers: version: 18.3.1(react@18.3.1) viem: specifier: ^2.12.0 - version: 2.21.10(bufferutil@4.0.8)(typescript@5.6.2)(utf-8-validate@5.0.10) + version: 2.21.10(bufferutil@4.0.8)(typescript@5.6.3)(utf-8-validate@5.0.10) wagmi: specifier: ^2.9.5 - version: 2.12.12(@tanstack/query-core@5.56.2)(@tanstack/react-query@5.56.2(react@18.3.1))(@types/react@18.3.8)(bufferutil@4.0.8)(react-dom@18.3.1(react@18.3.1))(react-native@0.75.3(@babel/core@7.25.2)(@babel/preset-env@7.25.4(@babel/core@7.25.2))(@types/react@18.3.8)(bufferutil@4.0.8)(react@18.3.1)(typescript@5.6.2)(utf-8-validate@5.0.10))(react@18.3.1)(rollup@4.22.2)(typescript@5.6.2)(utf-8-validate@5.0.10)(viem@2.21.10(bufferutil@4.0.8)(typescript@5.6.2)(utf-8-validate@5.0.10)) + version: 2.12.12(@tanstack/query-core@5.56.2)(@tanstack/react-query@5.56.2(react@18.3.1))(@types/react@18.3.8)(bufferutil@4.0.8)(react-dom@18.3.1(react@18.3.1))(react-native@0.75.3(@babel/core@7.25.2)(@babel/preset-env@7.25.4(@babel/core@7.25.2))(@types/react@18.3.8)(bufferutil@4.0.8)(react@18.3.1)(typescript@5.6.3)(utf-8-validate@5.0.10))(react@18.3.1)(rollup@4.22.2)(typescript@5.6.3)(utf-8-validate@5.0.10)(viem@2.21.10(bufferutil@4.0.8)(typescript@5.6.3)(utf-8-validate@5.0.10)) devDependencies: '@types/node': specifier: ^20.12.12 @@ -146,13 +149,13 @@ importers: version: 8.57.1 eslint-config-next: specifier: 14.2.3 - version: 14.2.3(eslint@8.57.1)(typescript@5.6.2) + version: 14.2.3(eslint@8.57.1)(typescript@5.6.3) postcss: specifier: ^8 version: 8.4.47 typescript: - specifier: ^5 - version: 5.6.2 + specifier: ^5.6.3 + version: 5.6.3 examples/react: dependencies: @@ -187,14 +190,14 @@ importers: specifier: ^18.3.1 version: 18.3.1(react@18.3.1) typescript: - specifier: ^5.4.5 - version: 5.6.2 + specifier: ^5.6.3 + version: 5.6.3 viem: specifier: ^2.12.0 - version: 2.21.10(bufferutil@4.0.8)(typescript@5.6.2)(utf-8-validate@5.0.10) + version: 2.21.10(bufferutil@4.0.8)(typescript@5.6.3)(utf-8-validate@5.0.10) wagmi: specifier: ^2.9.5 - version: 2.12.12(@tanstack/query-core@5.56.2)(@tanstack/react-query@5.56.2(react@18.3.1))(@types/react@18.3.8)(bufferutil@4.0.8)(react-dom@18.3.1(react@18.3.1))(react-native@0.75.3(@babel/core@7.25.2)(@babel/preset-env@7.25.4(@babel/core@7.25.2))(@types/react@18.3.8)(bufferutil@4.0.8)(react@18.3.1)(typescript@5.6.2)(utf-8-validate@5.0.10))(react@18.3.1)(rollup@4.22.2)(typescript@5.6.2)(utf-8-validate@5.0.10)(viem@2.21.10(bufferutil@4.0.8)(typescript@5.6.2)(utf-8-validate@5.0.10)) + version: 2.12.12(@tanstack/query-core@5.56.2)(@tanstack/react-query@5.56.2(react@18.3.1))(@types/react@18.3.8)(bufferutil@4.0.8)(react-dom@18.3.1(react@18.3.1))(react-native@0.75.3(@babel/core@7.25.2)(@babel/preset-env@7.25.4(@babel/core@7.25.2))(@types/react@18.3.8)(bufferutil@4.0.8)(react@18.3.1)(typescript@5.6.3)(utf-8-validate@5.0.10))(react@18.3.1)(rollup@4.22.2)(typescript@5.6.3)(utf-8-validate@5.0.10)(viem@2.21.10(bufferutil@4.0.8)(typescript@5.6.3)(utf-8-validate@5.0.10)) devDependencies: '@types/node': specifier: ^20.12.12 @@ -216,10 +219,10 @@ importers: version: 0.21.0(rollup@4.22.2)(vite@5.4.6(@types/node@20.16.5)(terser@5.33.0)) vite-plugin-svgr: specifier: ^4.2.0 - version: 4.2.0(rollup@4.22.2)(typescript@5.6.2)(vite@5.4.6(@types/node@20.16.5)(terser@5.33.0)) + version: 4.2.0(rollup@4.22.2)(typescript@5.6.3)(vite@5.4.6(@types/node@20.16.5)(terser@5.33.0)) vite-tsconfig-paths: specifier: ^4.3.2 - version: 4.3.2(typescript@5.6.2)(vite@5.4.6(@types/node@20.16.5)(terser@5.33.0)) + version: 4.3.2(typescript@5.6.3)(vite@5.4.6(@types/node@20.16.5)(terser@5.33.0)) packages/checkout: dependencies: @@ -255,7 +258,7 @@ importers: version: 3.0.6(react@18.3.1) viem: specifier: '>= 2.0.0' - version: 2.21.10(bufferutil@4.0.8)(typescript@5.6.2)(utf-8-validate@5.0.10) + version: 2.21.10(bufferutil@4.0.8)(typescript@5.6.3)(utf-8-validate@5.0.10) devDependencies: '@0xsequence/design-system': specifier: ^1.7.8 @@ -283,7 +286,7 @@ importers: version: 5.4.6(@types/node@20.16.5)(terser@5.33.0) wagmi: specifier: ^2.9.5 - version: 2.12.12(@tanstack/query-core@5.56.2)(@tanstack/react-query@5.56.2(react@18.3.1))(@types/react@18.3.8)(bufferutil@4.0.8)(react-dom@18.3.1(react@18.3.1))(react-native@0.75.3(@babel/core@7.25.2)(@babel/preset-env@7.25.4(@babel/core@7.25.2))(@types/react@18.3.8)(bufferutil@4.0.8)(react@18.3.1)(typescript@5.6.2)(utf-8-validate@5.0.10))(react@18.3.1)(rollup@4.22.2)(typescript@5.6.2)(utf-8-validate@5.0.10)(viem@2.21.10(bufferutil@4.0.8)(typescript@5.6.2)(utf-8-validate@5.0.10)) + version: 2.12.12(@tanstack/query-core@5.56.2)(@tanstack/react-query@5.56.2(react@18.3.1))(@types/react@18.3.8)(bufferutil@4.0.8)(react-dom@18.3.1(react@18.3.1))(react-native@0.75.3(@babel/core@7.25.2)(@babel/preset-env@7.25.4(@babel/core@7.25.2))(@types/react@18.3.8)(bufferutil@4.0.8)(react@18.3.1)(typescript@5.6.3)(utf-8-validate@5.0.10))(react@18.3.1)(rollup@4.22.2)(typescript@5.6.3)(utf-8-validate@5.0.10)(viem@2.21.10(bufferutil@4.0.8)(typescript@5.6.3)(utf-8-validate@5.0.10)) packages/kit: dependencies: @@ -353,10 +356,10 @@ importers: version: 6.13.0(bufferutil@4.0.8)(utf-8-validate@5.0.10) viem: specifier: ^2.12.0 - version: 2.21.10(bufferutil@4.0.8)(typescript@5.6.2)(utf-8-validate@5.0.10) + version: 2.21.10(bufferutil@4.0.8)(typescript@5.6.3)(utf-8-validate@5.0.10) wagmi: specifier: ^2.9.5 - version: 2.12.12(@tanstack/query-core@5.56.2)(@tanstack/react-query@5.56.2(react@18.3.1))(@types/react@18.3.8)(bufferutil@4.0.8)(react-dom@18.3.1(react@18.3.1))(react-native@0.75.3(@babel/core@7.25.2)(@babel/preset-env@7.25.4(@babel/core@7.25.2))(@types/react@18.3.8)(bufferutil@4.0.8)(react@18.3.1)(typescript@5.6.2)(utf-8-validate@5.0.10))(react@18.3.1)(rollup@4.22.2)(typescript@5.6.2)(utf-8-validate@5.0.10)(viem@2.21.10(bufferutil@4.0.8)(typescript@5.6.2)(utf-8-validate@5.0.10)) + version: 2.12.12(@tanstack/query-core@5.56.2)(@tanstack/react-query@5.56.2(react@18.3.1))(@types/react@18.3.8)(bufferutil@4.0.8)(react-dom@18.3.1(react@18.3.1))(react-native@0.75.3(@babel/core@7.25.2)(@babel/preset-env@7.25.4(@babel/core@7.25.2))(@types/react@18.3.8)(bufferutil@4.0.8)(react@18.3.1)(typescript@5.6.3)(utf-8-validate@5.0.10))(react@18.3.1)(rollup@4.22.2)(typescript@5.6.3)(utf-8-validate@5.0.10)(viem@2.21.10(bufferutil@4.0.8)(typescript@5.6.3)(utf-8-validate@5.0.10)) packages/wallet: dependencies: @@ -392,7 +395,7 @@ importers: version: 5.1.0(react@18.3.1) viem: specifier: '>= 2.0.0' - version: 2.21.10(bufferutil@4.0.8)(typescript@5.6.2)(utf-8-validate@5.0.10) + version: 2.21.10(bufferutil@4.0.8)(typescript@5.6.3)(utf-8-validate@5.0.10) devDependencies: '@0xsequence/design-system': specifier: ^1.7.8 @@ -417,7 +420,7 @@ importers: version: 18.3.1(react@18.3.1) wagmi: specifier: ^2.9.5 - version: 2.12.12(@tanstack/query-core@5.56.2)(@tanstack/react-query@5.56.2(react@18.3.1))(@types/react@18.3.8)(bufferutil@4.0.8)(react-dom@18.3.1(react@18.3.1))(react-native@0.75.3(@babel/core@7.25.2)(@babel/preset-env@7.25.4(@babel/core@7.25.2))(@types/react@18.3.8)(bufferutil@4.0.8)(react@18.3.1)(typescript@5.6.2)(utf-8-validate@5.0.10))(react@18.3.1)(rollup@4.22.2)(typescript@5.6.2)(utf-8-validate@5.0.10)(viem@2.21.10(bufferutil@4.0.8)(typescript@5.6.2)(utf-8-validate@5.0.10)) + version: 2.12.12(@tanstack/query-core@5.56.2)(@tanstack/react-query@5.56.2(react@18.3.1))(@types/react@18.3.8)(bufferutil@4.0.8)(react-dom@18.3.1(react@18.3.1))(react-native@0.75.3(@babel/core@7.25.2)(@babel/preset-env@7.25.4(@babel/core@7.25.2))(@types/react@18.3.8)(bufferutil@4.0.8)(react@18.3.1)(typescript@5.6.3)(utf-8-validate@5.0.10))(react@18.3.1)(rollup@4.22.2)(typescript@5.6.3)(utf-8-validate@5.0.10)(viem@2.21.10(bufferutil@4.0.8)(typescript@5.6.3)(utf-8-validate@5.0.10)) packages: @@ -3984,6 +3987,10 @@ packages: dot-case@3.0.4: resolution: {integrity: sha512-Kv5nKlh6yRrdrGvxeJ2e5y2eRUpkUosIW4A2AS38zwSz27zu7ufDwQPi5Jhs3XAlGNetl3bmnGhQsMtkKJnj3w==} + dotenv@16.4.5: + resolution: {integrity: sha512-ZmdL2rui+eB2YwhsWzjInR8LldtZHGDoQ1ugH85ppHKwpUHL7j7rN0Ti9NCnGiQbhaZ11FpR+7ao1dNsmduNUg==} + engines: {node: '>=12'} + dotenv@8.6.0: resolution: {integrity: sha512-IrPdXQsk2BbzvCBGBOTmmSH5SodmqZNt4ERAZDmW4CT+tL8VtvinqywuANaFu4bOMWki16nqf0e4oC0QIaDr/g==} engines: {node: '>=10'} @@ -3996,6 +4003,7 @@ packages: eciesjs@0.3.20: resolution: {integrity: sha512-Rz5AB8v9+xmMdS/R7RzWPe/R8DP5QfyrkA6ce4umJopoB5su2H2aDy/GcgIfwhmCwxnBkqGf/PbGzmKcGtIgGA==} + deprecated: Please upgrade to v0.4+ ee-first@1.1.1: resolution: {integrity: sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow==} @@ -4224,6 +4232,7 @@ packages: eslint@8.57.1: resolution: {integrity: sha512-ypowyDxpVSYpkXr9WPv2PAZCtNip1Mv5KTW0SCurXv/9iOpcrH9PaqUElksqEB6pChqHGDRCFTyrZlGhnLNGiA==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + deprecated: This version is no longer supported. Please see https://eslint.org/version-support for other options. hasBin: true espree@9.6.1: @@ -6518,13 +6527,8 @@ packages: resolution: {integrity: sha512-/OxDN6OtAk5KBpGb28T+HZc2M+ADtvRxXrKKbUwtsLgdoxgX13hyy7ek6bFRl5+aBs2yZzB0c4CnQfAtVypW/g==} engines: {node: '>= 0.4'} - typescript@5.4.5: - resolution: {integrity: sha512-vcI4UpRgg81oIRUFwR0WSIHKt11nJ7SAVlYNIu+QpqeyXP+gpQJy/Z4+F0aGxSE4MqwjyXvW/TzgkLAx2AGHwQ==} - engines: {node: '>=14.17'} - hasBin: true - - typescript@5.6.2: - resolution: {integrity: sha512-NW8ByodCSNCwZeghjN3o+JX5OFH0Ojg6sadjEKY4huZ52TqbJTJnDo5+Tw98lSy63NZvi4n+ez5m2u5d4PkZyw==} + typescript@5.6.3: + resolution: {integrity: sha512-hjcS1mhfuyi4WW8IWtjP7brDrG2cuDZukyrYrSauoXGNgx0S7zceP07adYkJycEr56BOUTNPzbInooiN3fn1qw==} engines: {node: '>=14.17'} hasBin: true @@ -8974,30 +8978,21 @@ snapshots: transitivePeerDependencies: - supports-color - '@metamask/sdk-install-modal-web@0.28.1(i18next@23.11.5)(react-dom@18.3.1(react@18.3.1))(react-native@0.75.3(@babel/core@7.25.2)(@babel/preset-env@7.25.4(@babel/core@7.25.2))(@types/react@18.3.8)(bufferutil@4.0.8)(react@18.3.1)(typescript@5.4.5)(utf-8-validate@5.0.10))(react@18.3.1)': - dependencies: - i18next: 23.11.5 - qr-code-styling: 1.6.0-rc.1 - optionalDependencies: - react: 18.3.1 - react-dom: 18.3.1(react@18.3.1) - react-native: 0.75.3(@babel/core@7.25.2)(@babel/preset-env@7.25.4(@babel/core@7.25.2))(@types/react@18.3.8)(bufferutil@4.0.8)(react@18.3.1)(typescript@5.4.5)(utf-8-validate@5.0.10) - - '@metamask/sdk-install-modal-web@0.28.1(i18next@23.11.5)(react-dom@18.3.1(react@18.3.1))(react-native@0.75.3(@babel/core@7.25.2)(@babel/preset-env@7.25.4(@babel/core@7.25.2))(@types/react@18.3.8)(bufferutil@4.0.8)(react@18.3.1)(typescript@5.6.2)(utf-8-validate@5.0.10))(react@18.3.1)': + '@metamask/sdk-install-modal-web@0.28.1(i18next@23.11.5)(react-dom@18.3.1(react@18.3.1))(react-native@0.75.3(@babel/core@7.25.2)(@babel/preset-env@7.25.4(@babel/core@7.25.2))(@types/react@18.3.8)(bufferutil@4.0.8)(react@18.3.1)(typescript@5.6.3)(utf-8-validate@5.0.10))(react@18.3.1)': dependencies: i18next: 23.11.5 qr-code-styling: 1.6.0-rc.1 optionalDependencies: react: 18.3.1 react-dom: 18.3.1(react@18.3.1) - react-native: 0.75.3(@babel/core@7.25.2)(@babel/preset-env@7.25.4(@babel/core@7.25.2))(@types/react@18.3.8)(bufferutil@4.0.8)(react@18.3.1)(typescript@5.6.2)(utf-8-validate@5.0.10) + react-native: 0.75.3(@babel/core@7.25.2)(@babel/preset-env@7.25.4(@babel/core@7.25.2))(@types/react@18.3.8)(bufferutil@4.0.8)(react@18.3.1)(typescript@5.6.3)(utf-8-validate@5.0.10) - '@metamask/sdk@0.28.4(bufferutil@4.0.8)(react-dom@18.3.1(react@18.3.1))(react-native@0.75.3(@babel/core@7.25.2)(@babel/preset-env@7.25.4(@babel/core@7.25.2))(@types/react@18.3.8)(bufferutil@4.0.8)(react@18.3.1)(typescript@5.4.5)(utf-8-validate@5.0.10))(react@18.3.1)(rollup@4.22.2)(utf-8-validate@5.0.10)': + '@metamask/sdk@0.28.4(bufferutil@4.0.8)(react-dom@18.3.1(react@18.3.1))(react-native@0.75.3(@babel/core@7.25.2)(@babel/preset-env@7.25.4(@babel/core@7.25.2))(@types/react@18.3.8)(bufferutil@4.0.8)(react@18.3.1)(typescript@5.6.3)(utf-8-validate@5.0.10))(react@18.3.1)(rollup@4.22.2)(utf-8-validate@5.0.10)': dependencies: '@metamask/onboarding': 1.0.1 '@metamask/providers': 16.1.0 '@metamask/sdk-communication-layer': 0.28.2(cross-fetch@4.0.0)(eciesjs@0.3.20)(eventemitter2@6.4.9)(readable-stream@3.6.2)(socket.io-client@4.7.5(bufferutil@4.0.8)(utf-8-validate@5.0.10)) - '@metamask/sdk-install-modal-web': 0.28.1(i18next@23.11.5)(react-dom@18.3.1(react@18.3.1))(react-native@0.75.3(@babel/core@7.25.2)(@babel/preset-env@7.25.4(@babel/core@7.25.2))(@types/react@18.3.8)(bufferutil@4.0.8)(react@18.3.1)(typescript@5.4.5)(utf-8-validate@5.0.10))(react@18.3.1) + '@metamask/sdk-install-modal-web': 0.28.1(i18next@23.11.5)(react-dom@18.3.1(react@18.3.1))(react-native@0.75.3(@babel/core@7.25.2)(@babel/preset-env@7.25.4(@babel/core@7.25.2))(@types/react@18.3.8)(bufferutil@4.0.8)(react@18.3.1)(typescript@5.6.3)(utf-8-validate@5.0.10))(react@18.3.1) '@types/dom-screen-wake-lock': 1.0.3 '@types/uuid': 10.0.0 bowser: 2.11.0 @@ -9011,43 +9006,7 @@ snapshots: obj-multiplex: 1.0.0 pump: 3.0.2 qrcode-terminal-nooctal: 0.12.1 - react-native-webview: 11.26.1(react-native@0.75.3(@babel/core@7.25.2)(@babel/preset-env@7.25.4(@babel/core@7.25.2))(@types/react@18.3.8)(bufferutil@4.0.8)(react@18.3.1)(typescript@5.4.5)(utf-8-validate@5.0.10))(react@18.3.1) - readable-stream: 3.6.2 - rollup-plugin-visualizer: 5.12.0(rollup@4.22.2) - socket.io-client: 4.7.5(bufferutil@4.0.8)(utf-8-validate@5.0.10) - util: 0.12.5 - uuid: 8.3.2 - optionalDependencies: - react: 18.3.1 - react-dom: 18.3.1(react@18.3.1) - transitivePeerDependencies: - - bufferutil - - encoding - - react-native - - rollup - - supports-color - - utf-8-validate - - '@metamask/sdk@0.28.4(bufferutil@4.0.8)(react-dom@18.3.1(react@18.3.1))(react-native@0.75.3(@babel/core@7.25.2)(@babel/preset-env@7.25.4(@babel/core@7.25.2))(@types/react@18.3.8)(bufferutil@4.0.8)(react@18.3.1)(typescript@5.6.2)(utf-8-validate@5.0.10))(react@18.3.1)(rollup@4.22.2)(utf-8-validate@5.0.10)': - dependencies: - '@metamask/onboarding': 1.0.1 - '@metamask/providers': 16.1.0 - '@metamask/sdk-communication-layer': 0.28.2(cross-fetch@4.0.0)(eciesjs@0.3.20)(eventemitter2@6.4.9)(readable-stream@3.6.2)(socket.io-client@4.7.5(bufferutil@4.0.8)(utf-8-validate@5.0.10)) - '@metamask/sdk-install-modal-web': 0.28.1(i18next@23.11.5)(react-dom@18.3.1(react@18.3.1))(react-native@0.75.3(@babel/core@7.25.2)(@babel/preset-env@7.25.4(@babel/core@7.25.2))(@types/react@18.3.8)(bufferutil@4.0.8)(react@18.3.1)(typescript@5.6.2)(utf-8-validate@5.0.10))(react@18.3.1) - '@types/dom-screen-wake-lock': 1.0.3 - '@types/uuid': 10.0.0 - bowser: 2.11.0 - cross-fetch: 4.0.0 - debug: 4.3.7 - eciesjs: 0.3.20 - eth-rpc-errors: 4.0.3 - eventemitter2: 6.4.9 - i18next: 23.11.5 - i18next-browser-languagedetector: 7.1.0 - obj-multiplex: 1.0.0 - pump: 3.0.2 - qrcode-terminal-nooctal: 0.12.1 - react-native-webview: 11.26.1(react-native@0.75.3(@babel/core@7.25.2)(@babel/preset-env@7.25.4(@babel/core@7.25.2))(@types/react@18.3.8)(bufferutil@4.0.8)(react@18.3.1)(typescript@5.6.2)(utf-8-validate@5.0.10))(react@18.3.1) + react-native-webview: 11.26.1(react-native@0.75.3(@babel/core@7.25.2)(@babel/preset-env@7.25.4(@babel/core@7.25.2))(@types/react@18.3.8)(bufferutil@4.0.8)(react@18.3.1)(typescript@5.6.3)(utf-8-validate@5.0.10))(react@18.3.1) readable-stream: 3.6.2 rollup-plugin-visualizer: 5.12.0(rollup@4.22.2) socket.io-client: 4.7.5(bufferutil@4.0.8)(utf-8-validate@5.0.10) @@ -9748,22 +9707,11 @@ snapshots: execa: 5.1.1 fast-glob: 3.3.2 - '@react-native-community/cli-config@14.1.0(typescript@5.4.5)': - dependencies: - '@react-native-community/cli-tools': 14.1.0 - chalk: 4.1.2 - cosmiconfig: 9.0.0(typescript@5.4.5) - deepmerge: 4.3.1 - fast-glob: 3.3.2 - joi: 17.13.3 - transitivePeerDependencies: - - typescript - - '@react-native-community/cli-config@14.1.0(typescript@5.6.2)': + '@react-native-community/cli-config@14.1.0(typescript@5.6.3)': dependencies: '@react-native-community/cli-tools': 14.1.0 chalk: 4.1.2 - cosmiconfig: 9.0.0(typescript@5.6.2) + cosmiconfig: 9.0.0(typescript@5.6.3) deepmerge: 4.3.1 fast-glob: 3.3.2 joi: 17.13.3 @@ -9776,30 +9724,9 @@ snapshots: transitivePeerDependencies: - supports-color - '@react-native-community/cli-doctor@14.1.0(typescript@5.4.5)': - dependencies: - '@react-native-community/cli-config': 14.1.0(typescript@5.4.5) - '@react-native-community/cli-platform-android': 14.1.0 - '@react-native-community/cli-platform-apple': 14.1.0 - '@react-native-community/cli-platform-ios': 14.1.0 - '@react-native-community/cli-tools': 14.1.0 - chalk: 4.1.2 - command-exists: 1.2.9 - deepmerge: 4.3.1 - envinfo: 7.14.0 - execa: 5.1.1 - node-stream-zip: 1.15.0 - ora: 5.4.1 - semver: 7.6.3 - strip-ansi: 5.2.0 - wcwidth: 1.0.1 - yaml: 2.5.1 - transitivePeerDependencies: - - typescript - - '@react-native-community/cli-doctor@14.1.0(typescript@5.6.2)': + '@react-native-community/cli-doctor@14.1.0(typescript@5.6.3)': dependencies: - '@react-native-community/cli-config': 14.1.0(typescript@5.6.2) + '@react-native-community/cli-config': 14.1.0(typescript@5.6.3) '@react-native-community/cli-platform-android': 14.1.0 '@react-native-community/cli-platform-apple': 14.1.0 '@react-native-community/cli-platform-ios': 14.1.0 @@ -9873,36 +9800,12 @@ snapshots: dependencies: joi: 17.13.3 - '@react-native-community/cli@14.1.0(bufferutil@4.0.8)(typescript@5.4.5)(utf-8-validate@5.0.10)': + '@react-native-community/cli@14.1.0(bufferutil@4.0.8)(typescript@5.6.3)(utf-8-validate@5.0.10)': dependencies: '@react-native-community/cli-clean': 14.1.0 - '@react-native-community/cli-config': 14.1.0(typescript@5.4.5) + '@react-native-community/cli-config': 14.1.0(typescript@5.6.3) '@react-native-community/cli-debugger-ui': 14.1.0 - '@react-native-community/cli-doctor': 14.1.0(typescript@5.4.5) - '@react-native-community/cli-server-api': 14.1.0(bufferutil@4.0.8)(utf-8-validate@5.0.10) - '@react-native-community/cli-tools': 14.1.0 - '@react-native-community/cli-types': 14.1.0 - chalk: 4.1.2 - commander: 9.5.0 - deepmerge: 4.3.1 - execa: 5.1.1 - find-up: 5.0.0 - fs-extra: 8.1.0 - graceful-fs: 4.2.11 - prompts: 2.4.2 - semver: 7.6.3 - transitivePeerDependencies: - - bufferutil - - supports-color - - typescript - - utf-8-validate - - '@react-native-community/cli@14.1.0(bufferutil@4.0.8)(typescript@5.6.2)(utf-8-validate@5.0.10)': - dependencies: - '@react-native-community/cli-clean': 14.1.0 - '@react-native-community/cli-config': 14.1.0(typescript@5.6.2) - '@react-native-community/cli-debugger-ui': 14.1.0 - '@react-native-community/cli-doctor': 14.1.0(typescript@5.6.2) + '@react-native-community/cli-doctor': 14.1.0(typescript@5.6.3) '@react-native-community/cli-server-api': 14.1.0(bufferutil@4.0.8)(utf-8-validate@5.0.10) '@react-native-community/cli-tools': 14.1.0 '@react-native-community/cli-types': 14.1.0 @@ -10054,21 +9957,12 @@ snapshots: '@react-native/normalize-colors@0.75.3': {} - '@react-native/virtualized-lists@0.75.3(@types/react@18.3.8)(react-native@0.75.3(@babel/core@7.25.2)(@babel/preset-env@7.25.4(@babel/core@7.25.2))(@types/react@18.3.8)(bufferutil@4.0.8)(react@18.3.1)(typescript@5.4.5)(utf-8-validate@5.0.10))(react@18.3.1)': + '@react-native/virtualized-lists@0.75.3(@types/react@18.3.8)(react-native@0.75.3(@babel/core@7.25.2)(@babel/preset-env@7.25.4(@babel/core@7.25.2))(@types/react@18.3.8)(bufferutil@4.0.8)(react@18.3.1)(typescript@5.6.3)(utf-8-validate@5.0.10))(react@18.3.1)': dependencies: invariant: 2.2.4 nullthrows: 1.1.1 react: 18.3.1 - react-native: 0.75.3(@babel/core@7.25.2)(@babel/preset-env@7.25.4(@babel/core@7.25.2))(@types/react@18.3.8)(bufferutil@4.0.8)(react@18.3.1)(typescript@5.4.5)(utf-8-validate@5.0.10) - optionalDependencies: - '@types/react': 18.3.8 - - '@react-native/virtualized-lists@0.75.3(@types/react@18.3.8)(react-native@0.75.3(@babel/core@7.25.2)(@babel/preset-env@7.25.4(@babel/core@7.25.2))(@types/react@18.3.8)(bufferutil@4.0.8)(react@18.3.1)(typescript@5.6.2)(utf-8-validate@5.0.10))(react@18.3.1)': - dependencies: - invariant: 2.2.4 - nullthrows: 1.1.1 - react: 18.3.1 - react-native: 0.75.3(@babel/core@7.25.2)(@babel/preset-env@7.25.4(@babel/core@7.25.2))(@types/react@18.3.8)(bufferutil@4.0.8)(react@18.3.1)(typescript@5.6.2)(utf-8-validate@5.0.10) + react-native: 0.75.3(@babel/core@7.25.2)(@babel/preset-env@7.25.4(@babel/core@7.25.2))(@types/react@18.3.8)(bufferutil@4.0.8)(react@18.3.1)(typescript@5.6.3)(utf-8-validate@5.0.10) optionalDependencies: '@types/react': 18.3.8 @@ -10145,9 +10039,9 @@ snapshots: '@rushstack/eslint-patch@1.10.4': {} - '@safe-global/safe-apps-provider@0.18.3(bufferutil@4.0.8)(typescript@5.4.5)(utf-8-validate@5.0.10)': + '@safe-global/safe-apps-provider@0.18.3(bufferutil@4.0.8)(typescript@5.6.3)(utf-8-validate@5.0.10)': dependencies: - '@safe-global/safe-apps-sdk': 9.1.0(bufferutil@4.0.8)(typescript@5.4.5)(utf-8-validate@5.0.10) + '@safe-global/safe-apps-sdk': 9.1.0(bufferutil@4.0.8)(typescript@5.6.3)(utf-8-validate@5.0.10) events: 3.3.0 transitivePeerDependencies: - bufferutil @@ -10155,30 +10049,10 @@ snapshots: - utf-8-validate - zod - '@safe-global/safe-apps-provider@0.18.3(bufferutil@4.0.8)(typescript@5.6.2)(utf-8-validate@5.0.10)': - dependencies: - '@safe-global/safe-apps-sdk': 9.1.0(bufferutil@4.0.8)(typescript@5.6.2)(utf-8-validate@5.0.10) - events: 3.3.0 - transitivePeerDependencies: - - bufferutil - - typescript - - utf-8-validate - - zod - - '@safe-global/safe-apps-sdk@9.1.0(bufferutil@4.0.8)(typescript@5.4.5)(utf-8-validate@5.0.10)': + '@safe-global/safe-apps-sdk@9.1.0(bufferutil@4.0.8)(typescript@5.6.3)(utf-8-validate@5.0.10)': dependencies: '@safe-global/safe-gateway-typescript-sdk': 3.22.2 - viem: 2.21.10(bufferutil@4.0.8)(typescript@5.4.5)(utf-8-validate@5.0.10) - transitivePeerDependencies: - - bufferutil - - typescript - - utf-8-validate - - zod - - '@safe-global/safe-apps-sdk@9.1.0(bufferutil@4.0.8)(typescript@5.6.2)(utf-8-validate@5.0.10)': - dependencies: - '@safe-global/safe-gateway-typescript-sdk': 3.22.2 - viem: 2.21.10(bufferutil@4.0.8)(typescript@5.6.2)(utf-8-validate@5.0.10) + viem: 2.21.10(bufferutil@4.0.8)(typescript@5.6.3)(utf-8-validate@5.0.10) transitivePeerDependencies: - bufferutil - typescript @@ -10616,12 +10490,12 @@ snapshots: '@svgr/babel-plugin-transform-react-native-svg': 8.1.0(@babel/core@7.25.2) '@svgr/babel-plugin-transform-svg-component': 8.0.0(@babel/core@7.25.2) - '@svgr/core@8.1.0(typescript@5.6.2)': + '@svgr/core@8.1.0(typescript@5.6.3)': dependencies: '@babel/core': 7.25.2 '@svgr/babel-preset': 8.1.0(@babel/core@7.25.2) camelcase: 6.3.0 - cosmiconfig: 8.3.6(typescript@5.6.2) + cosmiconfig: 8.3.6(typescript@5.6.3) snake-case: 3.0.4 transitivePeerDependencies: - supports-color @@ -10632,11 +10506,11 @@ snapshots: '@babel/types': 7.25.6 entities: 4.5.0 - '@svgr/plugin-jsx@8.1.0(@svgr/core@8.1.0(typescript@5.6.2))': + '@svgr/plugin-jsx@8.1.0(@svgr/core@8.1.0(typescript@5.6.3))': dependencies: '@babel/core': 7.25.2 '@svgr/babel-preset': 8.1.0(@babel/core@7.25.2) - '@svgr/core': 8.1.0(typescript@5.6.2) + '@svgr/core': 8.1.0(typescript@5.6.3) '@svgr/hast-util-to-babel-ast': 8.0.0 svg-parser: 2.0.4 transitivePeerDependencies: @@ -10752,47 +10626,47 @@ snapshots: dependencies: '@types/yargs-parser': 21.0.3 - '@typescript-eslint/eslint-plugin@7.18.0(@typescript-eslint/parser@7.18.0(eslint@8.57.1)(typescript@5.4.5))(eslint@8.57.1)(typescript@5.4.5)': + '@typescript-eslint/eslint-plugin@7.18.0(@typescript-eslint/parser@7.18.0(eslint@8.57.1)(typescript@5.6.3))(eslint@8.57.1)(typescript@5.6.3)': dependencies: '@eslint-community/regexpp': 4.11.1 - '@typescript-eslint/parser': 7.18.0(eslint@8.57.1)(typescript@5.4.5) + '@typescript-eslint/parser': 7.18.0(eslint@8.57.1)(typescript@5.6.3) '@typescript-eslint/scope-manager': 7.18.0 - '@typescript-eslint/type-utils': 7.18.0(eslint@8.57.1)(typescript@5.4.5) - '@typescript-eslint/utils': 7.18.0(eslint@8.57.1)(typescript@5.4.5) + '@typescript-eslint/type-utils': 7.18.0(eslint@8.57.1)(typescript@5.6.3) + '@typescript-eslint/utils': 7.18.0(eslint@8.57.1)(typescript@5.6.3) '@typescript-eslint/visitor-keys': 7.18.0 eslint: 8.57.1 graphemer: 1.4.0 ignore: 5.3.2 natural-compare: 1.4.0 - ts-api-utils: 1.3.0(typescript@5.4.5) + ts-api-utils: 1.3.0(typescript@5.6.3) optionalDependencies: - typescript: 5.4.5 + typescript: 5.6.3 transitivePeerDependencies: - supports-color - '@typescript-eslint/parser@7.18.0(eslint@8.57.1)(typescript@5.4.5)': + '@typescript-eslint/parser@7.18.0(eslint@8.57.1)(typescript@5.6.3)': dependencies: '@typescript-eslint/scope-manager': 7.18.0 '@typescript-eslint/types': 7.18.0 - '@typescript-eslint/typescript-estree': 7.18.0(typescript@5.4.5) + '@typescript-eslint/typescript-estree': 7.18.0(typescript@5.6.3) '@typescript-eslint/visitor-keys': 7.18.0 debug: 4.3.7 eslint: 8.57.1 optionalDependencies: - typescript: 5.4.5 + typescript: 5.6.3 transitivePeerDependencies: - supports-color - '@typescript-eslint/parser@7.2.0(eslint@8.57.1)(typescript@5.6.2)': + '@typescript-eslint/parser@7.2.0(eslint@8.57.1)(typescript@5.6.3)': dependencies: '@typescript-eslint/scope-manager': 7.2.0 '@typescript-eslint/types': 7.2.0 - '@typescript-eslint/typescript-estree': 7.2.0(typescript@5.6.2) + '@typescript-eslint/typescript-estree': 7.2.0(typescript@5.6.3) '@typescript-eslint/visitor-keys': 7.2.0 debug: 4.3.7 eslint: 8.57.1 optionalDependencies: - typescript: 5.6.2 + typescript: 5.6.3 transitivePeerDependencies: - supports-color @@ -10806,15 +10680,15 @@ snapshots: '@typescript-eslint/types': 7.2.0 '@typescript-eslint/visitor-keys': 7.2.0 - '@typescript-eslint/type-utils@7.18.0(eslint@8.57.1)(typescript@5.4.5)': + '@typescript-eslint/type-utils@7.18.0(eslint@8.57.1)(typescript@5.6.3)': dependencies: - '@typescript-eslint/typescript-estree': 7.18.0(typescript@5.4.5) - '@typescript-eslint/utils': 7.18.0(eslint@8.57.1)(typescript@5.4.5) + '@typescript-eslint/typescript-estree': 7.18.0(typescript@5.6.3) + '@typescript-eslint/utils': 7.18.0(eslint@8.57.1)(typescript@5.6.3) debug: 4.3.7 eslint: 8.57.1 - ts-api-utils: 1.3.0(typescript@5.4.5) + ts-api-utils: 1.3.0(typescript@5.6.3) optionalDependencies: - typescript: 5.4.5 + typescript: 5.6.3 transitivePeerDependencies: - supports-color @@ -10822,7 +10696,7 @@ snapshots: '@typescript-eslint/types@7.2.0': {} - '@typescript-eslint/typescript-estree@7.18.0(typescript@5.4.5)': + '@typescript-eslint/typescript-estree@7.18.0(typescript@5.6.3)': dependencies: '@typescript-eslint/types': 7.18.0 '@typescript-eslint/visitor-keys': 7.18.0 @@ -10831,13 +10705,13 @@ snapshots: is-glob: 4.0.3 minimatch: 9.0.5 semver: 7.6.3 - ts-api-utils: 1.3.0(typescript@5.4.5) + ts-api-utils: 1.3.0(typescript@5.6.3) optionalDependencies: - typescript: 5.4.5 + typescript: 5.6.3 transitivePeerDependencies: - supports-color - '@typescript-eslint/typescript-estree@7.2.0(typescript@5.6.2)': + '@typescript-eslint/typescript-estree@7.2.0(typescript@5.6.3)': dependencies: '@typescript-eslint/types': 7.2.0 '@typescript-eslint/visitor-keys': 7.2.0 @@ -10846,18 +10720,18 @@ snapshots: is-glob: 4.0.3 minimatch: 9.0.3 semver: 7.6.3 - ts-api-utils: 1.3.0(typescript@5.6.2) + ts-api-utils: 1.3.0(typescript@5.6.3) optionalDependencies: - typescript: 5.6.2 + typescript: 5.6.3 transitivePeerDependencies: - supports-color - '@typescript-eslint/utils@7.18.0(eslint@8.57.1)(typescript@5.4.5)': + '@typescript-eslint/utils@7.18.0(eslint@8.57.1)(typescript@5.6.3)': dependencies: '@eslint-community/eslint-utils': 4.4.0(eslint@8.57.1) '@typescript-eslint/scope-manager': 7.18.0 '@typescript-eslint/types': 7.18.0 - '@typescript-eslint/typescript-estree': 7.18.0(typescript@5.4.5) + '@typescript-eslint/typescript-estree': 7.18.0(typescript@5.6.3) eslint: 8.57.1 transitivePeerDependencies: - supports-color @@ -10909,58 +10783,19 @@ snapshots: transitivePeerDependencies: - supports-color - '@wagmi/connectors@5.1.11(@types/react@18.3.8)(@wagmi/core@2.13.5(@tanstack/query-core@5.56.2)(@types/react@18.3.8)(react@18.3.1)(typescript@5.4.5)(viem@2.21.10(bufferutil@4.0.8)(typescript@5.4.5)(utf-8-validate@5.0.10)))(bufferutil@4.0.8)(react-dom@18.3.1(react@18.3.1))(react-native@0.75.3(@babel/core@7.25.2)(@babel/preset-env@7.25.4(@babel/core@7.25.2))(@types/react@18.3.8)(bufferutil@4.0.8)(react@18.3.1)(typescript@5.4.5)(utf-8-validate@5.0.10))(react@18.3.1)(rollup@4.22.2)(typescript@5.4.5)(utf-8-validate@5.0.10)(viem@2.21.10(bufferutil@4.0.8)(typescript@5.4.5)(utf-8-validate@5.0.10))': - dependencies: - '@coinbase/wallet-sdk': 4.0.4 - '@metamask/sdk': 0.28.4(bufferutil@4.0.8)(react-dom@18.3.1(react@18.3.1))(react-native@0.75.3(@babel/core@7.25.2)(@babel/preset-env@7.25.4(@babel/core@7.25.2))(@types/react@18.3.8)(bufferutil@4.0.8)(react@18.3.1)(typescript@5.4.5)(utf-8-validate@5.0.10))(react@18.3.1)(rollup@4.22.2)(utf-8-validate@5.0.10) - '@safe-global/safe-apps-provider': 0.18.3(bufferutil@4.0.8)(typescript@5.4.5)(utf-8-validate@5.0.10) - '@safe-global/safe-apps-sdk': 9.1.0(bufferutil@4.0.8)(typescript@5.4.5)(utf-8-validate@5.0.10) - '@wagmi/core': 2.13.5(@tanstack/query-core@5.56.2)(@types/react@18.3.8)(react@18.3.1)(typescript@5.4.5)(viem@2.21.10(bufferutil@4.0.8)(typescript@5.4.5)(utf-8-validate@5.0.10)) - '@walletconnect/ethereum-provider': 2.16.1(@types/react@18.3.8)(bufferutil@4.0.8)(react@18.3.1)(utf-8-validate@5.0.10) - '@walletconnect/modal': 2.6.2(@types/react@18.3.8)(react@18.3.1) - cbw-sdk: '@coinbase/wallet-sdk@3.9.3' - viem: 2.21.10(bufferutil@4.0.8)(typescript@5.4.5)(utf-8-validate@5.0.10) - optionalDependencies: - typescript: 5.4.5 - transitivePeerDependencies: - - '@azure/app-configuration' - - '@azure/cosmos' - - '@azure/data-tables' - - '@azure/identity' - - '@azure/keyvault-secrets' - - '@azure/storage-blob' - - '@capacitor/preferences' - - '@netlify/blobs' - - '@planetscale/database' - - '@react-native-async-storage/async-storage' - - '@types/react' - - '@upstash/redis' - - '@vercel/kv' - - bufferutil - - encoding - - ioredis - - react - - react-dom - - react-native - - rollup - - supports-color - - uWebSockets.js - - utf-8-validate - - zod - - '@wagmi/connectors@5.1.11(@types/react@18.3.8)(@wagmi/core@2.13.5(@tanstack/query-core@5.56.2)(@types/react@18.3.8)(react@18.3.1)(typescript@5.6.2)(viem@2.21.10(bufferutil@4.0.8)(typescript@5.6.2)(utf-8-validate@5.0.10)))(bufferutil@4.0.8)(react-dom@18.3.1(react@18.3.1))(react-native@0.75.3(@babel/core@7.25.2)(@babel/preset-env@7.25.4(@babel/core@7.25.2))(@types/react@18.3.8)(bufferutil@4.0.8)(react@18.3.1)(typescript@5.6.2)(utf-8-validate@5.0.10))(react@18.3.1)(rollup@4.22.2)(typescript@5.6.2)(utf-8-validate@5.0.10)(viem@2.21.10(bufferutil@4.0.8)(typescript@5.6.2)(utf-8-validate@5.0.10))': + '@wagmi/connectors@5.1.11(@types/react@18.3.8)(@wagmi/core@2.13.5(@tanstack/query-core@5.56.2)(@types/react@18.3.8)(react@18.3.1)(typescript@5.6.3)(viem@2.21.10(bufferutil@4.0.8)(typescript@5.6.3)(utf-8-validate@5.0.10)))(bufferutil@4.0.8)(react-dom@18.3.1(react@18.3.1))(react-native@0.75.3(@babel/core@7.25.2)(@babel/preset-env@7.25.4(@babel/core@7.25.2))(@types/react@18.3.8)(bufferutil@4.0.8)(react@18.3.1)(typescript@5.6.3)(utf-8-validate@5.0.10))(react@18.3.1)(rollup@4.22.2)(typescript@5.6.3)(utf-8-validate@5.0.10)(viem@2.21.10(bufferutil@4.0.8)(typescript@5.6.3)(utf-8-validate@5.0.10))': dependencies: '@coinbase/wallet-sdk': 4.0.4 - '@metamask/sdk': 0.28.4(bufferutil@4.0.8)(react-dom@18.3.1(react@18.3.1))(react-native@0.75.3(@babel/core@7.25.2)(@babel/preset-env@7.25.4(@babel/core@7.25.2))(@types/react@18.3.8)(bufferutil@4.0.8)(react@18.3.1)(typescript@5.6.2)(utf-8-validate@5.0.10))(react@18.3.1)(rollup@4.22.2)(utf-8-validate@5.0.10) - '@safe-global/safe-apps-provider': 0.18.3(bufferutil@4.0.8)(typescript@5.6.2)(utf-8-validate@5.0.10) - '@safe-global/safe-apps-sdk': 9.1.0(bufferutil@4.0.8)(typescript@5.6.2)(utf-8-validate@5.0.10) - '@wagmi/core': 2.13.5(@tanstack/query-core@5.56.2)(@types/react@18.3.8)(react@18.3.1)(typescript@5.6.2)(viem@2.21.10(bufferutil@4.0.8)(typescript@5.6.2)(utf-8-validate@5.0.10)) + '@metamask/sdk': 0.28.4(bufferutil@4.0.8)(react-dom@18.3.1(react@18.3.1))(react-native@0.75.3(@babel/core@7.25.2)(@babel/preset-env@7.25.4(@babel/core@7.25.2))(@types/react@18.3.8)(bufferutil@4.0.8)(react@18.3.1)(typescript@5.6.3)(utf-8-validate@5.0.10))(react@18.3.1)(rollup@4.22.2)(utf-8-validate@5.0.10) + '@safe-global/safe-apps-provider': 0.18.3(bufferutil@4.0.8)(typescript@5.6.3)(utf-8-validate@5.0.10) + '@safe-global/safe-apps-sdk': 9.1.0(bufferutil@4.0.8)(typescript@5.6.3)(utf-8-validate@5.0.10) + '@wagmi/core': 2.13.5(@tanstack/query-core@5.56.2)(@types/react@18.3.8)(react@18.3.1)(typescript@5.6.3)(viem@2.21.10(bufferutil@4.0.8)(typescript@5.6.3)(utf-8-validate@5.0.10)) '@walletconnect/ethereum-provider': 2.16.1(@types/react@18.3.8)(bufferutil@4.0.8)(react@18.3.1)(utf-8-validate@5.0.10) '@walletconnect/modal': 2.6.2(@types/react@18.3.8)(react@18.3.1) cbw-sdk: '@coinbase/wallet-sdk@3.9.3' - viem: 2.21.10(bufferutil@4.0.8)(typescript@5.6.2)(utf-8-validate@5.0.10) + viem: 2.21.10(bufferutil@4.0.8)(typescript@5.6.3)(utf-8-validate@5.0.10) optionalDependencies: - typescript: 5.6.2 + typescript: 5.6.3 transitivePeerDependencies: - '@azure/app-configuration' - '@azure/cosmos' @@ -10987,29 +10822,15 @@ snapshots: - utf-8-validate - zod - '@wagmi/core@2.13.5(@tanstack/query-core@5.56.2)(@types/react@18.3.8)(react@18.3.1)(typescript@5.4.5)(viem@2.21.10(bufferutil@4.0.8)(typescript@5.4.5)(utf-8-validate@5.0.10))': + '@wagmi/core@2.13.5(@tanstack/query-core@5.56.2)(@types/react@18.3.8)(react@18.3.1)(typescript@5.6.3)(viem@2.21.10(bufferutil@4.0.8)(typescript@5.6.3)(utf-8-validate@5.0.10))': dependencies: eventemitter3: 5.0.1 - mipd: 0.0.7(typescript@5.4.5) - viem: 2.21.10(bufferutil@4.0.8)(typescript@5.4.5)(utf-8-validate@5.0.10) + mipd: 0.0.7(typescript@5.6.3) + viem: 2.21.10(bufferutil@4.0.8)(typescript@5.6.3)(utf-8-validate@5.0.10) zustand: 4.4.1(@types/react@18.3.8)(react@18.3.1) optionalDependencies: '@tanstack/query-core': 5.56.2 - typescript: 5.4.5 - transitivePeerDependencies: - - '@types/react' - - immer - - react - - '@wagmi/core@2.13.5(@tanstack/query-core@5.56.2)(@types/react@18.3.8)(react@18.3.1)(typescript@5.6.2)(viem@2.21.10(bufferutil@4.0.8)(typescript@5.6.2)(utf-8-validate@5.0.10))': - dependencies: - eventemitter3: 5.0.1 - mipd: 0.0.7(typescript@5.6.2) - viem: 2.21.10(bufferutil@4.0.8)(typescript@5.6.2)(utf-8-validate@5.0.10) - zustand: 4.4.1(@types/react@18.3.8)(react@18.3.1) - optionalDependencies: - '@tanstack/query-core': 5.56.2 - typescript: 5.6.2 + typescript: 5.6.3 transitivePeerDependencies: - '@types/react' - immer @@ -11332,13 +11153,9 @@ snapshots: '@walletconnect/window-getters': 1.0.1 tslib: 1.14.1 - abitype@1.0.5(typescript@5.4.5): - optionalDependencies: - typescript: 5.4.5 - - abitype@1.0.5(typescript@5.6.2): + abitype@1.0.5(typescript@5.6.3): optionalDependencies: - typescript: 5.6.2 + typescript: 5.6.3 abort-controller@3.0.0: dependencies: @@ -11874,32 +11691,23 @@ snapshots: js-yaml: 3.14.1 parse-json: 4.0.0 - cosmiconfig@8.3.6(typescript@5.6.2): + cosmiconfig@8.3.6(typescript@5.6.3): dependencies: import-fresh: 3.3.0 js-yaml: 4.1.0 parse-json: 5.2.0 path-type: 4.0.0 optionalDependencies: - typescript: 5.6.2 + typescript: 5.6.3 - cosmiconfig@9.0.0(typescript@5.4.5): + cosmiconfig@9.0.0(typescript@5.6.3): dependencies: env-paths: 2.2.1 import-fresh: 3.3.0 js-yaml: 4.1.0 parse-json: 5.2.0 optionalDependencies: - typescript: 5.4.5 - - cosmiconfig@9.0.0(typescript@5.6.2): - dependencies: - env-paths: 2.2.1 - import-fresh: 3.3.0 - js-yaml: 4.1.0 - parse-json: 5.2.0 - optionalDependencies: - typescript: 5.6.2 + typescript: 5.6.3 crc-32@1.2.2: {} @@ -12114,6 +11922,8 @@ snapshots: no-case: 3.0.4 tslib: 2.7.0 + dotenv@16.4.5: {} + dotenv@8.6.0: {} duplexify@4.1.3: @@ -12342,20 +12152,20 @@ snapshots: escape-string-regexp@4.0.0: {} - eslint-config-next@14.2.3(eslint@8.57.1)(typescript@5.6.2): + eslint-config-next@14.2.3(eslint@8.57.1)(typescript@5.6.3): dependencies: '@next/eslint-plugin-next': 14.2.3 '@rushstack/eslint-patch': 1.10.4 - '@typescript-eslint/parser': 7.2.0(eslint@8.57.1)(typescript@5.6.2) + '@typescript-eslint/parser': 7.2.0(eslint@8.57.1)(typescript@5.6.3) eslint: 8.57.1 eslint-import-resolver-node: 0.3.9 - eslint-import-resolver-typescript: 3.6.3(@typescript-eslint/parser@7.2.0(eslint@8.57.1)(typescript@5.6.2))(eslint-import-resolver-node@0.3.9)(eslint-plugin-import@2.30.0)(eslint@8.57.1) - eslint-plugin-import: 2.30.0(@typescript-eslint/parser@7.18.0(eslint@8.57.1)(typescript@5.4.5))(eslint@8.57.1) + eslint-import-resolver-typescript: 3.6.3(@typescript-eslint/parser@7.2.0(eslint@8.57.1)(typescript@5.6.3))(eslint-import-resolver-node@0.3.9)(eslint-plugin-import@2.30.0)(eslint@8.57.1) + eslint-plugin-import: 2.30.0(@typescript-eslint/parser@7.18.0(eslint@8.57.1)(typescript@5.6.3))(eslint@8.57.1) eslint-plugin-jsx-a11y: 6.10.0(eslint@8.57.1) eslint-plugin-react: 7.36.1(eslint@8.57.1) eslint-plugin-react-hooks: 4.6.2(eslint@8.57.1) optionalDependencies: - typescript: 5.6.2 + typescript: 5.6.3 transitivePeerDependencies: - eslint-import-resolver-webpack - eslint-plugin-import-x @@ -12373,47 +12183,47 @@ snapshots: transitivePeerDependencies: - supports-color - eslint-import-resolver-typescript@3.6.3(@typescript-eslint/parser@7.2.0(eslint@8.57.1)(typescript@5.6.2))(eslint-import-resolver-node@0.3.9)(eslint-plugin-import@2.30.0)(eslint@8.57.1): + eslint-import-resolver-typescript@3.6.3(@typescript-eslint/parser@7.2.0(eslint@8.57.1)(typescript@5.6.3))(eslint-import-resolver-node@0.3.9)(eslint-plugin-import@2.30.0)(eslint@8.57.1): dependencies: '@nolyfill/is-core-module': 1.0.39 debug: 4.3.7 enhanced-resolve: 5.17.1 eslint: 8.57.1 - eslint-module-utils: 2.11.0(@typescript-eslint/parser@7.2.0(eslint@8.57.1)(typescript@5.6.2))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.3(@typescript-eslint/parser@7.2.0(eslint@8.57.1)(typescript@5.6.2))(eslint-import-resolver-node@0.3.9)(eslint-plugin-import@2.30.0)(eslint@8.57.1))(eslint@8.57.1) + eslint-module-utils: 2.11.0(@typescript-eslint/parser@7.2.0(eslint@8.57.1)(typescript@5.6.3))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.3(@typescript-eslint/parser@7.2.0(eslint@8.57.1)(typescript@5.6.3))(eslint-import-resolver-node@0.3.9)(eslint-plugin-import@2.30.0)(eslint@8.57.1))(eslint@8.57.1) fast-glob: 3.3.2 get-tsconfig: 4.8.1 is-bun-module: 1.2.1 is-glob: 4.0.3 optionalDependencies: - eslint-plugin-import: 2.30.0(@typescript-eslint/parser@7.18.0(eslint@8.57.1)(typescript@5.4.5))(eslint@8.57.1) + eslint-plugin-import: 2.30.0(@typescript-eslint/parser@7.18.0(eslint@8.57.1)(typescript@5.6.3))(eslint@8.57.1) transitivePeerDependencies: - '@typescript-eslint/parser' - eslint-import-resolver-node - eslint-import-resolver-webpack - supports-color - eslint-module-utils@2.11.0(@typescript-eslint/parser@7.18.0(eslint@8.57.1)(typescript@5.4.5))(eslint-import-resolver-node@0.3.9)(eslint@8.57.1): + eslint-module-utils@2.11.0(@typescript-eslint/parser@7.18.0(eslint@8.57.1)(typescript@5.6.3))(eslint-import-resolver-node@0.3.9)(eslint@8.57.1): dependencies: debug: 3.2.7 optionalDependencies: - '@typescript-eslint/parser': 7.18.0(eslint@8.57.1)(typescript@5.4.5) + '@typescript-eslint/parser': 7.18.0(eslint@8.57.1)(typescript@5.6.3) eslint: 8.57.1 eslint-import-resolver-node: 0.3.9 transitivePeerDependencies: - supports-color - eslint-module-utils@2.11.0(@typescript-eslint/parser@7.2.0(eslint@8.57.1)(typescript@5.6.2))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.3(@typescript-eslint/parser@7.2.0(eslint@8.57.1)(typescript@5.6.2))(eslint-import-resolver-node@0.3.9)(eslint-plugin-import@2.30.0)(eslint@8.57.1))(eslint@8.57.1): + eslint-module-utils@2.11.0(@typescript-eslint/parser@7.2.0(eslint@8.57.1)(typescript@5.6.3))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.3(@typescript-eslint/parser@7.2.0(eslint@8.57.1)(typescript@5.6.3))(eslint-import-resolver-node@0.3.9)(eslint-plugin-import@2.30.0)(eslint@8.57.1))(eslint@8.57.1): dependencies: debug: 3.2.7 optionalDependencies: - '@typescript-eslint/parser': 7.2.0(eslint@8.57.1)(typescript@5.6.2) + '@typescript-eslint/parser': 7.2.0(eslint@8.57.1)(typescript@5.6.3) eslint: 8.57.1 eslint-import-resolver-node: 0.3.9 - eslint-import-resolver-typescript: 3.6.3(@typescript-eslint/parser@7.2.0(eslint@8.57.1)(typescript@5.6.2))(eslint-import-resolver-node@0.3.9)(eslint-plugin-import@2.30.0)(eslint@8.57.1) + eslint-import-resolver-typescript: 3.6.3(@typescript-eslint/parser@7.2.0(eslint@8.57.1)(typescript@5.6.3))(eslint-import-resolver-node@0.3.9)(eslint-plugin-import@2.30.0)(eslint@8.57.1) transitivePeerDependencies: - supports-color - eslint-plugin-import@2.30.0(@typescript-eslint/parser@7.18.0(eslint@8.57.1)(typescript@5.4.5))(eslint@8.57.1): + eslint-plugin-import@2.30.0(@typescript-eslint/parser@7.18.0(eslint@8.57.1)(typescript@5.6.3))(eslint@8.57.1): dependencies: '@rtsao/scc': 1.1.0 array-includes: 3.1.8 @@ -12424,7 +12234,7 @@ snapshots: doctrine: 2.1.0 eslint: 8.57.1 eslint-import-resolver-node: 0.3.9 - eslint-module-utils: 2.11.0(@typescript-eslint/parser@7.18.0(eslint@8.57.1)(typescript@5.4.5))(eslint-import-resolver-node@0.3.9)(eslint@8.57.1) + eslint-module-utils: 2.11.0(@typescript-eslint/parser@7.18.0(eslint@8.57.1)(typescript@5.6.3))(eslint-import-resolver-node@0.3.9)(eslint@8.57.1) hasown: 2.0.2 is-core-module: 2.15.1 is-glob: 4.0.3 @@ -12435,7 +12245,7 @@ snapshots: semver: 6.3.1 tsconfig-paths: 3.15.0 optionalDependencies: - '@typescript-eslint/parser': 7.18.0(eslint@8.57.1)(typescript@5.4.5) + '@typescript-eslint/parser': 7.18.0(eslint@8.57.1)(typescript@5.6.3) transitivePeerDependencies: - eslint-import-resolver-typescript - eslint-import-resolver-webpack @@ -13780,13 +13590,9 @@ snapshots: minipass@7.1.2: {} - mipd@0.0.7(typescript@5.4.5): + mipd@0.0.7(typescript@5.6.3): optionalDependencies: - typescript: 5.4.5 - - mipd@0.0.7(typescript@5.6.2): - optionalDependencies: - typescript: 5.6.2 + typescript: 5.6.3 mkdirp@0.5.6: dependencies: @@ -14370,77 +14176,17 @@ snapshots: react-is@18.3.1: {} - react-native-webview@11.26.1(react-native@0.75.3(@babel/core@7.25.2)(@babel/preset-env@7.25.4(@babel/core@7.25.2))(@types/react@18.3.8)(bufferutil@4.0.8)(react@18.3.1)(typescript@5.4.5)(utf-8-validate@5.0.10))(react@18.3.1): + react-native-webview@11.26.1(react-native@0.75.3(@babel/core@7.25.2)(@babel/preset-env@7.25.4(@babel/core@7.25.2))(@types/react@18.3.8)(bufferutil@4.0.8)(react@18.3.1)(typescript@5.6.3)(utf-8-validate@5.0.10))(react@18.3.1): dependencies: escape-string-regexp: 2.0.0 invariant: 2.2.4 react: 18.3.1 - react-native: 0.75.3(@babel/core@7.25.2)(@babel/preset-env@7.25.4(@babel/core@7.25.2))(@types/react@18.3.8)(bufferutil@4.0.8)(react@18.3.1)(typescript@5.4.5)(utf-8-validate@5.0.10) - - react-native-webview@11.26.1(react-native@0.75.3(@babel/core@7.25.2)(@babel/preset-env@7.25.4(@babel/core@7.25.2))(@types/react@18.3.8)(bufferutil@4.0.8)(react@18.3.1)(typescript@5.6.2)(utf-8-validate@5.0.10))(react@18.3.1): - dependencies: - escape-string-regexp: 2.0.0 - invariant: 2.2.4 - react: 18.3.1 - react-native: 0.75.3(@babel/core@7.25.2)(@babel/preset-env@7.25.4(@babel/core@7.25.2))(@types/react@18.3.8)(bufferutil@4.0.8)(react@18.3.1)(typescript@5.6.2)(utf-8-validate@5.0.10) - - react-native@0.75.3(@babel/core@7.25.2)(@babel/preset-env@7.25.4(@babel/core@7.25.2))(@types/react@18.3.8)(bufferutil@4.0.8)(react@18.3.1)(typescript@5.4.5)(utf-8-validate@5.0.10): - dependencies: - '@jest/create-cache-key-function': 29.7.0 - '@react-native-community/cli': 14.1.0(bufferutil@4.0.8)(typescript@5.4.5)(utf-8-validate@5.0.10) - '@react-native-community/cli-platform-android': 14.1.0 - '@react-native-community/cli-platform-ios': 14.1.0 - '@react-native/assets-registry': 0.75.3 - '@react-native/codegen': 0.75.3(@babel/preset-env@7.25.4(@babel/core@7.25.2)) - '@react-native/community-cli-plugin': 0.75.3(@babel/core@7.25.2)(@babel/preset-env@7.25.4(@babel/core@7.25.2))(bufferutil@4.0.8)(utf-8-validate@5.0.10) - '@react-native/gradle-plugin': 0.75.3 - '@react-native/js-polyfills': 0.75.3 - '@react-native/normalize-colors': 0.75.3 - '@react-native/virtualized-lists': 0.75.3(@types/react@18.3.8)(react-native@0.75.3(@babel/core@7.25.2)(@babel/preset-env@7.25.4(@babel/core@7.25.2))(@types/react@18.3.8)(bufferutil@4.0.8)(react@18.3.1)(typescript@5.4.5)(utf-8-validate@5.0.10))(react@18.3.1) - abort-controller: 3.0.0 - anser: 1.4.10 - ansi-regex: 5.0.1 - base64-js: 1.5.1 - chalk: 4.1.2 - commander: 9.5.0 - event-target-shim: 5.0.1 - flow-enums-runtime: 0.0.6 - glob: 7.2.3 - invariant: 2.2.4 - jest-environment-node: 29.7.0 - jsc-android: 250231.0.0 - memoize-one: 5.2.1 - metro-runtime: 0.80.12 - metro-source-map: 0.80.12 - mkdirp: 0.5.6 - nullthrows: 1.1.1 - pretty-format: 26.6.2 - promise: 8.3.0 - react: 18.3.1 - react-devtools-core: 5.3.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) - react-refresh: 0.14.2 - regenerator-runtime: 0.13.11 - scheduler: 0.24.0-canary-efb381bbf-20230505 - semver: 7.6.3 - stacktrace-parser: 0.1.10 - whatwg-fetch: 3.6.20 - ws: 6.2.3(bufferutil@4.0.8)(utf-8-validate@5.0.10) - yargs: 17.7.2 - optionalDependencies: - '@types/react': 18.3.8 - transitivePeerDependencies: - - '@babel/core' - - '@babel/preset-env' - - bufferutil - - encoding - - supports-color - - typescript - - utf-8-validate + react-native: 0.75.3(@babel/core@7.25.2)(@babel/preset-env@7.25.4(@babel/core@7.25.2))(@types/react@18.3.8)(bufferutil@4.0.8)(react@18.3.1)(typescript@5.6.3)(utf-8-validate@5.0.10) - react-native@0.75.3(@babel/core@7.25.2)(@babel/preset-env@7.25.4(@babel/core@7.25.2))(@types/react@18.3.8)(bufferutil@4.0.8)(react@18.3.1)(typescript@5.6.2)(utf-8-validate@5.0.10): + react-native@0.75.3(@babel/core@7.25.2)(@babel/preset-env@7.25.4(@babel/core@7.25.2))(@types/react@18.3.8)(bufferutil@4.0.8)(react@18.3.1)(typescript@5.6.3)(utf-8-validate@5.0.10): dependencies: '@jest/create-cache-key-function': 29.7.0 - '@react-native-community/cli': 14.1.0(bufferutil@4.0.8)(typescript@5.6.2)(utf-8-validate@5.0.10) + '@react-native-community/cli': 14.1.0(bufferutil@4.0.8)(typescript@5.6.3)(utf-8-validate@5.0.10) '@react-native-community/cli-platform-android': 14.1.0 '@react-native-community/cli-platform-ios': 14.1.0 '@react-native/assets-registry': 0.75.3 @@ -14449,7 +14195,7 @@ snapshots: '@react-native/gradle-plugin': 0.75.3 '@react-native/js-polyfills': 0.75.3 '@react-native/normalize-colors': 0.75.3 - '@react-native/virtualized-lists': 0.75.3(@types/react@18.3.8)(react-native@0.75.3(@babel/core@7.25.2)(@babel/preset-env@7.25.4(@babel/core@7.25.2))(@types/react@18.3.8)(bufferutil@4.0.8)(react@18.3.1)(typescript@5.6.2)(utf-8-validate@5.0.10))(react@18.3.1) + '@react-native/virtualized-lists': 0.75.3(@types/react@18.3.8)(react-native@0.75.3(@babel/core@7.25.2)(@babel/preset-env@7.25.4(@babel/core@7.25.2))(@types/react@18.3.8)(bufferutil@4.0.8)(react@18.3.1)(typescript@5.6.3)(utf-8-validate@5.0.10))(react@18.3.1) abort-controller: 3.0.0 anser: 1.4.10 ansi-regex: 5.0.1 @@ -15091,17 +14837,13 @@ snapshots: tr46@0.0.3: {} - ts-api-utils@1.3.0(typescript@5.4.5): - dependencies: - typescript: 5.4.5 - - ts-api-utils@1.3.0(typescript@5.6.2): + ts-api-utils@1.3.0(typescript@5.6.3): dependencies: - typescript: 5.6.2 + typescript: 5.6.3 - tsconfck@3.1.3(typescript@5.6.2): + tsconfck@3.1.3(typescript@5.6.3): optionalDependencies: - typescript: 5.6.2 + typescript: 5.6.3 tsconfig-paths@3.15.0: dependencies: @@ -15187,9 +14929,7 @@ snapshots: is-typed-array: 1.1.13 possible-typed-array-names: 1.0.0 - typescript@5.4.5: {} - - typescript@5.6.2: {} + typescript@5.6.3: {} ufo@1.5.4: {} @@ -15322,37 +15062,19 @@ snapshots: vary@1.1.2: {} - viem@2.21.10(bufferutil@4.0.8)(typescript@5.4.5)(utf-8-validate@5.0.10): + viem@2.21.10(bufferutil@4.0.8)(typescript@5.6.3)(utf-8-validate@5.0.10): dependencies: '@adraffy/ens-normalize': 1.10.0 '@noble/curves': 1.4.0 '@noble/hashes': 1.4.0 '@scure/bip32': 1.4.0 '@scure/bip39': 1.4.0 - abitype: 1.0.5(typescript@5.4.5) + abitype: 1.0.5(typescript@5.6.3) isows: 1.0.4(ws@8.17.1(bufferutil@4.0.8)(utf-8-validate@5.0.10)) webauthn-p256: 0.0.5 ws: 8.17.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) optionalDependencies: - typescript: 5.4.5 - transitivePeerDependencies: - - bufferutil - - utf-8-validate - - zod - - viem@2.21.10(bufferutil@4.0.8)(typescript@5.6.2)(utf-8-validate@5.0.10): - dependencies: - '@adraffy/ens-normalize': 1.10.0 - '@noble/curves': 1.4.0 - '@noble/hashes': 1.4.0 - '@scure/bip32': 1.4.0 - '@scure/bip39': 1.4.0 - abitype: 1.0.5(typescript@5.6.2) - isows: 1.0.4(ws@8.17.1(bufferutil@4.0.8)(utf-8-validate@5.0.10)) - webauthn-p256: 0.0.5 - ws: 8.17.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) - optionalDependencies: - typescript: 5.6.2 + typescript: 5.6.3 transitivePeerDependencies: - bufferutil - utf-8-validate @@ -15366,22 +15088,22 @@ snapshots: transitivePeerDependencies: - rollup - vite-plugin-svgr@4.2.0(rollup@4.22.2)(typescript@5.6.2)(vite@5.4.6(@types/node@20.16.5)(terser@5.33.0)): + vite-plugin-svgr@4.2.0(rollup@4.22.2)(typescript@5.6.3)(vite@5.4.6(@types/node@20.16.5)(terser@5.33.0)): dependencies: '@rollup/pluginutils': 5.1.0(rollup@4.22.2) - '@svgr/core': 8.1.0(typescript@5.6.2) - '@svgr/plugin-jsx': 8.1.0(@svgr/core@8.1.0(typescript@5.6.2)) + '@svgr/core': 8.1.0(typescript@5.6.3) + '@svgr/plugin-jsx': 8.1.0(@svgr/core@8.1.0(typescript@5.6.3)) vite: 5.4.6(@types/node@20.16.5)(terser@5.33.0) transitivePeerDependencies: - rollup - supports-color - typescript - vite-tsconfig-paths@4.3.2(typescript@5.6.2)(vite@5.4.6(@types/node@20.16.5)(terser@5.33.0)): + vite-tsconfig-paths@4.3.2(typescript@5.6.3)(vite@5.4.6(@types/node@20.16.5)(terser@5.33.0)): dependencies: debug: 4.3.7 globrex: 0.1.2 - tsconfck: 3.1.3(typescript@5.6.2) + tsconfck: 3.1.3(typescript@5.6.3) optionalDependencies: vite: 5.4.6(@types/node@20.16.5)(terser@5.33.0) transitivePeerDependencies: @@ -15402,53 +15124,16 @@ snapshots: vm-browserify@1.1.2: {} - wagmi@2.12.12(@tanstack/query-core@5.56.2)(@tanstack/react-query@5.56.2(react@18.3.1))(@types/react@18.3.8)(bufferutil@4.0.8)(react-dom@18.3.1(react@18.3.1))(react-native@0.75.3(@babel/core@7.25.2)(@babel/preset-env@7.25.4(@babel/core@7.25.2))(@types/react@18.3.8)(bufferutil@4.0.8)(react@18.3.1)(typescript@5.4.5)(utf-8-validate@5.0.10))(react@18.3.1)(rollup@4.22.2)(typescript@5.4.5)(utf-8-validate@5.0.10)(viem@2.21.10(bufferutil@4.0.8)(typescript@5.4.5)(utf-8-validate@5.0.10)): - dependencies: - '@tanstack/react-query': 5.56.2(react@18.3.1) - '@wagmi/connectors': 5.1.11(@types/react@18.3.8)(@wagmi/core@2.13.5(@tanstack/query-core@5.56.2)(@types/react@18.3.8)(react@18.3.1)(typescript@5.4.5)(viem@2.21.10(bufferutil@4.0.8)(typescript@5.4.5)(utf-8-validate@5.0.10)))(bufferutil@4.0.8)(react-dom@18.3.1(react@18.3.1))(react-native@0.75.3(@babel/core@7.25.2)(@babel/preset-env@7.25.4(@babel/core@7.25.2))(@types/react@18.3.8)(bufferutil@4.0.8)(react@18.3.1)(typescript@5.4.5)(utf-8-validate@5.0.10))(react@18.3.1)(rollup@4.22.2)(typescript@5.4.5)(utf-8-validate@5.0.10)(viem@2.21.10(bufferutil@4.0.8)(typescript@5.4.5)(utf-8-validate@5.0.10)) - '@wagmi/core': 2.13.5(@tanstack/query-core@5.56.2)(@types/react@18.3.8)(react@18.3.1)(typescript@5.4.5)(viem@2.21.10(bufferutil@4.0.8)(typescript@5.4.5)(utf-8-validate@5.0.10)) - react: 18.3.1 - use-sync-external-store: 1.2.0(react@18.3.1) - viem: 2.21.10(bufferutil@4.0.8)(typescript@5.4.5)(utf-8-validate@5.0.10) - optionalDependencies: - typescript: 5.4.5 - transitivePeerDependencies: - - '@azure/app-configuration' - - '@azure/cosmos' - - '@azure/data-tables' - - '@azure/identity' - - '@azure/keyvault-secrets' - - '@azure/storage-blob' - - '@capacitor/preferences' - - '@netlify/blobs' - - '@planetscale/database' - - '@react-native-async-storage/async-storage' - - '@tanstack/query-core' - - '@types/react' - - '@upstash/redis' - - '@vercel/kv' - - bufferutil - - encoding - - immer - - ioredis - - react-dom - - react-native - - rollup - - supports-color - - uWebSockets.js - - utf-8-validate - - zod - - wagmi@2.12.12(@tanstack/query-core@5.56.2)(@tanstack/react-query@5.56.2(react@18.3.1))(@types/react@18.3.8)(bufferutil@4.0.8)(react-dom@18.3.1(react@18.3.1))(react-native@0.75.3(@babel/core@7.25.2)(@babel/preset-env@7.25.4(@babel/core@7.25.2))(@types/react@18.3.8)(bufferutil@4.0.8)(react@18.3.1)(typescript@5.6.2)(utf-8-validate@5.0.10))(react@18.3.1)(rollup@4.22.2)(typescript@5.6.2)(utf-8-validate@5.0.10)(viem@2.21.10(bufferutil@4.0.8)(typescript@5.6.2)(utf-8-validate@5.0.10)): + wagmi@2.12.12(@tanstack/query-core@5.56.2)(@tanstack/react-query@5.56.2(react@18.3.1))(@types/react@18.3.8)(bufferutil@4.0.8)(react-dom@18.3.1(react@18.3.1))(react-native@0.75.3(@babel/core@7.25.2)(@babel/preset-env@7.25.4(@babel/core@7.25.2))(@types/react@18.3.8)(bufferutil@4.0.8)(react@18.3.1)(typescript@5.6.3)(utf-8-validate@5.0.10))(react@18.3.1)(rollup@4.22.2)(typescript@5.6.3)(utf-8-validate@5.0.10)(viem@2.21.10(bufferutil@4.0.8)(typescript@5.6.3)(utf-8-validate@5.0.10)): dependencies: '@tanstack/react-query': 5.56.2(react@18.3.1) - '@wagmi/connectors': 5.1.11(@types/react@18.3.8)(@wagmi/core@2.13.5(@tanstack/query-core@5.56.2)(@types/react@18.3.8)(react@18.3.1)(typescript@5.6.2)(viem@2.21.10(bufferutil@4.0.8)(typescript@5.6.2)(utf-8-validate@5.0.10)))(bufferutil@4.0.8)(react-dom@18.3.1(react@18.3.1))(react-native@0.75.3(@babel/core@7.25.2)(@babel/preset-env@7.25.4(@babel/core@7.25.2))(@types/react@18.3.8)(bufferutil@4.0.8)(react@18.3.1)(typescript@5.6.2)(utf-8-validate@5.0.10))(react@18.3.1)(rollup@4.22.2)(typescript@5.6.2)(utf-8-validate@5.0.10)(viem@2.21.10(bufferutil@4.0.8)(typescript@5.6.2)(utf-8-validate@5.0.10)) - '@wagmi/core': 2.13.5(@tanstack/query-core@5.56.2)(@types/react@18.3.8)(react@18.3.1)(typescript@5.6.2)(viem@2.21.10(bufferutil@4.0.8)(typescript@5.6.2)(utf-8-validate@5.0.10)) + '@wagmi/connectors': 5.1.11(@types/react@18.3.8)(@wagmi/core@2.13.5(@tanstack/query-core@5.56.2)(@types/react@18.3.8)(react@18.3.1)(typescript@5.6.3)(viem@2.21.10(bufferutil@4.0.8)(typescript@5.6.3)(utf-8-validate@5.0.10)))(bufferutil@4.0.8)(react-dom@18.3.1(react@18.3.1))(react-native@0.75.3(@babel/core@7.25.2)(@babel/preset-env@7.25.4(@babel/core@7.25.2))(@types/react@18.3.8)(bufferutil@4.0.8)(react@18.3.1)(typescript@5.6.3)(utf-8-validate@5.0.10))(react@18.3.1)(rollup@4.22.2)(typescript@5.6.3)(utf-8-validate@5.0.10)(viem@2.21.10(bufferutil@4.0.8)(typescript@5.6.3)(utf-8-validate@5.0.10)) + '@wagmi/core': 2.13.5(@tanstack/query-core@5.56.2)(@types/react@18.3.8)(react@18.3.1)(typescript@5.6.3)(viem@2.21.10(bufferutil@4.0.8)(typescript@5.6.3)(utf-8-validate@5.0.10)) react: 18.3.1 use-sync-external-store: 1.2.0(react@18.3.1) - viem: 2.21.10(bufferutil@4.0.8)(typescript@5.6.2)(utf-8-validate@5.0.10) + viem: 2.21.10(bufferutil@4.0.8)(typescript@5.6.3)(utf-8-validate@5.0.10) optionalDependencies: - typescript: 5.6.2 + typescript: 5.6.3 transitivePeerDependencies: - '@azure/app-configuration' - '@azure/cosmos'