wagmi 2.15.7 → 2.16.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (84) hide show
  1. package/dist/esm/exports/codegen.js +1 -1
  2. package/dist/esm/exports/codegen.js.map +1 -1
  3. package/dist/esm/exports/experimental.js +3 -3
  4. package/dist/esm/exports/experimental.js.map +1 -1
  5. package/dist/esm/exports/index.js +10 -10
  6. package/dist/esm/exports/index.js.map +1 -1
  7. package/dist/esm/hooks/useAccount.js.map +1 -1
  8. package/dist/esm/hooks/useBalance.js.map +1 -1
  9. package/dist/esm/hooks/useBytecode.js.map +1 -1
  10. package/dist/esm/hooks/useCall.js.map +1 -1
  11. package/dist/esm/hooks/useChainId.js.map +1 -1
  12. package/dist/esm/hooks/useChains.js.map +1 -1
  13. package/dist/esm/hooks/useClient.js.map +1 -1
  14. package/dist/esm/hooks/useConfig.js +1 -0
  15. package/dist/esm/hooks/useConfig.js.map +1 -1
  16. package/dist/esm/hooks/useConnectors.js.map +1 -1
  17. package/dist/esm/hooks/usePrepareTransactionRequest.js.map +1 -1
  18. package/dist/esm/hooks/useProof.js.map +1 -1
  19. package/dist/esm/hooks/usePublicClient.js.map +1 -1
  20. package/dist/esm/hooks/useStorageAt.js.map +1 -1
  21. package/dist/esm/hooks/useTransactionReceipt.js.map +1 -1
  22. package/dist/esm/hooks/useVerifyMessage.js.map +1 -1
  23. package/dist/esm/hooks/useVerifyTypedData.js.map +1 -1
  24. package/dist/esm/hydrate.js.map +1 -1
  25. package/dist/esm/tsconfig.build.tsbuildinfo +1 -1
  26. package/dist/esm/utils/query.js.map +1 -1
  27. package/dist/esm/version.js +1 -1
  28. package/dist/types/exports/codegen.d.ts +1 -1
  29. package/dist/types/exports/codegen.d.ts.map +1 -1
  30. package/dist/types/exports/experimental.d.ts +7 -7
  31. package/dist/types/exports/experimental.d.ts.map +1 -1
  32. package/dist/types/exports/index.d.ts +11 -11
  33. package/dist/types/exports/index.d.ts.map +1 -1
  34. package/dist/types/hooks/useAccount.d.ts.map +1 -1
  35. package/dist/types/hooks/useBalance.d.ts +1 -1
  36. package/dist/types/hooks/useBalance.d.ts.map +1 -1
  37. package/dist/types/hooks/useBytecode.d.ts +1 -1
  38. package/dist/types/hooks/useBytecode.d.ts.map +1 -1
  39. package/dist/types/hooks/useCall.d.ts +1 -1
  40. package/dist/types/hooks/useCall.d.ts.map +1 -1
  41. package/dist/types/hooks/useChainId.d.ts.map +1 -1
  42. package/dist/types/hooks/useChains.d.ts.map +1 -1
  43. package/dist/types/hooks/useClient.d.ts.map +1 -1
  44. package/dist/types/hooks/useConfig.d.ts.map +1 -1
  45. package/dist/types/hooks/useConnectors.d.ts.map +1 -1
  46. package/dist/types/hooks/usePrepareTransactionRequest.d.ts +1 -1
  47. package/dist/types/hooks/usePrepareTransactionRequest.d.ts.map +1 -1
  48. package/dist/types/hooks/useProof.d.ts +1 -1
  49. package/dist/types/hooks/useProof.d.ts.map +1 -1
  50. package/dist/types/hooks/usePublicClient.d.ts.map +1 -1
  51. package/dist/types/hooks/useStorageAt.d.ts +1 -1
  52. package/dist/types/hooks/useStorageAt.d.ts.map +1 -1
  53. package/dist/types/hooks/useTransactionReceipt.d.ts +1 -1
  54. package/dist/types/hooks/useTransactionReceipt.d.ts.map +1 -1
  55. package/dist/types/hooks/useVerifyMessage.d.ts +1 -1
  56. package/dist/types/hooks/useVerifyMessage.d.ts.map +1 -1
  57. package/dist/types/hooks/useVerifyTypedData.d.ts +1 -1
  58. package/dist/types/hooks/useVerifyTypedData.d.ts.map +1 -1
  59. package/dist/types/hydrate.d.ts.map +1 -1
  60. package/dist/types/utils/query.d.ts.map +1 -1
  61. package/dist/types/version.d.ts +1 -1
  62. package/package.json +3 -3
  63. package/src/exports/codegen.ts +5 -6
  64. package/src/exports/experimental.ts +8 -13
  65. package/src/exports/index.ts +61 -71
  66. package/src/hooks/useAccount.ts +1 -1
  67. package/src/hooks/useBalance.ts +1 -1
  68. package/src/hooks/useBytecode.ts +1 -1
  69. package/src/hooks/useCall.ts +1 -1
  70. package/src/hooks/useChainId.ts +1 -1
  71. package/src/hooks/useChains.ts +1 -1
  72. package/src/hooks/useClient.ts +1 -1
  73. package/src/hooks/useConfig.ts +1 -0
  74. package/src/hooks/useConnectors.ts +1 -1
  75. package/src/hooks/usePrepareTransactionRequest.ts +1 -1
  76. package/src/hooks/useProof.ts +1 -1
  77. package/src/hooks/usePublicClient.ts +1 -1
  78. package/src/hooks/useStorageAt.ts +1 -1
  79. package/src/hooks/useTransactionReceipt.ts +1 -1
  80. package/src/hooks/useVerifyMessage.ts +1 -1
  81. package/src/hooks/useVerifyTypedData.ts +1 -1
  82. package/src/hydrate.ts +1 -1
  83. package/src/utils/query.ts +2 -2
  84. package/src/version.ts +1 -1
