@wagmi/core 2.17.3 → 2.18.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.
- package/dist/esm/actions/estimateFeesPerGas.js.map +1 -1
- package/dist/esm/actions/getBalance.js.map +1 -1
- package/dist/esm/actions/getClient.js +4 -4
- package/dist/esm/actions/getClient.js.map +1 -1
- package/dist/esm/actions/readContract.js.map +1 -1
- package/dist/esm/actions/watchBlockNumber.js.map +1 -1
- package/dist/esm/actions/watchBlocks.js.map +1 -1
- package/dist/esm/connectors/injected.js +1 -1
- package/dist/esm/connectors/injected.js.map +1 -1
- package/dist/esm/connectors/mock.js +8 -2
- package/dist/esm/connectors/mock.js.map +1 -1
- package/dist/esm/createConfig.js.map +1 -1
- package/dist/esm/exports/actions.js +6 -6
- package/dist/esm/exports/actions.js.map +1 -1
- package/dist/esm/exports/codegen.js +1 -1
- package/dist/esm/exports/codegen.js.map +1 -1
- package/dist/esm/exports/experimental.js +9 -9
- package/dist/esm/exports/experimental.js.map +1 -1
- package/dist/esm/exports/index.js +7 -7
- package/dist/esm/exports/index.js.map +1 -1
- package/dist/esm/exports/internal.js +1 -1
- package/dist/esm/exports/internal.js.map +1 -1
- package/dist/esm/exports/query.js +3 -3
- package/dist/esm/exports/query.js.map +1 -1
- package/dist/esm/query/connect.js.map +1 -1
- package/dist/esm/query/getTransactionReceipt.js.map +1 -1
- package/dist/esm/query/readContracts.js.map +1 -1
- package/dist/esm/query/utils.js +6 -2
- package/dist/esm/query/utils.js.map +1 -1
- package/dist/esm/transports/connector.js +1 -1
- package/dist/esm/transports/connector.js.map +1 -1
- package/dist/esm/tsconfig.build.tsbuildinfo +1 -1
- package/dist/esm/utils/cookie.js +2 -0
- package/dist/esm/utils/cookie.js.map +1 -1
- package/dist/esm/utils/deepEqual.js +2 -2
- package/dist/esm/utils/deepEqual.js.map +1 -1
- package/dist/esm/version.js +1 -1
- package/dist/types/actions/estimateFeesPerGas.d.ts +1 -2
- package/dist/types/actions/estimateFeesPerGas.d.ts.map +1 -1
- package/dist/types/actions/readContract.d.ts +1 -2
- package/dist/types/actions/readContract.d.ts.map +1 -1
- package/dist/types/actions/watchBlockNumber.d.ts +1 -1
- package/dist/types/actions/watchBlockNumber.d.ts.map +1 -1
- package/dist/types/actions/watchBlocks.d.ts +1 -1
- package/dist/types/actions/watchBlocks.d.ts.map +1 -1
- package/dist/types/connectors/injected.d.ts.map +1 -1
- package/dist/types/connectors/mock.d.ts.map +1 -1
- package/dist/types/createConfig.d.ts.map +1 -1
- package/dist/types/exports/actions.d.ts +10 -10
- package/dist/types/exports/actions.d.ts.map +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 +17 -17
- package/dist/types/exports/experimental.d.ts.map +1 -1
- package/dist/types/exports/index.d.ts +15 -15
- package/dist/types/exports/index.d.ts.map +1 -1
- package/dist/types/exports/internal.d.ts +2 -2
- package/dist/types/exports/internal.d.ts.map +1 -1
- package/dist/types/exports/query.d.ts +14 -14
- package/dist/types/exports/query.d.ts.map +1 -1
- package/dist/types/query/connect.d.ts +1 -1
- package/dist/types/query/connect.d.ts.map +1 -1
- package/dist/types/query/getConnectorClient.d.ts.map +1 -1
- package/dist/types/query/getTransactionReceipt.d.ts +1 -1
- package/dist/types/query/getTransactionReceipt.d.ts.map +1 -1
- package/dist/types/query/getWalletClient.d.ts +2 -2
- package/dist/types/query/infiniteReadContracts.d.ts +3 -0
- package/dist/types/query/infiniteReadContracts.d.ts.map +1 -1
- package/dist/types/query/readContracts.d.ts +4 -2
- package/dist/types/query/readContracts.d.ts.map +1 -1
- package/dist/types/query/utils.d.ts.map +1 -1
- package/dist/types/transports/connector.d.ts.map +1 -1
- package/dist/types/utils/cookie.d.ts.map +1 -1
- package/dist/types/utils/deepEqual.d.ts.map +1 -1
- package/dist/types/version.d.ts +1 -1
- package/package.json +1 -1
- package/src/actions/estimateFeesPerGas.ts +1 -2
- package/src/actions/getBalance.ts +1 -1
- package/src/actions/getClient.ts +4 -4
- package/src/actions/readContract.ts +1 -2
- package/src/actions/watchBlockNumber.ts +1 -2
- package/src/actions/watchBlocks.ts +1 -2
- package/src/actions/writeContract.ts +1 -1
- package/src/connectors/injected.ts +2 -2
- package/src/connectors/mock.ts +13 -7
- package/src/createConfig.ts +8 -9
- package/src/exports/actions.ts +27 -42
- package/src/exports/codegen.ts +5 -6
- package/src/exports/experimental.ts +16 -21
- package/src/exports/index.ts +44 -59
- package/src/exports/internal.ts +4 -4
- package/src/exports/query.ts +26 -37
- package/src/query/connect.ts +1 -2
- package/src/query/getTransactionReceipt.ts +1 -2
- package/src/query/readContracts.ts +4 -2
- package/src/query/utils.ts +6 -2
- package/src/transports/connector.ts +2 -2
- package/src/types/register.ts +1 -1
- package/src/utils/cookie.ts +2 -0
- package/src/utils/deepEqual.ts +2 -3
- package/src/version.ts +1 -1
package/src/exports/actions.ts
CHANGED
|
@@ -30,20 +30,18 @@ export {
|
|
|
30
30
|
type DisconnectReturnType,
|
|
31
31
|
disconnect,
|
|
32
32
|
} from '../actions/disconnect.js'
|
|
33
|
-
|
|
34
|
-
export {
|
|
35
|
-
type EstimateGasErrorType,
|
|
36
|
-
type EstimateGasParameters,
|
|
37
|
-
type EstimateGasReturnType,
|
|
38
|
-
estimateGas,
|
|
39
|
-
} from '../actions/estimateGas.js'
|
|
40
|
-
|
|
41
33
|
export {
|
|
42
34
|
type EstimateFeesPerGasErrorType,
|
|
43
35
|
type EstimateFeesPerGasParameters,
|
|
44
36
|
type EstimateFeesPerGasReturnType,
|
|
45
37
|
estimateFeesPerGas,
|
|
46
38
|
} from '../actions/estimateFeesPerGas.js'
|
|
39
|
+
export {
|
|
40
|
+
type EstimateGasErrorType,
|
|
41
|
+
type EstimateGasParameters,
|
|
42
|
+
type EstimateGasReturnType,
|
|
43
|
+
estimateGas,
|
|
44
|
+
} from '../actions/estimateGas.js'
|
|
47
45
|
|
|
48
46
|
export {
|
|
49
47
|
type EstimateMaxPriorityFeePerGasErrorType,
|
|
@@ -58,9 +56,9 @@ export {
|
|
|
58
56
|
} from '../actions/getAccount.js'
|
|
59
57
|
|
|
60
58
|
export {
|
|
59
|
+
type GetBalanceErrorType,
|
|
61
60
|
type GetBalanceParameters,
|
|
62
61
|
type GetBalanceReturnType,
|
|
63
|
-
type GetBalanceErrorType,
|
|
64
62
|
getBalance,
|
|
65
63
|
/** @deprecated use `getBalance` instead */
|
|
66
64
|
getBalance as fetchBalance,
|
|
@@ -130,18 +128,16 @@ export {
|
|
|
130
128
|
type GetConnectionsReturnType,
|
|
131
129
|
getConnections,
|
|
132
130
|
} from '../actions/getConnections.js'
|
|
133
|
-
|
|
134
|
-
export {
|
|
135
|
-
type GetConnectorsReturnType,
|
|
136
|
-
getConnectors,
|
|
137
|
-
} from '../actions/getConnectors.js'
|
|
138
|
-
|
|
139
131
|
export {
|
|
140
132
|
type GetConnectorClientErrorType,
|
|
141
133
|
type GetConnectorClientParameters,
|
|
142
134
|
type GetConnectorClientReturnType,
|
|
143
135
|
getConnectorClient,
|
|
144
136
|
} from '../actions/getConnectorClient.js'
|
|
137
|
+
export {
|
|
138
|
+
type GetConnectorsReturnType,
|
|
139
|
+
getConnectors,
|
|
140
|
+
} from '../actions/getConnectors.js'
|
|
145
141
|
|
|
146
142
|
export {
|
|
147
143
|
type GetEnsAddressErrorType,
|
|
@@ -273,23 +269,23 @@ export {
|
|
|
273
269
|
} from '../actions/multicall.js'
|
|
274
270
|
|
|
275
271
|
export {
|
|
272
|
+
type PrepareTransactionRequestErrorType,
|
|
276
273
|
type PrepareTransactionRequestParameters,
|
|
277
274
|
type PrepareTransactionRequestReturnType,
|
|
278
|
-
type PrepareTransactionRequestErrorType,
|
|
279
275
|
prepareTransactionRequest,
|
|
280
276
|
} from '../actions/prepareTransactionRequest.js'
|
|
281
277
|
|
|
282
278
|
export {
|
|
279
|
+
type ReadContractErrorType,
|
|
283
280
|
type ReadContractParameters,
|
|
284
281
|
type ReadContractReturnType,
|
|
285
|
-
type ReadContractErrorType,
|
|
286
282
|
readContract,
|
|
287
283
|
} from '../actions/readContract.js'
|
|
288
284
|
|
|
289
285
|
export {
|
|
286
|
+
type ReadContractsErrorType,
|
|
290
287
|
type ReadContractsParameters,
|
|
291
288
|
type ReadContractsReturnType,
|
|
292
|
-
type ReadContractsErrorType,
|
|
293
289
|
readContracts,
|
|
294
290
|
} from '../actions/readContracts.js'
|
|
295
291
|
|
|
@@ -376,82 +372,71 @@ export {
|
|
|
376
372
|
type WaitForCallsStatusReturnType,
|
|
377
373
|
waitForCallsStatus,
|
|
378
374
|
} from '../actions/waitForCallsStatus.js'
|
|
379
|
-
|
|
375
|
+
export {
|
|
376
|
+
type WaitForTransactionReceiptErrorType,
|
|
377
|
+
type WaitForTransactionReceiptParameters,
|
|
378
|
+
type WaitForTransactionReceiptReturnType,
|
|
379
|
+
waitForTransactionReceipt,
|
|
380
|
+
/** @deprecated use `waitForTransactionReceipt` instead */
|
|
381
|
+
waitForTransactionReceipt as waitForTransaction,
|
|
382
|
+
} from '../actions/waitForTransactionReceipt.js'
|
|
380
383
|
export {
|
|
381
384
|
type WatchAccountParameters,
|
|
382
385
|
type WatchAccountReturnType,
|
|
383
386
|
watchAccount,
|
|
384
387
|
} from '../actions/watchAccount.js'
|
|
385
|
-
|
|
386
388
|
export {
|
|
387
389
|
type WatchAssetParameters,
|
|
388
390
|
type WatchAssetReturnType,
|
|
389
391
|
watchAsset,
|
|
390
392
|
} from '../actions/watchAsset.js'
|
|
391
393
|
|
|
392
|
-
export {
|
|
393
|
-
type WatchBlocksParameters,
|
|
394
|
-
type WatchBlocksReturnType,
|
|
395
|
-
watchBlocks,
|
|
396
|
-
} from '../actions/watchBlocks.js'
|
|
397
|
-
|
|
398
394
|
export {
|
|
399
395
|
type WatchBlockNumberParameters,
|
|
400
396
|
type WatchBlockNumberReturnType,
|
|
401
397
|
watchBlockNumber,
|
|
402
398
|
} from '../actions/watchBlockNumber.js'
|
|
403
|
-
|
|
399
|
+
export {
|
|
400
|
+
type WatchBlocksParameters,
|
|
401
|
+
type WatchBlocksReturnType,
|
|
402
|
+
watchBlocks,
|
|
403
|
+
} from '../actions/watchBlocks.js'
|
|
404
404
|
export {
|
|
405
405
|
type WatchChainIdParameters,
|
|
406
406
|
type WatchChainIdReturnType,
|
|
407
407
|
watchChainId,
|
|
408
408
|
} from '../actions/watchChainId.js'
|
|
409
|
-
|
|
410
409
|
export {
|
|
411
410
|
type WatchClientParameters,
|
|
412
411
|
type WatchClientReturnType,
|
|
413
412
|
watchClient,
|
|
414
413
|
} from '../actions/watchClient.js'
|
|
415
|
-
|
|
416
414
|
export {
|
|
417
415
|
type WatchConnectionsParameters,
|
|
418
416
|
type WatchConnectionsReturnType,
|
|
419
417
|
watchConnections,
|
|
420
418
|
} from '../actions/watchConnections.js'
|
|
421
|
-
|
|
422
419
|
export {
|
|
423
420
|
type WatchConnectorsParameters,
|
|
424
421
|
type WatchConnectorsReturnType,
|
|
425
422
|
watchConnectors,
|
|
426
423
|
} from '../actions/watchConnectors.js'
|
|
427
|
-
|
|
428
424
|
export {
|
|
429
425
|
type WatchContractEventParameters,
|
|
430
426
|
type WatchContractEventReturnType,
|
|
431
427
|
watchContractEvent,
|
|
432
428
|
} from '../actions/watchContractEvent.js'
|
|
433
|
-
|
|
434
429
|
export {
|
|
435
430
|
type WatchPendingTransactionsParameters,
|
|
436
431
|
type WatchPendingTransactionsReturnType,
|
|
437
432
|
watchPendingTransactions,
|
|
438
433
|
} from '../actions/watchPendingTransactions.js'
|
|
439
|
-
|
|
440
434
|
export {
|
|
441
435
|
type WatchPublicClientParameters,
|
|
442
436
|
type WatchPublicClientReturnType,
|
|
443
437
|
watchPublicClient,
|
|
444
438
|
} from '../actions/watchPublicClient.js'
|
|
445
439
|
|
|
446
|
-
export {
|
|
447
|
-
type WaitForTransactionReceiptErrorType,
|
|
448
|
-
type WaitForTransactionReceiptParameters,
|
|
449
|
-
type WaitForTransactionReceiptReturnType,
|
|
450
|
-
waitForTransactionReceipt,
|
|
451
|
-
/** @deprecated use `waitForTransactionReceipt` instead */
|
|
452
|
-
waitForTransactionReceipt as waitForTransaction,
|
|
453
|
-
} from '../actions/waitForTransactionReceipt.js'
|
|
454
|
-
|
|
455
440
|
export {
|
|
456
441
|
type WriteContractErrorType,
|
|
457
442
|
type WriteContractParameters,
|
package/src/exports/codegen.ts
CHANGED
|
@@ -1,15 +1,14 @@
|
|
|
1
1
|
// biome-ignore lint/performance/noBarrelFile: entrypoint module
|
|
2
|
-
export {
|
|
3
|
-
type CreateSimulateContractParameters,
|
|
4
|
-
type CreateSimulateContractReturnType,
|
|
5
|
-
createSimulateContract,
|
|
6
|
-
} from '../actions/codegen/createSimulateContract.js'
|
|
7
|
-
|
|
8
2
|
export {
|
|
9
3
|
type CreateReadContractParameters,
|
|
10
4
|
type CreateReadContractReturnType,
|
|
11
5
|
createReadContract,
|
|
12
6
|
} from '../actions/codegen/createReadContract.js'
|
|
7
|
+
export {
|
|
8
|
+
type CreateSimulateContractParameters,
|
|
9
|
+
type CreateSimulateContractReturnType,
|
|
10
|
+
createSimulateContract,
|
|
11
|
+
} from '../actions/codegen/createSimulateContract.js'
|
|
13
12
|
|
|
14
13
|
export {
|
|
15
14
|
type CreateWatchContractEventParameters,
|
|
@@ -73,6 +73,18 @@ export {
|
|
|
73
73
|
// Tanstack Query
|
|
74
74
|
////////////////////////////////////////////////////////////////////////////////
|
|
75
75
|
|
|
76
|
+
export {
|
|
77
|
+
/** @deprecated Use `SendCallsData` instead. */
|
|
78
|
+
type WriteContractsData,
|
|
79
|
+
/** @deprecated Use `SendCallsMutate` instead. */
|
|
80
|
+
type WriteContractsMutate,
|
|
81
|
+
/** @deprecated Use `SendCallsMutateAsync` instead. */
|
|
82
|
+
type WriteContractsMutateAsync,
|
|
83
|
+
/** @deprecated Use `SendCallsVariables` instead. */
|
|
84
|
+
type WriteContractsVariables,
|
|
85
|
+
/** @deprecated Use `sendCallsMutationOptions` instead. */
|
|
86
|
+
writeContractsMutationOptions,
|
|
87
|
+
} from '../experimental/query/writeContracts.js'
|
|
76
88
|
export {
|
|
77
89
|
/** @deprecated This is no longer experimental – use `import type { GetCallsStatusData } from '@wagmi/core/query'` instead. */
|
|
78
90
|
type GetCallsStatusData,
|
|
@@ -82,12 +94,11 @@ export {
|
|
|
82
94
|
type GetCallsStatusQueryFnData,
|
|
83
95
|
/** @deprecated This is no longer experimental – use `import type { GetCallsStatusQueryKey } from '@wagmi/core/query'` instead. */
|
|
84
96
|
type GetCallsStatusQueryKey,
|
|
85
|
-
/** @deprecated This is no longer experimental – use `import { getCallsStatusQueryOptions } from '@wagmi/core/query'` instead. */
|
|
86
|
-
getCallsStatusQueryOptions,
|
|
87
97
|
/** @deprecated This is no longer experimental – use `import { getCallsStatusQueryKey } from '@wagmi/core/query'` instead. */
|
|
88
98
|
getCallsStatusQueryKey,
|
|
99
|
+
/** @deprecated This is no longer experimental – use `import { getCallsStatusQueryOptions } from '@wagmi/core/query'` instead. */
|
|
100
|
+
getCallsStatusQueryOptions,
|
|
89
101
|
} from '../query/getCallsStatus.js'
|
|
90
|
-
|
|
91
102
|
export {
|
|
92
103
|
/** @deprecated This is no longer experimental – use `import type { GetCapabilitiesData } from '@wagmi/core/query'` instead. */
|
|
93
104
|
type GetCapabilitiesData,
|
|
@@ -97,12 +108,11 @@ export {
|
|
|
97
108
|
type GetCapabilitiesQueryFnData,
|
|
98
109
|
/** @deprecated This is no longer experimental – use `import type { GetCapabilitiesQueryKey } from '@wagmi/core/query'` instead. */
|
|
99
110
|
type GetCapabilitiesQueryKey,
|
|
100
|
-
/** @deprecated This is no longer experimental – use `import { getCapabilitiesQueryOptions } from '@wagmi/core/query'` instead. */
|
|
101
|
-
getCapabilitiesQueryOptions,
|
|
102
111
|
/** @deprecated This is no longer experimental – use `import { getCapabilitiesQueryKey } from '@wagmi/core/query'` instead. */
|
|
103
112
|
getCapabilitiesQueryKey,
|
|
113
|
+
/** @deprecated This is no longer experimental – use `import { getCapabilitiesQueryOptions } from '@wagmi/core/query'` instead. */
|
|
114
|
+
getCapabilitiesQueryOptions,
|
|
104
115
|
} from '../query/getCapabilities.js'
|
|
105
|
-
|
|
106
116
|
export {
|
|
107
117
|
/** @deprecated This is no longer experimental – use `import type { SendCallsData } from '@wagmi/core/query'` instead. */
|
|
108
118
|
type SendCallsData,
|
|
@@ -115,7 +125,6 @@ export {
|
|
|
115
125
|
/** @deprecated This is no longer experimental – use `import { sendCallsMutationOptions } from '@wagmi/core/query'` instead. */
|
|
116
126
|
sendCallsMutationOptions,
|
|
117
127
|
} from '../query/sendCalls.js'
|
|
118
|
-
|
|
119
128
|
export {
|
|
120
129
|
/** @deprecated This is no longer experimental – use `import type { ShowCallsStatusData } from '@wagmi/core/query'` instead. */
|
|
121
130
|
type ShowCallsStatusData,
|
|
@@ -128,7 +137,6 @@ export {
|
|
|
128
137
|
/** @deprecated This is no longer experimental – use `import { showCallsStatusMutationOptions } from '@wagmi/core/query'` instead. */
|
|
129
138
|
showCallsStatusMutationOptions,
|
|
130
139
|
} from '../query/showCallsStatus.js'
|
|
131
|
-
|
|
132
140
|
export {
|
|
133
141
|
/** @deprecated This is no longer experimental – use `import type { WaitForCallsStatusData } from '@wagmi/core/query'` instead. */
|
|
134
142
|
type WaitForCallsStatusData,
|
|
@@ -143,16 +151,3 @@ export {
|
|
|
143
151
|
/** @deprecated This is no longer experimental – use `import { waitForCallsStatusQueryOptions } from '@wagmi/core/query'` instead. */
|
|
144
152
|
waitForCallsStatusQueryOptions,
|
|
145
153
|
} from '../query/waitForCallsStatus.js'
|
|
146
|
-
|
|
147
|
-
export {
|
|
148
|
-
/** @deprecated Use `SendCallsData` instead. */
|
|
149
|
-
type WriteContractsData,
|
|
150
|
-
/** @deprecated Use `SendCallsMutate` instead. */
|
|
151
|
-
type WriteContractsMutate,
|
|
152
|
-
/** @deprecated Use `SendCallsMutateAsync` instead. */
|
|
153
|
-
type WriteContractsMutateAsync,
|
|
154
|
-
/** @deprecated Use `SendCallsVariables` instead. */
|
|
155
|
-
type WriteContractsVariables,
|
|
156
|
-
/** @deprecated Use `sendCallsMutationOptions` instead. */
|
|
157
|
-
writeContractsMutationOptions,
|
|
158
|
-
} from '../experimental/query/writeContracts.js'
|
package/src/exports/index.ts
CHANGED
|
@@ -30,20 +30,18 @@ export {
|
|
|
30
30
|
type DisconnectReturnType,
|
|
31
31
|
disconnect,
|
|
32
32
|
} from '../actions/disconnect.js'
|
|
33
|
-
|
|
34
|
-
export {
|
|
35
|
-
type EstimateGasErrorType,
|
|
36
|
-
type EstimateGasParameters,
|
|
37
|
-
type EstimateGasReturnType,
|
|
38
|
-
estimateGas,
|
|
39
|
-
} from '../actions/estimateGas.js'
|
|
40
|
-
|
|
41
33
|
export {
|
|
42
34
|
type EstimateFeesPerGasErrorType,
|
|
43
35
|
type EstimateFeesPerGasParameters,
|
|
44
36
|
type EstimateFeesPerGasReturnType,
|
|
45
37
|
estimateFeesPerGas,
|
|
46
38
|
} from '../actions/estimateFeesPerGas.js'
|
|
39
|
+
export {
|
|
40
|
+
type EstimateGasErrorType,
|
|
41
|
+
type EstimateGasParameters,
|
|
42
|
+
type EstimateGasReturnType,
|
|
43
|
+
estimateGas,
|
|
44
|
+
} from '../actions/estimateGas.js'
|
|
47
45
|
|
|
48
46
|
export {
|
|
49
47
|
type EstimateMaxPriorityFeePerGasErrorType,
|
|
@@ -58,9 +56,9 @@ export {
|
|
|
58
56
|
} from '../actions/getAccount.js'
|
|
59
57
|
|
|
60
58
|
export {
|
|
59
|
+
type GetBalanceErrorType,
|
|
61
60
|
type GetBalanceParameters,
|
|
62
61
|
type GetBalanceReturnType,
|
|
63
|
-
type GetBalanceErrorType,
|
|
64
62
|
getBalance,
|
|
65
63
|
/** @deprecated use `getBalance` instead */
|
|
66
64
|
getBalance as fetchBalance,
|
|
@@ -130,18 +128,16 @@ export {
|
|
|
130
128
|
type GetConnectionsReturnType,
|
|
131
129
|
getConnections,
|
|
132
130
|
} from '../actions/getConnections.js'
|
|
133
|
-
|
|
134
|
-
export {
|
|
135
|
-
type GetConnectorsReturnType,
|
|
136
|
-
getConnectors,
|
|
137
|
-
} from '../actions/getConnectors.js'
|
|
138
|
-
|
|
139
131
|
export {
|
|
140
132
|
type GetConnectorClientErrorType,
|
|
141
133
|
type GetConnectorClientParameters,
|
|
142
134
|
type GetConnectorClientReturnType,
|
|
143
135
|
getConnectorClient,
|
|
144
136
|
} from '../actions/getConnectorClient.js'
|
|
137
|
+
export {
|
|
138
|
+
type GetConnectorsReturnType,
|
|
139
|
+
getConnectors,
|
|
140
|
+
} from '../actions/getConnectors.js'
|
|
145
141
|
|
|
146
142
|
export {
|
|
147
143
|
type GetEnsAddressErrorType,
|
|
@@ -280,16 +276,16 @@ export {
|
|
|
280
276
|
} from '../actions/prepareTransactionRequest.js'
|
|
281
277
|
|
|
282
278
|
export {
|
|
279
|
+
type ReadContractErrorType,
|
|
283
280
|
type ReadContractParameters,
|
|
284
281
|
type ReadContractReturnType,
|
|
285
|
-
type ReadContractErrorType,
|
|
286
282
|
readContract,
|
|
287
283
|
} from '../actions/readContract.js'
|
|
288
284
|
|
|
289
285
|
export {
|
|
286
|
+
type ReadContractsErrorType,
|
|
290
287
|
type ReadContractsParameters,
|
|
291
288
|
type ReadContractsReturnType,
|
|
292
|
-
type ReadContractsErrorType,
|
|
293
289
|
readContracts,
|
|
294
290
|
} from '../actions/readContracts.js'
|
|
295
291
|
|
|
@@ -378,83 +374,72 @@ export {
|
|
|
378
374
|
type WaitForCallsStatusReturnType,
|
|
379
375
|
waitForCallsStatus,
|
|
380
376
|
} from '../actions/waitForCallsStatus.js'
|
|
381
|
-
|
|
377
|
+
export {
|
|
378
|
+
type WaitForTransactionReceiptErrorType,
|
|
379
|
+
type WaitForTransactionReceiptParameters,
|
|
380
|
+
type WaitForTransactionReceiptReturnType,
|
|
381
|
+
waitForTransactionReceipt,
|
|
382
|
+
/** @deprecated use `waitForTransactionReceipt` instead */
|
|
383
|
+
waitForTransactionReceipt as waitForTransaction,
|
|
384
|
+
} from '../actions/waitForTransactionReceipt.js'
|
|
382
385
|
export {
|
|
383
386
|
type WatchAccountParameters,
|
|
384
387
|
type WatchAccountReturnType,
|
|
385
388
|
watchAccount,
|
|
386
389
|
} from '../actions/watchAccount.js'
|
|
387
|
-
|
|
388
390
|
export {
|
|
389
|
-
type WatchAssetParameters,
|
|
390
391
|
type WatchAssetErrorType,
|
|
392
|
+
type WatchAssetParameters,
|
|
391
393
|
type WatchAssetReturnType,
|
|
392
394
|
watchAsset,
|
|
393
395
|
} from '../actions/watchAsset.js'
|
|
394
396
|
|
|
395
|
-
export {
|
|
396
|
-
type WatchBlocksParameters,
|
|
397
|
-
type WatchBlocksReturnType,
|
|
398
|
-
watchBlocks,
|
|
399
|
-
} from '../actions/watchBlocks.js'
|
|
400
|
-
|
|
401
397
|
export {
|
|
402
398
|
type WatchBlockNumberParameters,
|
|
403
399
|
type WatchBlockNumberReturnType,
|
|
404
400
|
watchBlockNumber,
|
|
405
401
|
} from '../actions/watchBlockNumber.js'
|
|
406
|
-
|
|
402
|
+
export {
|
|
403
|
+
type WatchBlocksParameters,
|
|
404
|
+
type WatchBlocksReturnType,
|
|
405
|
+
watchBlocks,
|
|
406
|
+
} from '../actions/watchBlocks.js'
|
|
407
407
|
export {
|
|
408
408
|
type WatchChainIdParameters,
|
|
409
409
|
type WatchChainIdReturnType,
|
|
410
410
|
watchChainId,
|
|
411
411
|
} from '../actions/watchChainId.js'
|
|
412
|
-
|
|
413
412
|
export {
|
|
414
413
|
type WatchClientParameters,
|
|
415
414
|
type WatchClientReturnType,
|
|
416
415
|
watchClient,
|
|
417
416
|
} from '../actions/watchClient.js'
|
|
418
|
-
|
|
419
417
|
export {
|
|
420
418
|
type WatchConnectionsParameters,
|
|
421
419
|
type WatchConnectionsReturnType,
|
|
422
420
|
watchConnections,
|
|
423
421
|
} from '../actions/watchConnections.js'
|
|
424
|
-
|
|
425
422
|
export {
|
|
426
423
|
type WatchConnectorsParameters,
|
|
427
424
|
type WatchConnectorsReturnType,
|
|
428
425
|
watchConnectors,
|
|
429
426
|
} from '../actions/watchConnectors.js'
|
|
430
|
-
|
|
431
427
|
export {
|
|
432
428
|
type WatchContractEventParameters,
|
|
433
429
|
type WatchContractEventReturnType,
|
|
434
430
|
watchContractEvent,
|
|
435
431
|
} from '../actions/watchContractEvent.js'
|
|
436
|
-
|
|
437
432
|
export {
|
|
438
433
|
type WatchPendingTransactionsParameters,
|
|
439
434
|
type WatchPendingTransactionsReturnType,
|
|
440
435
|
watchPendingTransactions,
|
|
441
436
|
} from '../actions/watchPendingTransactions.js'
|
|
442
|
-
|
|
443
437
|
export {
|
|
444
438
|
type WatchPublicClientParameters,
|
|
445
439
|
type WatchPublicClientReturnType,
|
|
446
440
|
watchPublicClient,
|
|
447
441
|
} from '../actions/watchPublicClient.js'
|
|
448
442
|
|
|
449
|
-
export {
|
|
450
|
-
type WaitForTransactionReceiptErrorType,
|
|
451
|
-
type WaitForTransactionReceiptParameters,
|
|
452
|
-
type WaitForTransactionReceiptReturnType,
|
|
453
|
-
waitForTransactionReceipt,
|
|
454
|
-
/** @deprecated use `waitForTransactionReceipt` instead */
|
|
455
|
-
waitForTransactionReceipt as waitForTransaction,
|
|
456
|
-
} from '../actions/waitForTransactionReceipt.js'
|
|
457
|
-
|
|
458
443
|
export {
|
|
459
444
|
type WriteContractErrorType,
|
|
460
445
|
type WriteContractParameters,
|
|
@@ -487,14 +472,14 @@ export {
|
|
|
487
472
|
////////////////////////////////////////////////////////////////////////////////
|
|
488
473
|
|
|
489
474
|
export {
|
|
475
|
+
type Config,
|
|
490
476
|
type Connection,
|
|
491
477
|
type Connector,
|
|
492
|
-
type Config,
|
|
493
478
|
type CreateConfigParameters,
|
|
479
|
+
createConfig,
|
|
494
480
|
type PartializedState,
|
|
495
481
|
type State,
|
|
496
482
|
type Transport,
|
|
497
|
-
createConfig,
|
|
498
483
|
} from '../createConfig.js'
|
|
499
484
|
|
|
500
485
|
////////////////////////////////////////////////////////////////////////////////
|
|
@@ -503,10 +488,10 @@ export {
|
|
|
503
488
|
|
|
504
489
|
export {
|
|
505
490
|
type CreateStorageParameters,
|
|
506
|
-
type Storage,
|
|
507
|
-
type StorageItemMap,
|
|
508
491
|
createStorage,
|
|
509
492
|
noopStorage,
|
|
493
|
+
type Storage,
|
|
494
|
+
type StorageItemMap,
|
|
510
495
|
} from '../createStorage.js'
|
|
511
496
|
|
|
512
497
|
////////////////////////////////////////////////////////////////////////////////
|
|
@@ -522,27 +507,27 @@ export { hydrate } from '../hydrate.js'
|
|
|
522
507
|
export { BaseError } from '../errors/base.js'
|
|
523
508
|
|
|
524
509
|
export {
|
|
525
|
-
type ChainNotConfiguredErrorType,
|
|
526
510
|
ChainNotConfiguredError,
|
|
527
|
-
type
|
|
528
|
-
ConnectorNotConnectedError,
|
|
529
|
-
type ConnectorAlreadyConnectedErrorType,
|
|
530
|
-
ConnectorAlreadyConnectedError,
|
|
531
|
-
type ConnectorNotFoundErrorType,
|
|
532
|
-
ConnectorNotFoundError,
|
|
533
|
-
type ConnectorAccountNotFoundErrorType,
|
|
511
|
+
type ChainNotConfiguredErrorType,
|
|
534
512
|
ConnectorAccountNotFoundError,
|
|
535
|
-
type
|
|
513
|
+
type ConnectorAccountNotFoundErrorType,
|
|
514
|
+
ConnectorAlreadyConnectedError,
|
|
515
|
+
type ConnectorAlreadyConnectedErrorType,
|
|
536
516
|
ConnectorChainMismatchError,
|
|
537
|
-
type
|
|
517
|
+
type ConnectorChainMismatchErrorType,
|
|
518
|
+
ConnectorNotConnectedError,
|
|
519
|
+
type ConnectorNotConnectedErrorType,
|
|
520
|
+
ConnectorNotFoundError,
|
|
521
|
+
type ConnectorNotFoundErrorType,
|
|
538
522
|
ConnectorUnavailableReconnectingError,
|
|
523
|
+
type ConnectorUnavailableReconnectingErrorType,
|
|
539
524
|
} from '../errors/config.js'
|
|
540
525
|
|
|
541
526
|
export {
|
|
542
|
-
type ProviderNotFoundErrorType,
|
|
543
527
|
ProviderNotFoundError,
|
|
544
|
-
type
|
|
528
|
+
type ProviderNotFoundErrorType,
|
|
545
529
|
SwitchChainNotSupportedError,
|
|
530
|
+
type SwitchChainNotSupportedErrorType,
|
|
546
531
|
} from '../errors/connector.js'
|
|
547
532
|
|
|
548
533
|
////////////////////////////////////////////////////////////////////////////////
|
|
@@ -552,8 +537,8 @@ export {
|
|
|
552
537
|
export { custom, http, webSocket } from 'viem'
|
|
553
538
|
|
|
554
539
|
export {
|
|
555
|
-
type ConnectorTransportConfig,
|
|
556
540
|
type ConnectorTransport,
|
|
541
|
+
type ConnectorTransportConfig,
|
|
557
542
|
unstable_connector,
|
|
558
543
|
} from '../transports/connector.js'
|
|
559
544
|
|
package/src/exports/internal.ts
CHANGED
|
@@ -14,9 +14,9 @@ export {
|
|
|
14
14
|
////////////////////////////////////////////////////////////////////////////////
|
|
15
15
|
|
|
16
16
|
export {
|
|
17
|
-
type EventData,
|
|
18
|
-
Emitter,
|
|
19
17
|
createEmitter,
|
|
18
|
+
Emitter,
|
|
19
|
+
type EventData,
|
|
20
20
|
} from '../createEmitter.js'
|
|
21
21
|
|
|
22
22
|
////////////////////////////////////////////////////////////////////////////////
|
|
@@ -35,12 +35,12 @@ export type {
|
|
|
35
35
|
Compute,
|
|
36
36
|
ExactPartial,
|
|
37
37
|
Mutable,
|
|
38
|
-
StrictOmit as Omit,
|
|
39
38
|
OneOf,
|
|
40
39
|
RemoveUndefined,
|
|
40
|
+
StrictOmit as Omit,
|
|
41
41
|
UnionCompute,
|
|
42
|
-
UnionStrictOmit,
|
|
43
42
|
UnionExactPartial,
|
|
43
|
+
UnionStrictOmit,
|
|
44
44
|
} from '../types/utils.js'
|
|
45
45
|
|
|
46
46
|
////////////////////////////////////////////////////////////////////////////////
|