wagmi 2.16.0 → 2.16.2
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.
- package/dist/esm/exports/codegen.js +1 -1
- package/dist/esm/exports/codegen.js.map +1 -1
- package/dist/esm/exports/experimental.js +3 -3
- package/dist/esm/exports/experimental.js.map +1 -1
- package/dist/esm/exports/index.js +10 -10
- package/dist/esm/exports/index.js.map +1 -1
- package/dist/esm/hooks/useAccount.js.map +1 -1
- package/dist/esm/hooks/useBalance.js.map +1 -1
- package/dist/esm/hooks/useBytecode.js.map +1 -1
- package/dist/esm/hooks/useCall.js.map +1 -1
- package/dist/esm/hooks/useChainId.js.map +1 -1
- package/dist/esm/hooks/useChains.js.map +1 -1
- package/dist/esm/hooks/useClient.js.map +1 -1
- package/dist/esm/hooks/useConfig.js +1 -0
- package/dist/esm/hooks/useConfig.js.map +1 -1
- package/dist/esm/hooks/useConnectors.js.map +1 -1
- package/dist/esm/hooks/usePrepareTransactionRequest.js.map +1 -1
- package/dist/esm/hooks/useProof.js.map +1 -1
- package/dist/esm/hooks/usePublicClient.js.map +1 -1
- package/dist/esm/hooks/useStorageAt.js.map +1 -1
- package/dist/esm/hooks/useTransactionReceipt.js.map +1 -1
- package/dist/esm/hooks/useVerifyMessage.js.map +1 -1
- package/dist/esm/hooks/useVerifyTypedData.js.map +1 -1
- package/dist/esm/hydrate.js.map +1 -1
- package/dist/esm/tsconfig.build.tsbuildinfo +1 -1
- package/dist/esm/utils/query.js.map +1 -1
- package/dist/esm/version.js +1 -1
- package/dist/types/exports/codegen.d.ts +1 -1
- package/dist/types/exports/codegen.d.ts.map +1 -1
- package/dist/types/exports/experimental.d.ts +7 -7
- package/dist/types/exports/experimental.d.ts.map +1 -1
- package/dist/types/exports/index.d.ts +11 -11
- package/dist/types/exports/index.d.ts.map +1 -1
- package/dist/types/hooks/useAccount.d.ts.map +1 -1
- package/dist/types/hooks/useBalance.d.ts +1 -1
- package/dist/types/hooks/useBalance.d.ts.map +1 -1
- package/dist/types/hooks/useBytecode.d.ts +1 -1
- package/dist/types/hooks/useBytecode.d.ts.map +1 -1
- package/dist/types/hooks/useCall.d.ts +1 -1
- package/dist/types/hooks/useCall.d.ts.map +1 -1
- package/dist/types/hooks/useChainId.d.ts.map +1 -1
- package/dist/types/hooks/useChains.d.ts.map +1 -1
- package/dist/types/hooks/useClient.d.ts.map +1 -1
- package/dist/types/hooks/useConfig.d.ts.map +1 -1
- package/dist/types/hooks/useConnectors.d.ts.map +1 -1
- package/dist/types/hooks/usePrepareTransactionRequest.d.ts +1 -1
- package/dist/types/hooks/usePrepareTransactionRequest.d.ts.map +1 -1
- package/dist/types/hooks/useProof.d.ts +1 -1
- package/dist/types/hooks/useProof.d.ts.map +1 -1
- package/dist/types/hooks/usePublicClient.d.ts.map +1 -1
- package/dist/types/hooks/useStorageAt.d.ts +1 -1
- package/dist/types/hooks/useStorageAt.d.ts.map +1 -1
- package/dist/types/hooks/useTransactionReceipt.d.ts +1 -1
- package/dist/types/hooks/useTransactionReceipt.d.ts.map +1 -1
- package/dist/types/hooks/useVerifyMessage.d.ts +1 -1
- package/dist/types/hooks/useVerifyMessage.d.ts.map +1 -1
- package/dist/types/hooks/useVerifyTypedData.d.ts +1 -1
- package/dist/types/hooks/useVerifyTypedData.d.ts.map +1 -1
- package/dist/types/hydrate.d.ts.map +1 -1
- package/dist/types/utils/query.d.ts.map +1 -1
- package/dist/types/version.d.ts +1 -1
- package/package.json +3 -3
- package/src/exports/codegen.ts +5 -6
- package/src/exports/experimental.ts +8 -13
- package/src/exports/index.ts +61 -71
- package/src/hooks/useAccount.ts +1 -1
- package/src/hooks/useBalance.ts +1 -1
- package/src/hooks/useBytecode.ts +1 -1
- package/src/hooks/useCall.ts +1 -1
- package/src/hooks/useChainId.ts +1 -1
- package/src/hooks/useChains.ts +1 -1
- package/src/hooks/useClient.ts +1 -1
- package/src/hooks/useConfig.ts +1 -0
- package/src/hooks/useConnectors.ts +1 -1
- package/src/hooks/usePrepareTransactionRequest.ts +1 -1
- package/src/hooks/useProof.ts +1 -1
- package/src/hooks/usePublicClient.ts +1 -1
- package/src/hooks/useStorageAt.ts +1 -1
- package/src/hooks/useTransactionReceipt.ts +1 -1
- package/src/hooks/useVerifyMessage.ts +1 -1
- package/src/hooks/useVerifyTypedData.ts +1 -1
- package/src/hydrate.ts +1 -1
- package/src/utils/query.ts +2 -2
- package/src/version.ts +1 -1
package/src/exports/index.ts
CHANGED
|
@@ -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
|
|
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
|
-
|
|
431
|
-
type
|
|
432
|
-
|
|
433
|
-
type
|
|
434
|
-
|
|
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
|
|
449
|
-
ConnectorAccountNotFoundError,
|
|
450
|
-
type ConnectorChainMismatchErrorType,
|
|
451
|
-
ConnectorChainMismatchError,
|
|
452
|
-
type ConnectorUnavailableReconnectingErrorType,
|
|
433
|
+
type ConnectorNotFoundErrorType,
|
|
453
434
|
ConnectorUnavailableReconnectingError,
|
|
454
|
-
type
|
|
455
|
-
|
|
456
|
-
type
|
|
457
|
-
SwitchChainNotSupportedError,
|
|
435
|
+
type ConnectorUnavailableReconnectingErrorType,
|
|
436
|
+
type CreateConfigParameters,
|
|
437
|
+
type CreateConnectorFn,
|
|
458
438
|
// Storage
|
|
459
439
|
type CreateStorageParameters,
|
|
460
|
-
|
|
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
|
-
|
|
468
|
-
|
|
469
|
-
|
|
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
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
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
|
////////////////////////////////////////////////////////////////////////////////
|
package/src/hooks/useAccount.ts
CHANGED
package/src/hooks/useBalance.ts
CHANGED
|
@@ -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'
|
package/src/hooks/useBytecode.ts
CHANGED
|
@@ -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'
|
package/src/hooks/useCall.ts
CHANGED
|
@@ -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'
|
package/src/hooks/useChainId.ts
CHANGED
package/src/hooks/useChains.ts
CHANGED
package/src/hooks/useClient.ts
CHANGED
package/src/hooks/useConfig.ts
CHANGED
|
@@ -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>
|
|
@@ -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'
|
package/src/hooks/useProof.ts
CHANGED
|
@@ -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'
|
|
@@ -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
package/src/utils/query.ts
CHANGED
|
@@ -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.16.
|
|
1
|
+
export const version = '2.16.2'
|