wagmi 3.1.2 → 3.1.4
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/actions.js +7 -0
- package/dist/esm/exports/chains.js +7 -0
- package/dist/esm/exports/codegen.js +14 -0
- package/dist/esm/exports/connectors.js +7 -0
- package/dist/esm/exports/index.js +99 -0
- package/dist/esm/exports/internal.js +5 -0
- package/dist/esm/exports/query.js +8 -0
- package/dist/esm/tsconfig.build.tsbuildinfo +1 -1
- package/dist/esm/version.js +1 -1
- package/dist/types/exports/actions.d.ts +2 -0
- package/dist/types/exports/chains.d.ts +2 -0
- package/dist/types/exports/codegen.d.ts +6 -0
- package/dist/types/exports/connectors.d.ts +2 -0
- package/dist/types/exports/index.d.ts +86 -0
- package/dist/types/exports/internal.d.ts +2 -0
- package/dist/types/exports/query.d.ts +3 -0
- package/dist/types/version.d.ts +1 -1
- package/package.json +3 -3
- package/src/exports/actions.ts +7 -2
- package/src/exports/chains.ts +7 -2
- package/src/exports/codegen.ts +34 -6
- package/src/exports/connectors.ts +7 -2
- package/src/exports/index.ts +488 -86
- package/src/exports/internal.ts +8 -2
- package/src/exports/query.ts +19 -3
- package/src/version.ts +1 -1
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
////////////////////////////////////////////////////////////////////////////////
|
|
2
|
+
// @wagmi/core/actions
|
|
3
|
+
////////////////////////////////////////////////////////////////////////////////
|
|
4
|
+
// biome-ignore lint/performance/noBarrelFile: entrypoint module
|
|
5
|
+
// biome-ignore lint/performance/noReExportAll: entrypoint module
|
|
6
|
+
export * from '@wagmi/core/actions';
|
|
7
|
+
//# sourceMappingURL=actions.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
////////////////////////////////////////////////////////////////////////////////
|
|
2
|
+
// viem/chains
|
|
3
|
+
////////////////////////////////////////////////////////////////////////////////
|
|
4
|
+
// biome-ignore lint/performance/noBarrelFile: entrypoint module
|
|
5
|
+
// biome-ignore lint/performance/noReExportAll: entrypoint module
|
|
6
|
+
export * from 'viem/chains';
|
|
7
|
+
//# sourceMappingURL=chains.js.map
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
////////////////////////////////////////////////////////////////////////////////
|
|
2
|
+
// @wagmi/core/codegen
|
|
3
|
+
////////////////////////////////////////////////////////////////////////////////
|
|
4
|
+
// biome-ignore lint/performance/noBarrelFile: entrypoint module
|
|
5
|
+
// biome-ignore lint/performance/noReExportAll: entrypoint module
|
|
6
|
+
export * from '@wagmi/core/codegen';
|
|
7
|
+
////////////////////////////////////////////////////////////////////////////////
|
|
8
|
+
// Hooks
|
|
9
|
+
////////////////////////////////////////////////////////////////////////////////
|
|
10
|
+
export { createUseReadContract, } from '../hooks/codegen/createUseReadContract.js';
|
|
11
|
+
export { createUseSimulateContract, } from '../hooks/codegen/createUseSimulateContract.js';
|
|
12
|
+
export { createUseWatchContractEvent, } from '../hooks/codegen/createUseWatchContractEvent.js';
|
|
13
|
+
export { createUseWriteContract, } from '../hooks/codegen/createUseWriteContract.js';
|
|
14
|
+
//# sourceMappingURL=codegen.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
////////////////////////////////////////////////////////////////////////////////
|
|
2
|
+
// @wagmi/connectors
|
|
3
|
+
////////////////////////////////////////////////////////////////////////////////
|
|
4
|
+
// biome-ignore lint/performance/noBarrelFile: entrypoint module
|
|
5
|
+
// biome-ignore lint/performance/noReExportAll: entrypoint module
|
|
6
|
+
export * from '@wagmi/connectors';
|
|
7
|
+
//# sourceMappingURL=connectors.js.map
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
////////////////////////////////////////////////////////////////////////////////
|
|
2
|
+
// Context
|
|
3
|
+
////////////////////////////////////////////////////////////////////////////////
|
|
4
|
+
// biome-ignore lint/performance/noBarrelFile: entrypoint module
|
|
5
|
+
export { WagmiContext, WagmiProvider, } from '../context.js';
|
|
6
|
+
////////////////////////////////////////////////////////////////////////////////
|
|
7
|
+
// Errors
|
|
8
|
+
////////////////////////////////////////////////////////////////////////////////
|
|
9
|
+
export { BaseError } from '../errors/base.js';
|
|
10
|
+
export { WagmiProviderNotFoundError, } from '../errors/context.js';
|
|
11
|
+
////////////////////////////////////////////////////////////////////////////////
|
|
12
|
+
// Hooks
|
|
13
|
+
////////////////////////////////////////////////////////////////////////////////
|
|
14
|
+
export { useBalance, } from '../hooks/useBalance.js';
|
|
15
|
+
export { useBlock, } from '../hooks/useBlock.js';
|
|
16
|
+
export { useBlockNumber, } from '../hooks/useBlockNumber.js';
|
|
17
|
+
export { useBlockTransactionCount, } from '../hooks/useBlockTransactionCount.js';
|
|
18
|
+
export { useBytecode, } from '../hooks/useBytecode.js';
|
|
19
|
+
export { useCall, } from '../hooks/useCall.js';
|
|
20
|
+
export { useCallsStatus, } from '../hooks/useCallsStatus.js';
|
|
21
|
+
export { useCapabilities, } from '../hooks/useCapabilities.js';
|
|
22
|
+
export { useChainId, } from '../hooks/useChainId.js';
|
|
23
|
+
export { useChains, } from '../hooks/useChains.js';
|
|
24
|
+
export { useClient, } from '../hooks/useClient.js';
|
|
25
|
+
export { useConfig, } from '../hooks/useConfig.js';
|
|
26
|
+
export { useConnect, } from '../hooks/useConnect.js';
|
|
27
|
+
export {
|
|
28
|
+
/** @deprecated use `useConnection` instead */
|
|
29
|
+
useConnection as useAccount, useConnection, } from '../hooks/useConnection.js';
|
|
30
|
+
export {
|
|
31
|
+
/** @deprecated use `useConnectionEffect` instead */
|
|
32
|
+
useConnectionEffect as useAccountEffect, useConnectionEffect, } from '../hooks/useConnectionEffect.js';
|
|
33
|
+
export { useConnections, } from '../hooks/useConnections.js';
|
|
34
|
+
export { useConnectorClient, } from '../hooks/useConnectorClient.js';
|
|
35
|
+
export { useConnectors, } from '../hooks/useConnectors.js';
|
|
36
|
+
export { useDeployContract, } from '../hooks/useDeployContract.js';
|
|
37
|
+
export { useDisconnect, } from '../hooks/useDisconnect.js';
|
|
38
|
+
export { useEnsAddress, } from '../hooks/useEnsAddress.js';
|
|
39
|
+
export { useEnsAvatar, } from '../hooks/useEnsAvatar.js';
|
|
40
|
+
export { useEnsName, } from '../hooks/useEnsName.js';
|
|
41
|
+
export { useEnsResolver, } from '../hooks/useEnsResolver.js';
|
|
42
|
+
export { useEnsText, } from '../hooks/useEnsText.js';
|
|
43
|
+
export { useEstimateFeesPerGas, } from '../hooks/useEstimateFeesPerGas.js';
|
|
44
|
+
export { useEstimateGas, } from '../hooks/useEstimateGas.js';
|
|
45
|
+
export { useEstimateMaxPriorityFeePerGas, } from '../hooks/useEstimateMaxPriorityFeePerGas.js';
|
|
46
|
+
export { useFeeHistory, } from '../hooks/useFeeHistory.js';
|
|
47
|
+
export { useGasPrice, } from '../hooks/useGasPrice.js';
|
|
48
|
+
export { useInfiniteReadContracts, } from '../hooks/useInfiniteReadContracts.js';
|
|
49
|
+
export { usePrepareTransactionRequest, } from '../hooks/usePrepareTransactionRequest.js';
|
|
50
|
+
export { useProof, } from '../hooks/useProof.js';
|
|
51
|
+
export { usePublicClient, } from '../hooks/usePublicClient.js';
|
|
52
|
+
export { useReadContract, } from '../hooks/useReadContract.js';
|
|
53
|
+
export { useReadContracts, } from '../hooks/useReadContracts.js';
|
|
54
|
+
export { useReconnect, } from '../hooks/useReconnect.js';
|
|
55
|
+
export { useSendCalls, } from '../hooks/useSendCalls.js';
|
|
56
|
+
export { useSendCallsSync, } from '../hooks/useSendCallsSync.js';
|
|
57
|
+
export { useSendTransaction, } from '../hooks/useSendTransaction.js';
|
|
58
|
+
export { useSendTransactionSync, } from '../hooks/useSendTransactionSync.js';
|
|
59
|
+
export { useShowCallsStatus, } from '../hooks/useShowCallsStatus.js';
|
|
60
|
+
export { useSignMessage, } from '../hooks/useSignMessage.js';
|
|
61
|
+
export { useSignTypedData, } from '../hooks/useSignTypedData.js';
|
|
62
|
+
export { useSimulateContract, } from '../hooks/useSimulateContract.js';
|
|
63
|
+
export { useStorageAt, } from '../hooks/useStorageAt.js';
|
|
64
|
+
export { useSwitchChain, } from '../hooks/useSwitchChain.js';
|
|
65
|
+
export {
|
|
66
|
+
/** @deprecated use `useSwitchConnection` instead */
|
|
67
|
+
useSwitchConnection as useSwitchAccount, useSwitchConnection, } from '../hooks/useSwitchConnection.js';
|
|
68
|
+
export { useTransaction, } from '../hooks/useTransaction.js';
|
|
69
|
+
export { useTransactionConfirmations, } from '../hooks/useTransactionConfirmations.js';
|
|
70
|
+
export { useTransactionCount, } from '../hooks/useTransactionCount.js';
|
|
71
|
+
export { useTransactionReceipt, } from '../hooks/useTransactionReceipt.js';
|
|
72
|
+
export { useVerifyMessage, } from '../hooks/useVerifyMessage.js';
|
|
73
|
+
export { useVerifyTypedData, } from '../hooks/useVerifyTypedData.js';
|
|
74
|
+
export { useWaitForCallsStatus, } from '../hooks/useWaitForCallsStatus.js';
|
|
75
|
+
export { useWaitForTransactionReceipt, } from '../hooks/useWaitForTransactionReceipt.js';
|
|
76
|
+
export { useWalletClient, } from '../hooks/useWalletClient.js';
|
|
77
|
+
export { useWatchAsset, } from '../hooks/useWatchAsset.js';
|
|
78
|
+
export { useWatchBlockNumber, } from '../hooks/useWatchBlockNumber.js';
|
|
79
|
+
export { useWatchBlocks, } from '../hooks/useWatchBlocks.js';
|
|
80
|
+
export { useWatchContractEvent, } from '../hooks/useWatchContractEvent.js';
|
|
81
|
+
export { useWatchPendingTransactions, } from '../hooks/useWatchPendingTransactions.js';
|
|
82
|
+
export { useWriteContract, } from '../hooks/useWriteContract.js';
|
|
83
|
+
////////////////////////////////////////////////////////////////////////////////
|
|
84
|
+
// Hydrate
|
|
85
|
+
////////////////////////////////////////////////////////////////////////////////
|
|
86
|
+
export { Hydrate, } from '../hydrate.js';
|
|
87
|
+
////////////////////////////////////////////////////////////////////////////////
|
|
88
|
+
// @wagmi/core
|
|
89
|
+
////////////////////////////////////////////////////////////////////////////////
|
|
90
|
+
export { ChainNotConfiguredError, ConnectorAccountNotFoundError, ConnectorAlreadyConnectedError, ConnectorChainMismatchError, ConnectorNotFoundError, ConnectorUnavailableReconnectingError,
|
|
91
|
+
// Utilities
|
|
92
|
+
cookieStorage, cookieToInitialState, createConfig, createConnector, createStorage,
|
|
93
|
+
// Transports
|
|
94
|
+
custom, deepEqual, deserialize, fallback, http, injected, mock, noopStorage, ProviderNotFoundError, parseCookie, SwitchChainNotSupportedError, serialize, unstable_connector, webSocket, } from '@wagmi/core';
|
|
95
|
+
////////////////////////////////////////////////////////////////////////////////
|
|
96
|
+
// Version
|
|
97
|
+
////////////////////////////////////////////////////////////////////////////////
|
|
98
|
+
export { version } from '../version.js';
|
|
99
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
////////////////////////////////////////////////////////////////////////////////
|
|
2
|
+
// @wagmi/core/query
|
|
3
|
+
////////////////////////////////////////////////////////////////////////////////
|
|
4
|
+
// biome-ignore lint/performance/noBarrelFile: entrypoint module
|
|
5
|
+
// biome-ignore lint/performance/noReExportAll: entrypoint module
|
|
6
|
+
export * from '@wagmi/core/query';
|
|
7
|
+
export { useInfiniteQuery, useMutation, useQuery, } from '../utils/query.js';
|
|
8
|
+
//# sourceMappingURL=query.js.map
|