@@ -4,24 +4,24 @@
4
4
 
5
5
  // biome-ignore lint/performance/noBarrelFile: entrypoint module
6
6
  export {
7
- type WagmiProviderProps,
8
7
  WagmiContext,
9
- WagmiProvider,
10
8
  /** @deprecated Use `WagmiContext` instead */
11
9
  WagmiContext as Context,
10
+ WagmiProvider,
12
11
  /** @deprecated Use `WagmiProvider` instead */
13
12
  WagmiProvider as WagmiConfig,
13
+ type WagmiProviderProps,
14
14
  } from '../context.js'
15
15
 
16
16
  ////////////////////////////////////////////////////////////////////////////////
17
17
  // Errors
18
18
  ////////////////////////////////////////////////////////////////////////////////
19
19
 
20
- export { type BaseErrorType, BaseError } from '../errors/base.js'
20
+ export { BaseError, type BaseErrorType } from '../errors/base.js'
21
21
 
22
22
  export {
23
- type WagmiProviderNotFoundErrorType,
24
23
  WagmiProviderNotFoundError,
24
+ type WagmiProviderNotFoundErrorType,
25
25
  } from '../errors/context.js'
26
26
 
27
27
  ////////////////////////////////////////////////////////////////////////////////
@@ -68,25 +68,22 @@ export {
68
68
  type UseBytecodeReturnType,
69
69
  useBytecode,
70
70
  } from '../hooks/useBytecode.js'
71
-
71
+ export {
72
+ type UseCallParameters,
73
+ type UseCallReturnType,
74
+ useCall,
75
+ } from '../hooks/useCall.js'
72
76
  export {
73
77
  type UseCallsStatusParameters,
74
78
  type UseCallsStatusReturnType,
75
79
  useCallsStatus,
76
80
  } from '../hooks/useCallsStatus.js'
77
-
78
81
  export {
79
82
  type UseCapabilitiesParameters,
80
83
  type UseCapabilitiesReturnType,
81
84
  useCapabilities,
82
85
  } from '../hooks/useCapabilities.js'
83
86
 
