diff --git a/packages/react/package.json b/packages/react/package.json index 03b74ee3..f3d4fd5b 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -41,9 +41,9 @@ "@ensdomains/ens-contracts": "1.0.0", "@ensdomains/ens-test-env": "workspace:*", "ts-node": "^10.9.2", - "typescript": "5.3.2", - "viem": "2.9.2", "tslib": "^2.7.0", + "typescript": "5.6.2", + "viem": "2.9.2", "wagmi": "^2" }, "peerDependencies": { diff --git a/packages/react/src/hooks/useQuery.ts b/packages/react/src/hooks/useQuery.ts index c8232457..70fa3023 100644 --- a/packages/react/src/hooks/useQuery.ts +++ b/packages/react/src/hooks/useQuery.ts @@ -1,9 +1,9 @@ import { useQuery as useTanstackQuery, type DefaultError, + type DefinedUseQueryResult, type QueryKey, type UseQueryOptions, - type UseQueryResult, } from '@tanstack/react-query' import type { ExactPartial } from 'viem' import { fallbackQueryClient } from '../query.js' @@ -29,7 +29,7 @@ export type UseQueryParameters< export type UseQueryReturnType< Data = unknown, Error = DefaultError, -> = UseQueryResult +> = DefinedUseQueryResult export const useQuery = < Parameters extends UseQueryParameters, @@ -46,9 +46,7 @@ export const useQuery = < queryKey: key, } - // TODO: figure out why this is necessary - // @ts-ignore - return useTanstackQuery( + return useTanstackQuery( { ...parameters } as any, queryConfig?.queryClient ?? fallbackQueryClient, ) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 467bb8be..e0f64565 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -253,7 +253,7 @@ importers: devDependencies: '@ensdomains/buffer': specifier: ^0.0.13 - version: 0.0.13(@nomiclabs/hardhat-web3@2.0.0(hardhat@2.16.1(bufferutil@4.0.8)(ts-node@10.9.2(@swc/core@1.7.5)(@types/node@20.14.14)(typescript@5.3.2))(typescript@5.3.2)(utf-8-validate@5.0.10))(web3@1.10.4(bufferutil@4.0.8)(utf-8-validate@5.0.10)))(bufferutil@4.0.8)(hardhat@2.16.1(bufferutil@4.0.8)(ts-node@10.9.2(@swc/core@1.7.5)(@types/node@20.14.14)(typescript@5.3.2))(typescript@5.3.2)(utf-8-validate@5.0.10))(utf-8-validate@5.0.10)(web3-core-helpers@1.10.4)(web3-core-promievent@1.10.4)(web3-eth-abi@1.10.4)(web3-utils@1.10.4)(web3@1.10.4(bufferutil@4.0.8)(utf-8-validate@5.0.10)) + version: 0.0.13(@nomiclabs/hardhat-web3@2.0.0(hardhat@2.16.1(bufferutil@4.0.8)(ts-node@10.9.2(@swc/core@1.7.5)(@types/node@20.14.14)(typescript@5.6.2))(typescript@5.6.2)(utf-8-validate@5.0.10))(web3@1.10.4(bufferutil@4.0.8)(utf-8-validate@5.0.10)))(bufferutil@4.0.8)(hardhat@2.16.1(bufferutil@4.0.8)(ts-node@10.9.2(@swc/core@1.7.5)(@types/node@20.14.14)(typescript@5.6.2))(typescript@5.6.2)(utf-8-validate@5.0.10))(utf-8-validate@5.0.10)(web3-core-helpers@1.10.4)(web3-core-promievent@1.10.4)(web3-eth-abi@1.10.4)(web3-utils@1.10.4)(web3@1.10.4(bufferutil@4.0.8)(utf-8-validate@5.0.10)) '@ensdomains/ens-contracts': specifier: 1.0.0 version: 1.0.0 @@ -262,19 +262,19 @@ importers: version: link:../ens-test-env ts-node: specifier: ^10.9.2 - version: 10.9.2(@swc/core@1.7.5)(@types/node@20.14.14)(typescript@5.3.2) + version: 10.9.2(@swc/core@1.7.5)(@types/node@20.14.14)(typescript@5.6.2) tslib: specifier: ^2.7.0 version: 2.7.0 typescript: - specifier: 5.3.2 - version: 5.3.2 + specifier: 5.6.2 + version: 5.6.2 viem: specifier: 2.9.2 - version: 2.9.2(bufferutil@4.0.8)(typescript@5.3.2)(utf-8-validate@5.0.10) + version: 2.9.2(bufferutil@4.0.8)(typescript@5.6.2)(utf-8-validate@5.0.10) wagmi: specifier: ^2 - version: 2.12.8(@tanstack/query-core@5.54.1)(@tanstack/react-query@5.54.1(react@18.3.1))(bufferutil@4.0.8)(react-native@0.75.2(@babel/core@7.25.2)(@babel/preset-env@7.25.4(@babel/core@7.25.2))(bufferutil@4.0.8)(react@18.3.1)(typescript@5.3.2)(utf-8-validate@5.0.10))(react@18.3.1)(rollup@4.19.2)(typescript@5.3.2)(utf-8-validate@5.0.10)(viem@2.9.2(bufferutil@4.0.8)(typescript@5.3.2)(utf-8-validate@5.0.10)) + version: 2.12.8(@tanstack/query-core@5.54.1)(@tanstack/react-query@5.54.1(react@18.3.1))(bufferutil@4.0.8)(react-native@0.75.2(@babel/core@7.25.2)(@babel/preset-env@7.25.4(@babel/core@7.25.2))(bufferutil@4.0.8)(react@18.3.1)(typescript@5.6.2)(utf-8-validate@5.0.10))(react@18.3.1)(rollup@4.19.2)(typescript@5.6.2)(utf-8-validate@5.0.10)(viem@2.9.2(bufferutil@4.0.8)(typescript@5.6.2)(utf-8-validate@5.0.10)) packages: @@ -8900,6 +8900,22 @@ snapshots: - web3-eth-abi - web3-utils + '@ensdomains/buffer@0.0.13(@nomiclabs/hardhat-web3@2.0.0(hardhat@2.16.1(bufferutil@4.0.8)(ts-node@10.9.2(@swc/core@1.7.5)(@types/node@20.14.14)(typescript@5.6.2))(typescript@5.6.2)(utf-8-validate@5.0.10))(web3@1.10.4(bufferutil@4.0.8)(utf-8-validate@5.0.10)))(bufferutil@4.0.8)(hardhat@2.16.1(bufferutil@4.0.8)(ts-node@10.9.2(@swc/core@1.7.5)(@types/node@20.14.14)(typescript@5.6.2))(typescript@5.6.2)(utf-8-validate@5.0.10))(utf-8-validate@5.0.10)(web3-core-helpers@1.10.4)(web3-core-promievent@1.10.4)(web3-eth-abi@1.10.4)(web3-utils@1.10.4)(web3@1.10.4(bufferutil@4.0.8)(utf-8-validate@5.0.10))': + dependencies: + '@nomiclabs/hardhat-truffle5': 2.0.7(@nomiclabs/hardhat-web3@2.0.0(hardhat@2.16.1(bufferutil@4.0.8)(ts-node@10.9.2(@swc/core@1.7.5)(@types/node@20.14.14)(typescript@5.6.2))(typescript@5.6.2)(utf-8-validate@5.0.10))(web3@1.10.4(bufferutil@4.0.8)(utf-8-validate@5.0.10)))(bufferutil@4.0.8)(hardhat@2.16.1(bufferutil@4.0.8)(ts-node@10.9.2(@swc/core@1.7.5)(@types/node@20.14.14)(typescript@5.6.2))(typescript@5.6.2)(utf-8-validate@5.0.10))(utf-8-validate@5.0.10)(web3-core-helpers@1.10.4)(web3-core-promievent@1.10.4)(web3-eth-abi@1.10.4)(web3-utils@1.10.4)(web3@1.10.4(bufferutil@4.0.8)(utf-8-validate@5.0.10)) + transitivePeerDependencies: + - '@nomiclabs/hardhat-web3' + - bufferutil + - encoding + - hardhat + - supports-color + - utf-8-validate + - web3 + - web3-core-helpers + - web3-core-promievent + - web3-eth-abi + - web3-utils + '@ensdomains/buffer@0.1.1': {} '@ensdomains/content-hash@3.1.0-rc.1': @@ -9555,20 +9571,20 @@ snapshots: transitivePeerDependencies: - supports-color - '@metamask/sdk-install-modal-web@0.26.5(i18next@23.11.5)(react-native@0.75.2(@babel/core@7.25.2)(@babel/preset-env@7.25.4(@babel/core@7.25.2))(bufferutil@4.0.8)(react@18.3.1)(typescript@5.3.2)(utf-8-validate@5.0.10))(react@18.3.1)': + '@metamask/sdk-install-modal-web@0.26.5(i18next@23.11.5)(react-native@0.75.2(@babel/core@7.25.2)(@babel/preset-env@7.25.4(@babel/core@7.25.2))(bufferutil@4.0.8)(react@18.3.1)(typescript@5.6.2)(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-native: 0.75.2(@babel/core@7.25.2)(@babel/preset-env@7.25.4(@babel/core@7.25.2))(bufferutil@4.0.8)(react@18.3.1)(typescript@5.3.2)(utf-8-validate@5.0.10) + react-native: 0.75.2(@babel/core@7.25.2)(@babel/preset-env@7.25.4(@babel/core@7.25.2))(bufferutil@4.0.8)(react@18.3.1)(typescript@5.6.2)(utf-8-validate@5.0.10) - '@metamask/sdk@0.27.0(bufferutil@4.0.8)(react-native@0.75.2(@babel/core@7.25.2)(@babel/preset-env@7.25.4(@babel/core@7.25.2))(bufferutil@4.0.8)(react@18.3.1)(typescript@5.3.2)(utf-8-validate@5.0.10))(react@18.3.1)(rollup@4.19.2)(utf-8-validate@5.0.10)': + '@metamask/sdk@0.27.0(bufferutil@4.0.8)(react-native@0.75.2(@babel/core@7.25.2)(@babel/preset-env@7.25.4(@babel/core@7.25.2))(bufferutil@4.0.8)(react@18.3.1)(typescript@5.6.2)(utf-8-validate@5.0.10))(react@18.3.1)(rollup@4.19.2)(utf-8-validate@5.0.10)': dependencies: '@metamask/onboarding': 1.0.1 '@metamask/providers': 16.1.0 '@metamask/sdk-communication-layer': 0.27.0(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.26.5(i18next@23.11.5)(react-native@0.75.2(@babel/core@7.25.2)(@babel/preset-env@7.25.4(@babel/core@7.25.2))(bufferutil@4.0.8)(react@18.3.1)(typescript@5.3.2)(utf-8-validate@5.0.10))(react@18.3.1) + '@metamask/sdk-install-modal-web': 0.26.5(i18next@23.11.5)(react-native@0.75.2(@babel/core@7.25.2)(@babel/preset-env@7.25.4(@babel/core@7.25.2))(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 bowser: 2.11.0 cross-fetch: 4.0.0 @@ -9581,7 +9597,7 @@ snapshots: obj-multiplex: 1.0.0 pump: 3.0.0 qrcode-terminal-nooctal: 0.12.1 - react-native-webview: 11.26.1(react-native@0.75.2(@babel/core@7.25.2)(@babel/preset-env@7.25.4(@babel/core@7.25.2))(bufferutil@4.0.8)(react@18.3.1)(typescript@5.3.2)(utf-8-validate@5.0.10))(react@18.3.1) + react-native-webview: 11.26.1(react-native@0.75.2(@babel/core@7.25.2)(@babel/preset-env@7.25.4(@babel/core@7.25.2))(bufferutil@4.0.8)(react@18.3.1)(typescript@5.6.2)(utf-8-validate@5.0.10))(react@18.3.1) readable-stream: 3.6.2 rollup-plugin-visualizer: 5.12.0(rollup@4.19.2) socket.io-client: 4.7.5(bufferutil@4.0.8)(utf-8-validate@5.0.10) @@ -9893,12 +9909,38 @@ snapshots: - web3-eth-abi - web3-utils + '@nomiclabs/hardhat-truffle5@2.0.7(@nomiclabs/hardhat-web3@2.0.0(hardhat@2.16.1(bufferutil@4.0.8)(ts-node@10.9.2(@swc/core@1.7.5)(@types/node@20.14.14)(typescript@5.6.2))(typescript@5.6.2)(utf-8-validate@5.0.10))(web3@1.10.4(bufferutil@4.0.8)(utf-8-validate@5.0.10)))(bufferutil@4.0.8)(hardhat@2.16.1(bufferutil@4.0.8)(ts-node@10.9.2(@swc/core@1.7.5)(@types/node@20.14.14)(typescript@5.6.2))(typescript@5.6.2)(utf-8-validate@5.0.10))(utf-8-validate@5.0.10)(web3-core-helpers@1.10.4)(web3-core-promievent@1.10.4)(web3-eth-abi@1.10.4)(web3-utils@1.10.4)(web3@1.10.4(bufferutil@4.0.8)(utf-8-validate@5.0.10))': + dependencies: + '@nomiclabs/hardhat-web3': 2.0.0(hardhat@2.16.1(bufferutil@4.0.8)(ts-node@10.9.2(@swc/core@1.7.5)(@types/node@20.14.14)(typescript@5.6.2))(typescript@5.6.2)(utf-8-validate@5.0.10))(web3@1.10.4(bufferutil@4.0.8)(utf-8-validate@5.0.10)) + '@nomiclabs/truffle-contract': 4.5.10(bufferutil@4.0.8)(utf-8-validate@5.0.10)(web3-core-helpers@1.10.4)(web3-core-promievent@1.10.4)(web3-eth-abi@1.10.4)(web3-utils@1.10.4)(web3@1.10.4(bufferutil@4.0.8)(utf-8-validate@5.0.10)) + '@types/chai': 4.3.17 + chai: 4.5.0 + ethereumjs-util: 7.1.5 + fs-extra: 7.0.1 + hardhat: 2.16.1(bufferutil@4.0.8)(ts-node@10.9.2(@swc/core@1.7.5)(@types/node@20.14.14)(typescript@5.6.2))(typescript@5.6.2)(utf-8-validate@5.0.10) + web3: 1.10.4(bufferutil@4.0.8)(utf-8-validate@5.0.10) + transitivePeerDependencies: + - bufferutil + - encoding + - supports-color + - utf-8-validate + - web3-core-helpers + - web3-core-promievent + - web3-eth-abi + - web3-utils + '@nomiclabs/hardhat-web3@2.0.0(hardhat@2.16.1(bufferutil@4.0.8)(ts-node@10.9.2(@swc/core@1.7.5)(@types/node@20.14.14)(typescript@5.3.2))(typescript@5.3.2)(utf-8-validate@5.0.10))(web3@1.10.4(bufferutil@4.0.8)(utf-8-validate@5.0.10))': dependencies: '@types/bignumber.js': 5.0.0 hardhat: 2.16.1(bufferutil@4.0.8)(ts-node@10.9.2(@swc/core@1.7.5)(@types/node@20.14.14)(typescript@5.3.2))(typescript@5.3.2)(utf-8-validate@5.0.10) web3: 1.10.4(bufferutil@4.0.8)(utf-8-validate@5.0.10) + '@nomiclabs/hardhat-web3@2.0.0(hardhat@2.16.1(bufferutil@4.0.8)(ts-node@10.9.2(@swc/core@1.7.5)(@types/node@20.14.14)(typescript@5.6.2))(typescript@5.6.2)(utf-8-validate@5.0.10))(web3@1.10.4(bufferutil@4.0.8)(utf-8-validate@5.0.10))': + dependencies: + '@types/bignumber.js': 5.0.0 + hardhat: 2.16.1(bufferutil@4.0.8)(ts-node@10.9.2(@swc/core@1.7.5)(@types/node@20.14.14)(typescript@5.6.2))(typescript@5.6.2)(utf-8-validate@5.0.10) + web3: 1.10.4(bufferutil@4.0.8)(utf-8-validate@5.0.10) + '@nomiclabs/truffle-contract@4.5.10(bufferutil@4.0.8)(utf-8-validate@5.0.10)(web3-core-helpers@1.10.4)(web3-core-promievent@1.10.4)(web3-eth-abi@1.10.4)(web3-utils@1.10.4)(web3@1.10.4(bufferutil@4.0.8)(utf-8-validate@5.0.10))': dependencies: '@ensdomains/ensjs': 2.1.0(bufferutil@4.0.8)(utf-8-validate@5.0.10) @@ -10016,11 +10058,11 @@ snapshots: execa: 5.1.1 fast-glob: 3.3.2 - '@react-native-community/cli-config@14.0.0(typescript@5.3.2)': + '@react-native-community/cli-config@14.0.0(typescript@5.6.2)': dependencies: '@react-native-community/cli-tools': 14.0.0 chalk: 4.1.2 - cosmiconfig: 9.0.0(typescript@5.3.2) + cosmiconfig: 9.0.0(typescript@5.6.2) deepmerge: 4.3.1 fast-glob: 3.3.2 joi: 17.13.3 @@ -10039,9 +10081,9 @@ snapshots: transitivePeerDependencies: - supports-color - '@react-native-community/cli-doctor@14.0.0(typescript@5.3.2)': + '@react-native-community/cli-doctor@14.0.0(typescript@5.6.2)': dependencies: - '@react-native-community/cli-config': 14.0.0(typescript@5.3.2) + '@react-native-community/cli-config': 14.0.0(typescript@5.6.2) '@react-native-community/cli-platform-android': 14.0.0 '@react-native-community/cli-platform-apple': 14.0.0 '@react-native-community/cli-platform-ios': 14.0.0 @@ -10144,12 +10186,12 @@ snapshots: dependencies: joi: 17.13.3 - '@react-native-community/cli@14.0.0(bufferutil@4.0.8)(typescript@5.3.2)(utf-8-validate@5.0.10)': + '@react-native-community/cli@14.0.0(bufferutil@4.0.8)(typescript@5.6.2)(utf-8-validate@5.0.10)': dependencies: '@react-native-community/cli-clean': 14.0.0 - '@react-native-community/cli-config': 14.0.0(typescript@5.3.2) + '@react-native-community/cli-config': 14.0.0(typescript@5.6.2) '@react-native-community/cli-debugger-ui': 14.0.0 - '@react-native-community/cli-doctor': 14.0.0(typescript@5.3.2) + '@react-native-community/cli-doctor': 14.0.0(typescript@5.6.2) '@react-native-community/cli-server-api': 14.0.0(bufferutil@4.0.8)(utf-8-validate@5.0.10) '@react-native-community/cli-tools': 14.0.0 '@react-native-community/cli-types': 14.0.0 @@ -10302,12 +10344,12 @@ snapshots: '@react-native/normalize-colors@0.75.2': {} - '@react-native/virtualized-lists@0.75.2(react-native@0.75.2(@babel/core@7.25.2)(@babel/preset-env@7.25.4(@babel/core@7.25.2))(bufferutil@4.0.8)(react@18.3.1)(typescript@5.3.2)(utf-8-validate@5.0.10))(react@18.3.1)': + '@react-native/virtualized-lists@0.75.2(react-native@0.75.2(@babel/core@7.25.2)(@babel/preset-env@7.25.4(@babel/core@7.25.2))(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.2(@babel/core@7.25.2)(@babel/preset-env@7.25.4(@babel/core@7.25.2))(bufferutil@4.0.8)(react@18.3.1)(typescript@5.3.2)(utf-8-validate@5.0.10) + react-native: 0.75.2(@babel/core@7.25.2)(@babel/preset-env@7.25.4(@babel/core@7.25.2))(bufferutil@4.0.8)(react@18.3.1)(typescript@5.6.2)(utf-8-validate@5.0.10) '@rollup/rollup-android-arm-eabi@4.19.2': optional: true @@ -10357,9 +10399,9 @@ snapshots: '@rollup/rollup-win32-x64-msvc@4.19.2': optional: true - '@safe-global/safe-apps-provider@0.18.3(bufferutil@4.0.8)(typescript@5.3.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)': dependencies: - '@safe-global/safe-apps-sdk': 9.1.0(bufferutil@4.0.8)(typescript@5.3.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) events: 3.3.0 transitivePeerDependencies: - bufferutil @@ -10367,10 +10409,10 @@ snapshots: - utf-8-validate - zod - '@safe-global/safe-apps-sdk@9.1.0(bufferutil@4.0.8)(typescript@5.3.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)': dependencies: '@safe-global/safe-gateway-typescript-sdk': 3.22.2 - viem: 2.21.12(bufferutil@4.0.8)(typescript@5.3.2)(utf-8-validate@5.0.10) + viem: 2.21.12(bufferutil@4.0.8)(typescript@5.6.2)(utf-8-validate@5.0.10) transitivePeerDependencies: - bufferutil - typescript @@ -10981,19 +11023,19 @@ snapshots: loupe: 2.3.7 pretty-format: 29.7.0 - '@wagmi/connectors@5.1.8(@wagmi/core@2.13.4(@tanstack/query-core@5.54.1)(react@18.3.1)(typescript@5.3.2)(viem@2.9.2(bufferutil@4.0.8)(typescript@5.3.2)(utf-8-validate@5.0.10)))(bufferutil@4.0.8)(react-native@0.75.2(@babel/core@7.25.2)(@babel/preset-env@7.25.4(@babel/core@7.25.2))(bufferutil@4.0.8)(react@18.3.1)(typescript@5.3.2)(utf-8-validate@5.0.10))(react@18.3.1)(rollup@4.19.2)(typescript@5.3.2)(utf-8-validate@5.0.10)(viem@2.9.2(bufferutil@4.0.8)(typescript@5.3.2)(utf-8-validate@5.0.10))': + '@wagmi/connectors@5.1.8(@wagmi/core@2.13.4(@tanstack/query-core@5.54.1)(react@18.3.1)(typescript@5.6.2)(viem@2.9.2(bufferutil@4.0.8)(typescript@5.6.2)(utf-8-validate@5.0.10)))(bufferutil@4.0.8)(react-native@0.75.2(@babel/core@7.25.2)(@babel/preset-env@7.25.4(@babel/core@7.25.2))(bufferutil@4.0.8)(react@18.3.1)(typescript@5.6.2)(utf-8-validate@5.0.10))(react@18.3.1)(rollup@4.19.2)(typescript@5.6.2)(utf-8-validate@5.0.10)(viem@2.9.2(bufferutil@4.0.8)(typescript@5.6.2)(utf-8-validate@5.0.10))': dependencies: '@coinbase/wallet-sdk': 4.0.4 - '@metamask/sdk': 0.27.0(bufferutil@4.0.8)(react-native@0.75.2(@babel/core@7.25.2)(@babel/preset-env@7.25.4(@babel/core@7.25.2))(bufferutil@4.0.8)(react@18.3.1)(typescript@5.3.2)(utf-8-validate@5.0.10))(react@18.3.1)(rollup@4.19.2)(utf-8-validate@5.0.10) - '@safe-global/safe-apps-provider': 0.18.3(bufferutil@4.0.8)(typescript@5.3.2)(utf-8-validate@5.0.10) - '@safe-global/safe-apps-sdk': 9.1.0(bufferutil@4.0.8)(typescript@5.3.2)(utf-8-validate@5.0.10) - '@wagmi/core': 2.13.4(@tanstack/query-core@5.54.1)(react@18.3.1)(typescript@5.3.2)(viem@2.9.2(bufferutil@4.0.8)(typescript@5.3.2)(utf-8-validate@5.0.10)) + '@metamask/sdk': 0.27.0(bufferutil@4.0.8)(react-native@0.75.2(@babel/core@7.25.2)(@babel/preset-env@7.25.4(@babel/core@7.25.2))(bufferutil@4.0.8)(react@18.3.1)(typescript@5.6.2)(utf-8-validate@5.0.10))(react@18.3.1)(rollup@4.19.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.4(@tanstack/query-core@5.54.1)(react@18.3.1)(typescript@5.6.2)(viem@2.9.2(bufferutil@4.0.8)(typescript@5.6.2)(utf-8-validate@5.0.10)) '@walletconnect/ethereum-provider': 2.15.2(bufferutil@4.0.8)(react@18.3.1)(utf-8-validate@5.0.10) '@walletconnect/modal': 2.6.2(react@18.3.1) cbw-sdk: '@coinbase/wallet-sdk@3.9.3' - viem: 2.9.2(bufferutil@4.0.8)(typescript@5.3.2)(utf-8-validate@5.0.10) + viem: 2.9.2(bufferutil@4.0.8)(typescript@5.6.2)(utf-8-validate@5.0.10) optionalDependencies: - typescript: 5.3.2 + typescript: 5.6.2 transitivePeerDependencies: - '@azure/app-configuration' - '@azure/cosmos' @@ -11020,15 +11062,15 @@ snapshots: - utf-8-validate - zod - '@wagmi/core@2.13.4(@tanstack/query-core@5.54.1)(react@18.3.1)(typescript@5.3.2)(viem@2.9.2(bufferutil@4.0.8)(typescript@5.3.2)(utf-8-validate@5.0.10))': + '@wagmi/core@2.13.4(@tanstack/query-core@5.54.1)(react@18.3.1)(typescript@5.6.2)(viem@2.9.2(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.3.2) - viem: 2.9.2(bufferutil@4.0.8)(typescript@5.3.2)(utf-8-validate@5.0.10) + mipd: 0.0.7(typescript@5.6.2) + viem: 2.9.2(bufferutil@4.0.8)(typescript@5.6.2)(utf-8-validate@5.0.10) zustand: 4.4.1(react@18.3.1) optionalDependencies: '@tanstack/query-core': 5.54.1 - typescript: 5.3.2 + typescript: 5.6.2 transitivePeerDependencies: - '@types/react' - immer @@ -11355,9 +11397,9 @@ snapshots: optionalDependencies: typescript: 5.6.2 - abitype@1.0.0(typescript@5.3.2): + abitype@1.0.0(typescript@5.6.2): optionalDependencies: - typescript: 5.3.2 + typescript: 5.6.2 abitype@1.0.5(typescript@5.3.2): optionalDependencies: @@ -12162,14 +12204,14 @@ snapshots: js-yaml: 3.14.1 parse-json: 4.0.0 - cosmiconfig@9.0.0(typescript@5.3.2): + 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.3.2 + typescript: 5.6.2 crc-32@1.2.2: {} @@ -13766,6 +13808,65 @@ snapshots: - supports-color - utf-8-validate + hardhat@2.16.1(bufferutil@4.0.8)(ts-node@10.9.2(@swc/core@1.7.5)(@types/node@20.14.14)(typescript@5.6.2))(typescript@5.6.2)(utf-8-validate@5.0.10): + dependencies: + '@ethersproject/abi': 5.7.0 + '@metamask/eth-sig-util': 4.0.1 + '@nomicfoundation/ethereumjs-block': 5.0.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) + '@nomicfoundation/ethereumjs-blockchain': 7.0.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) + '@nomicfoundation/ethereumjs-common': 4.0.1 + '@nomicfoundation/ethereumjs-evm': 2.0.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) + '@nomicfoundation/ethereumjs-rlp': 5.0.1 + '@nomicfoundation/ethereumjs-statemanager': 2.0.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) + '@nomicfoundation/ethereumjs-trie': 6.0.1 + '@nomicfoundation/ethereumjs-tx': 5.0.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) + '@nomicfoundation/ethereumjs-util': 9.0.1 + '@nomicfoundation/ethereumjs-vm': 7.0.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) + '@nomicfoundation/solidity-analyzer': 0.1.2 + '@sentry/node': 5.30.0 + '@types/bn.js': 5.1.5 + '@types/lru-cache': 5.1.1 + abort-controller: 3.0.0 + adm-zip: 0.4.16 + aggregate-error: 3.1.0 + ansi-escapes: 4.3.2 + chalk: 2.4.2 + chokidar: 3.6.0 + ci-info: 2.0.0 + debug: 4.3.6(supports-color@8.1.1) + enquirer: 2.4.1 + env-paths: 2.2.1 + ethereum-cryptography: 1.2.0 + ethereumjs-abi: 0.6.8 + find-up: 2.1.0 + fp-ts: 1.19.3 + fs-extra: 7.0.1 + glob: 7.2.0 + immutable: 4.3.7 + io-ts: 1.10.4 + keccak: 3.0.4 + lodash: 4.17.21 + mnemonist: 0.38.5 + mocha: 10.7.0 + p-map: 4.0.0 + raw-body: 2.5.2 + resolve: 1.17.0 + semver: 6.3.1 + solc: 0.7.3(debug@4.3.6) + source-map-support: 0.5.21 + stacktrace-parser: 0.1.10 + tsort: 0.0.1 + undici: 5.28.4 + uuid: 8.3.2 + ws: 7.5.10(bufferutil@4.0.8)(utf-8-validate@5.0.10) + optionalDependencies: + ts-node: 10.9.2(@swc/core@1.7.5)(@types/node@20.14.14)(typescript@5.6.2) + typescript: 5.6.2 + transitivePeerDependencies: + - bufferutil + - supports-color + - utf-8-validate + has-bigints@1.0.2: {} has-flag@3.0.0: {} @@ -14862,9 +14963,9 @@ snapshots: dependencies: minipass: 2.9.0 - mipd@0.0.7(typescript@5.3.2): + mipd@0.0.7(typescript@5.6.2): optionalDependencies: - typescript: 5.3.2 + typescript: 5.6.2 mkdirp-classic@0.5.3: {} @@ -15554,17 +15655,17 @@ snapshots: react-is@18.3.1: {} - react-native-webview@11.26.1(react-native@0.75.2(@babel/core@7.25.2)(@babel/preset-env@7.25.4(@babel/core@7.25.2))(bufferutil@4.0.8)(react@18.3.1)(typescript@5.3.2)(utf-8-validate@5.0.10))(react@18.3.1): + react-native-webview@11.26.1(react-native@0.75.2(@babel/core@7.25.2)(@babel/preset-env@7.25.4(@babel/core@7.25.2))(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.2(@babel/core@7.25.2)(@babel/preset-env@7.25.4(@babel/core@7.25.2))(bufferutil@4.0.8)(react@18.3.1)(typescript@5.3.2)(utf-8-validate@5.0.10) + react-native: 0.75.2(@babel/core@7.25.2)(@babel/preset-env@7.25.4(@babel/core@7.25.2))(bufferutil@4.0.8)(react@18.3.1)(typescript@5.6.2)(utf-8-validate@5.0.10) - react-native@0.75.2(@babel/core@7.25.2)(@babel/preset-env@7.25.4(@babel/core@7.25.2))(bufferutil@4.0.8)(react@18.3.1)(typescript@5.3.2)(utf-8-validate@5.0.10): + react-native@0.75.2(@babel/core@7.25.2)(@babel/preset-env@7.25.4(@babel/core@7.25.2))(bufferutil@4.0.8)(react@18.3.1)(typescript@5.6.2)(utf-8-validate@5.0.10): dependencies: '@jest/create-cache-key-function': 29.7.0 - '@react-native-community/cli': 14.0.0(bufferutil@4.0.8)(typescript@5.3.2)(utf-8-validate@5.0.10) + '@react-native-community/cli': 14.0.0(bufferutil@4.0.8)(typescript@5.6.2)(utf-8-validate@5.0.10) '@react-native-community/cli-platform-android': 14.0.0 '@react-native-community/cli-platform-ios': 14.0.0 '@react-native/assets-registry': 0.75.2 @@ -15573,7 +15674,7 @@ snapshots: '@react-native/gradle-plugin': 0.75.2 '@react-native/js-polyfills': 0.75.2 '@react-native/normalize-colors': 0.75.2 - '@react-native/virtualized-lists': 0.75.2(react-native@0.75.2(@babel/core@7.25.2)(@babel/preset-env@7.25.4(@babel/core@7.25.2))(bufferutil@4.0.8)(react@18.3.1)(typescript@5.3.2)(utf-8-validate@5.0.10))(react@18.3.1) + '@react-native/virtualized-lists': 0.75.2(react-native@0.75.2(@babel/core@7.25.2)(@babel/preset-env@7.25.4(@babel/core@7.25.2))(bufferutil@4.0.8)(react@18.3.1)(typescript@5.6.2)(utf-8-validate@5.0.10))(react@18.3.1) abort-controller: 3.0.0 anser: 1.4.10 ansi-regex: 5.0.1 @@ -16769,6 +16870,24 @@ snapshots: - utf-8-validate - zod + viem@2.21.12(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 + transitivePeerDependencies: + - bufferutil + - utf-8-validate + - zod + viem@2.21.12(bufferutil@4.0.8)(typescript@5.6.2)(utf-8-validate@6.0.3): dependencies: '@adraffy/ens-normalize': 1.10.0 @@ -16787,18 +16906,18 @@ snapshots: - utf-8-validate - zod - viem@2.9.2(bufferutil@4.0.8)(typescript@5.3.2)(utf-8-validate@5.0.10): + viem@2.9.2(bufferutil@4.0.8)(typescript@5.6.2)(utf-8-validate@5.0.10): dependencies: '@adraffy/ens-normalize': 1.10.0 '@noble/curves': 1.2.0 '@noble/hashes': 1.3.2 '@scure/bip32': 1.3.2 '@scure/bip39': 1.2.1 - abitype: 1.0.0(typescript@5.3.2) + abitype: 1.0.0(typescript@5.6.2) isows: 1.0.3(ws@8.13.0(bufferutil@4.0.8)(utf-8-validate@5.0.10)) ws: 8.13.0(bufferutil@4.0.8)(utf-8-validate@5.0.10) optionalDependencies: - typescript: 5.3.2 + typescript: 5.6.2 transitivePeerDependencies: - bufferutil - utf-8-validate @@ -16871,16 +16990,16 @@ snapshots: vscode-textmate@8.0.0: {} - wagmi@2.12.8(@tanstack/query-core@5.54.1)(@tanstack/react-query@5.54.1(react@18.3.1))(bufferutil@4.0.8)(react-native@0.75.2(@babel/core@7.25.2)(@babel/preset-env@7.25.4(@babel/core@7.25.2))(bufferutil@4.0.8)(react@18.3.1)(typescript@5.3.2)(utf-8-validate@5.0.10))(react@18.3.1)(rollup@4.19.2)(typescript@5.3.2)(utf-8-validate@5.0.10)(viem@2.9.2(bufferutil@4.0.8)(typescript@5.3.2)(utf-8-validate@5.0.10)): + wagmi@2.12.8(@tanstack/query-core@5.54.1)(@tanstack/react-query@5.54.1(react@18.3.1))(bufferutil@4.0.8)(react-native@0.75.2(@babel/core@7.25.2)(@babel/preset-env@7.25.4(@babel/core@7.25.2))(bufferutil@4.0.8)(react@18.3.1)(typescript@5.6.2)(utf-8-validate@5.0.10))(react@18.3.1)(rollup@4.19.2)(typescript@5.6.2)(utf-8-validate@5.0.10)(viem@2.9.2(bufferutil@4.0.8)(typescript@5.6.2)(utf-8-validate@5.0.10)): dependencies: '@tanstack/react-query': 5.54.1(react@18.3.1) - '@wagmi/connectors': 5.1.8(@wagmi/core@2.13.4(@tanstack/query-core@5.54.1)(react@18.3.1)(typescript@5.3.2)(viem@2.9.2(bufferutil@4.0.8)(typescript@5.3.2)(utf-8-validate@5.0.10)))(bufferutil@4.0.8)(react-native@0.75.2(@babel/core@7.25.2)(@babel/preset-env@7.25.4(@babel/core@7.25.2))(bufferutil@4.0.8)(react@18.3.1)(typescript@5.3.2)(utf-8-validate@5.0.10))(react@18.3.1)(rollup@4.19.2)(typescript@5.3.2)(utf-8-validate@5.0.10)(viem@2.9.2(bufferutil@4.0.8)(typescript@5.3.2)(utf-8-validate@5.0.10)) - '@wagmi/core': 2.13.4(@tanstack/query-core@5.54.1)(react@18.3.1)(typescript@5.3.2)(viem@2.9.2(bufferutil@4.0.8)(typescript@5.3.2)(utf-8-validate@5.0.10)) + '@wagmi/connectors': 5.1.8(@wagmi/core@2.13.4(@tanstack/query-core@5.54.1)(react@18.3.1)(typescript@5.6.2)(viem@2.9.2(bufferutil@4.0.8)(typescript@5.6.2)(utf-8-validate@5.0.10)))(bufferutil@4.0.8)(react-native@0.75.2(@babel/core@7.25.2)(@babel/preset-env@7.25.4(@babel/core@7.25.2))(bufferutil@4.0.8)(react@18.3.1)(typescript@5.6.2)(utf-8-validate@5.0.10))(react@18.3.1)(rollup@4.19.2)(typescript@5.6.2)(utf-8-validate@5.0.10)(viem@2.9.2(bufferutil@4.0.8)(typescript@5.6.2)(utf-8-validate@5.0.10)) + '@wagmi/core': 2.13.4(@tanstack/query-core@5.54.1)(react@18.3.1)(typescript@5.6.2)(viem@2.9.2(bufferutil@4.0.8)(typescript@5.6.2)(utf-8-validate@5.0.10)) react: 18.3.1 use-sync-external-store: 1.2.0(react@18.3.1) - viem: 2.9.2(bufferutil@4.0.8)(typescript@5.3.2)(utf-8-validate@5.0.10) + viem: 2.9.2(bufferutil@4.0.8)(typescript@5.6.2)(utf-8-validate@5.0.10) optionalDependencies: - typescript: 5.3.2 + typescript: 5.6.2 transitivePeerDependencies: - '@azure/app-configuration' - '@azure/cosmos'