From 9dddf8353f8af4e928990fa3a4cd2f3dd5b43bc7 Mon Sep 17 00:00:00 2001 From: Corban Brook Date: Mon, 27 May 2024 15:15:40 -0400 Subject: [PATCH] Turbo repo (#58) * Removing preconstruct and babel * Adding turbo config * examples/next: Allow initialState to be passed to WagmiProvider * examples/next: Use cookieStorage and pass initialState to WagmiProvider for SSR of logged in state. * set 'use client' on all Providers and Contexts * examples/next: disable animation on image loading to prevent SSR issues * emit declarationMap when generating types * Fixing lint errors in packages * Fixing lint errors in examples * Using ChainId enum when referencing chain ids * Fix transferProps in TxnDetails * Updating tsconfig * Disable typecheck ci * Removing window.etherum declaration from injected * Removing window.ethereum declaration from KitProvider * Renaming start:react and start:next to dev:react and dev:next to be more inline with nextjs convension --- .github/workflows/ci.yml | 4 +- .gitignore | 11 +- babel.config.js | 18 - examples/next/src/app/Providers.tsx | 7 +- .../next/src/app/components/Connected.tsx | 14 +- examples/next/src/app/components/Footer.tsx | 2 +- examples/next/src/app/components/Header.tsx | 3 +- examples/next/src/app/layout.tsx | 8 +- examples/next/src/app/page.tsx | 5 +- examples/next/src/config.ts | 9 +- examples/next/turbo.json | 8 + examples/react/package.json | 3 +- examples/react/src/components/Homepage.tsx | 14 +- examples/react/src/utils/helpers.ts | 2 - package.json | 43 +- packages/checkout/.babelrc | 11 - packages/checkout/package.json | 30 +- .../checkout/src/contexts/CheckoutModal.ts | 2 + packages/checkout/src/contexts/Navigation.ts | 2 + .../shared/components/KitCheckoutProvider.tsx | 2 + .../checkout/src/views/TransactionSuccess.tsx | 3 +- packages/checkout/tsconfig.json | 34 +- packages/connectors/package.json | 29 +- .../src/connectors/injected/injected.ts | 9 - packages/connectors/src/defaultConnectors.ts | 2 +- packages/connectors/tsconfig.json | 20 + packages/kit/package.json | 29 +- .../ConnectWalletContent/index.tsx | 2 +- .../KitProvider/TxnDetails/index.tsx | 29 +- .../kit/src/components/KitProvider/index.tsx | 7 +- packages/kit/src/contexts/Analytics.ts | 2 + packages/kit/src/contexts/ConnectModal.ts | 2 + packages/kit/src/contexts/KitConfig.ts | 2 + packages/kit/src/contexts/Theme.ts | 2 + packages/kit/src/contexts/WalletSettings.ts | 2 + packages/kit/src/hooks/useAPIClient.ts | 5 +- packages/kit/src/hooks/useIndexerClient.ts | 9 +- packages/kit/src/hooks/useMetadataClient.ts | 6 +- packages/kit/src/hooks/useWaasFeeOptions.ts | 2 + packages/kit/src/utils/tokens.ts | 4 +- packages/kit/tsconfig.json | 20 + packages/wallet/.babelrc | 11 - packages/wallet/package.json | 30 +- packages/wallet/src/contexts/Navigation.ts | 2 + packages/wallet/src/contexts/WalletModal.ts | 2 + .../src/shared/KitWalletProvider/index.tsx | 2 + packages/wallet/tsconfig.json | 34 +- pnpm-lock.yaml | 670 ++---------------- tsconfig.json | 26 +- turbo.json | 19 + 50 files changed, 371 insertions(+), 843 deletions(-) delete mode 100644 babel.config.js create mode 100644 examples/next/turbo.json delete mode 100644 packages/checkout/.babelrc create mode 100644 packages/connectors/tsconfig.json create mode 100644 packages/kit/tsconfig.json delete mode 100644 packages/wallet/.babelrc create mode 100644 turbo.json diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index effd2d6c..298f572e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,8 +13,8 @@ jobs: - name: Install dependencies uses: ./.github/actions/install-dependencies - - name: Typecheck - run: pnpm typecheck + # - name: Typecheck + # run: pnpm typecheck - name: Build run: pnpm build && pnpm build:react diff --git a/.gitignore b/.gitignore index 6fdcc24f..059c5452 100644 --- a/.gitignore +++ b/.gitignore @@ -4,11 +4,13 @@ node_modules/ cache/ build/ dist/ +/packages/*/dist/** -test_chain/ +.next/ + +.turbo *.js.map -PROD.env .DS_Store .vscode @@ -17,8 +19,3 @@ PROD.env .cache package-lock.json coverage -.rts2_cache* - -yarn-debug.log* -yarn-error.log* -lerna-debug.log* diff --git a/babel.config.js b/babel.config.js deleted file mode 100644 index cae9e070..00000000 --- a/babel.config.js +++ /dev/null @@ -1,18 +0,0 @@ -module.exports = { - presets: [ - [ - '@babel/preset-env', - { - targets: { - esmodules: true - }, - bugfixes: true, - loose: true, - exclude: ['@babel/plugin-transform-async-to-generator', '@babel/plugin-transform-regenerator'] - } - ], - '@babel/preset-typescript', - '@babel/preset-react' - ], - plugins: [['@babel/plugin-transform-class-properties', { loose: true }]] -} diff --git a/examples/next/src/app/Providers.tsx b/examples/next/src/app/Providers.tsx index ccbd4667..2ab9cf6f 100644 --- a/examples/next/src/app/Providers.tsx +++ b/examples/next/src/app/Providers.tsx @@ -4,7 +4,7 @@ import { KitProvider } from '@0xsequence/kit' import { KitCheckoutProvider } from '@0xsequence/kit-checkout' import { KitWalletProvider } from '@0xsequence/kit-wallet' import { QueryClient, QueryClientProvider } from '@tanstack/react-query' -import { WagmiProvider } from 'wagmi' +import { State, WagmiProvider } from 'wagmi' import { wagmiConfig, kitConfig } from '../config' @@ -12,13 +12,14 @@ const queryClient = new QueryClient() export interface ProvidersProps { children: React.ReactNode + initialState?: State | undefined } export const Providers = (props: ProvidersProps) => { - const { children } = props + const { children, initialState } = props return ( - + diff --git a/examples/next/src/app/components/Connected.tsx b/examples/next/src/app/components/Connected.tsx index 45ea2a52..4cec553b 100644 --- a/examples/next/src/app/components/Connected.tsx +++ b/examples/next/src/app/components/Connected.tsx @@ -2,7 +2,7 @@ import { Box, Text, Card, Button, Select, SignoutIcon } from '@0xsequence/design import { signEthAuthProof, useIndexerClient, useStorage, useWaasFeeOptions, validateEthProof } from '@0xsequence/kit' import { CheckoutSettings } from '@0xsequence/kit-checkout' import { useOpenWalletModal } from '@0xsequence/kit-wallet' -import { allNetworks } from '@0xsequence/network' +import { ChainId, allNetworks } from '@0xsequence/network' import { ComponentProps, useEffect, useState } from 'react' import { formatUnits, parseUnits } from 'viem' import { @@ -206,10 +206,10 @@ export const Connected = () => { // } const onSwitchNetwork = () => { - if (chainId === 421614) { - switchChain({ chainId: 42170 }) + if (chainId === ChainId.ARBITRUM_SEPOLIA) { + switchChain({ chainId: ChainId.ARBITRUM_NOVA }) } else { - switchChain({ chainId: 421614 }) + switchChain({ chainId: ChainId.ARBITRUM_SEPOLIA }) } setLastTxnDataHash(undefined) @@ -486,7 +486,7 @@ export const Alert = ({ title, description, secondaryDescription, variant, butto export const getCheckoutSettings = (_address?: string) => { const checkoutSettings: CheckoutSettings = { cryptoCheckout: { - chainId: 137, + chainId: ChainId.POLYGON, triggerTransaction: async () => { console.log('triggered transaction') }, @@ -497,13 +497,13 @@ export const getCheckoutSettings = (_address?: string) => { }, orderSummaryItems: [ { - chainId: 137, + chainId: ChainId.POLYGON, contractAddress: '0x631998e91476da5b870d741192fc5cbc55f5a52e', tokenId: '66597', quantityRaw: '100' }, { - chainId: 137, + chainId: ChainId.POLYGON, contractAddress: '0x624e4fa6980afcf8ea27bfe08e2fb5979b64df1c', tokenId: '1741', quantityRaw: '100' diff --git a/examples/next/src/app/components/Footer.tsx b/examples/next/src/app/components/Footer.tsx index 889937ef..0f20b7c8 100644 --- a/examples/next/src/app/components/Footer.tsx +++ b/examples/next/src/app/components/Footer.tsx @@ -1,5 +1,5 @@ -import React from 'react' import { Box, Button, Image, Text, useMediaQuery, useTheme } from '@0xsequence/design-system' +import React from 'react' interface BottomPageLink { label: string diff --git a/examples/next/src/app/components/Header.tsx b/examples/next/src/app/components/Header.tsx index db644031..f10beb3b 100644 --- a/examples/next/src/app/components/Header.tsx +++ b/examples/next/src/app/components/Header.tsx @@ -9,7 +9,7 @@ export const Header = () => { return ( - Sequence kit + Sequence kit { }} src="kit-logo-text.svg" alt="Sequence Kit Text Logo" + disableAnimation /> diff --git a/examples/next/src/app/layout.tsx b/examples/next/src/app/layout.tsx index 378ab363..b15b11a5 100644 --- a/examples/next/src/app/layout.tsx +++ b/examples/next/src/app/layout.tsx @@ -1,10 +1,14 @@ import { ThemeProvider } from '@0xsequence/design-system' import type { Metadata } from 'next' import { Inter } from 'next/font/google' +import { headers } from 'next/headers' +import { cookieToInitialState } from 'wagmi' import './globals.css' import '@0xsequence/design-system/styles.css' +import { wagmiConfig } from '../config' + import { Providers } from './Providers' const inter = Inter({ subsets: ['latin'] }) @@ -19,11 +23,13 @@ export default function RootLayout({ }: Readonly<{ children: React.ReactNode }>) { + const initialState = cookieToInitialState(wagmiConfig, headers().get('cookie')) + return ( - {children} + {children} diff --git a/examples/next/src/app/page.tsx b/examples/next/src/app/page.tsx index a3eda68c..9d16959b 100644 --- a/examples/next/src/app/page.tsx +++ b/examples/next/src/app/page.tsx @@ -16,10 +16,10 @@ export default function Home() { {!isConnected ? ( - Next + Next - Sequence Kit Logo + Sequence Kit Logo Sequence Kit Text Logo diff --git a/examples/next/src/config.ts b/examples/next/src/config.ts index 45c4716f..b9775175 100644 --- a/examples/next/src/config.ts +++ b/examples/next/src/config.ts @@ -2,7 +2,7 @@ import { KitConfig, getKitConnectWallets } from '@0xsequence/kit' import { getDefaultConnectors, getDefaultWaasConnectors, mock } from '@0xsequence/kit-connectors' import { findNetworkConfig, allNetworks } from '@0xsequence/network' import { Transport, zeroAddress } from 'viem' -import { createConfig, createStorage, http, noopStorage } from 'wagmi' +import { cookieStorage, createConfig, createStorage, http } from 'wagmi' import { Chain, arbitrumNova, arbitrumSepolia, mainnet, polygon } from 'wagmi/chains' export type ConnectionMode = 'waas' | 'universal' @@ -83,9 +83,10 @@ export const wagmiConfig = createConfig({ transports, chains, connectors: connectionMode === 'waas' ? getWaasConnectors() : getUniversalConnectors(), - storage: createStorage({ - storage: typeof window !== 'undefined' && window.localStorage ? window.localStorage : noopStorage - }), + // storage: createStorage({ + // storage: typeof window !== 'undefined' && window.localStorage ? window.localStorage : noopStorage + // }), + storage: createStorage({ storage: cookieStorage }), ssr: true }) diff --git a/examples/next/turbo.json b/examples/next/turbo.json new file mode 100644 index 00000000..efbfa99f --- /dev/null +++ b/examples/next/turbo.json @@ -0,0 +1,8 @@ +{ + "extends": ["//"], + "pipeline": { + "build": { + "outputs": [".next/**", "!.next/cache/**"] + } + } +} diff --git a/examples/react/package.json b/examples/react/package.json index 3233ecc0..7ef38251 100644 --- a/examples/react/package.json +++ b/examples/react/package.json @@ -5,8 +5,7 @@ "homepage": "kit", "type": "module", "scripts": { - "dev": "pnpm start", - "start": "vite", + "dev": "vite", "build": "vite build && touch ./dist/.nojekyll", "serve": "vite preview", "typecheck": "tsc --noEmit" diff --git a/examples/react/src/components/Homepage.tsx b/examples/react/src/components/Homepage.tsx index 507f1e8e..05130e1a 100644 --- a/examples/react/src/components/Homepage.tsx +++ b/examples/react/src/components/Homepage.tsx @@ -29,10 +29,11 @@ import { } from '@0xsequence/kit' import { useCheckoutModal } from '@0xsequence/kit-checkout' import { useOpenWalletModal } from '@0xsequence/kit-wallet' -import { allNetworks } from '@0xsequence/network' +import { ChainId, allNetworks } from '@0xsequence/network' import { ethers } from 'ethers' import { AnimatePresence } from 'framer-motion' import React, { useEffect } from 'react' +import { formatUnits, parseUnits } from 'viem' import { useDisconnect, useAccount, @@ -44,7 +45,6 @@ import { useWriteContract, useConnections } from 'wagmi' -import { formatUnits, parseUnits } from 'viem' import { ConnectionMode } from '../config' import { messageToSign } from '../constants' @@ -97,7 +97,7 @@ export const Homepage = () => { localStorage.getItem('confirmationEnabled') === 'true' ) - const [pendingFeeOptionConfirmation, confirmPendingFeeOption, rejectPendingFeeOption] = useWaasFeeOptions() + const [pendingFeeOptionConfirmation, confirmPendingFeeOption] = useWaasFeeOptions() const [selectedFeeOptionTokenName, setSelectedFeeOptionTokenName] = React.useState() @@ -369,7 +369,7 @@ export const Homepage = () => { address || '', checkoutTokenContractAddress, checkoutTokenId, - 137, + ChainId.POLYGON, 1, true ) @@ -382,10 +382,10 @@ export const Homepage = () => { } const onSwitchNetwork = () => { - if (chainId === 421614) { - switchChain({ chainId: 42170 }) + if (chainId === ChainId.ARBITRUM_SEPOLIA) { + switchChain({ chainId: ChainId.ARBITRUM_NOVA }) } else { - switchChain({ chainId: 421614 }) + switchChain({ chainId: ChainId.ARBITRUM_SEPOLIA }) } setLastTxnDataHash(undefined) diff --git a/examples/react/src/utils/helpers.ts b/examples/react/src/utils/helpers.ts index 1ce3965e..8fe98230 100644 --- a/examples/react/src/utils/helpers.ts +++ b/examples/react/src/utils/helpers.ts @@ -1,8 +1,6 @@ import { CheckoutSettings } from '@0xsequence/kit-checkout' import { Address } from 'viem' -import { ConnectionMode } from '../config' - export const truncateAtMiddle = (text: string, truncateAt: number) => { let finalText = text diff --git a/package.json b/package.json index 192a5467..cfa7fe65 100644 --- a/package.json +++ b/package.json @@ -4,40 +4,31 @@ "license": "Apache-2.0", "sideEffects": false, "scripts": { - "build": "pnpm dev && pnpm typecheck && preconstruct build", - "watch": "preconstruct watch", - "clean": "rimraf -g ./**/node_modules", - "changeset": "changeset", - "version-packages": "changeset version", - "release": "pnpm build && changeset publish", - "deps": "pnpx taze -r", - "test": "pnpm -r test", + "build": "turbo run build --filter={packages/*}", + "build:clean": "turbo run build:clean", + "reinstall": "rimraf -g ./**/node_modules && pnpm install", + "test": "turbo run test", "lint": "eslint -c .eslintrc.js 'packages/**/src/**/*.{ts,tsx}'", "lint:fix": "eslint -c .eslintrc.js --fix 'packages/**/src/**/*.{ts,tsx}'", "format": "prettier --list-different --write './{packages,examples}/*/src/**/*.{ts,tsx}'", "audit:fix": "pnpm audit --fix", "typecheck": "tsc --noEmit", - "dev": "preconstruct dev", - "postinstall": "preconstruct dev", - "start:react": "pnpm --filter @0xsequence/kit-example-react start", + "deps": "pnpx taze -r", + "changeset": "changeset", + "changeset:version": "changeset version", + "changeset:publish": "pnpm build && changeset publish", + "dev:react": "pnpm --filter @0xsequence/kit-example-react dev", "serve:react": "pnpm --filter @0xsequence/kit-example-react serve", "build:react": "pnpm --filter @0xsequence/kit-example-react build", - "start:next": "pnpm --filter @0xsequence/kit-example-next dev", + "dev:next": "pnpm --filter @0xsequence/kit-example-next dev", "serve:next": "pnpm --filter @0xsequence/kit-example-next start", "build:next": "pnpm --filter @0xsequence/kit-example-next build" }, "devDependencies": { "@0xsequence/kit": "workspace:*", "@0xsequence/kit-connectors": "workspace:*", - "@babel/core": "^7.24.5", - "@babel/plugin-transform-class-properties": "^7.24.1", - "@babel/preset-env": "^7.24.5", - "@babel/preset-react": "^7.24.1", - "@babel/preset-typescript": "^7.24.1", - "@babel/runtime": "^7.24.5", "@changesets/changelog-github": "^0.5.0", - "@changesets/cli": "^2.27.3", - "@preconstruct/cli": "^2.8.4", + "@changesets/cli": "^2.25.2", "@types/node": "^20.12.12", "@types/react": "^18.3.2", "@types/react-dom": "^18.3.0", @@ -54,17 +45,9 @@ "react": "^18.3.1", "react-dom": "^18.3.1", "rimraf": "^5.0.7", + "turbo": "1.13.3", "typescript": "~5.4.5", "wagmi": "^2.9.5" }, - "resolutions": {}, - "workspaces": [ - "packages/*", - "examples/*" - ], - "preconstruct": { - "packages": [ - "packages/*" - ] - } + "resolutions": {} } diff --git a/packages/checkout/.babelrc b/packages/checkout/.babelrc deleted file mode 100644 index 9786d29b..00000000 --- a/packages/checkout/.babelrc +++ /dev/null @@ -1,11 +0,0 @@ -{ - "plugins": [ - ["module-resolver", { - "root": ["./src"], - "alias": { - "test": "./test", - "underscore": "lodash" - } - }] - ] -} \ No newline at end of file diff --git a/packages/checkout/package.json b/packages/checkout/package.json index a9013794..114e7418 100644 --- a/packages/checkout/package.json +++ b/packages/checkout/package.json @@ -3,12 +3,29 @@ "version": "2.7.0", "description": "Checkout UI for Sequence Kit", "repository": "https://github.com/0xsequence/kit/tree/master/packages/checkout", - "main": "dist/0xsequence-kit-checkout.cjs.js", - "module": "dist/0xsequence-kit-checkout.esm.js", - "types": "dist/0xsequence-kit-checkout.cjs.d.ts", "author": "Horizon Blockchain Games", "license": "Apache-2.0", + "main": "dist/cjs/index.js", + "module": "dist/esm/index.js", + "types": "dist/types/index.d.ts", + "exports": { + ".": { + "types": "./dist/types/index.d.ts", + "require": "./dist/cjs/index.js", + "import": "./dist/esm/index.js", + "default": "./dist/esm/index.js" + } + }, + "files": [ + "src", + "dist" + ], "scripts": { + "build": "pnpm build:clean && pnpm build:esm && pnpm build:cjs && pnpm build:types", + "build:cjs": "tsc --module commonjs --outDir dist/cjs/", + "build:esm": "tsc --module es2022 --outDir dist/esm/", + "build:types": "tsc --declaration --declarationMap --emitDeclarationOnly --declarationDir dist/types/", + "build:clean": "rimraf -g ./dist", "test": "echo", "typecheck": "tsc --noEmit" }, @@ -36,15 +53,10 @@ "@0xsequence/design-system": "^1.7.1", "@0xsequence/kit": "workspace:*", "@types/react-copy-to-clipboard": "^5.0.7", - "babel-plugin-module-resolver": "^5.0.2", "ethers": "^5.7.2", "framer-motion": "^8.5.2", "react": "^18.3.1", "react-dom": "^18.3.1", "wagmi": "^2.9.5" - }, - "files": [ - "src", - "dist" - ] + } } diff --git a/packages/checkout/src/contexts/CheckoutModal.ts b/packages/checkout/src/contexts/CheckoutModal.ts index c06a9e8e..7f018c87 100644 --- a/packages/checkout/src/contexts/CheckoutModal.ts +++ b/packages/checkout/src/contexts/CheckoutModal.ts @@ -1,3 +1,5 @@ +'use client' + import { Theme } from '@0xsequence/kit' import { createGenericContext } from './genericContext' diff --git a/packages/checkout/src/contexts/Navigation.ts b/packages/checkout/src/contexts/Navigation.ts index 90b91497..1a7203c4 100644 --- a/packages/checkout/src/contexts/Navigation.ts +++ b/packages/checkout/src/contexts/Navigation.ts @@ -1,3 +1,5 @@ +'use client' + import { createGenericContext } from './genericContext' export interface SelectCheckoutNavigation { diff --git a/packages/checkout/src/shared/components/KitCheckoutProvider.tsx b/packages/checkout/src/shared/components/KitCheckoutProvider.tsx index 1fdbed0b..58173db8 100644 --- a/packages/checkout/src/shared/components/KitCheckoutProvider.tsx +++ b/packages/checkout/src/shared/components/KitCheckoutProvider.tsx @@ -1,3 +1,5 @@ +'use client' + import { Box, Modal, ThemeProvider } from '@0xsequence/design-system' import { getModalPositionCss, useTheme } from '@0xsequence/kit' import { QueryClient, QueryClientProvider } from '@tanstack/react-query' diff --git a/packages/checkout/src/views/TransactionSuccess.tsx b/packages/checkout/src/views/TransactionSuccess.tsx index f483f8f7..803f9164 100644 --- a/packages/checkout/src/views/TransactionSuccess.tsx +++ b/packages/checkout/src/views/TransactionSuccess.tsx @@ -1,5 +1,6 @@ import { sequence } from '0xsequence' import { Box, CheckmarkIcon, Text } from '@0xsequence/design-system' +import { ChainId } from '@0xsequence/network' import React, { useEffect } from 'react' import { TransactionSuccessNavigation } from '../contexts' @@ -10,7 +11,7 @@ export const TransactionSuccess = () => { const nav = useNavigation() const navigation = nav.navigation as TransactionSuccessNavigation - const chainId = settings?.sardineCheckout?.chainId || 137 + const chainId = settings?.sardineCheckout?.chainId || ChainId.POLYGON const network = sequence.network.allNetworks.find(n => n.chainId === chainId) useEffect(() => { diff --git a/packages/checkout/tsconfig.json b/packages/checkout/tsconfig.json index a667e322..b4416ddf 100644 --- a/packages/checkout/tsconfig.json +++ b/packages/checkout/tsconfig.json @@ -1,30 +1,20 @@ { "compilerOptions": { - "target": "es2021", - "module": "esnext", - "moduleResolution": "node", - "declaration": true, "esModuleInterop": true, - "resolveJsonModule": true, - "allowSyntheticDefaultImports": true, + "skipLibCheck": true, + "target": "es2022", "allowJs": true, - "strictNullChecks": true, - "noImplicitAny": true, - "noImplicitReturns": true, + "resolveJsonModule": true, + "moduleDetection": "force", "isolatedModules": true, - "skipLibCheck": true, - "jsx": "react-jsx", - "typeRoots": [ - "node_modules/@types", - "src/types" - ], - "types": [ - "node" - ], - "baseUrl": "./", - "paths": { - "~/*": ["src/*"] - } + "strict": true, + // "noUncheckedIndexedAccess": true, + "module": "ESNext", + "moduleResolution": "Node", + "sourceMap": true, + "declaration": false, + "lib": ["es2022", "dom", "dom.iterable"], + "jsx": "react-jsx" }, "include": ["./src/**/*.ts", "./src/**/*.tsx"] } diff --git a/packages/connectors/package.json b/packages/connectors/package.json index fddab032..4755a458 100644 --- a/packages/connectors/package.json +++ b/packages/connectors/package.json @@ -3,12 +3,29 @@ "version": "2.7.0", "description": "Wallets for Sequence Kit", "repository": "https://github.com/0xsequence/kit/tree/master/packages/connectors", - "main": "dist/0xsequence-kit-connectors.cjs.js", - "module": "dist/0xsequence-kit-connectors.esm.js", - "types": "dist/0xsequence-kit-connectors.cjs.d.ts", "author": "Horizon Blockchain Games", "license": "Apache-2.0", + "main": "dist/cjs/index.js", + "module": "dist/esm/index.js", + "types": "dist/types/index.d.ts", + "exports": { + ".": { + "types": "./dist/types/index.d.ts", + "require": "./dist/cjs/index.js", + "import": "./dist/esm/index.js", + "default": "./dist/esm/index.js" + } + }, + "files": [ + "src", + "dist" + ], "scripts": { + "build": "pnpm build:clean && pnpm build:esm && pnpm build:cjs && pnpm build:types", + "build:cjs": "tsc --module commonjs --outDir dist/cjs/", + "build:esm": "tsc --module es2022 --outDir dist/esm/", + "build:types": "tsc --declaration --declarationMap --emitDeclarationOnly --declarationDir dist/types/", + "build:clean": "rimraf -g ./dist", "test": "echo", "typecheck": "tsc --noEmit" }, @@ -33,9 +50,5 @@ "uuid": ">=8.3.2", "viem": ">=2.0.0", "wagmi": ">=2.0.0" - }, - "files": [ - "src", - "dist" - ] + } } diff --git a/packages/connectors/src/connectors/injected/injected.ts b/packages/connectors/src/connectors/injected/injected.ts index 184eb994..4421a46c 100644 --- a/packages/connectors/src/connectors/injected/injected.ts +++ b/packages/connectors/src/connectors/injected/injected.ts @@ -1,18 +1,9 @@ import { Wallet } from '@0xsequence/kit' -import { ethers } from 'ethers' import React from 'react' import { injected as injectedBase } from 'wagmi/connectors' import { InjectedLogo } from './InjectedLogo' - -declare global { - interface Window { - /* @ts-ignore-next-line */ - ethereum?: ethers.providers.ExternalProvider - } -} - export interface MoreExternalProviders { isSequence?: boolean } diff --git a/packages/connectors/src/defaultConnectors.ts b/packages/connectors/src/defaultConnectors.ts index bcba88a3..e8718ca3 100644 --- a/packages/connectors/src/defaultConnectors.ts +++ b/packages/connectors/src/defaultConnectors.ts @@ -3,9 +3,9 @@ import { CreateConnectorFn } from 'wagmi' import { apple } from './connectors/apple' import { appleWaas } from './connectors/apple/appleWaas' -import { emailWaas } from './connectors/email/emailWaas' import { coinbaseWallet } from './connectors/coinbaseWallet' import { email } from './connectors/email' +import { emailWaas } from './connectors/email/emailWaas' import { facebook } from './connectors/facebook' import { google } from './connectors/google' import { googleWaas } from './connectors/google/googleWaas' diff --git a/packages/connectors/tsconfig.json b/packages/connectors/tsconfig.json new file mode 100644 index 00000000..b4416ddf --- /dev/null +++ b/packages/connectors/tsconfig.json @@ -0,0 +1,20 @@ +{ + "compilerOptions": { + "esModuleInterop": true, + "skipLibCheck": true, + "target": "es2022", + "allowJs": true, + "resolveJsonModule": true, + "moduleDetection": "force", + "isolatedModules": true, + "strict": true, + // "noUncheckedIndexedAccess": true, + "module": "ESNext", + "moduleResolution": "Node", + "sourceMap": true, + "declaration": false, + "lib": ["es2022", "dom", "dom.iterable"], + "jsx": "react-jsx" + }, + "include": ["./src/**/*.ts", "./src/**/*.tsx"] +} diff --git a/packages/kit/package.json b/packages/kit/package.json index 37e97915..1b743335 100644 --- a/packages/kit/package.json +++ b/packages/kit/package.json @@ -8,12 +8,29 @@ "wallet" ], "repository": "https://github.com/0xsequence/kit/tree/master/packages/kit", - "main": "dist/0xsequence-kit.cjs.js", - "module": "dist/0xsequence-kit.esm.js", - "types": "dist/0xsequence-kit.cjs.d.ts", "author": "Horizon Blockchain Games", "license": "Apache-2.0", + "main": "dist/cjs/index.js", + "module": "dist/esm/index.js", + "types": "dist/types/index.d.ts", + "exports": { + ".": { + "types": "./dist/types/index.d.ts", + "require": "./dist/cjs/index.js", + "import": "./dist/esm/index.js", + "default": "./dist/esm/index.js" + } + }, + "files": [ + "src", + "dist" + ], "scripts": { + "build": "pnpm build:clean && pnpm build:esm && pnpm build:cjs && pnpm build:types", + "build:cjs": "tsc --module commonjs --outDir dist/cjs/", + "build:esm": "tsc --module es2022 --outDir dist/esm/", + "build:types": "tsc --declaration --declarationMap --emitDeclarationOnly --declarationDir dist/types/", + "build:clean": "rimraf -g ./dist", "test": "echo", "typecheck": "tsc --noEmit" }, @@ -48,9 +65,5 @@ "ethers": "5.7.2", "viem": "^2.12.0", "wagmi": "^2.9.5" - }, - "files": [ - "src", - "dist" - ] + } } diff --git a/packages/kit/src/components/KitProvider/ConnectWalletContent/index.tsx b/packages/kit/src/components/KitProvider/ConnectWalletContent/index.tsx index 0823314a..e030a09f 100644 --- a/packages/kit/src/components/KitProvider/ConnectWalletContent/index.tsx +++ b/packages/kit/src/components/KitProvider/ConnectWalletContent/index.tsx @@ -147,7 +147,7 @@ export const ConnectWalletContent = (props: ConnectWalletContentProps) => { // Open Metamask download page if Metamask window.ethereum is not found if (connector._wallet.id === 'metamask' && typeof window !== 'undefined') { - const isMetamaskFound = !!window?.ethereum?._metamask + const isMetamaskFound = !!(window as any)?.ethereum?._metamask if (!isMetamaskFound) { window.open('https://metamask.io/download/') diff --git a/packages/kit/src/components/KitProvider/TxnDetails/index.tsx b/packages/kit/src/components/KitProvider/TxnDetails/index.tsx index 7b8693aa..8083a4d9 100644 --- a/packages/kit/src/components/KitProvider/TxnDetails/index.tsx +++ b/packages/kit/src/components/KitProvider/TxnDetails/index.tsx @@ -47,14 +47,15 @@ export const TxnDetails = ({ address, txs, chainId }: TxnDetailsProps) => { const getTxnProps = async () => { const decodedTxnDatas = await decodeTransactions(apiClient, address, txs) + const type = decodedTxnDatas[0]?.type - setDecodingType(decodedTxnDatas[0].type) + setDecodingType(type) - if (decodedTxnDatas[0].type === 'transfer') { + if (type === DecodingType.TRANSFER) { setTransferProps(decodedTxnDatas as TransferProps[]) } - if (decodedTxnDatas[0].type === 'awardItem') { + if (type === DecodingType.AWARD_ITEM) { setAwardItemProps(decodedTxnDatas as AwardItemProps[]) } } @@ -71,27 +72,27 @@ export const TxnDetails = ({ address, txs, chainId }: TxnDetailsProps) => { return <> } - if (transferProps.length >= 1) { - return + if (transferProps[0]) { + return } - if (awardItemProps.length >= 1) { + if (awardItemProps[0]) { return } } interface TransferItemInfoProps { address: string - transferProps: TransferProps[] + transferProps: TransferProps chainId: number } const TransferItemInfo = ({ address, transferProps, chainId }: TransferItemInfoProps) => { const { chains } = useConfig() - const contractAddress: string | undefined = transferProps[0]?.contractAddress - const toAddress: string | undefined = transferProps[0]?.to + const contractAddress = transferProps.contractAddress + const toAddress: string | undefined = transferProps.to const isNativeCoin = contractAddress ? compareAddress(contractAddress, ethers.constants.AddressZero) : true - const is1155 = transferProps[0]?.contractType === ContractType.ERC1155 - const isNFT = transferProps[0]?.contractType === ContractType.ERC1155 || transferProps[0]?.contractType === ContractType.ERC721 + const is1155 = transferProps.contractType === ContractType.ERC1155 + const isNFT = transferProps.contractType === ContractType.ERC1155 || transferProps.contractType === ContractType.ERC721 const nativeTokenInfo = getNativeTokenInfoByChainId(chainId, chains) const { data: balances = [] } = useBalances({ @@ -100,7 +101,7 @@ const TransferItemInfo = ({ address, transferProps, chainId }: TransferItemInfoP contractAddress }) - const { data: tokenMetadata } = useTokenMetadata(chainId, contractAddress, transferProps[0]?.tokenIds ?? []) + const { data: tokenMetadata } = useTokenMetadata(chainId, contractAddress, transferProps.tokenIds ?? []) const tokenBalance = contractAddress ? balances.find(b => compareAddress(b.contractAddress, contractAddress)) : undefined const decimals = isNativeCoin ? nativeTokenInfo.decimals : tokenBalance?.contractInfo?.decimals || 18 @@ -113,14 +114,14 @@ const TransferItemInfo = ({ address, transferProps, chainId }: TransferItemInfoP const name = isNativeCoin ? nativeTokenInfo.name : isNFT ? tokenMetadata?.[0]?.name : tokenBalance?.contractInfo?.name || '' const symbol = isNativeCoin ? nativeTokenInfo.symbol : isNFT ? '' : tokenBalance?.contractInfo?.symbol || '' - const amountSending = transferProps[0]?.amounts?.[0] ?? transferProps[0]?.value + const amountSending = transferProps.amounts[0] ?? transferProps.value const showSquareImage = isNFT return ( - {capitalize(transferProps[0]?.type ?? '')} + {capitalize(transferProps.type ?? '')} diff --git a/packages/kit/src/components/KitProvider/index.tsx b/packages/kit/src/components/KitProvider/index.tsx index 62d8608a..f7e702e8 100644 --- a/packages/kit/src/components/KitProvider/index.tsx +++ b/packages/kit/src/components/KitProvider/index.tsx @@ -1,5 +1,8 @@ +'use client' + import { sequence } from '0xsequence' import { Box, Button, Card, Collapsible, Modal, Text, ThemeProvider } from '@0xsequence/design-system' +import { ChainId } from '@0xsequence/network' import { GoogleOAuthProvider } from '@react-oauth/google' import { ethers } from 'ethers' import { AnimatePresence } from 'framer-motion' @@ -37,7 +40,7 @@ export const KitProvider = (props: KitConnectProviderProps) => { position = 'center', displayedAssets: displayedAssetsSetting = [], ethAuth = {} as EthAuthSettings, - disableAnalytics = false, + disableAnalytics = false } = config const defaultAppName = signIn.projectName || 'app' @@ -247,7 +250,7 @@ export const KitProvider = (props: KitConnectProviderProps) => { diff --git a/packages/kit/src/contexts/Analytics.ts b/packages/kit/src/contexts/Analytics.ts index 98f3ec2f..4f39f55b 100644 --- a/packages/kit/src/contexts/Analytics.ts +++ b/packages/kit/src/contexts/Analytics.ts @@ -1,3 +1,5 @@ +'use client' + import { sequence } from '0xsequence' import React from 'react' diff --git a/packages/kit/src/contexts/ConnectModal.ts b/packages/kit/src/contexts/ConnectModal.ts index 727338c7..fd69649c 100644 --- a/packages/kit/src/contexts/ConnectModal.ts +++ b/packages/kit/src/contexts/ConnectModal.ts @@ -1,3 +1,5 @@ +'use client' + import React from 'react' import { createGenericContext } from './genericContext' diff --git a/packages/kit/src/contexts/KitConfig.ts b/packages/kit/src/contexts/KitConfig.ts index a7cc9cbb..5cd8910f 100644 --- a/packages/kit/src/contexts/KitConfig.ts +++ b/packages/kit/src/contexts/KitConfig.ts @@ -1,3 +1,5 @@ +'use client' + import { KitConfig } from '../types' import { createGenericContext } from './genericContext' diff --git a/packages/kit/src/contexts/Theme.ts b/packages/kit/src/contexts/Theme.ts index c22ae8b6..86ab14d2 100644 --- a/packages/kit/src/contexts/Theme.ts +++ b/packages/kit/src/contexts/Theme.ts @@ -1,3 +1,5 @@ +'use client' + import React from 'react' import { ModalPosition, Theme } from '../index' diff --git a/packages/kit/src/contexts/WalletSettings.ts b/packages/kit/src/contexts/WalletSettings.ts index 722adc2d..a33627fb 100644 --- a/packages/kit/src/contexts/WalletSettings.ts +++ b/packages/kit/src/contexts/WalletSettings.ts @@ -1,3 +1,5 @@ +'use client' + import React from 'react' import { DisplayedAsset } from '../types' diff --git a/packages/kit/src/hooks/useAPIClient.ts b/packages/kit/src/hooks/useAPIClient.ts index 0ceff858..5b4d879a 100644 --- a/packages/kit/src/hooks/useAPIClient.ts +++ b/packages/kit/src/hooks/useAPIClient.ts @@ -1,12 +1,13 @@ import { SequenceAPIClient } from '@0xsequence/api' import { useMemo } from 'react' -import { useProjectAccessKey } from './useProjectAccessKey' import { useKitConfig } from '../contexts/KitConfig' +import { useProjectAccessKey } from './useProjectAccessKey' + export const useAPIClient = () => { const projectAccessKey = useProjectAccessKey() - const { isDev = false } = useKitConfig() + const { isDev = false } = useKitConfig() const clientUrl = isDev ? 'https://dev-api.sequence.app' : 'https://api.sequence.app' diff --git a/packages/kit/src/hooks/useIndexerClient.ts b/packages/kit/src/hooks/useIndexerClient.ts index a43a6b0c..5ffbcc4f 100644 --- a/packages/kit/src/hooks/useIndexerClient.ts +++ b/packages/kit/src/hooks/useIndexerClient.ts @@ -2,14 +2,14 @@ import { SequenceIndexer } from '@0xsequence/indexer' import { ChainId, networks } from '@0xsequence/network' import { useMemo } from 'react' -import { useProjectAccessKey } from './useProjectAccessKey' - import { useKitConfig } from '../contexts/KitConfig' +import { useProjectAccessKey } from './useProjectAccessKey' + export const useIndexerClient = (chainId: ChainId) => { const projectAccessKey = useProjectAccessKey() - const { isDev = false } = useKitConfig() + const { isDev = false } = useKitConfig() const indexerClients = useMemo(() => { return new Map() @@ -18,7 +18,6 @@ export const useIndexerClient = (chainId: ChainId) => { const network = networks[chainId] const clientUrl = isDev ? `https://dev-${network.name}-indexer.sequence.app` : `https://${network.name}-indexer.sequence.app` - if (!indexerClients.has(chainId)) { indexerClients.set(chainId, new SequenceIndexer(clientUrl, projectAccessKey)) } @@ -35,7 +34,7 @@ export const useIndexerClient = (chainId: ChainId) => { export const useIndexerClients = (chainIds: ChainId[]) => { const projectAccessKey = useProjectAccessKey() - const { isDev = false, ...rest } = useKitConfig() + const { isDev = false } = useKitConfig() const indexerClients = useMemo(() => { return new Map() diff --git a/packages/kit/src/hooks/useMetadataClient.ts b/packages/kit/src/hooks/useMetadataClient.ts index ab212220..c3aec1f3 100644 --- a/packages/kit/src/hooks/useMetadataClient.ts +++ b/packages/kit/src/hooks/useMetadataClient.ts @@ -1,14 +1,14 @@ import { SequenceMetadata } from '@0xsequence/metadata' import { useMemo } from 'react' -import { useProjectAccessKey } from './useProjectAccessKey' - import { useKitConfig } from '../contexts/KitConfig' +import { useProjectAccessKey } from './useProjectAccessKey' + export const useMetadataClient = () => { const projectAccessKey = useProjectAccessKey() - const { isDev = false } = useKitConfig() + const { isDev = false } = useKitConfig() const metadataClient = useMemo(() => { const clientUrl = isDev ? 'https://dev-metadata.sequence.app' : 'https://metadata.sequence.app' diff --git a/packages/kit/src/hooks/useWaasFeeOptions.ts b/packages/kit/src/hooks/useWaasFeeOptions.ts index 29cb97f0..690ba932 100644 --- a/packages/kit/src/hooks/useWaasFeeOptions.ts +++ b/packages/kit/src/hooks/useWaasFeeOptions.ts @@ -1,3 +1,5 @@ +'use client' + import { FeeOption } from '@0xsequence/waas' import { ethers } from 'ethers' import { useState, useEffect } from 'react' diff --git a/packages/kit/src/utils/tokens.ts b/packages/kit/src/utils/tokens.ts index 42aa938a..cfa52dd2 100644 --- a/packages/kit/src/utils/tokens.ts +++ b/packages/kit/src/utils/tokens.ts @@ -117,7 +117,7 @@ export const defaultNativeTokenInfo = (chainId: number, wagmiChains: readonly [C name: foundChain.nativeCurrency.name, symbol: foundChain.nativeCurrency.symbol, decimals: foundChain.nativeCurrency.decimals, - logoURI: nativeTokenInfos[1].logoURI, + logoURI: nativeTokenInfos[ChainId.MAINNET]!.logoURI, blockExplorerName: foundChain.blockExplorers?.default.name, blockExplorerUrl: foundChain.blockExplorers?.default.url } @@ -127,5 +127,5 @@ export const defaultNativeTokenInfo = (chainId: number, wagmiChains: readonly [C } export const getNativeTokenInfoByChainId = (chainId: number, wagmiChains: readonly [Chain, ...Chain[]]) => { - return nativeTokenInfos[chainId] || defaultNativeTokenInfo(chainId, wagmiChains) || nativeTokenInfos[1] + return nativeTokenInfos[chainId] || defaultNativeTokenInfo(chainId, wagmiChains) || nativeTokenInfos[ChainId.MAINNET]! } diff --git a/packages/kit/tsconfig.json b/packages/kit/tsconfig.json new file mode 100644 index 00000000..b4416ddf --- /dev/null +++ b/packages/kit/tsconfig.json @@ -0,0 +1,20 @@ +{ + "compilerOptions": { + "esModuleInterop": true, + "skipLibCheck": true, + "target": "es2022", + "allowJs": true, + "resolveJsonModule": true, + "moduleDetection": "force", + "isolatedModules": true, + "strict": true, + // "noUncheckedIndexedAccess": true, + "module": "ESNext", + "moduleResolution": "Node", + "sourceMap": true, + "declaration": false, + "lib": ["es2022", "dom", "dom.iterable"], + "jsx": "react-jsx" + }, + "include": ["./src/**/*.ts", "./src/**/*.tsx"] +} diff --git a/packages/wallet/.babelrc b/packages/wallet/.babelrc deleted file mode 100644 index 9786d29b..00000000 --- a/packages/wallet/.babelrc +++ /dev/null @@ -1,11 +0,0 @@ -{ - "plugins": [ - ["module-resolver", { - "root": ["./src"], - "alias": { - "test": "./test", - "underscore": "lodash" - } - }] - ] -} \ No newline at end of file diff --git a/packages/wallet/package.json b/packages/wallet/package.json index 4a93bf6a..49d3f731 100644 --- a/packages/wallet/package.json +++ b/packages/wallet/package.json @@ -3,12 +3,29 @@ "version": "2.7.0", "description": "Wallet UI for Sequence Kit", "repository": "https://github.com/0xsequence/kit/tree/master/packages/wallet", - "main": "dist/0xsequence-kit-wallet.cjs.js", - "module": "dist/0xsequence-kit-wallet.esm.js", - "types": "dist/0xsequence-kit-wallet.cjs.d.ts", "author": "Horizon Blockchain Games", "license": "Apache-2.0", + "main": "dist/cjs/index.js", + "module": "dist/esm/index.js", + "types": "dist/types/index.d.ts", + "exports": { + ".": { + "types": "./dist/types/index.d.ts", + "require": "./dist/cjs/index.js", + "import": "./dist/esm/index.js", + "default": "./dist/esm/index.js" + } + }, + "files": [ + "src", + "dist" + ], "scripts": { + "build": "pnpm build:clean && pnpm build:esm && pnpm build:cjs && pnpm build:types", + "build:cjs": "tsc --module commonjs --outDir dist/cjs/", + "build:esm": "tsc --module es2022 --outDir dist/esm/", + "build:types": "tsc --declaration --declarationMap --emitDeclarationOnly --declarationDir dist/types/", + "build:clean": "rimraf -g ./dist", "test": "echo", "typecheck": "tsc --noEmit" }, @@ -40,15 +57,10 @@ "@0xsequence/design-system": "^1.7.1", "@0xsequence/kit": "workspace:*", "@types/react-copy-to-clipboard": "^5.0.7", - "babel-plugin-module-resolver": "^5.0.2", "ethers": "^5.7.2", "framer-motion": "^8.5.2", "react": "^18.3.1", "react-dom": "^18.3.1", "wagmi": "^2.9.5" - }, - "files": [ - "src", - "dist" - ] + } } diff --git a/packages/wallet/src/contexts/Navigation.ts b/packages/wallet/src/contexts/Navigation.ts index 54080496..18a375f4 100644 --- a/packages/wallet/src/contexts/Navigation.ts +++ b/packages/wallet/src/contexts/Navigation.ts @@ -1,3 +1,5 @@ +'use client' + import { Transaction } from '@0xsequence/indexer' import { createGenericContext } from './genericContext' diff --git a/packages/wallet/src/contexts/WalletModal.ts b/packages/wallet/src/contexts/WalletModal.ts index d6734406..2b7c4054 100644 --- a/packages/wallet/src/contexts/WalletModal.ts +++ b/packages/wallet/src/contexts/WalletModal.ts @@ -1,3 +1,5 @@ +'use client' + import React from 'react' import { createGenericContext } from './genericContext' diff --git a/packages/wallet/src/shared/KitWalletProvider/index.tsx b/packages/wallet/src/shared/KitWalletProvider/index.tsx index de9aa9a8..d886540c 100644 --- a/packages/wallet/src/shared/KitWalletProvider/index.tsx +++ b/packages/wallet/src/shared/KitWalletProvider/index.tsx @@ -1,3 +1,5 @@ +'use client' + import { Box, Modal, ThemeProvider, Scroll } from '@0xsequence/design-system' import { getModalPositionCss, useTheme } from '@0xsequence/kit' import { QueryClient, QueryClientProvider } from '@tanstack/react-query' diff --git a/packages/wallet/tsconfig.json b/packages/wallet/tsconfig.json index a667e322..b4416ddf 100644 --- a/packages/wallet/tsconfig.json +++ b/packages/wallet/tsconfig.json @@ -1,30 +1,20 @@ { "compilerOptions": { - "target": "es2021", - "module": "esnext", - "moduleResolution": "node", - "declaration": true, "esModuleInterop": true, - "resolveJsonModule": true, - "allowSyntheticDefaultImports": true, + "skipLibCheck": true, + "target": "es2022", "allowJs": true, - "strictNullChecks": true, - "noImplicitAny": true, - "noImplicitReturns": true, + "resolveJsonModule": true, + "moduleDetection": "force", "isolatedModules": true, - "skipLibCheck": true, - "jsx": "react-jsx", - "typeRoots": [ - "node_modules/@types", - "src/types" - ], - "types": [ - "node" - ], - "baseUrl": "./", - "paths": { - "~/*": ["src/*"] - } + "strict": true, + // "noUncheckedIndexedAccess": true, + "module": "ESNext", + "moduleResolution": "Node", + "sourceMap": true, + "declaration": false, + "lib": ["es2022", "dom", "dom.iterable"], + "jsx": "react-jsx" }, "include": ["./src/**/*.ts", "./src/**/*.tsx"] } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 2c6fe017..8831a423 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -14,33 +14,12 @@ importers: '@0xsequence/kit-connectors': specifier: workspace:* version: link:packages/connectors - '@babel/core': - specifier: ^7.24.5 - version: 7.24.5 - '@babel/plugin-transform-class-properties': - specifier: ^7.24.1 - version: 7.24.1(@babel/core@7.24.5) - '@babel/preset-env': - specifier: ^7.24.5 - version: 7.24.5(@babel/core@7.24.5) - '@babel/preset-react': - specifier: ^7.24.1 - version: 7.24.1(@babel/core@7.24.5) - '@babel/preset-typescript': - specifier: ^7.24.1 - version: 7.24.1(@babel/core@7.24.5) - '@babel/runtime': - specifier: ^7.24.5 - version: 7.24.5 '@changesets/changelog-github': specifier: ^0.5.0 version: 0.5.0 '@changesets/cli': - specifier: ^2.27.3 + specifier: ^2.25.2 version: 2.27.3 - '@preconstruct/cli': - specifier: ^2.8.4 - version: 2.8.4 '@types/node': specifier: ^20.12.12 version: 20.12.12 @@ -89,12 +68,15 @@ importers: rimraf: specifier: ^5.0.7 version: 5.0.7 + turbo: + specifier: 1.13.3 + version: 1.13.3 typescript: specifier: ~5.4.5 version: 5.4.5 wagmi: specifier: ^2.9.5 - version: 2.9.5(@tanstack/query-core@5.36.1)(@tanstack/react-query@5.37.1(react@18.3.1))(@types/react@18.3.2)(bufferutil@4.0.8)(react-dom@18.3.1(react@18.3.1))(react-i18next@13.5.0(i18next@22.5.1)(react-dom@18.3.1(react@18.3.1))(react-native@0.74.1(@babel/core@7.24.5)(@babel/preset-env@7.24.5(@babel/core@7.24.5))(@types/react@18.3.2)(bufferutil@4.0.8)(react@18.3.1)(utf-8-validate@6.0.4))(react@18.3.1))(react-native@0.74.1(@babel/core@7.24.5)(@babel/preset-env@7.24.5(@babel/core@7.24.5))(@types/react@18.3.2)(bufferutil@4.0.8)(react@18.3.1)(utf-8-validate@6.0.4))(react@18.3.1)(rollup@2.79.1)(typescript@5.4.5)(utf-8-validate@6.0.4)(viem@2.12.0(bufferutil@4.0.8)(typescript@5.4.5)(utf-8-validate@6.0.4)(zod@3.23.8))(zod@3.23.8) + version: 2.9.5(@tanstack/query-core@5.36.1)(@tanstack/react-query@5.37.1(react@18.3.1))(@types/react@18.3.2)(bufferutil@4.0.8)(react-dom@18.3.1(react@18.3.1))(react-i18next@13.5.0(i18next@22.5.1)(react-dom@18.3.1(react@18.3.1))(react-native@0.74.1(@babel/core@7.24.5)(@babel/preset-env@7.24.5(@babel/core@7.24.5))(@types/react@18.3.2)(bufferutil@4.0.8)(react@18.3.1)(utf-8-validate@6.0.4))(react@18.3.1))(react-native@0.74.1(@babel/core@7.24.5)(@babel/preset-env@7.24.5(@babel/core@7.24.5))(@types/react@18.3.2)(bufferutil@4.0.8)(react@18.3.1)(utf-8-validate@6.0.4))(react@18.3.1)(rollup@4.18.0)(typescript@5.4.5)(utf-8-validate@6.0.4)(viem@2.12.0(bufferutil@4.0.8)(typescript@5.4.5)(utf-8-validate@6.0.4)(zod@3.23.8))(zod@3.23.8) examples/next: dependencies: @@ -263,9 +245,6 @@ importers: '@types/react-copy-to-clipboard': specifier: ^5.0.7 version: 5.0.7 - babel-plugin-module-resolver: - specifier: ^5.0.2 - version: 5.0.2 ethers: specifier: ^5.7.2 version: 5.7.2(bufferutil@4.0.8)(utf-8-validate@6.0.4) @@ -449,9 +428,6 @@ importers: '@types/react-copy-to-clipboard': specifier: ^5.0.7 version: 5.0.7 - babel-plugin-module-resolver: - specifier: ^5.0.2 - version: 5.0.2 ethers: specifier: ^5.7.2 version: 5.7.2(bufferutil@4.0.8)(utf-8-validate@6.0.4) @@ -1274,12 +1250,6 @@ packages: peerDependencies: '@babel/core': ^7.0.0-0 - '@babel/plugin-transform-react-jsx-development@7.22.5': - resolution: {integrity: sha512-bDhuzwWMuInwCYeDeMzyi7TaBgRQei6DqxhbyniL7/VG4RSS7HtSL2QbY4eESy1KJqlWt8g3xeEBGPuo+XqC8A==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': ^7.0.0-0 - '@babel/plugin-transform-react-jsx-self@7.24.5': resolution: {integrity: sha512-RtCJoUO2oYrYwFPtR1/jkoBEcFuI1ae9a9IMxeyAVa3a1Ap4AnxmyIKG2b2FaJKqkidw/0cxRbWN+HOs6ZWd1w==} engines: {node: '>=6.9.0'} @@ -1298,12 +1268,6 @@ packages: peerDependencies: '@babel/core': ^7.0.0-0 - '@babel/plugin-transform-react-pure-annotations@7.24.1': - resolution: {integrity: sha512-+pWEAaDJvSm9aFvJNpLiM2+ktl2Sn2U5DdyiWdZBxmLc6+xGt88dvFqsHiAiDS+8WqUwbDfkKz9jRxK3M0k+kA==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': ^7.0.0-0 - '@babel/plugin-transform-regenerator@7.24.1': resolution: {integrity: sha512-sJwZBCzIBE4t+5Q4IGLaaun5ExVMRY0lYwos/jNecjMrVCygCdph3IKv0tkP5Fc87e/1+bebAmEAGBfnRD+cnw==} engines: {node: '>=6.9.0'} @@ -1399,12 +1363,6 @@ packages: peerDependencies: '@babel/core': ^7.0.0-0 || ^8.0.0-0 <8.0.0 - '@babel/preset-react@7.24.1': - resolution: {integrity: sha512-eFa8up2/8cZXLIpkafhaADTXSnl7IsUFCYenRWrARBz0/qZwcT0RBXpys0LJU4+WfPoF2ZG6ew6s2V6izMCwRA==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': ^7.0.0-0 - '@babel/preset-typescript@7.24.1': resolution: {integrity: sha512-1DBaMmRDpuYQBPWD8Pf/WEwCrtgRHxsZnP4mIy9G/X+hFfbI47Q2G4t1Paakld84+qsk2fSsUPMKg71jkoOOaQ==} engines: {node: '>=6.9.0'} @@ -2201,13 +2159,6 @@ packages: resolution: {integrity: sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg==} engines: {node: '>=14'} - '@preconstruct/cli@2.8.4': - resolution: {integrity: sha512-PeNDyPmrTeqRd2g2DrBzOvu0+J/KJ5iW5zqp6RNq7lk3ZHizRRc2E73G8aShuIbn3PONEtuQvm05cllTlX2/Qw==} - hasBin: true - - '@preconstruct/hook@0.4.0': - resolution: {integrity: sha512-a7mrlPTM3tAFJyz43qb4pPVpUx8j8TzZBFsNFqcKcE/sEakNXRlQAuCT4RGZRf9dQiiUnBahzSIWawU4rENl+Q==} - '@radix-ui/number@1.0.1': resolution: {integrity: sha512-T5gIdVO2mmPW3NNhjNgEP3cqMXjXL9UbO0BzWcXfvdBs+BohbQxvd/K5hSVKmn9/lbTdsQVKbUcP5WLCwvUbBg==} @@ -2754,18 +2705,6 @@ packages: resolution: {integrity: sha512-lzD84av1ZQhYUS+jsGqJiCMaJO2dn9u+RTT9n9q6D3SaKVwWqv+7AoRKqBu19bkwyE+iFRl1ymr40QS90jVFYg==} engines: {node: '>=14.15'} - '@rollup/plugin-alias@3.1.9': - resolution: {integrity: sha512-QI5fsEvm9bDzt32k39wpOwZhVzRcL5ydcffUHMyLVaVaLeC70I8TJZ17F1z1eMoLu4E/UOcH9BWVkKpIKdrfiw==} - engines: {node: '>=8.0.0'} - peerDependencies: - rollup: ^1.20.0||^2.0.0 - - '@rollup/plugin-commonjs@15.1.0': - resolution: {integrity: sha512-xCQqz4z/o0h2syQ7d9LskIMvBSH4PX5PjYdpSSvgS+pQik3WahkQVNWg3D8XJeYjZoVWnIUQYDghuEMRGrmQYQ==} - engines: {node: '>= 8.0.0'} - peerDependencies: - rollup: ^2.22.0 - '@rollup/plugin-inject@5.0.5': resolution: {integrity: sha512-2+DEJbNBoPROPkgTDNe8/1YXWcqxbN5DTjASVIOx8HS+pITXushyNiBV56RB08zuptzz8gT3YfkqriTBVycepg==} engines: {node: '>=14.0.0'} @@ -2775,28 +2714,6 @@ packages: rollup: optional: true - '@rollup/plugin-json@4.1.0': - resolution: {integrity: sha512-yfLbTdNS6amI/2OpmbiBoW12vngr5NW2jCJVZSBEz+H5KfUJZ2M7sDjk0U6GOOdCWFVScShte29o9NezJ53TPw==} - peerDependencies: - rollup: ^1.20.0 || ^2.0.0 - - '@rollup/plugin-node-resolve@11.2.1': - resolution: {integrity: sha512-yc2n43jcqVyGE2sqV5/YCmocy9ArjVAP/BeXyTtADTBBX6V0e5UMqwO8CdQ0kzjb6zu5P1qMzsScCMRvE9OlVg==} - engines: {node: '>= 10.0.0'} - peerDependencies: - rollup: ^1.20.0||^2.0.0 - - '@rollup/plugin-replace@2.4.2': - resolution: {integrity: sha512-IGcu+cydlUMZ5En85jxHH4qj2hta/11BHq95iHEyb2sbgiN0eCdzvUcHw5gt9pBL5lTi4JDYJ1acCoMGpTvEZg==} - peerDependencies: - rollup: ^1.20.0 || ^2.0.0 - - '@rollup/pluginutils@3.1.0': - resolution: {integrity: sha512-GksZ6pr6TpIjHm8h9lSQ8pi8BE9VeubNT0OMJ3B5uZJ8pz73NPiqOtCog/x2/QzM1ENChPKxMDhiQuRHsqc+lg==} - engines: {node: '>= 8.0.0'} - peerDependencies: - rollup: ^1.20.0||^2.0.0 - '@rollup/pluginutils@5.1.0': resolution: {integrity: sha512-XTIWOPPcpvyKI6L1NHo0lFlCyznUEyPmPY1mc3KpPVDYulHSTvyeLNVW00QTLIAFNhR3kYnJTQHeGqU4M3n09g==} engines: {node: '>=14.0.0'} @@ -3241,9 +3158,6 @@ packages: '@types/dom-screen-wake-lock@1.0.3': resolution: {integrity: sha512-3Iten7X3Zgwvk6kh6/NRdwN7WbZ760YgFCsF5AxDifltUQzW1RaW+WRmcVtgwFzLjaNu64H+0MPJ13yRa8g3Dw==} - '@types/estree@0.0.39': - resolution: {integrity: sha512-EYNwp3bU+98cpU4lAWYYL7Zz+2gryWH1qbdDTidVd6hkiR6weksdbMadyXKXNPEkQFhXM+hVO9ZygomHXp+AIw==} - '@types/estree@1.0.5': resolution: {integrity: sha512-/kYRxGDLWzHOB7q+wtSUQlFrtcdUccpfy+X+9iMBpHK8QLLhx2wIPYuS5DYtR9Wa/YlZAbIovy7qVdB1Aq6Lyw==} @@ -3295,9 +3209,6 @@ packages: '@types/react@18.3.2': resolution: {integrity: sha512-Btgg89dAnqD4vV7R3hlwOxgqobUQKgx3MmrQRi0yYbs/P0ym8XozIAlkqVilPqHQwXs4e9Tf63rrCgl58BcO4w==} - '@types/resolve@1.17.1': - resolution: {integrity: sha512-yy7HuzQhj0dhGpD8RLXSZWEkLsV9ibvxvi6EiJ3bkqLAO1RGo0WbkWQiwpRlSFymTJRz0d3k5LM3kkx8ArDbLw==} - '@types/secp256k1@4.0.6': resolution: {integrity: sha512-hHxJU6PAEUn0TP4S/ZOzuTUvJWuZ6eIKeNKb5RBpODvSl6hp1Wrw4s7ATY50rklRCScUDpHzVA/DQdSjJ3UoYQ==} @@ -3705,10 +3616,6 @@ packages: async-mutex@0.2.6: resolution: {integrity: sha512-Hs4R+4SPgamu6rSGW8C7cV9gaWUKEHykfzCCvIRuaVv636Ju10ZdeUbvb4TBEW0INuq2DHZqXbK4Nd3yG4RaRw==} - at-least-node@1.0.0: - resolution: {integrity: sha512-+q/t7Ekv1EDY2l6Gda6LLiX14rU9TV20Wa3ofeQmwPFZbOMo9DXrLbOjFaaclkXKWidIaopwAObQDqwWtGUjqg==} - engines: {node: '>= 4.0.0'} - atomic-sleep@1.0.0: resolution: {integrity: sha512-kNOjDqAh7px0XWNI+4QbzoiR/nTkHAWNud2uvnJquD1/x5a7EQZMJT0AczqK0Qn67oY/TTQ1LbUKajZpp3I9tQ==} engines: {node: '>=8.0.0'} @@ -3733,9 +3640,6 @@ packages: resolution: {integrity: sha512-Cg7TFGpIr01vOQNODXOOaGz2NpCU5gl8x1qJFbb6hbZxR7XrcE2vtbAsTAbJ7/xwJtUuJEw8K8Zr/AE0LHlesg==} engines: {node: '>=10', npm: '>=6'} - babel-plugin-module-resolver@5.0.2: - resolution: {integrity: sha512-9KtaCazHee2xc0ibfqsDeamwDps6FZNo5S0Q81dUqEuFzVwPhcT4J5jOqIVvgCA3Q/wO9hKYxN/Ds3tIsp5ygg==} - babel-plugin-polyfill-corejs2@0.4.11: resolution: {integrity: sha512-sMEJ27L0gRHShOh5G54uAAPaiCOygY/5ratXuiyb2G46FmlSpc9eFCzYVyDiPxfNbwzA7mYahmjQc5q+CZQ09Q==} peerDependencies: @@ -3845,10 +3749,6 @@ packages: resolution: {integrity: sha512-4T53u4PdgsXqKaIctwF8ifXlRTTmEPJ8iEPWFdGZvcf7sbwYo6FKFEX9eNNAnzFZ7EzJAQ3CJeOtCRA4rDp7Pw==} engines: {node: '>=6.14.2'} - builtin-modules@3.3.0: - resolution: {integrity: sha512-zhaCDicdLuWN5UbN5IMnFqNMhNfo919sH85y2/ea+5Yg9TsTkeZxpL+JLbp6cgYFS4sRLp3YV4S6yDuqVWHYOw==} - engines: {node: '>=6'} - builtin-status-codes@3.0.0: resolution: {integrity: sha512-HpGFw18DgFWlncDfjTa2rcQ4W88O1mC8e8yZ2AvQY5KDaktSTwo+KRf6nHK6FRI5FyRyb/5T6+TSxfP7QyGsmQ==} @@ -4142,9 +4042,6 @@ packages: dataloader@1.4.0: resolution: {integrity: sha512-68s5jYdlvasItOJnCuI2Q9s4q98g0pCyL3HrcKJu8KNugUl8ahgmZYg38ysLTgQjjXX3H8CJLkAvWrclWfcalw==} - dataloader@2.2.2: - resolution: {integrity: sha512-8YnDaaf7N3k/q5HnTJVuzSyLETjoZjVmHc4AeKAzOvKHEFQKcn64OKBfzHYtE9zGjctNM7V9I0MfnUVLpi7M5g==} - date-fns@2.30.0: resolution: {integrity: sha512-fnULvOpxnC5/Vg3NCiWelDsLiUc9bRwAPs/+LfTLNvetFCtCTN+yQz15C/fs4AwX1R9K5GLtLfn8QW+dWisaAw==} engines: {node: '>=0.11'} @@ -4535,9 +4432,6 @@ packages: resolution: {integrity: sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==} engines: {node: '>=4.0'} - estree-walker@1.0.1: - resolution: {integrity: sha512-1fMXF3YP4pZZVozF8j/ZLfvnR8NSIljt56UhbZ5PeeDmmGHpgpdwQt7ITlGvYaQukCvuBRMLEiKiYC+oeIg4cg==} - estree-walker@2.0.2: resolution: {integrity: sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w==} @@ -4605,9 +4499,6 @@ packages: resolution: {integrity: sha512-hMQ4CX1p1izmuLYyZqLMO/qGNw10wSv9QDCPfzXfyFrOaCSSoRfqE1Kf1s5an66J5JZC62NewG+mK49jOCtQew==} engines: {node: '>=4'} - fast-deep-equal@2.0.1: - resolution: {integrity: sha512-bCK/2Z4zLidyB4ReuIsvALH6w31YfAQDmXMqMx6FyfHqvBxtjC0eRumeSu4Bs3XtXwpyIywtSTrVT99BxY1f9w==} - fast-deep-equal@3.1.3: resolution: {integrity: sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==} @@ -4661,9 +4552,6 @@ packages: resolution: {integrity: sha512-aAWcW57uxVNrQZqFXjITpW3sIUQmHGG3qSb9mUah9MgMC4NeWhNOlNjXEYq3HjRAvL6arUviZGGJsBg6z0zsWA==} engines: {node: '>= 0.8'} - find-babel-config@2.1.1: - resolution: {integrity: sha512-5Ji+EAysHGe1OipH7GN4qDjok5Z1uw5KAwDCbicU/4wyTZY7CqOCzcWbG7J5ad9mazq67k89fXlbc1MuIfl9uA==} - find-cache-dir@2.1.0: resolution: {integrity: sha512-Tq6PixE0w/VMFfCgbONnkiQIVol/JJL7nRMi20fqzA4NRs9AfeqMGeRdPi3wIhYkxjeBaWh2rxwapn5Tu3IqOQ==} engines: {node: '>=6'} @@ -4725,10 +4613,6 @@ packages: resolution: {integrity: sha512-yhlQgA6mnOJUKOsRUFsgJdQCvkKhcz8tlZG5HBQfReYZy46OwLcY+Zia0mtdHsOo9y/hP+CxMN0TU9QxoOtG4g==} engines: {node: '>=6 <7 || >=8'} - fs-extra@9.1.0: - resolution: {integrity: sha512-hcg3ZmepS30/7BSFqRvoo3DOMQu7IjqxO5nCDt+zM9XWjb33Wg7ziNT+Qvqbuc3+gWpzO02JubVyk2G4Zvo1OQ==} - engines: {node: '>=10'} - fs.realpath@1.0.0: resolution: {integrity: sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==} @@ -4789,13 +4673,6 @@ packages: get-tsconfig@4.7.5: resolution: {integrity: sha512-ZCuZCnlqNzjb4QprAzXKdpp/gh6KTxSJuw3IBsPnV/7fV4NxC9ckB+vPTt8w7fJA0TaSD7c55BR47JD6MEDyDw==} - glob-base@0.3.0: - resolution: {integrity: sha512-ab1S1g1EbO7YzauaJLkgLp7DZVAqj9M/dvKlTt8DkXA2tiOIcSMrlVI2J1RZyB5iJVccEscjGn+kpOG9788MHA==} - engines: {node: '>=0.10.0'} - - glob-parent@2.0.0: - resolution: {integrity: sha512-JDYOvfxio/t42HKdxkAYaCiBN7oYiuxykOxKxdaUW5Qn0zaYN3gRQWolrwdnf0shM9/EP0ebuuTmyoXNr1cC5w==} - glob-parent@5.1.2: resolution: {integrity: sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==} engines: {node: '>= 6'} @@ -4817,10 +4694,6 @@ packages: glob@7.2.3: resolution: {integrity: sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==} - glob@9.3.5: - resolution: {integrity: sha512-e1LleDykUz2Iu+MTYdkSsuWX8lvAjAcs0Xef0lNIu0S2wOAzuTxCJtcd9S3cijlwYF18EsU3rzb8jPVobxDh9Q==} - engines: {node: '>=16 || 14 >=14.17'} - globals@11.12.0: resolution: {integrity: sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==} engines: {node: '>=4'} @@ -4969,9 +4842,6 @@ packages: ieee754@1.2.1: resolution: {integrity: sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==} - ignore-walk@3.0.4: - resolution: {integrity: sha512-PY6Ii8o1jMRA1z4F2hRkH/xN59ox43DavKvD3oDpfurRlOJyAHpifIwpbdv1n4jt4ov0jSpw3kQ4GhJnpBL6WQ==} - ignore@5.3.1: resolution: {integrity: sha512-5Fytz/IraMjqpwfd34ke28PTVMjZjJG2MPn5t7OE4eUCUNf8BAa7b5WUS9/Qvr6mwOQS7Mk6vdsMno5he+T8Xw==} engines: {node: '>= 4'} @@ -5069,14 +4939,6 @@ packages: engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} hasBin: true - is-dotfile@1.0.3: - resolution: {integrity: sha512-9YclgOGtN/f8zx0Pr4FQYMdibBiTaH3sn52vjYip4ZSf6C4/6RfTEZ+MR4GvKhCxdPh21Bg42/WL55f6KSnKpg==} - engines: {node: '>=0.10.0'} - - is-extglob@1.0.0: - resolution: {integrity: sha512-7Q+VbVafe6x2T+Tu6NcOf6sRklazEPmBoB3IWk3WdGZM2iGUwU/Oe3Wtq5lSEkDTTlpp8yx+5t4pzO/i9Ty1ww==} - engines: {node: '>=0.10.0'} - is-extglob@2.1.1: resolution: {integrity: sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==} engines: {node: '>=0.10.0'} @@ -5096,10 +4958,6 @@ packages: resolution: {integrity: sha512-jsEjy9l3yiXEQ+PsXdmBwEPcOxaXWLspKdplFUVI9vq1iZgIekeC0L167qeu86czQaxed3q/Uzuw0swL0irL8A==} engines: {node: '>= 0.4'} - is-glob@2.0.1: - resolution: {integrity: sha512-a1dBeB19NXsf/E0+FHqkagizel/LQw2DjSQpvQrj3zT+jYPpaUCryPnrQajXKFLCMuf4I6FhRpaGtw4lPrG6Eg==} - engines: {node: '>=0.10.0'} - is-glob@4.0.3: resolution: {integrity: sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==} engines: {node: '>=0.10.0'} @@ -5117,9 +4975,6 @@ packages: resolution: {integrity: sha512-1Qed0/Hr2m+YqxnM09CjA2d/i6YZNfF6R2oRAOj36eUdS6qIV/huPJNSEpKbupewFs+ZsJlxsjjPbc0/afW6Lw==} engines: {node: '>= 0.4'} - is-module@1.0.0: - resolution: {integrity: sha512-51ypPSPCoTEIN9dy5Oy+h4pShgJmPCygKfyRCISBI+JoWT/2oJvK8QPxmwv7b/p239jXrm9M1mlQbyKJ5A152g==} - is-nan@1.3.2: resolution: {integrity: sha512-E+zBKpQ2t6MEo1VsonYmluk9NxGrbzpeeLC2xIViuO2EjU2xsXsBPwTr3Ykv9l08UYEVEdWeRZNouaZqF6RN0w==} engines: {node: '>= 0.4'} @@ -5148,9 +5003,6 @@ packages: resolution: {integrity: sha512-h5PpgXkWitc38BBMYawTYMWJHFZJVnBquFE57xFpjB8pJFiF6gZ+bU+WyI/yqXiFR5mdLsgYNaPe8uao6Uv9Og==} engines: {node: '>=0.10.0'} - is-reference@1.2.1: - resolution: {integrity: sha512-U82MsXXiFIrjCK4otLT+o2NA2Cd2g5MLoOVXUZjIOhLurrRxpEXzI8O0KZHr3IjLvlAH1kTPYSuqer5T9ZVBKQ==} - is-regex@1.1.4: resolution: {integrity: sha512-kvRdxDsxZjhzUX07ZnLydzS1TU/TJlTUHHY4YLL87e37oUA49DfkLqgy+VjFocowy29cKvcSiu+kIv728jTTVg==} engines: {node: '>= 0.4'} @@ -5287,10 +5139,6 @@ packages: resolution: {integrity: sha512-ZB7wHqaRGVw/9hST/OuFUReG7M8vKeq0/J2egIGLdvjHCmYqGARhzXmtgi+gVeZ5uXFF219aOc3Ls2yLg27tkw==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} - jest-worker@26.6.2: - resolution: {integrity: sha512-KWYVV1c4i+jbMpaBC+U++4Va0cp8OisU185o73T1vo99hqi7w8tSJfUXYswwqqrjzwxa6KpRK54WhPvwf5w6PQ==} - engines: {node: '>= 10.13.0'} - jest-worker@29.7.0: resolution: {integrity: sha512-eIz2msL/EzL9UFTFFx7jBTkeZfku0yUAyZZZmJ93H2TYEiroIx2PQjEXcwYtYl8zXCxb+PAmA2hLIt/6ZEkPHw==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} @@ -5377,9 +5225,6 @@ packages: jsonfile@4.0.0: resolution: {integrity: sha512-m6F1R3z8jjlf2imQHS2Qez5sjKWQzbuuhuJ/FKYFRZvPE3PuHcSMVZzfsLhGVOkfd20obL5SWEBew5ShlquNxg==} - jsonfile@6.1.0: - resolution: {integrity: sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==} - jsx-ast-utils@3.3.5: resolution: {integrity: sha512-ZZow9HBI5O6EPgSJLUb8n2NKgmVWTwCvHGwFuJlMjvLFqlGG6pjirPhtdsseaLZjSibD8eegzmYpUZwoIlj2cQ==} engines: {node: '>=4.0'} @@ -5500,9 +5345,6 @@ packages: lru-cache@5.1.1: resolution: {integrity: sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==} - magic-string@0.25.9: - resolution: {integrity: sha512-RmF0AsMzgt25qzqqLc1+MbHmhdx0ojF2Fvs4XnOqz2ZOBXzzkEwc/dJQZCYHAn7v1jbVOjAZfK8msRn4BxO4VQ==} - magic-string@0.30.10: resolution: {integrity: sha512-iIRwTIf0QKV3UAnYK4PU8uiEc4SRh5jX0mwpIwETPpHdhVM4f53RSwS/vXvN1JhGX+Cs7B8qIq3d6AH49O5fAQ==} @@ -5537,10 +5379,6 @@ packages: resolution: {integrity: sha512-3YffViIt2QWgTy6Pale5QpopX/IvU3LPL03jOTqp6pGj3VjesdO/U8CuHMKpnQr4shCNCM5fd5XFFvIIl6JBHg==} engines: {node: '>=8'} - meow@7.1.1: - resolution: {integrity: sha512-GWHvA5QOcS412WCo8vwKDlTelGLsCGBVevQB5Kva961rmNfun0PCbv5+xta2kUMFJyR8/oWnn7ddeKdosbAPbA==} - engines: {node: '>=10'} - merge-stream@2.0.0: resolution: {integrity: sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==} @@ -5661,10 +5499,6 @@ packages: minimatch@3.1.2: resolution: {integrity: sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==} - minimatch@8.0.4: - resolution: {integrity: sha512-W0Wvr9HyFXZRGIDgCicunpQ299OKXs9RgZfaukz4qAW/pJhcpUfupc9c+OObPOFueNy8VSrZgEmDtk6Kh4WzDA==} - engines: {node: '>=16 || 14 >=14.17'} - minimatch@9.0.3: resolution: {integrity: sha512-RHiac9mvaRw0x3AYRgDC1CxAP7HTcNrrECeA8YYJeWnpo+2Q5CegtZjaotWTWxDG3UeGA1coE05iH1mPjT/2mg==} engines: {node: '>=16 || 14 >=14.17'} @@ -5680,10 +5514,6 @@ packages: minimist@1.2.8: resolution: {integrity: sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==} - minipass@4.2.8: - resolution: {integrity: sha512-fNzuVyifolSLFL4NzpF+wEF4qrgqaaKX0haXPQEdQ7NKAN+WecoKMHV09YcuL/DHxrUsYQOK3MiuDf7Ip2OXfQ==} - engines: {node: '>=8'} - minipass@7.1.1: resolution: {integrity: sha512-UZ7eQ+h8ywIRAW1hIEl2AqdwzJucU/Kp59+8kkZeSvafXhZjul247BvIJjEVFVeON6d7lM46XX1HXCduKAS8VA==} engines: {node: '>=16 || 14 >=14.17'} @@ -5832,17 +5662,6 @@ packages: resolution: {integrity: sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==} engines: {node: '>=0.10.0'} - npm-bundled@1.1.2: - resolution: {integrity: sha512-x5DHup0SuyQcmL3s7Rx/YQ8sbw/Hzg0rj48eN0dV7hf5cmQq5PXIeioroH3raV1QC1yh3uTYuMThvEQF3iKgGQ==} - - npm-normalize-package-bin@1.0.1: - resolution: {integrity: sha512-EPfafl6JL5/rU+ot6P3gRSCpPDW5VmIzX959Ob1+ySFUuuYHWHekXpwdUZcKP5C+DS4GEtdJluwBjnsNDl+fSA==} - - npm-packlist@2.2.2: - resolution: {integrity: sha512-Jt01acDvJRhJGthnUJVF/w6gumWOZxO7IkpY/lsX9//zqQgnF7OJaxgQXcerd4uQOLu7W5bkb4mChL9mdfm+Zg==} - engines: {node: '>=10'} - hasBin: true - npm-run-path@4.0.1: resolution: {integrity: sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw==} engines: {node: '>=8'} @@ -6005,10 +5824,6 @@ packages: resolution: {integrity: sha512-CTM5kuWR3sx9IFamcl5ErfPl6ea/N8IYwiJ+vpeB2g+1iknv7zBl5uPwbMbRVznRVbrNY6lGuDoE5b30grmbqg==} engines: {node: '>= 0.10'} - parse-glob@3.0.4: - resolution: {integrity: sha512-FC5TeK0AwXzq3tUBFtH74naWkPQCEWs4K+xMxWZBlKDWu0bVHXGZa+KKqxKidd7xwhdZ19ZNuF2uO1M/r196HA==} - engines: {node: '>=0.10.0'} - parse-json@4.0.0: resolution: {integrity: sha512-aOIos8bujGN93/8Ox/jPLh7RwVnPEysynVFE+fQZyg6jKELEHwzgKdLRFHUgXJL6kylijVSBC4BvN9OmsB48Rw==} engines: {node: '>=4'} @@ -6110,10 +5925,6 @@ packages: pkg-types@1.1.1: resolution: {integrity: sha512-ko14TjmDuQJ14zsotODv7dBlwxKhUKQEhuhmbqo1uCi9BB0Z2alo/wAXg6q1dTR5TyuqYyWhjtfe/Tsh+X28jQ==} - pkg-up@3.1.0: - resolution: {integrity: sha512-nDywThFk1i4BQK4twPQ6TA4RT8bDY96yeuCVBWL3ePARCiEKDRSrNGbFIgUJpLp+XeIR65v8ra7WuJOFUBtkMA==} - engines: {node: '>=8'} - pngjs@5.0.0: resolution: {integrity: sha512-40QW5YalBNfQo5yRYmiw7Yz6TKKVr3h6970B2YE+3fQpsWcrbj1PzJgxeJ19DRQjhMbKPIuMY8rFaXc8moolVw==} engines: {node: '>=10.13.0'} @@ -6256,10 +6067,6 @@ packages: resolution: {integrity: sha512-ARhCpm70fzdcvNQfPoy49IaanKkTlRWF2JMzqhcJbhSFRZv7nPTvZJdcY7301IPmvW+/p0RgIWnQDLJxifsQ7g==} engines: {node: '>=8'} - quick-lru@5.1.1: - resolution: {integrity: sha512-WuyALRjWPDGtt/wzJiadO5AXY+8hZ80hVpe6MyivgraREW751X3SbhRvG3eLKOYN+8VEvqLcf3wdnt44Z4S4SA==} - engines: {node: '>=10'} - radix3@1.1.2: resolution: {integrity: sha512-b484I/7b8rDEdSDKckSSBA8knMpcdsXudlE/LNL639wFoHKwLbEkQFZHWEYwDC0wa0FKUcCY+GAF73Z7wxNVFA==} @@ -6457,9 +6264,6 @@ packages: require-main-filename@2.0.0: resolution: {integrity: sha512-NKN5kMDylKuldxYLSUfrbo5Tuzh4hd+2E8NPPX02mZtn1VuREQToYe/ZdlJy+J3uCpfaiGF05e7B8W0iXbQHmg==} - reselect@4.1.8: - resolution: {integrity: sha512-ab9EmR80F/zQTMNeneUr4cv+jSwPJgIlvEmVwLerwrWVbpLlBuls9XHzIeTFy4cegU2NHBp3va0LKOzU5qFEYQ==} - resolve-from@3.0.0: resolution: {integrity: sha512-GnlH6vxLymXJNMBo7XP1fJIzBFbdYt49CuTwmB/6N53t+kMPRMFKz783LlQ4tv28XoQfMWinAJX6WCGf2IlaIw==} engines: {node: '>=4'} @@ -6517,11 +6321,6 @@ packages: rollup: optional: true - rollup@2.79.1: - resolution: {integrity: sha512-uKxbd0IhMZOhjAiD5oAFp7BqvkA4Dv47qpOCtaNvng4HBwdbWtdOh8f5nZNuk2rp51PMGk3bzfWu5oayNEuYnw==} - engines: {node: '>=10.0.0'} - hasBin: true - rollup@4.18.0: resolution: {integrity: sha512-QmJz14PX3rzbJCN1SG4Xe/bAAX2a6NpCP8ab2vfu2GiUr8AQcr2nCV/oEO3yneFarB67zk8ShlIyWb2LGTb3Sg==} engines: {node: '>=18.0.0', npm: '>=8.0.0'} @@ -6697,10 +6496,6 @@ packages: resolution: {integrity: sha512-l3BikUxvPOcn5E74dZiq5BGsTb5yEwhaTSzccU6t4sDOH8NWJCstKO5QT2CvtFoK6F0saL7p9xHAqHOlCPJygA==} engines: {node: '>= 8'} - sourcemap-codec@1.4.8: - resolution: {integrity: sha512-9NykojV5Uih4lgo5So5dtw+f0JgJX30KCNI8gwhz2J9A15wD0Ml6tjHKwf6fTSa6fAdVBdZeNOs9eJ71qCk8vA==} - deprecated: Please use @jridgewell/sourcemap-codec instead - spawndamnit@2.0.0: resolution: {integrity: sha512-j4JKEcncSjFlqIwU5L/rp2N5SIPsdxaRsIv678+TZxZ0SRDJTm8JrxJMjE/XuiEZNEir3S8l0Fa3Ke339WI4qA==} @@ -6978,6 +6773,40 @@ packages: engines: {node: '>=8.0.0'} hasBin: true + turbo-darwin-64@1.13.3: + resolution: {integrity: sha512-glup8Qx1qEFB5jerAnXbS8WrL92OKyMmg5Hnd4PleLljAeYmx+cmmnsmLT7tpaVZIN58EAAwu8wHC6kIIqhbWA==} + cpu: [x64] + os: [darwin] + + turbo-darwin-arm64@1.13.3: + resolution: {integrity: sha512-/np2xD+f/+9qY8BVtuOQXRq5f9LehCFxamiQnwdqWm5iZmdjygC5T3uVSYuagVFsZKMvX3ycySwh8dylGTl6lg==} + cpu: [arm64] + os: [darwin] + + turbo-linux-64@1.13.3: + resolution: {integrity: sha512-G+HGrau54iAnbXLfl+N/PynqpDwi/uDzb6iM9hXEDG+yJnSJxaHMShhOkXYJPk9offm9prH33Khx2scXrYVW1g==} + cpu: [x64] + os: [linux] + + turbo-linux-arm64@1.13.3: + resolution: {integrity: sha512-qWwEl5VR02NqRyl68/3pwp3c/olZuSp+vwlwrunuoNTm6JXGLG5pTeme4zoHNnk0qn4cCX7DFrOboArlYxv0wQ==} + cpu: [arm64] + os: [linux] + + turbo-windows-64@1.13.3: + resolution: {integrity: sha512-Nudr4bRChfJzBPzEmpVV85VwUYRCGKecwkBFpbp2a4NtrJ3+UP1VZES653ckqCu2FRyRuS0n03v9euMbAvzH+Q==} + cpu: [x64] + os: [win32] + + turbo-windows-arm64@1.13.3: + resolution: {integrity: sha512-ouJCgsVLd3icjRLmRvHQDDZnmGzT64GBupM1Y+TjtYn2LVaEBoV6hicFy8x5DUpnqdLy+YpCzRMkWlwhmkX7sQ==} + cpu: [arm64] + os: [win32] + + turbo@1.13.3: + resolution: {integrity: sha512-n17HJv4F4CpsYTvKzUJhLbyewbXjq1oLCi90i5tW1TiWDz16ML1eDG7wi5dHaKxzh5efIM56SITnuVbMq5dk4g==} + hasBin: true + type-check@0.4.0: resolution: {integrity: sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==} engines: {node: '>= 0.8.0'} @@ -7068,10 +6897,6 @@ packages: resolution: {integrity: sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg==} engines: {node: '>= 4.0.0'} - universalify@2.0.1: - resolution: {integrity: sha512-gptHNQghINnc/vTGIk0SOFGFNXw7JVrlRUtConJRlvaw6DuX0wO5Jeko9sWrMBhh+PsYAZ7oXAiOnf/UKogyiw==} - engines: {node: '>= 10.0.0'} - unpipe@1.0.0: resolution: {integrity: sha512-pjy2bYhSsufwWlKwPc+l3cN7+wuJlK6uz0YdJEOlQDbl6jo/YlPi4mb8agUkVC8BF7V8NuzeyPNqRksA3hztKQ==} engines: {node: '>= 0.8'} @@ -7186,9 +7011,6 @@ packages: resolution: {integrity: sha512-b+1eJOlsR9K8HJpow9Ok3fiWOWSIcIzXodvv0rQjVoOVNpWMpxf1wZNpt4y9h10odCNrqnYp1OBzRktckBe3sA==} hasBin: true - v8-compile-cache@2.4.0: - resolution: {integrity: sha512-ocyWc3bAHBB/guyqJQVI5o4BZkPhznPYUG2ea80Gond/BgNWpap8TOmLSeeQG7bnh2KMISxskdADG59j7zruhw==} - validate-npm-package-license@3.0.4: resolution: {integrity: sha512-DpKm2Ui/xN7/HQKCtpZxoRWBhZ9Z0kqtygG8XCgNQ8ZlDnxuQmWhj566j8fN4Cu3/JmbhsDo7fcAJq4s9h27Ew==} @@ -8718,11 +8540,6 @@ snapshots: '@babel/core': 7.24.5 '@babel/helper-plugin-utils': 7.24.5 - '@babel/plugin-transform-react-jsx-development@7.22.5(@babel/core@7.24.5)': - dependencies: - '@babel/core': 7.24.5 - '@babel/plugin-transform-react-jsx': 7.23.4(@babel/core@7.24.5) - '@babel/plugin-transform-react-jsx-self@7.24.5(@babel/core@7.24.5)': dependencies: '@babel/core': 7.24.5 @@ -8742,12 +8559,6 @@ snapshots: '@babel/plugin-syntax-jsx': 7.24.1(@babel/core@7.24.5) '@babel/types': 7.24.5 - '@babel/plugin-transform-react-pure-annotations@7.24.1(@babel/core@7.24.5)': - dependencies: - '@babel/core': 7.24.5 - '@babel/helper-annotate-as-pure': 7.22.5 - '@babel/helper-plugin-utils': 7.24.5 - '@babel/plugin-transform-regenerator@7.24.1(@babel/core@7.24.5)': dependencies: '@babel/core': 7.24.5 @@ -8929,16 +8740,6 @@ snapshots: '@babel/types': 7.24.5 esutils: 2.0.3 - '@babel/preset-react@7.24.1(@babel/core@7.24.5)': - dependencies: - '@babel/core': 7.24.5 - '@babel/helper-plugin-utils': 7.24.5 - '@babel/helper-validator-option': 7.23.5 - '@babel/plugin-transform-react-display-name': 7.24.1(@babel/core@7.24.5) - '@babel/plugin-transform-react-jsx': 7.23.4(@babel/core@7.24.5) - '@babel/plugin-transform-react-jsx-development': 7.22.5(@babel/core@7.24.5) - '@babel/plugin-transform-react-pure-annotations': 7.24.1(@babel/core@7.24.5) - '@babel/preset-typescript@7.24.1(@babel/core@7.24.5)': dependencies: '@babel/core': 7.24.5 @@ -9831,42 +9632,6 @@ snapshots: react-dom: 18.3.1(react@18.3.1) react-native: 0.74.1(@babel/core@7.24.5)(@babel/preset-env@7.24.5(@babel/core@7.24.5))(@types/react@18.3.2)(bufferutil@4.0.8)(react@18.3.1)(utf-8-validate@6.0.4) - '@metamask/sdk@0.20.3(bufferutil@4.0.8)(react-dom@18.3.1(react@18.3.1))(react-i18next@13.5.0(i18next@22.5.1)(react-dom@18.3.1(react@18.3.1))(react-native@0.74.1(@babel/core@7.24.5)(@babel/preset-env@7.24.5(@babel/core@7.24.5))(@types/react@18.3.2)(bufferutil@4.0.8)(react@18.3.1)(utf-8-validate@6.0.4))(react@18.3.1))(react-native@0.74.1(@babel/core@7.24.5)(@babel/preset-env@7.24.5(@babel/core@7.24.5))(@types/react@18.3.2)(bufferutil@4.0.8)(react@18.3.1)(utf-8-validate@6.0.4))(react@18.3.1)(rollup@2.79.1)(utf-8-validate@6.0.4)': - dependencies: - '@metamask/onboarding': 1.0.1 - '@metamask/providers': 15.0.0 - '@metamask/sdk-communication-layer': 0.20.2(cross-fetch@4.0.0)(eciesjs@0.3.18)(eventemitter2@6.4.9)(readable-stream@3.6.2)(socket.io-client@4.7.5(bufferutil@4.0.8)(utf-8-validate@6.0.4)) - '@metamask/sdk-install-modal-web': 0.20.2(i18next@22.5.1)(react-dom@18.3.1(react@18.3.1))(react-i18next@13.5.0(i18next@22.5.1)(react-dom@18.3.1(react@18.3.1))(react-native@0.74.1(@babel/core@7.24.5)(@babel/preset-env@7.24.5(@babel/core@7.24.5))(@types/react@18.3.2)(bufferutil@4.0.8)(react@18.3.1)(utf-8-validate@6.0.4))(react@18.3.1))(react-native@0.74.1(@babel/core@7.24.5)(@babel/preset-env@7.24.5(@babel/core@7.24.5))(@types/react@18.3.2)(bufferutil@4.0.8)(react@18.3.1)(utf-8-validate@6.0.4))(react@18.3.1) - '@types/dom-screen-wake-lock': 1.0.3 - bowser: 2.11.0 - cross-fetch: 4.0.0 - debug: 4.3.4 - eciesjs: 0.3.18 - eth-rpc-errors: 4.0.3 - eventemitter2: 6.4.9 - 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.1(react-native@0.74.1(@babel/core@7.24.5)(@babel/preset-env@7.24.5(@babel/core@7.24.5))(@types/react@18.3.2)(bufferutil@4.0.8)(react@18.3.1)(utf-8-validate@6.0.4))(react@18.3.1) - readable-stream: 3.6.2 - rollup-plugin-visualizer: 5.12.0(rollup@2.79.1) - socket.io-client: 4.7.5(bufferutil@4.0.8)(utf-8-validate@6.0.4) - 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-i18next - - react-native - - rollup - - supports-color - - utf-8-validate - '@metamask/sdk@0.20.3(bufferutil@4.0.8)(react-dom@18.3.1(react@18.3.1))(react-i18next@13.5.0(i18next@22.5.1)(react-dom@18.3.1(react@18.3.1))(react-native@0.74.1(@babel/core@7.24.5)(@babel/preset-env@7.24.5(@babel/core@7.24.5))(@types/react@18.3.2)(bufferutil@4.0.8)(react@18.3.1)(utf-8-validate@6.0.4))(react@18.3.1))(react-native@0.74.1(@babel/core@7.24.5)(@babel/preset-env@7.24.5(@babel/core@7.24.5))(@types/react@18.3.2)(bufferutil@4.0.8)(react@18.3.1)(utf-8-validate@6.0.4))(react@18.3.1)(rollup@4.18.0)(utf-8-validate@6.0.4)': dependencies: '@metamask/onboarding': 1.0.1 @@ -10118,58 +9883,6 @@ snapshots: '@pkgjs/parseargs@0.11.0': optional: true - '@preconstruct/cli@2.8.4': - dependencies: - '@babel/code-frame': 7.24.2 - '@babel/core': 7.24.5 - '@babel/helper-module-imports': 7.24.3 - '@babel/runtime': 7.24.5 - '@preconstruct/hook': 0.4.0 - '@rollup/plugin-alias': 3.1.9(rollup@2.79.1) - '@rollup/plugin-commonjs': 15.1.0(rollup@2.79.1) - '@rollup/plugin-json': 4.1.0(rollup@2.79.1) - '@rollup/plugin-node-resolve': 11.2.1(rollup@2.79.1) - '@rollup/plugin-replace': 2.4.2(rollup@2.79.1) - builtin-modules: 3.3.0 - chalk: 4.1.2 - ci-info: 3.9.0 - dataloader: 2.2.2 - detect-indent: 6.1.0 - enquirer: 2.4.1 - estree-walker: 2.0.2 - fast-deep-equal: 2.0.1 - fast-glob: 3.3.2 - fs-extra: 9.1.0 - is-reference: 1.2.1 - jest-worker: 26.6.2 - magic-string: 0.30.10 - meow: 7.1.1 - ms: 2.1.3 - normalize-path: 3.0.0 - npm-packlist: 2.2.2 - p-limit: 3.1.0 - parse-glob: 3.0.4 - parse-json: 5.2.0 - quick-lru: 5.1.1 - resolve: 1.22.8 - resolve-from: 5.0.0 - rollup: 2.79.1 - semver: 7.6.2 - terser: 5.31.0 - v8-compile-cache: 2.4.0 - zod: 3.23.8 - transitivePeerDependencies: - - supports-color - - '@preconstruct/hook@0.4.0': - dependencies: - '@babel/core': 7.24.5 - '@babel/plugin-transform-modules-commonjs': 7.24.1(@babel/core@7.24.5) - pirates: 4.0.6 - source-map-support: 0.5.21 - transitivePeerDependencies: - - supports-color - '@radix-ui/number@1.0.1': dependencies: '@babel/runtime': 7.24.5 @@ -10979,22 +10692,6 @@ snapshots: transitivePeerDependencies: - supports-color - '@rollup/plugin-alias@3.1.9(rollup@2.79.1)': - dependencies: - rollup: 2.79.1 - slash: 3.0.0 - - '@rollup/plugin-commonjs@15.1.0(rollup@2.79.1)': - dependencies: - '@rollup/pluginutils': 3.1.0(rollup@2.79.1) - commondir: 1.0.1 - estree-walker: 2.0.2 - glob: 7.2.3 - is-reference: 1.2.1 - magic-string: 0.25.9 - resolve: 1.22.8 - rollup: 2.79.1 - '@rollup/plugin-inject@5.0.5(rollup@4.18.0)': dependencies: '@rollup/pluginutils': 5.1.0(rollup@4.18.0) @@ -11003,34 +10700,6 @@ snapshots: optionalDependencies: rollup: 4.18.0 - '@rollup/plugin-json@4.1.0(rollup@2.79.1)': - dependencies: - '@rollup/pluginutils': 3.1.0(rollup@2.79.1) - rollup: 2.79.1 - - '@rollup/plugin-node-resolve@11.2.1(rollup@2.79.1)': - dependencies: - '@rollup/pluginutils': 3.1.0(rollup@2.79.1) - '@types/resolve': 1.17.1 - builtin-modules: 3.3.0 - deepmerge: 4.3.1 - is-module: 1.0.0 - resolve: 1.22.8 - rollup: 2.79.1 - - '@rollup/plugin-replace@2.4.2(rollup@2.79.1)': - dependencies: - '@rollup/pluginutils': 3.1.0(rollup@2.79.1) - magic-string: 0.25.9 - rollup: 2.79.1 - - '@rollup/pluginutils@3.1.0(rollup@2.79.1)': - dependencies: - '@types/estree': 0.0.39 - estree-walker: 1.0.1 - picomatch: 2.3.1 - rollup: 2.79.1 - '@rollup/pluginutils@5.1.0(rollup@4.18.0)': dependencies: '@types/estree': 1.0.5 @@ -11596,8 +11265,6 @@ snapshots: '@types/dom-screen-wake-lock@1.0.3': {} - '@types/estree@0.0.39': {} - '@types/estree@1.0.5': {} '@types/istanbul-lib-coverage@2.0.6': {} @@ -11649,10 +11316,6 @@ snapshots: '@types/prop-types': 15.7.12 csstype: 3.1.3 - '@types/resolve@1.17.1': - dependencies: - '@types/node': 20.12.12 - '@types/secp256k1@4.0.6': dependencies: '@types/node': 20.12.12 @@ -11831,46 +11494,6 @@ snapshots: transitivePeerDependencies: - supports-color - '@wagmi/connectors@5.0.4(@types/react@18.3.2)(@wagmi/core@2.10.3(@tanstack/query-core@5.36.1)(@types/react@18.3.2)(bufferutil@4.0.8)(react@18.3.1)(typescript@5.4.5)(utf-8-validate@6.0.4)(viem@2.12.0(bufferutil@4.0.8)(typescript@5.4.5)(utf-8-validate@6.0.4)(zod@3.23.8))(zod@3.23.8))(bufferutil@4.0.8)(react-dom@18.3.1(react@18.3.1))(react-i18next@13.5.0(i18next@22.5.1)(react-dom@18.3.1(react@18.3.1))(react-native@0.74.1(@babel/core@7.24.5)(@babel/preset-env@7.24.5(@babel/core@7.24.5))(@types/react@18.3.2)(bufferutil@4.0.8)(react@18.3.1)(utf-8-validate@6.0.4))(react@18.3.1))(react-native@0.74.1(@babel/core@7.24.5)(@babel/preset-env@7.24.5(@babel/core@7.24.5))(@types/react@18.3.2)(bufferutil@4.0.8)(react@18.3.1)(utf-8-validate@6.0.4))(react@18.3.1)(rollup@2.79.1)(typescript@5.4.5)(utf-8-validate@6.0.4)(viem@2.12.0(bufferutil@4.0.8)(typescript@5.4.5)(utf-8-validate@6.0.4)(zod@3.23.8))(zod@3.23.8)': - dependencies: - '@coinbase/wallet-sdk': 4.0.2 - '@metamask/sdk': 0.20.3(bufferutil@4.0.8)(react-dom@18.3.1(react@18.3.1))(react-i18next@13.5.0(i18next@22.5.1)(react-dom@18.3.1(react@18.3.1))(react-native@0.74.1(@babel/core@7.24.5)(@babel/preset-env@7.24.5(@babel/core@7.24.5))(@types/react@18.3.2)(bufferutil@4.0.8)(react@18.3.1)(utf-8-validate@6.0.4))(react@18.3.1))(react-native@0.74.1(@babel/core@7.24.5)(@babel/preset-env@7.24.5(@babel/core@7.24.5))(@types/react@18.3.2)(bufferutil@4.0.8)(react@18.3.1)(utf-8-validate@6.0.4))(react@18.3.1)(rollup@2.79.1)(utf-8-validate@6.0.4) - '@safe-global/safe-apps-provider': 0.18.1(bufferutil@4.0.8)(typescript@5.4.5)(utf-8-validate@6.0.4)(zod@3.23.8) - '@safe-global/safe-apps-sdk': 8.1.0(bufferutil@4.0.8)(typescript@5.4.5)(utf-8-validate@6.0.4)(zod@3.23.8) - '@wagmi/core': 2.10.3(@tanstack/query-core@5.36.1)(@types/react@18.3.2)(bufferutil@4.0.8)(react@18.3.1)(typescript@5.4.5)(utf-8-validate@6.0.4)(viem@2.12.0(bufferutil@4.0.8)(typescript@5.4.5)(utf-8-validate@6.0.4)(zod@3.23.8))(zod@3.23.8) - '@walletconnect/ethereum-provider': 2.13.0(@types/react@18.3.2)(bufferutil@4.0.8)(react@18.3.1)(utf-8-validate@6.0.4) - '@walletconnect/modal': 2.6.2(@types/react@18.3.2)(react@18.3.1) - cbw-sdk: '@coinbase/wallet-sdk@3.9.3' - viem: 2.12.0(bufferutil@4.0.8)(typescript@5.4.5)(utf-8-validate@6.0.4)(zod@3.23.8) - 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-i18next - - react-native - - rollup - - supports-color - - uWebSockets.js - - utf-8-validate - - zod - '@wagmi/connectors@5.0.4(@types/react@18.3.2)(@wagmi/core@2.10.3(@tanstack/query-core@5.36.1)(@types/react@18.3.2)(bufferutil@4.0.8)(react@18.3.1)(typescript@5.4.5)(utf-8-validate@6.0.4)(viem@2.12.0(bufferutil@4.0.8)(typescript@5.4.5)(utf-8-validate@6.0.4)(zod@3.23.8))(zod@3.23.8))(bufferutil@4.0.8)(react-dom@18.3.1(react@18.3.1))(react-i18next@13.5.0(i18next@22.5.1)(react-dom@18.3.1(react@18.3.1))(react-native@0.74.1(@babel/core@7.24.5)(@babel/preset-env@7.24.5(@babel/core@7.24.5))(@types/react@18.3.2)(bufferutil@4.0.8)(react@18.3.1)(utf-8-validate@6.0.4))(react@18.3.1))(react-native@0.74.1(@babel/core@7.24.5)(@babel/preset-env@7.24.5(@babel/core@7.24.5))(@types/react@18.3.2)(bufferutil@4.0.8)(react@18.3.1)(utf-8-validate@6.0.4))(react@18.3.1)(rollup@4.18.0)(typescript@5.4.5)(utf-8-validate@6.0.4)(viem@2.12.0(bufferutil@4.0.8)(typescript@5.4.5)(utf-8-validate@6.0.4)(zod@3.23.8))(zod@3.23.8)': dependencies: '@coinbase/wallet-sdk': 4.0.2 @@ -12435,8 +12058,6 @@ snapshots: dependencies: tslib: 2.6.2 - at-least-node@1.0.0: {} - atomic-sleep@1.0.0: {} available-typed-arrays@1.0.7: @@ -12459,14 +12080,6 @@ snapshots: cosmiconfig: 7.1.0 resolve: 1.22.8 - babel-plugin-module-resolver@5.0.2: - dependencies: - find-babel-config: 2.1.1 - glob: 9.3.5 - pkg-up: 3.1.0 - reselect: 4.1.8 - resolve: 1.22.8 - babel-plugin-polyfill-corejs2@0.4.11(@babel/core@7.24.5): dependencies: '@babel/compat-data': 7.24.4 @@ -12617,8 +12230,6 @@ snapshots: dependencies: node-gyp-build: 4.8.1 - builtin-modules@3.3.0: {} - builtin-status-codes@3.0.0: {} busboy@1.6.0: @@ -12948,8 +12559,6 @@ snapshots: dataloader@1.4.0: {} - dataloader@2.2.2: {} - date-fns@2.30.0: dependencies: '@babel/runtime': 7.24.5 @@ -13496,8 +13105,6 @@ snapshots: estraverse@5.3.0: {} - estree-walker@1.0.1: {} - estree-walker@2.0.2: {} esutils@2.0.3: {} @@ -13624,8 +13231,6 @@ snapshots: iconv-lite: 0.4.24 tmp: 0.0.33 - fast-deep-equal@2.0.1: {} - fast-deep-equal@3.1.3: {} fast-diff@1.3.0: {} @@ -13684,11 +13289,6 @@ snapshots: transitivePeerDependencies: - supports-color - find-babel-config@2.1.1: - dependencies: - json5: 2.2.3 - path-exists: 4.0.0 - find-cache-dir@2.1.0: dependencies: commondir: 1.0.1 @@ -13761,13 +13361,6 @@ snapshots: jsonfile: 4.0.0 universalify: 0.1.2 - fs-extra@9.1.0: - dependencies: - at-least-node: 1.0.0 - graceful-fs: 4.2.11 - jsonfile: 6.1.0 - universalify: 2.0.1 - fs.realpath@1.0.0: {} fsevents@2.3.3: @@ -13818,15 +13411,6 @@ snapshots: dependencies: resolve-pkg-maps: 1.0.0 - glob-base@0.3.0: - dependencies: - glob-parent: 2.0.0 - is-glob: 2.0.1 - - glob-parent@2.0.0: - dependencies: - is-glob: 2.0.1 - glob-parent@5.1.2: dependencies: is-glob: 4.0.3 @@ -13860,13 +13444,6 @@ snapshots: once: 1.4.0 path-is-absolute: 1.0.1 - glob@9.3.5: - dependencies: - fs.realpath: 1.0.0 - minimatch: 8.0.4 - minipass: 4.2.8 - path-scurry: 1.11.1 - globals@11.12.0: {} globals@13.24.0: @@ -14020,10 +13597,6 @@ snapshots: ieee754@1.2.1: {} - ignore-walk@3.0.4: - dependencies: - minimatch: 3.1.2 - ignore@5.3.1: {} image-size@1.1.1: @@ -14112,10 +13685,6 @@ snapshots: is-docker@3.0.0: {} - is-dotfile@1.0.3: {} - - is-extglob@1.0.0: {} - is-extglob@2.1.1: {} is-finalizationregistry@1.0.2: @@ -14130,10 +13699,6 @@ snapshots: dependencies: has-tostringtag: 1.0.2 - is-glob@2.0.1: - dependencies: - is-extglob: 1.0.0 - is-glob@4.0.3: dependencies: is-extglob: 2.1.1 @@ -14146,8 +13711,6 @@ snapshots: is-map@2.0.3: {} - is-module@1.0.0: {} - is-nan@1.3.2: dependencies: call-bind: 1.0.7 @@ -14169,10 +13732,6 @@ snapshots: dependencies: isobject: 3.0.1 - is-reference@1.2.1: - dependencies: - '@types/estree': 1.0.5 - is-regex@1.1.4: dependencies: call-bind: 1.0.7 @@ -14325,12 +13884,6 @@ snapshots: leven: 3.1.0 pretty-format: 29.7.0 - jest-worker@26.6.2: - dependencies: - '@types/node': 20.12.12 - merge-stream: 2.0.0 - supports-color: 7.2.0 - jest-worker@29.7.0: dependencies: '@types/node': 20.12.12 @@ -14425,12 +13978,6 @@ snapshots: optionalDependencies: graceful-fs: 4.2.11 - jsonfile@6.1.0: - dependencies: - universalify: 2.0.1 - optionalDependencies: - graceful-fs: 4.2.11 - jsx-ast-utils@3.3.5: dependencies: array-includes: 3.1.8 @@ -14579,10 +14126,6 @@ snapshots: dependencies: yallist: 3.1.1 - magic-string@0.25.9: - dependencies: - sourcemap-codec: 1.4.8 - magic-string@0.30.10: dependencies: '@jridgewell/sourcemap-codec': 1.4.15 @@ -14628,20 +14171,6 @@ snapshots: type-fest: 0.13.1 yargs-parser: 18.1.3 - meow@7.1.1: - dependencies: - '@types/minimist': 1.2.5 - camelcase-keys: 6.2.2 - decamelize-keys: 1.1.1 - hard-rejection: 2.1.0 - minimist-options: 4.1.0 - normalize-package-data: 2.5.0 - read-pkg-up: 7.0.1 - redent: 3.0.0 - trim-newlines: 3.0.1 - type-fest: 0.13.1 - yargs-parser: 18.1.3 - merge-stream@2.0.0: {} merge2@1.4.1: {} @@ -14851,10 +14380,6 @@ snapshots: dependencies: brace-expansion: 1.1.11 - minimatch@8.0.4: - dependencies: - brace-expansion: 2.0.1 - minimatch@9.0.3: dependencies: brace-expansion: 2.0.1 @@ -14871,8 +14396,6 @@ snapshots: minimist@1.2.8: {} - minipass@4.2.8: {} - minipass@7.1.1: {} mipd@0.0.5(bufferutil@4.0.8)(typescript@5.4.5)(utf-8-validate@6.0.4)(zod@3.23.8): @@ -15028,19 +14551,6 @@ snapshots: normalize-path@3.0.0: {} - npm-bundled@1.1.2: - dependencies: - npm-normalize-package-bin: 1.0.1 - - npm-normalize-package-bin@1.0.1: {} - - npm-packlist@2.2.2: - dependencies: - glob: 7.2.3 - ignore-walk: 3.0.4 - npm-bundled: 1.1.2 - npm-normalize-package-bin: 1.0.1 - npm-run-path@4.0.1: dependencies: path-key: 3.1.1 @@ -15225,13 +14735,6 @@ snapshots: pbkdf2: 3.1.2 safe-buffer: 5.2.1 - parse-glob@3.0.4: - dependencies: - glob-base: 0.3.0 - is-dotfile: 1.0.3 - is-extglob: 1.0.0 - is-glob: 2.0.1 - parse-json@4.0.0: dependencies: error-ex: 1.3.2 @@ -15328,10 +14831,6 @@ snapshots: mlly: 1.7.0 pathe: 1.1.2 - pkg-up@3.1.0: - dependencies: - find-up: 3.0.0 - pngjs@5.0.0: {} pony-cause@2.1.11: {} @@ -15469,8 +14968,6 @@ snapshots: quick-lru@4.0.1: {} - quick-lru@5.1.1: {} - radix3@1.1.2: {} randombytes@2.1.0: @@ -15730,8 +15227,6 @@ snapshots: require-main-filename@2.0.0: {} - reselect@4.1.8: {} - resolve-from@3.0.0: {} resolve-from@4.0.0: {} @@ -15776,15 +15271,6 @@ snapshots: hash-base: 3.1.0 inherits: 2.0.4 - rollup-plugin-visualizer@5.12.0(rollup@2.79.1): - dependencies: - open: 8.4.2 - picomatch: 2.3.1 - source-map: 0.7.4 - yargs: 17.7.2 - optionalDependencies: - rollup: 2.79.1 - rollup-plugin-visualizer@5.12.0(rollup@4.18.0): dependencies: open: 8.4.2 @@ -15794,10 +15280,6 @@ snapshots: optionalDependencies: rollup: 4.18.0 - rollup@2.79.1: - optionalDependencies: - fsevents: 2.3.3 - rollup@4.18.0: dependencies: '@types/estree': 1.0.5 @@ -16016,8 +15498,6 @@ snapshots: source-map@0.7.4: {} - sourcemap-codec@1.4.8: {} - spawndamnit@2.0.0: dependencies: cross-spawn: 5.1.0 @@ -16278,6 +15758,33 @@ snapshots: wcwidth: 1.0.1 yargs: 17.7.2 + turbo-darwin-64@1.13.3: + optional: true + + turbo-darwin-arm64@1.13.3: + optional: true + + turbo-linux-64@1.13.3: + optional: true + + turbo-linux-arm64@1.13.3: + optional: true + + turbo-windows-64@1.13.3: + optional: true + + turbo-windows-arm64@1.13.3: + optional: true + + turbo@1.13.3: + optionalDependencies: + turbo-darwin-64: 1.13.3 + turbo-darwin-arm64: 1.13.3 + turbo-linux-64: 1.13.3 + turbo-linux-arm64: 1.13.3 + turbo-windows-64: 1.13.3 + turbo-windows-arm64: 1.13.3 + type-check@0.4.0: dependencies: prelude-ls: 1.2.1 @@ -16368,8 +15875,6 @@ snapshots: universalify@0.1.2: {} - universalify@2.0.1: {} - unpipe@1.0.0: {} unstorage@1.10.2(idb-keyval@6.2.1): @@ -16451,8 +15956,6 @@ snapshots: uuid@9.0.1: {} - v8-compile-cache@2.4.0: {} - validate-npm-package-license@3.0.4: dependencies: spdx-correct: 3.2.0 @@ -16548,44 +16051,6 @@ snapshots: void-elements@3.1.0: {} - wagmi@2.9.5(@tanstack/query-core@5.36.1)(@tanstack/react-query@5.37.1(react@18.3.1))(@types/react@18.3.2)(bufferutil@4.0.8)(react-dom@18.3.1(react@18.3.1))(react-i18next@13.5.0(i18next@22.5.1)(react-dom@18.3.1(react@18.3.1))(react-native@0.74.1(@babel/core@7.24.5)(@babel/preset-env@7.24.5(@babel/core@7.24.5))(@types/react@18.3.2)(bufferutil@4.0.8)(react@18.3.1)(utf-8-validate@6.0.4))(react@18.3.1))(react-native@0.74.1(@babel/core@7.24.5)(@babel/preset-env@7.24.5(@babel/core@7.24.5))(@types/react@18.3.2)(bufferutil@4.0.8)(react@18.3.1)(utf-8-validate@6.0.4))(react@18.3.1)(rollup@2.79.1)(typescript@5.4.5)(utf-8-validate@6.0.4)(viem@2.12.0(bufferutil@4.0.8)(typescript@5.4.5)(utf-8-validate@6.0.4)(zod@3.23.8))(zod@3.23.8): - dependencies: - '@tanstack/react-query': 5.37.1(react@18.3.1) - '@wagmi/connectors': 5.0.4(@types/react@18.3.2)(@wagmi/core@2.10.3(@tanstack/query-core@5.36.1)(@types/react@18.3.2)(bufferutil@4.0.8)(react@18.3.1)(typescript@5.4.5)(utf-8-validate@6.0.4)(viem@2.12.0(bufferutil@4.0.8)(typescript@5.4.5)(utf-8-validate@6.0.4)(zod@3.23.8))(zod@3.23.8))(bufferutil@4.0.8)(react-dom@18.3.1(react@18.3.1))(react-i18next@13.5.0(i18next@22.5.1)(react-dom@18.3.1(react@18.3.1))(react-native@0.74.1(@babel/core@7.24.5)(@babel/preset-env@7.24.5(@babel/core@7.24.5))(@types/react@18.3.2)(bufferutil@4.0.8)(react@18.3.1)(utf-8-validate@6.0.4))(react@18.3.1))(react-native@0.74.1(@babel/core@7.24.5)(@babel/preset-env@7.24.5(@babel/core@7.24.5))(@types/react@18.3.2)(bufferutil@4.0.8)(react@18.3.1)(utf-8-validate@6.0.4))(react@18.3.1)(rollup@2.79.1)(typescript@5.4.5)(utf-8-validate@6.0.4)(viem@2.12.0(bufferutil@4.0.8)(typescript@5.4.5)(utf-8-validate@6.0.4)(zod@3.23.8))(zod@3.23.8) - '@wagmi/core': 2.10.3(@tanstack/query-core@5.36.1)(@types/react@18.3.2)(bufferutil@4.0.8)(react@18.3.1)(typescript@5.4.5)(utf-8-validate@6.0.4)(viem@2.12.0(bufferutil@4.0.8)(typescript@5.4.5)(utf-8-validate@6.0.4)(zod@3.23.8))(zod@3.23.8) - react: 18.3.1 - use-sync-external-store: 1.2.0(react@18.3.1) - viem: 2.12.0(bufferutil@4.0.8)(typescript@5.4.5)(utf-8-validate@6.0.4)(zod@3.23.8) - 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-i18next - - react-native - - rollup - - supports-color - - uWebSockets.js - - utf-8-validate - - zod - wagmi@2.9.5(@tanstack/query-core@5.36.1)(@tanstack/react-query@5.37.1(react@18.3.1))(@types/react@18.3.2)(bufferutil@4.0.8)(react-dom@18.3.1(react@18.3.1))(react-i18next@13.5.0(i18next@22.5.1)(react-dom@18.3.1(react@18.3.1))(react-native@0.74.1(@babel/core@7.24.5)(@babel/preset-env@7.24.5(@babel/core@7.24.5))(@types/react@18.3.2)(bufferutil@4.0.8)(react@18.3.1)(utf-8-validate@6.0.4))(react@18.3.1))(react-native@0.74.1(@babel/core@7.24.5)(@babel/preset-env@7.24.5(@babel/core@7.24.5))(@types/react@18.3.2)(bufferutil@4.0.8)(react@18.3.1)(utf-8-validate@6.0.4))(react@18.3.1)(rollup@4.18.0)(typescript@5.4.5)(utf-8-validate@6.0.4)(viem@2.12.0(bufferutil@4.0.8)(typescript@5.4.5)(utf-8-validate@6.0.4)(zod@3.23.8))(zod@3.23.8): dependencies: '@tanstack/react-query': 5.37.1(react@18.3.1) @@ -16800,7 +16265,8 @@ snapshots: yocto-queue@0.1.0: {} - zod@3.23.8: {} + zod@3.23.8: + optional: true zustand@4.4.1(@types/react@18.3.2)(react@18.3.1): dependencies: diff --git a/tsconfig.json b/tsconfig.json index 2ff69d57..ddd29669 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,22 +1,20 @@ { "compilerOptions": { - "target": "es2021", - "module": "esnext", - "moduleResolution": "node", - "declaration": true, "esModuleInterop": true, - "resolveJsonModule": true, - "allowSyntheticDefaultImports": true, + "skipLibCheck": true, + "target": "es2022", "allowJs": true, - "strict": true, - "strictNullChecks": true, - "noImplicitAny": true, - "noImplicitReturns": true, + "resolveJsonModule": true, + "moduleDetection": "force", "isolatedModules": true, - "skipLibCheck": true, - "jsx": "react-jsx", - "typeRoots": ["node_modules/@types"], - "types": ["node"] + "strict": true, + // "noUncheckedIndexedAccess": true, + "module": "ESNext", + "moduleResolution": "Node", + "sourceMap": true, + "declaration": false, + "lib": ["es2022", "dom", "dom.iterable"], + "jsx": "react-jsx" }, "include": ["./packages/**/src/**/*.ts", "./packages/**/src/**/*.tsx"] } diff --git a/turbo.json b/turbo.json new file mode 100644 index 00000000..57f59878 --- /dev/null +++ b/turbo.json @@ -0,0 +1,19 @@ +{ + "$schema": "https://turbo.build/schema.json", + "experimentalUI": true, + "pipeline": { + "build": { + "dependsOn": ["^build"], + "outputs": ["dist/**"] + }, + "build:clean": {}, + "test": { + "dependsOn": ["build"] + }, + "lint": {}, + "dev": { + "cache": false, + "persistent": true + } + } +}