84
- export {
85
- type UseCallParameters,
86
- type UseCallReturnType,
87
- useCall,
88
- } from '../hooks/useCall.js'
89
-
90
87
  export {
91
88
  type UseChainIdParameters,
92
89
  type UseChainIdReturnType,
@@ -122,18 +119,16 @@ export {
122
119
  type UseConnectionsReturnType,
123
120
  useConnections,
124
121
  } from '../hooks/useConnections.js'
125
-
126
- export {
127
- type UseConnectorsParameters,
128
- type UseConnectorsReturnType,
129
- useConnectors,
130
- } from '../hooks/useConnectors.js'
131
-
132
122
  export {
133
123
  type UseConnectorClientParameters,
134
124
  type UseConnectorClientReturnType,
135
125
  useConnectorClient,
136
126
  } from '../hooks/useConnectorClient.js'
127
+ export {
128
+ type UseConnectorsParameters,
129
+ type UseConnectorsReturnType,
130
+ useConnectors,
131
+ } from '../hooks/useConnectors.js'
137
132
 
138
133
  export {
139
134
  type UseDeployContractParameters,
@@ -353,42 +348,37 @@ export {
353
348
  type UseVerifyTypedDataReturnType,
354
349
  useVerifyTypedData,
355
350
  } from '../hooks/useVerifyTypedData.js'
356
-
357
- export {
358
- type UseWalletClientParameters,
359
- type UseWalletClientReturnType,
360
- useWalletClient,
361
- } from '../hooks/useWalletClient.js'
362
-
363
351
  export {
364
352
  type UseWaitForCallsStatusParameters,
365
353
  type UseWaitForCallsStatusReturnType,
366
354
  useWaitForCallsStatus,
367
355
  } from '../hooks/useWaitForCallsStatus.js'
368
-
369
356
  export {
370
357
  type UseWaitForTransactionReceiptParameters,
371
358
  type UseWaitForTransactionReceiptReturnType,
372
359
  useWaitForTransactionReceipt,
373
360
  } from '../hooks/useWaitForTransactionReceipt.js'
361
+ export {
362
+ type UseWalletClientParameters,
363
+ type UseWalletClientReturnType,
364
+ useWalletClient,
365
+ } from '../hooks/useWalletClient.js'
374
366
 
375
367
  export {
376
368
  type UseWatchAssetParameters,
377
369
  type UseWatchAssetReturnType,
378
370
  useWatchAsset,
379
371
  } from '../hooks/useWatchAsset.js'
380
-
381
- export {
382
- type UseWatchBlocksParameters,
383
- type UseWatchBlocksReturnType,
384
- useWatchBlocks,
385
- } from '../hooks/useWatchBlocks.js'
386
-
387
372
  export {
388
373
  type UseWatchBlockNumberParameters,
389
374
  type UseWatchBlockNumberReturnType,
390
375
  useWatchBlockNumber,
391
376
  } from '../hooks/useWatchBlockNumber.js'
377
+ export {
378
+ type UseWatchBlocksParameters,
379
+ type UseWatchBlocksReturnType,
380
+ useWatchBlocks,
381
+ } from '../hooks/useWatchBlocks.js'
392
382
 
393
383
  export {
394
384
  type UseWatchContractEventParameters,
@@ -415,8 +405,8 @@ export {
415
405
  ////////////////////////////////////////////////////////////////////////////////
416
406
 
417
407
  export {
418
- type HydrateProps,
419
408
  Hydrate,
409
+ type HydrateProps,
420
410
  } from '../hydrate.js'
421
411
 
422
412
  ////////////////////////////////////////////////////////////////////////////////
@@ -424,60 +414,60 @@ export {
424
414
  ////////////////////////////////////////////////////////////////////////////////
425
415
 
426
416
  export {
417
+ ChainNotConfiguredError,
418
+ // Errors
419
+ type ChainNotConfiguredErrorType,
420
+ type Config,
427
421
  // Config
428
422
  type Connection,
429
423
  type Connector,
430
- type Config,
431
- type CreateConfigParameters,
432
- type PartializedState,
433
- type State,
434
- createConfig,
424
+ ConnectorAccountNotFoundError,
425
+ type ConnectorAccountNotFoundErrorType,
426
+ ConnectorAlreadyConnectedError,
427
+ type ConnectorAlreadyConnectedErrorType,
428
+ ConnectorChainMismatchError,
429
+ type ConnectorChainMismatchErrorType,
435
430
  // Connector
436
431
  type ConnectorEventMap,
437
- type CreateConnectorFn,
438
- createConnector,
439
- injected,
440
- mock,
441
- // Errors
442
- type ChainNotConfiguredErrorType,
443
- ChainNotConfiguredError,
444
- type ConnectorAlreadyConnectedErrorType,
445
- ConnectorAlreadyConnectedError,
446
- type ConnectorNotFoundErrorType,
447
432
  ConnectorNotFoundError,
448
- type ConnectorAccountNotFoundErrorType,
449
- ConnectorAccountNotFoundError,
450
- type ConnectorChainMismatchErrorType,
451
- ConnectorChainMismatchError,
452
- type ConnectorUnavailableReconnectingErrorType,
433
+ type ConnectorNotFoundErrorType,
453
434
  ConnectorUnavailableReconnectingError,
454
- type ProviderNotFoundErrorType,
455
- ProviderNotFoundError,
456
- type SwitchChainNotSupportedErrorType,
457
- SwitchChainNotSupportedError,
435
+ type ConnectorUnavailableReconnectingErrorType,
436
+ type CreateConfigParameters,
437
+ type CreateConnectorFn,
458
438
  // Storage
459
439
  type CreateStorageParameters,
460
- type Storage,
440
+ // Utilities
441
+ cookieStorage,
442
+ cookieToInitialState,
443
+ createConfig,
444
+ createConnector,
461
445
  createStorage,
462
- noopStorage,
463
446
  // Transports
464
447
  custom,
448
+ deepEqual,
449
+ deserialize,
465
450
  fallback,
466
451
  http,
467
- webSocket,
468
- unstable_connector,
469
- type Transport,
452
+ injected,
453
+ mock,
454
+ noopStorage,
455
+ normalizeChainId,
456
+ type PartializedState,
457
+ ProviderNotFoundError,
458
+ type ProviderNotFoundErrorType,
459
+ parseCookie,
470
460
  // Types
471
461
  type Register,
472
462
  type ResolvedRegister,
473
- // Utilities
474
- cookieStorage,
475
- cookieToInitialState,
476
- deepEqual,
477
- deserialize,
478
- normalizeChainId,
479
- parseCookie,
463
+ type State,
464
+ type Storage,
465
+ SwitchChainNotSupportedError,
466
+ type SwitchChainNotSupportedErrorType,
480
467
  serialize,
468
+ type Transport,
469
+ unstable_connector,
470
+ webSocket,
481
471
  } from '@wagmi/core'
482
472
 
483
473
  ////////////////////////////////////////////////////////////////////////////////
@@ -3,8 +3,8 @@
3
3
  import {
4
4
  type Config,
5
5
  type GetAccountReturnType,
6
- type ResolvedRegister,
7
6
  getAccount,
7
+ type ResolvedRegister,
8
8
  watchAccount,
9
9
  } from '@wagmi/core'
10
10
 
@@ -2,13 +2,13 @@
2
2
 
3
3
  import type { Config, GetBalanceErrorType, ResolvedRegister } from '@wagmi/core'
4
4
  import type { Compute } from '@wagmi/core/internal'
5
+ import type { GetBalanceQueryFnData } from '@wagmi/core/query'
5
6
  import {
6
7
  type GetBalanceData,
7
8
  type GetBalanceOptions,
8
9
  type GetBalanceQueryKey,
9
10
  getBalanceQueryOptions,
10
11
  } from '@wagmi/core/query'
11
- import type { GetBalanceQueryFnData } from '@wagmi/core/query'
12
12
 
13
13
  import type { ConfigParameter, QueryParameter } from '../types/properties.js'
14
14
  import { type UseQueryReturnType, useQuery } from '../utils/query.js'
@@ -6,13 +6,13 @@ import type {
6
6
  ResolvedRegister,
7
7
  } from '@wagmi/core'
8
8
  import type { Compute } from '@wagmi/core/internal'
9
+ import type { GetBytecodeQueryFnData } from '@wagmi/core/query'
9
10
  import {
10
11
  type GetBytecodeData,
11
12
  type GetBytecodeOptions,
12
13
  type GetBytecodeQueryKey,
13
14
  getBytecodeQueryOptions,
14
15
  } from '@wagmi/core/query'
15
- import type { GetBytecodeQueryFnData } from '@wagmi/core/query'
16
16
  import type { ConfigParameter, QueryParameter } from '../types/properties.js'
17
17
  import { type UseQueryReturnType, useQuery } from '../utils/query.js'
18
18
  import { useChainId } from './useChainId.js'
@@ -2,13 +2,13 @@
2
2
 
3
3
  import type { CallErrorType, Config, ResolvedRegister } from '@wagmi/core'
4
4
  import type { Compute } from '@wagmi/core/internal'
5
+ import type { CallQueryFnData } from '@wagmi/core/query'
5
6
  import {
6
7
  type CallData,
7
8
  type CallOptions,
8
9
  type CallQueryKey,
9
10
  callQueryOptions,
10
11
  } from '@wagmi/core/query'
11
- import type { CallQueryFnData } from '@wagmi/core/query'
12
12
 
13
13
  import type { ConfigParameter, QueryParameter } from '../types/properties.js'
14
14
  import { type UseQueryReturnType, useQuery } from '../utils/query.js'
@@ -3,8 +3,8 @@
3
3
  import {
4
4
  type Config,
5
5
  type GetChainIdReturnType,
6
- type ResolvedRegister,
7
6
  getChainId,
7
+ type ResolvedRegister,
8
8
  watchChainId,
9
9
  } from '@wagmi/core'
10
10
  import { useSyncExternalStore } from 'react'
@@ -3,8 +3,8 @@
3
3
  import {
4
4
  type Config,
5
5
  type GetChainsReturnType,
6
- type ResolvedRegister,
7
6
  getChains,
7
+ type ResolvedRegister,
8
8
  } from '@wagmi/core'
9
9
  import { watchChains } from '@wagmi/core/internal'
10
10
  import { useSyncExternalStore } from 'react'
@@ -4,8 +4,8 @@ import {
4
4
  type Config,
5
5
  type GetClientParameters,
6
6
  type GetClientReturnType,
7
- type ResolvedRegister,
8
7
  getClient,
8
+ type ResolvedRegister,
9
9
  watchClient,
10
10
  } from '@wagmi/core'
11
11
  import type { Compute } from '@wagmi/core/internal'
@@ -16,6 +16,7 @@ export type UseConfigReturnType<config extends Config = Config> = config
16
16
  export function useConfig<config extends Config = ResolvedRegister['config']>(
17
17
  parameters: UseConfigParameters<config> = {},
18
18
  ): UseConfigReturnType<config> {
19
+ // biome-ignore lint/correctness/useHookAtTopLevel: false alarm
19
20
  const config = parameters.config ?? useContext(WagmiContext)
20
21
  if (!config) throw new WagmiProviderNotFoundError()
21
22
  return config as UseConfigReturnType<config>
@@ -3,8 +3,8 @@
3
3
  import {
4
4
  type Config,
5
5
  type GetConnectorsReturnType,
6
- type ResolvedRegister,
7
6
  getConnectors,
7
+ type ResolvedRegister,
8
8
  watchConnectors,
9
9
  } from '@wagmi/core'
10
10
  import { useSyncExternalStore } from 'react'
@@ -6,13 +6,13 @@ import type {
6
6
  ResolvedRegister,
7
7
  SelectChains,
8
8
  } from '@wagmi/core'
9
+ import type { PrepareTransactionRequestQueryFnData } from '@wagmi/core/query'
9
10
  import {
10
11
  type PrepareTransactionRequestData,
11
12
  type PrepareTransactionRequestOptions,
12
13
  type PrepareTransactionRequestQueryKey,
13
14
  prepareTransactionRequestQueryOptions,
14
15
  } from '@wagmi/core/query'
15
- import type { PrepareTransactionRequestQueryFnData } from '@wagmi/core/query'
16
16
  import type { PrepareTransactionRequestRequest as viem_PrepareTransactionRequestRequest } from 'viem'
17
17
 
18
18
  import type { ConfigParameter, QueryParameter } from '../types/properties.js'
@@ -2,13 +2,13 @@
2
2
 
3
3
  import type { Config, GetProofErrorType, ResolvedRegister } from '@wagmi/core'
4
4
  import type { Compute } from '@wagmi/core/internal'
5
+ import type { GetProofQueryFnData } from '@wagmi/core/query'
5
6
  import {
6
7
  type GetProofData,
7
8
  type GetProofOptions,
8
9
  type GetProofQueryKey,
9
10
  getProofQueryOptions,
10
11
  } from '@wagmi/core/query'
11
- import type { GetProofQueryFnData } from '@wagmi/core/query'
12
12
 
13
13
  import type { ConfigParameter, QueryParameter } from '../types/properties.js'
14
14
  import { type UseQueryReturnType, useQuery } from '../utils/query.js'
@@ -4,8 +4,8 @@ import {
4
4
  type Config,
5
5
  type GetPublicClientParameters,
6
6
  type GetPublicClientReturnType,
7
- type ResolvedRegister,
8
7
  getPublicClient,
8
+ type ResolvedRegister,
9
9
  watchPublicClient,
10
10
  } from '@wagmi/core'
11
11
  import type { Compute } from '@wagmi/core/internal'
@@ -6,13 +6,13 @@ import type {
6
6
  ResolvedRegister,
7
7
  } from '@wagmi/core'
8
8
  import type { Compute } from '@wagmi/core/internal'
9
+ import type { GetStorageAtQueryFnData } from '@wagmi/core/query'
9
10
  import {
10
11
  type GetStorageAtData,
11
12
  type GetStorageAtOptions,
12
13
  type GetStorageAtQueryKey,
13
14
  getStorageAtQueryOptions,
14
15
  } from '@wagmi/core/query'
15
- import type { GetStorageAtQueryFnData } from '@wagmi/core/query'
16
16
  import type { ConfigParameter, QueryParameter } from '../types/properties.js'
17
17
  import { type UseQueryReturnType, useQuery } from '../utils/query.js'
18
18
  import { useChainId } from './useChainId.js'
@@ -6,13 +6,13 @@ import type {
6
6
  ResolvedRegister,
7
7
  } from '@wagmi/core'
8
8
  import type { Compute } from '@wagmi/core/internal'
9
+ import type { GetTransactionReceiptQueryFnData } from '@wagmi/core/query'
9
10
  import {
10
11
  type GetTransactionReceiptData,
11
12
  type GetTransactionReceiptOptions,
12
13
  type GetTransactionReceiptQueryKey,
13
14
  getTransactionReceiptQueryOptions,
14
15
  } from '@wagmi/core/query'
15
- import type { GetTransactionReceiptQueryFnData } from '@wagmi/core/query'
16
16
  import type { ConfigParameter, QueryParameter } from '../types/properties.js'
17
17
  import { type UseQueryReturnType, useQuery } from '../utils/query.js'
18
18
  import { useChainId } from './useChainId.js'
@@ -6,13 +6,13 @@ import type {
6
6
  VerifyMessageErrorType,
7
7
  } from '@wagmi/core'
8
8
  import type { Compute } from '@wagmi/core/internal'
9
+ import type { VerifyMessageQueryFnData } from '@wagmi/core/query'
9
10
  import {
10
11
  type VerifyMessageData,
11
12
  type VerifyMessageOptions,
12
13
  type VerifyMessageQueryKey,
13
14
  verifyMessageQueryOptions,
14
15
  } from '@wagmi/core/query'
15
- import type { VerifyMessageQueryFnData } from '@wagmi/core/query'
16
16
  import type { ConfigParameter, QueryParameter } from '../types/properties.js'
17
17
  import { type UseQueryReturnType, useQuery } from '../utils/query.js'
18
18
  import { useChainId } from './useChainId.js'
@@ -5,13 +5,13 @@ import type {
5
5
  ResolvedRegister,
6
6
  VerifyTypedDataErrorType,
7
7
  } from '@wagmi/core'
8
+ import type { VerifyTypedDataQueryFnData } from '@wagmi/core/query'
8
9
  import {
9
10
  type VerifyTypedDataData,
10
11
  type VerifyTypedDataOptions,
11
12
  type VerifyTypedDataQueryKey,
12
13
  verifyTypedDataQueryOptions,
13
14
  } from '@wagmi/core/query'
14
- import type { VerifyTypedDataQueryFnData } from '@wagmi/core/query'
15
15
  import type { TypedData } from 'viem'
16
16
  import type { ConfigParameter, QueryParameter } from '../types/properties.js'
17
17
  import { type UseQueryReturnType, useQuery } from '../utils/query.js'
package/src/hydrate.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  'use client'
2
2
 
3
- import { type ResolvedRegister, type State, hydrate } from '@wagmi/core'
3
+ import { hydrate, type ResolvedRegister, type State } from '@wagmi/core'
4
4
  import { type ReactElement, useEffect, useRef } from 'react'
5
5
 
6
6
  export type HydrateProps = {
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  type DefaultError,
3
3
  type QueryKey,
4
+ useInfiniteQuery as tanstack_useInfiniteQuery,
5
+ useQuery as tanstack_useQuery,
4
6
  type UseInfiniteQueryOptions,
5
7
  type UseInfiniteQueryResult,
6
8
  type UseMutationOptions,
7
9
  type UseMutationResult,
8
10
  type UseQueryOptions,
9
11
  type UseQueryResult,
10
- useInfiniteQuery as tanstack_useInfiniteQuery,
11
- useQuery as tanstack_useQuery,
12
12
  useMutation,
13
13
  } from '@tanstack/react-query'
14
14
  import type {
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const version = '2.15.7'
1
+ export const version = '2.16.1'