wagmi 3.4.0 → 3.4.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/hooks/codegen/createUseReadContract.js.map +1 -1
- package/dist/esm/hooks/codegen/createUseSimulateContract.js.map +1 -1
- package/dist/esm/hooks/codegen/createUseWatchContractEvent.js.map +1 -1
- package/dist/esm/hooks/useBalance.js.map +1 -1
- package/dist/esm/hooks/useBlobBaseFee.js.map +1 -1
- package/dist/esm/hooks/useBlock.js.map +1 -1
- package/dist/esm/hooks/useBlockNumber.js.map +1 -1
- package/dist/esm/hooks/useBlockTransactionCount.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/useCallsStatus.js.map +1 -1
- package/dist/esm/hooks/useCapabilities.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.map +1 -1
- package/dist/esm/hooks/useConnect.js.map +1 -1
- package/dist/esm/hooks/useConnectionEffect.js.map +1 -1
- package/dist/esm/hooks/useConnections.js.map +1 -1
- package/dist/esm/hooks/useConnectorClient.js.map +1 -1
- package/dist/esm/hooks/useConnectors.js.map +1 -1
- package/dist/esm/hooks/useContractEvents.js.map +1 -1
- package/dist/esm/hooks/useDeployContract.js.map +1 -1
- package/dist/esm/hooks/useDisconnect.js.map +1 -1
- package/dist/esm/hooks/useEnsAddress.js.map +1 -1
- package/dist/esm/hooks/useEnsAvatar.js.map +1 -1
- package/dist/esm/hooks/useEnsName.js.map +1 -1
- package/dist/esm/hooks/useEnsResolver.js.map +1 -1
- package/dist/esm/hooks/useEnsText.js.map +1 -1
- package/dist/esm/hooks/useEstimateFeesPerGas.js.map +1 -1
- package/dist/esm/hooks/useEstimateGas.js.map +1 -1
- package/dist/esm/hooks/useEstimateMaxPriorityFeePerGas.js.map +1 -1
- package/dist/esm/hooks/useFeeHistory.js.map +1 -1
- package/dist/esm/hooks/useGasPrice.js.map +1 -1
- package/dist/esm/hooks/useInfiniteReadContracts.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/useReadContract.js.map +1 -1
- package/dist/esm/hooks/useReadContracts.js.map +1 -1
- package/dist/esm/hooks/useReconnect.js.map +1 -1
- package/dist/esm/hooks/useSendCalls.js.map +1 -1
- package/dist/esm/hooks/useSendCallsSync.js.map +1 -1
- package/dist/esm/hooks/useSendTransaction.js.map +1 -1
- package/dist/esm/hooks/useSendTransactionSync.js.map +1 -1
- package/dist/esm/hooks/useShowCallsStatus.js.map +1 -1
- package/dist/esm/hooks/useSignMessage.js.map +1 -1
- package/dist/esm/hooks/useSignTypedData.js.map +1 -1
- package/dist/esm/hooks/useSimulateContract.js.map +1 -1
- package/dist/esm/hooks/useStorageAt.js.map +1 -1
- package/dist/esm/hooks/useSwitchChain.js.map +1 -1
- package/dist/esm/hooks/useSwitchConnection.js.map +1 -1
- package/dist/esm/hooks/useTransaction.js.map +1 -1
- package/dist/esm/hooks/useTransactionConfirmations.js.map +1 -1
- package/dist/esm/hooks/useTransactionCount.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/hooks/useWaitForCallsStatus.js.map +1 -1
- package/dist/esm/hooks/useWaitForTransactionReceipt.js.map +1 -1
- package/dist/esm/hooks/useWalletClient.js.map +1 -1
- package/dist/esm/hooks/useWatchAsset.js.map +1 -1
- package/dist/esm/hooks/useWatchBlockNumber.js.map +1 -1
- package/dist/esm/hooks/useWatchBlocks.js.map +1 -1
- package/dist/esm/hooks/useWatchContractEvent.js.map +1 -1
- package/dist/esm/hooks/useWatchPendingTransactions.js.map +1 -1
- package/dist/esm/hooks/useWriteContract.js.map +1 -1
- package/dist/esm/hooks/useWriteContractSync.js.map +1 -1
- package/dist/esm/tempo/hooks/amm.js.map +1 -1
- package/dist/esm/tempo/hooks/dex.js.map +1 -1
- package/dist/esm/tempo/hooks/faucet.js.map +1 -1
- package/dist/esm/tempo/hooks/fee.js.map +1 -1
- package/dist/esm/tempo/hooks/nonce.js.map +1 -1
- package/dist/esm/tempo/hooks/policy.js.map +1 -1
- package/dist/esm/tempo/hooks/reward.js.map +1 -1
- package/dist/esm/tempo/hooks/token.js.map +1 -1
- package/dist/esm/tsconfig.build.tsbuildinfo +1 -1
- package/dist/esm/version.js +1 -1
- package/dist/types/hooks/codegen/createUseReadContract.d.ts +1 -2
- package/dist/types/hooks/codegen/createUseReadContract.d.ts.map +1 -1
- package/dist/types/hooks/codegen/createUseSimulateContract.d.ts +1 -2
- package/dist/types/hooks/codegen/createUseSimulateContract.d.ts.map +1 -1
- package/dist/types/hooks/codegen/createUseWatchContractEvent.d.ts +1 -2
- package/dist/types/hooks/codegen/createUseWatchContractEvent.d.ts.map +1 -1
- package/dist/types/hooks/useBalance.d.ts +1 -2
- package/dist/types/hooks/useBalance.d.ts.map +1 -1
- package/dist/types/hooks/useBlobBaseFee.d.ts +1 -2
- package/dist/types/hooks/useBlobBaseFee.d.ts.map +1 -1
- package/dist/types/hooks/useBlock.d.ts +1 -2
- package/dist/types/hooks/useBlock.d.ts.map +1 -1
- package/dist/types/hooks/useBlockNumber.d.ts +1 -2
- package/dist/types/hooks/useBlockNumber.d.ts.map +1 -1
- package/dist/types/hooks/useBlockTransactionCount.d.ts +1 -2
- package/dist/types/hooks/useBlockTransactionCount.d.ts.map +1 -1
- package/dist/types/hooks/useBytecode.d.ts +1 -2
- package/dist/types/hooks/useBytecode.d.ts.map +1 -1
- package/dist/types/hooks/useCall.d.ts +1 -2
- package/dist/types/hooks/useCall.d.ts.map +1 -1
- package/dist/types/hooks/useCallsStatus.d.ts +1 -2
- package/dist/types/hooks/useCallsStatus.d.ts.map +1 -1
- package/dist/types/hooks/useCapabilities.d.ts +1 -2
- package/dist/types/hooks/useCapabilities.d.ts.map +1 -1
- package/dist/types/hooks/useChainId.d.ts +1 -1
- package/dist/types/hooks/useChainId.d.ts.map +1 -1
- package/dist/types/hooks/useChains.d.ts +1 -1
- package/dist/types/hooks/useChains.d.ts.map +1 -1
- package/dist/types/hooks/useClient.d.ts +1 -2
- package/dist/types/hooks/useClient.d.ts.map +1 -1
- package/dist/types/hooks/useConfig.d.ts +1 -1
- package/dist/types/hooks/useConfig.d.ts.map +1 -1
- package/dist/types/hooks/useConnect.d.ts +1 -2
- package/dist/types/hooks/useConnect.d.ts.map +1 -1
- package/dist/types/hooks/useConnection.d.ts +1 -1
- package/dist/types/hooks/useConnection.d.ts.map +1 -1
- package/dist/types/hooks/useConnectionEffect.d.ts +1 -2
- package/dist/types/hooks/useConnectionEffect.d.ts.map +1 -1
- package/dist/types/hooks/useConnections.d.ts +1 -1
- package/dist/types/hooks/useConnections.d.ts.map +1 -1
- package/dist/types/hooks/useConnectorClient.d.ts +1 -2
- package/dist/types/hooks/useConnectorClient.d.ts.map +1 -1
- package/dist/types/hooks/useConnectors.d.ts +1 -1
- package/dist/types/hooks/useConnectors.d.ts.map +1 -1
- package/dist/types/hooks/useContractEvents.d.ts +1 -2
- package/dist/types/hooks/useContractEvents.d.ts.map +1 -1
- package/dist/types/hooks/useDeployContract.d.ts +1 -2
- package/dist/types/hooks/useDeployContract.d.ts.map +1 -1
- package/dist/types/hooks/useDisconnect.d.ts +1 -2
- package/dist/types/hooks/useDisconnect.d.ts.map +1 -1
- package/dist/types/hooks/useEnsAddress.d.ts +1 -2
- package/dist/types/hooks/useEnsAddress.d.ts.map +1 -1
- package/dist/types/hooks/useEnsAvatar.d.ts +1 -2
- package/dist/types/hooks/useEnsAvatar.d.ts.map +1 -1
- package/dist/types/hooks/useEnsName.d.ts +1 -2
- package/dist/types/hooks/useEnsName.d.ts.map +1 -1
- package/dist/types/hooks/useEnsResolver.d.ts +1 -2
- package/dist/types/hooks/useEnsResolver.d.ts.map +1 -1
- package/dist/types/hooks/useEnsText.d.ts +1 -2
- package/dist/types/hooks/useEnsText.d.ts.map +1 -1
- package/dist/types/hooks/useEstimateFeesPerGas.d.ts +1 -2
- package/dist/types/hooks/useEstimateFeesPerGas.d.ts.map +1 -1
- package/dist/types/hooks/useEstimateGas.d.ts +1 -1
- package/dist/types/hooks/useEstimateGas.d.ts.map +1 -1
- package/dist/types/hooks/useEstimateMaxPriorityFeePerGas.d.ts +1 -2
- package/dist/types/hooks/useEstimateMaxPriorityFeePerGas.d.ts.map +1 -1
- package/dist/types/hooks/useFeeHistory.d.ts +1 -2
- package/dist/types/hooks/useFeeHistory.d.ts.map +1 -1
- package/dist/types/hooks/useGasPrice.d.ts +1 -2
- package/dist/types/hooks/useGasPrice.d.ts.map +1 -1
- package/dist/types/hooks/useInfiniteReadContracts.d.ts +2 -1
- package/dist/types/hooks/useInfiniteReadContracts.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 -2
- package/dist/types/hooks/useProof.d.ts.map +1 -1
- package/dist/types/hooks/usePublicClient.d.ts +1 -2
- package/dist/types/hooks/usePublicClient.d.ts.map +1 -1
- package/dist/types/hooks/useReadContract.d.ts +1 -2
- package/dist/types/hooks/useReadContract.d.ts.map +1 -1
- package/dist/types/hooks/useReadContracts.d.ts +1 -2
- package/dist/types/hooks/useReadContracts.d.ts.map +1 -1
- package/dist/types/hooks/useReconnect.d.ts +1 -2
- package/dist/types/hooks/useReconnect.d.ts.map +1 -1
- package/dist/types/hooks/useSendCalls.d.ts +1 -2
- package/dist/types/hooks/useSendCalls.d.ts.map +1 -1
- package/dist/types/hooks/useSendCallsSync.d.ts +1 -2
- package/dist/types/hooks/useSendCallsSync.d.ts.map +1 -1
- package/dist/types/hooks/useSendTransaction.d.ts +1 -2
- package/dist/types/hooks/useSendTransaction.d.ts.map +1 -1
- package/dist/types/hooks/useSendTransactionSync.d.ts +1 -2
- package/dist/types/hooks/useSendTransactionSync.d.ts.map +1 -1
- package/dist/types/hooks/useShowCallsStatus.d.ts +1 -2
- package/dist/types/hooks/useShowCallsStatus.d.ts.map +1 -1
- package/dist/types/hooks/useSignMessage.d.ts +1 -2
- package/dist/types/hooks/useSignMessage.d.ts.map +1 -1
- package/dist/types/hooks/useSignTypedData.d.ts +1 -2
- package/dist/types/hooks/useSignTypedData.d.ts.map +1 -1
- package/dist/types/hooks/useSimulateContract.d.ts +1 -1
- package/dist/types/hooks/useSimulateContract.d.ts.map +1 -1
- package/dist/types/hooks/useStorageAt.d.ts +1 -2
- package/dist/types/hooks/useStorageAt.d.ts.map +1 -1
- package/dist/types/hooks/useSwitchChain.d.ts +1 -2
- package/dist/types/hooks/useSwitchChain.d.ts.map +1 -1
- package/dist/types/hooks/useSwitchConnection.d.ts +1 -2
- package/dist/types/hooks/useSwitchConnection.d.ts.map +1 -1
- package/dist/types/hooks/useTransaction.d.ts +1 -2
- package/dist/types/hooks/useTransaction.d.ts.map +1 -1
- package/dist/types/hooks/useTransactionConfirmations.d.ts +1 -1
- package/dist/types/hooks/useTransactionConfirmations.d.ts.map +1 -1
- package/dist/types/hooks/useTransactionCount.d.ts +1 -2
- package/dist/types/hooks/useTransactionCount.d.ts.map +1 -1
- package/dist/types/hooks/useTransactionReceipt.d.ts +1 -2
- package/dist/types/hooks/useTransactionReceipt.d.ts.map +1 -1
- package/dist/types/hooks/useVerifyMessage.d.ts +1 -2
- 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/hooks/useWaitForCallsStatus.d.ts +1 -2
- package/dist/types/hooks/useWaitForCallsStatus.d.ts.map +1 -1
- package/dist/types/hooks/useWaitForTransactionReceipt.d.ts +1 -2
- package/dist/types/hooks/useWaitForTransactionReceipt.d.ts.map +1 -1
- package/dist/types/hooks/useWalletClient.d.ts +1 -2
- package/dist/types/hooks/useWalletClient.d.ts.map +1 -1
- package/dist/types/hooks/useWatchAsset.d.ts +1 -2
- package/dist/types/hooks/useWatchAsset.d.ts.map +1 -1
- package/dist/types/hooks/useWatchBlockNumber.d.ts +1 -2
- package/dist/types/hooks/useWatchBlockNumber.d.ts.map +1 -1
- package/dist/types/hooks/useWatchBlocks.d.ts +1 -2
- package/dist/types/hooks/useWatchBlocks.d.ts.map +1 -1
- package/dist/types/hooks/useWatchContractEvent.d.ts +1 -2
- package/dist/types/hooks/useWatchContractEvent.d.ts.map +1 -1
- package/dist/types/hooks/useWatchPendingTransactions.d.ts +1 -2
- package/dist/types/hooks/useWatchPendingTransactions.d.ts.map +1 -1
- package/dist/types/hooks/useWriteContract.d.ts +1 -1
- package/dist/types/hooks/useWriteContract.d.ts.map +1 -1
- package/dist/types/hooks/useWriteContractSync.d.ts +1 -1
- package/dist/types/hooks/useWriteContractSync.d.ts.map +1 -1
- package/dist/types/tempo/hooks/amm.d.ts +1 -2
- package/dist/types/tempo/hooks/amm.d.ts.map +1 -1
- package/dist/types/tempo/hooks/dex.d.ts +1 -2
- package/dist/types/tempo/hooks/dex.d.ts.map +1 -1
- package/dist/types/tempo/hooks/faucet.d.ts +1 -1
- package/dist/types/tempo/hooks/faucet.d.ts.map +1 -1
- package/dist/types/tempo/hooks/fee.d.ts +1 -2
- package/dist/types/tempo/hooks/fee.d.ts.map +1 -1
- package/dist/types/tempo/hooks/nonce.d.ts +1 -2
- package/dist/types/tempo/hooks/nonce.d.ts.map +1 -1
- package/dist/types/tempo/hooks/policy.d.ts +1 -2
- package/dist/types/tempo/hooks/policy.d.ts.map +1 -1
- package/dist/types/tempo/hooks/reward.d.ts +1 -2
- package/dist/types/tempo/hooks/reward.d.ts.map +1 -1
- package/dist/types/tempo/hooks/token.d.ts +1 -2
- package/dist/types/tempo/hooks/token.d.ts.map +1 -1
- package/dist/types/types/properties.d.ts +0 -7
- package/dist/types/types/properties.d.ts.map +1 -1
- package/dist/types/version.d.ts +1 -1
- package/package.json +3 -11
- package/src/hooks/codegen/createUseReadContract.ts +1 -2
- package/src/hooks/codegen/createUseSimulateContract.ts +1 -2
- package/src/hooks/codegen/createUseWatchContractEvent.ts +2 -5
- package/src/hooks/useBalance.ts +1 -2
- package/src/hooks/useBlobBaseFee.ts +1 -2
- package/src/hooks/useBlock.ts +1 -1
- package/src/hooks/useBlockNumber.ts +1 -1
- package/src/hooks/useBlockTransactionCount.ts +1 -2
- package/src/hooks/useBytecode.ts +1 -2
- package/src/hooks/useCall.ts +1 -2
- package/src/hooks/useCallsStatus.ts +1 -2
- package/src/hooks/useCapabilities.ts +1 -2
- package/src/hooks/useChainId.ts +1 -2
- package/src/hooks/useChains.ts +1 -2
- package/src/hooks/useClient.ts +1 -3
- package/src/hooks/useConfig.ts +1 -2
- package/src/hooks/useConnect.ts +1 -2
- package/src/hooks/useConnection.ts +1 -1
- package/src/hooks/useConnectionEffect.ts +1 -3
- package/src/hooks/useConnections.ts +1 -2
- package/src/hooks/useConnectorClient.ts +1 -3
- package/src/hooks/useConnectors.ts +1 -2
- package/src/hooks/useContractEvents.ts +1 -2
- package/src/hooks/useDeployContract.ts +1 -2
- package/src/hooks/useDisconnect.ts +1 -2
- package/src/hooks/useEnsAddress.ts +1 -2
- package/src/hooks/useEnsAvatar.ts +1 -2
- package/src/hooks/useEnsName.ts +1 -2
- package/src/hooks/useEnsResolver.ts +1 -2
- package/src/hooks/useEnsText.ts +1 -2
- package/src/hooks/useEstimateFeesPerGas.ts +1 -2
- package/src/hooks/useEstimateGas.ts +1 -1
- package/src/hooks/useEstimateMaxPriorityFeePerGas.ts +1 -2
- package/src/hooks/useFeeHistory.ts +1 -2
- package/src/hooks/useGasPrice.ts +1 -2
- package/src/hooks/useInfiniteReadContracts.ts +2 -6
- package/src/hooks/usePrepareTransactionRequest.ts +1 -1
- package/src/hooks/useProof.ts +1 -2
- package/src/hooks/usePublicClient.ts +1 -3
- package/src/hooks/useReadContract.ts +1 -2
- package/src/hooks/useReadContracts.ts +1 -2
- package/src/hooks/useReconnect.ts +1 -2
- package/src/hooks/useSendCalls.ts +1 -2
- package/src/hooks/useSendCallsSync.ts +1 -2
- package/src/hooks/useSendTransaction.ts +1 -2
- package/src/hooks/useSendTransactionSync.ts +1 -2
- package/src/hooks/useShowCallsStatus.ts +1 -2
- package/src/hooks/useSignMessage.ts +1 -2
- package/src/hooks/useSignTypedData.ts +1 -2
- package/src/hooks/useSimulateContract.ts +1 -1
- package/src/hooks/useStorageAt.ts +1 -2
- package/src/hooks/useSwitchChain.ts +1 -2
- package/src/hooks/useSwitchConnection.ts +1 -2
- package/src/hooks/useTransaction.ts +1 -2
- package/src/hooks/useTransactionConfirmations.ts +1 -1
- package/src/hooks/useTransactionCount.ts +1 -2
- package/src/hooks/useTransactionReceipt.ts +1 -2
- package/src/hooks/useVerifyMessage.ts +1 -2
- package/src/hooks/useVerifyTypedData.ts +1 -1
- package/src/hooks/useWaitForCallsStatus.ts +1 -2
- package/src/hooks/useWaitForTransactionReceipt.ts +1 -2
- package/src/hooks/useWalletClient.ts +1 -2
- package/src/hooks/useWatchAsset.ts +1 -2
- package/src/hooks/useWatchBlockNumber.ts +6 -2
- package/src/hooks/useWatchBlocks.ts +6 -2
- package/src/hooks/useWatchContractEvent.ts +6 -2
- package/src/hooks/useWatchPendingTransactions.ts +6 -2
- package/src/hooks/useWriteContract.ts +1 -1
- package/src/hooks/useWriteContractSync.ts +1 -1
- package/src/tempo/hooks/amm.ts +5 -3
- package/src/tempo/hooks/dex.ts +5 -3
- package/src/tempo/hooks/faucet.ts +1 -1
- package/src/tempo/hooks/fee.ts +5 -3
- package/src/tempo/hooks/nonce.ts +5 -3
- package/src/tempo/hooks/policy.ts +5 -3
- package/src/tempo/hooks/reward.ts +5 -3
- package/src/tempo/hooks/token.ts +5 -3
- package/src/types/properties.ts +0 -10
- package/src/version.ts +1 -1
- package/dist/esm/exports/internal.js +0 -5
- package/dist/esm/exports/internal.js.map +0 -1
- package/dist/types/exports/internal.d.ts +0 -2
- package/dist/types/exports/internal.d.ts.map +0 -1
- package/internal/package.json +0 -5
- package/src/exports/internal.ts +0 -5
|
@@ -4,13 +4,12 @@ import type {
|
|
|
4
4
|
GetTransactionReceiptErrorType,
|
|
5
5
|
ResolvedRegister,
|
|
6
6
|
} from '@wagmi/core'
|
|
7
|
-
import type { Compute } from '@wagmi/core/internal'
|
|
7
|
+
import type { Compute, ConfigParameter } from '@wagmi/core/internal'
|
|
8
8
|
import {
|
|
9
9
|
type GetTransactionReceiptData,
|
|
10
10
|
type GetTransactionReceiptOptions,
|
|
11
11
|
getTransactionReceiptQueryOptions,
|
|
12
12
|
} from '@wagmi/core/query'
|
|
13
|
-
import type { ConfigParameter } from '../types/properties.js'
|
|
14
13
|
import { type UseQueryReturnType, useQuery } from '../utils/query.js'
|
|
15
14
|
import { useChainId } from './useChainId.js'
|
|
16
15
|
import { useConfig } from './useConfig.js'
|
|
@@ -4,13 +4,12 @@ import type {
|
|
|
4
4
|
ResolvedRegister,
|
|
5
5
|
VerifyMessageErrorType,
|
|
6
6
|
} from '@wagmi/core'
|
|
7
|
-
import type { Compute } from '@wagmi/core/internal'
|
|
7
|
+
import type { Compute, ConfigParameter } from '@wagmi/core/internal'
|
|
8
8
|
import {
|
|
9
9
|
type VerifyMessageData,
|
|
10
10
|
type VerifyMessageOptions,
|
|
11
11
|
verifyMessageQueryOptions,
|
|
12
12
|
} from '@wagmi/core/query'
|
|
13
|
-
import type { ConfigParameter } from '../types/properties.js'
|
|
14
13
|
import { type UseQueryReturnType, useQuery } from '../utils/query.js'
|
|
15
14
|
import { useChainId } from './useChainId.js'
|
|
16
15
|
import { useConfig } from './useConfig.js'
|
|
@@ -4,13 +4,13 @@ import type {
|
|
|
4
4
|
ResolvedRegister,
|
|
5
5
|
VerifyTypedDataErrorType,
|
|
6
6
|
} from '@wagmi/core'
|
|
7
|
+
import type { ConfigParameter } from '@wagmi/core/internal'
|
|
7
8
|
import {
|
|
8
9
|
type VerifyTypedDataData,
|
|
9
10
|
type VerifyTypedDataOptions,
|
|
10
11
|
verifyTypedDataQueryOptions,
|
|
11
12
|
} from '@wagmi/core/query'
|
|
12
13
|
import type { TypedData } from 'viem'
|
|
13
|
-
import type { ConfigParameter } from '../types/properties.js'
|
|
14
14
|
import { type UseQueryReturnType, useQuery } from '../utils/query.js'
|
|
15
15
|
import { useChainId } from './useChainId.js'
|
|
16
16
|
import { useConfig } from './useConfig.js'
|
|
@@ -4,13 +4,12 @@ import type {
|
|
|
4
4
|
ResolvedRegister,
|
|
5
5
|
WaitForCallsStatusErrorType,
|
|
6
6
|
} from '@wagmi/core'
|
|
7
|
-
import type { Compute } from '@wagmi/core/internal'
|
|
7
|
+
import type { Compute, ConfigParameter } from '@wagmi/core/internal'
|
|
8
8
|
import {
|
|
9
9
|
type WaitForCallsStatusData,
|
|
10
10
|
type WaitForCallsStatusOptions,
|
|
11
11
|
waitForCallsStatusQueryOptions,
|
|
12
12
|
} from '@wagmi/core/query'
|
|
13
|
-
import type { ConfigParameter } from '../types/properties.js'
|
|
14
13
|
import { type UseQueryReturnType, useQuery } from '../utils/query.js'
|
|
15
14
|
import { useConfig } from './useConfig.js'
|
|
16
15
|
import { useConnection } from './useConnection.js'
|
|
@@ -4,13 +4,12 @@ import type {
|
|
|
4
4
|
ResolvedRegister,
|
|
5
5
|
WaitForTransactionReceiptErrorType,
|
|
6
6
|
} from '@wagmi/core'
|
|
7
|
-
import type { Compute } from '@wagmi/core/internal'
|
|
7
|
+
import type { Compute, ConfigParameter } from '@wagmi/core/internal'
|
|
8
8
|
import {
|
|
9
9
|
type WaitForTransactionReceiptData,
|
|
10
10
|
type WaitForTransactionReceiptOptions,
|
|
11
11
|
waitForTransactionReceiptQueryOptions,
|
|
12
12
|
} from '@wagmi/core/query'
|
|
13
|
-
import type { ConfigParameter } from '../types/properties.js'
|
|
14
13
|
import { type UseQueryReturnType, useQuery } from '../utils/query.js'
|
|
15
14
|
import { useChainId } from './useChainId.js'
|
|
16
15
|
import { useConfig } from './useConfig.js'
|
|
@@ -7,14 +7,13 @@ import type {
|
|
|
7
7
|
GetWalletClientErrorType,
|
|
8
8
|
ResolvedRegister,
|
|
9
9
|
} from '@wagmi/core'
|
|
10
|
-
import type { Compute } from '@wagmi/core/internal'
|
|
10
|
+
import type { Compute, ConfigParameter } from '@wagmi/core/internal'
|
|
11
11
|
import {
|
|
12
12
|
type GetWalletClientData,
|
|
13
13
|
type GetWalletClientOptions,
|
|
14
14
|
getWalletClientQueryOptions,
|
|
15
15
|
} from '@wagmi/core/query'
|
|
16
16
|
import { useEffect, useRef } from 'react'
|
|
17
|
-
import type { ConfigParameter } from '../types/properties.js'
|
|
18
17
|
import { type UseQueryReturnType, useQuery } from '../utils/query.js'
|
|
19
18
|
import { useChainId } from './useChainId.js'
|
|
20
19
|
import { useConfig } from './useConfig.js'
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use client'
|
|
2
2
|
import { useMutation } from '@tanstack/react-query'
|
|
3
3
|
import type { WatchAssetErrorType } from '@wagmi/core'
|
|
4
|
-
import type { Compute } from '@wagmi/core/internal'
|
|
4
|
+
import type { Compute, ConfigParameter } from '@wagmi/core/internal'
|
|
5
5
|
import {
|
|
6
6
|
type WatchAssetData,
|
|
7
7
|
type WatchAssetMutate,
|
|
@@ -10,7 +10,6 @@ import {
|
|
|
10
10
|
type WatchAssetVariables,
|
|
11
11
|
watchAssetMutationOptions,
|
|
12
12
|
} from '@wagmi/core/query'
|
|
13
|
-
import type { ConfigParameter } from '../types/properties.js'
|
|
14
13
|
import type { UseMutationReturnType } from '../utils/query.js'
|
|
15
14
|
import { useConfig } from './useConfig.js'
|
|
16
15
|
|
|
@@ -5,9 +5,13 @@ import {
|
|
|
5
5
|
type WatchBlockNumberParameters,
|
|
6
6
|
watchBlockNumber,
|
|
7
7
|
} from '@wagmi/core'
|
|
8
|
-
import type {
|
|
8
|
+
import type {
|
|
9
|
+
ConfigParameter,
|
|
10
|
+
EnabledParameter,
|
|
11
|
+
UnionCompute,
|
|
12
|
+
UnionExactPartial,
|
|
13
|
+
} from '@wagmi/core/internal'
|
|
9
14
|
import { useEffect, useRef } from 'react'
|
|
10
|
-
import type { ConfigParameter, EnabledParameter } from '../types/properties.js'
|
|
11
15
|
import { useChainId } from './useChainId.js'
|
|
12
16
|
import { useConfig } from './useConfig.js'
|
|
13
17
|
|
|
@@ -5,10 +5,14 @@ import {
|
|
|
5
5
|
type WatchBlocksParameters,
|
|
6
6
|
watchBlocks,
|
|
7
7
|
} from '@wagmi/core'
|
|
8
|
-
import type {
|
|
8
|
+
import type {
|
|
9
|
+
ConfigParameter,
|
|
10
|
+
EnabledParameter,
|
|
11
|
+
UnionCompute,
|
|
12
|
+
UnionExactPartial,
|
|
13
|
+
} from '@wagmi/core/internal'
|
|
9
14
|
import { useEffect, useRef } from 'react'
|
|
10
15
|
import type { BlockTag } from 'viem'
|
|
11
|
-
import type { ConfigParameter, EnabledParameter } from '../types/properties.js'
|
|
12
16
|
import { useChainId } from './useChainId.js'
|
|
13
17
|
import { useConfig } from './useConfig.js'
|
|
14
18
|
|
|
@@ -6,10 +6,14 @@ import {
|
|
|
6
6
|
type WatchContractEventParameters,
|
|
7
7
|
watchContractEvent,
|
|
8
8
|
} from '@wagmi/core'
|
|
9
|
-
import type {
|
|
9
|
+
import type {
|
|
10
|
+
ConfigParameter,
|
|
11
|
+
EnabledParameter,
|
|
12
|
+
UnionCompute,
|
|
13
|
+
UnionExactPartial,
|
|
14
|
+
} from '@wagmi/core/internal'
|
|
10
15
|
import { useEffect, useRef } from 'react'
|
|
11
16
|
import type { Abi, ContractEventName } from 'viem'
|
|
12
|
-
import type { ConfigParameter, EnabledParameter } from '../types/properties.js'
|
|
13
17
|
import { useChainId } from './useChainId.js'
|
|
14
18
|
import { useConfig } from './useConfig.js'
|
|
15
19
|
|
|
@@ -5,9 +5,13 @@ import {
|
|
|
5
5
|
type WatchPendingTransactionsParameters,
|
|
6
6
|
watchPendingTransactions,
|
|
7
7
|
} from '@wagmi/core'
|
|
8
|
-
import type {
|
|
8
|
+
import type {
|
|
9
|
+
ConfigParameter,
|
|
10
|
+
EnabledParameter,
|
|
11
|
+
UnionCompute,
|
|
12
|
+
UnionExactPartial,
|
|
13
|
+
} from '@wagmi/core/internal'
|
|
9
14
|
import { useEffect, useRef } from 'react'
|
|
10
|
-
import type { ConfigParameter, EnabledParameter } from '../types/properties.js'
|
|
11
15
|
import { useChainId } from './useChainId.js'
|
|
12
16
|
import { useConfig } from './useConfig.js'
|
|
13
17
|
|
|
@@ -5,6 +5,7 @@ import type {
|
|
|
5
5
|
ResolvedRegister,
|
|
6
6
|
WriteContractErrorType,
|
|
7
7
|
} from '@wagmi/core'
|
|
8
|
+
import type { ConfigParameter } from '@wagmi/core/internal'
|
|
8
9
|
import {
|
|
9
10
|
type WriteContractData,
|
|
10
11
|
type WriteContractMutate,
|
|
@@ -14,7 +15,6 @@ import {
|
|
|
14
15
|
writeContractMutationOptions,
|
|
15
16
|
} from '@wagmi/core/query'
|
|
16
17
|
import type { Abi } from 'viem'
|
|
17
|
-
import type { ConfigParameter } from '../types/properties.js'
|
|
18
18
|
import type { UseMutationReturnType } from '../utils/query.js'
|
|
19
19
|
import { useConfig } from './useConfig.js'
|
|
20
20
|
|
|
@@ -5,6 +5,7 @@ import type {
|
|
|
5
5
|
ResolvedRegister,
|
|
6
6
|
WriteContractSyncErrorType,
|
|
7
7
|
} from '@wagmi/core'
|
|
8
|
+
import type { ConfigParameter } from '@wagmi/core/internal'
|
|
8
9
|
import {
|
|
9
10
|
type WriteContractSyncData,
|
|
10
11
|
type WriteContractSyncMutate,
|
|
@@ -14,7 +15,6 @@ import {
|
|
|
14
15
|
writeContractSyncMutationOptions,
|
|
15
16
|
} from '@wagmi/core/query'
|
|
16
17
|
import type { Abi } from 'viem'
|
|
17
|
-
import type { ConfigParameter } from '../types/properties.js'
|
|
18
18
|
import type { UseMutationReturnType } from '../utils/query.js'
|
|
19
19
|
import { useConfig } from './useConfig.js'
|
|
20
20
|
|
package/src/tempo/hooks/amm.ts
CHANGED
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
import type { UseMutationResult } from '@tanstack/react-query'
|
|
2
2
|
import type { Config, ResolvedRegister } from '@wagmi/core'
|
|
3
|
-
import type {
|
|
3
|
+
import type {
|
|
4
|
+
ConfigParameter,
|
|
5
|
+
ExactPartial,
|
|
6
|
+
UnionCompute,
|
|
7
|
+
} from '@wagmi/core/internal'
|
|
4
8
|
import { Actions } from '@wagmi/core/tempo'
|
|
5
9
|
import { useEffect } from 'react'
|
|
6
|
-
|
|
7
10
|
import { useChainId } from '../../hooks/useChainId.js'
|
|
8
11
|
import { useConfig } from '../../hooks/useConfig.js'
|
|
9
|
-
import type { ConfigParameter } from '../../types/properties.js'
|
|
10
12
|
import {
|
|
11
13
|
type UseMutationParameters,
|
|
12
14
|
type UseQueryReturnType,
|
package/src/tempo/hooks/dex.ts
CHANGED
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
import type { UseMutationResult } from '@tanstack/react-query'
|
|
2
2
|
import type { Config, ResolvedRegister } from '@wagmi/core'
|
|
3
|
-
import type {
|
|
3
|
+
import type {
|
|
4
|
+
ConfigParameter,
|
|
5
|
+
ExactPartial,
|
|
6
|
+
UnionCompute,
|
|
7
|
+
} from '@wagmi/core/internal'
|
|
4
8
|
import { Actions } from '@wagmi/core/tempo'
|
|
5
9
|
import { useEffect } from 'react'
|
|
6
|
-
|
|
7
10
|
import { useChainId } from '../../hooks/useChainId.js'
|
|
8
11
|
import { useConfig } from '../../hooks/useConfig.js'
|
|
9
|
-
import type { ConfigParameter } from '../../types/properties.js'
|
|
10
12
|
import {
|
|
11
13
|
type UseMutationParameters,
|
|
12
14
|
type UseQueryReturnType,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import type { UseMutationResult } from '@tanstack/react-query'
|
|
2
2
|
import type { Config, ResolvedRegister } from '@wagmi/core'
|
|
3
|
+
import type { ConfigParameter } from '@wagmi/core/internal'
|
|
3
4
|
import { Actions } from '@wagmi/core/tempo'
|
|
4
5
|
import { useConfig } from '../../hooks/useConfig.js'
|
|
5
|
-
import type { ConfigParameter } from '../../types/properties.js'
|
|
6
6
|
import { type UseMutationParameters, useMutation } from '../../utils/query.js'
|
|
7
7
|
|
|
8
8
|
/**
|
package/src/tempo/hooks/fee.ts
CHANGED
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
import type { UseMutationResult } from '@tanstack/react-query'
|
|
2
2
|
import type { Config, ResolvedRegister } from '@wagmi/core'
|
|
3
|
-
import type {
|
|
3
|
+
import type {
|
|
4
|
+
ConfigParameter,
|
|
5
|
+
ExactPartial,
|
|
6
|
+
UnionCompute,
|
|
7
|
+
} from '@wagmi/core/internal'
|
|
4
8
|
import { Actions } from '@wagmi/core/tempo'
|
|
5
9
|
import { useEffect } from 'react'
|
|
6
|
-
|
|
7
10
|
import { useChainId } from '../../hooks/useChainId.js'
|
|
8
11
|
import { useConfig } from '../../hooks/useConfig.js'
|
|
9
|
-
import type { ConfigParameter } from '../../types/properties.js'
|
|
10
12
|
import {
|
|
11
13
|
type UseMutationParameters,
|
|
12
14
|
type UseQueryReturnType,
|
package/src/tempo/hooks/nonce.ts
CHANGED
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
import type { Config, ResolvedRegister } from '@wagmi/core'
|
|
2
|
-
import type {
|
|
2
|
+
import type {
|
|
3
|
+
ConfigParameter,
|
|
4
|
+
ExactPartial,
|
|
5
|
+
UnionCompute,
|
|
6
|
+
} from '@wagmi/core/internal'
|
|
3
7
|
import { Actions } from '@wagmi/core/tempo'
|
|
4
8
|
import { useEffect } from 'react'
|
|
5
|
-
|
|
6
9
|
import { useChainId } from '../../hooks/useChainId.js'
|
|
7
10
|
import { useConfig } from '../../hooks/useConfig.js'
|
|
8
|
-
import type { ConfigParameter } from '../../types/properties.js'
|
|
9
11
|
import { type UseQueryReturnType, useQuery } from '../../utils/query.js'
|
|
10
12
|
import type { QueryParameter } from '../utils.js'
|
|
11
13
|
|
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
import type { UseMutationResult } from '@tanstack/react-query'
|
|
2
2
|
import type { Config, ResolvedRegister } from '@wagmi/core'
|
|
3
|
-
import type {
|
|
3
|
+
import type {
|
|
4
|
+
ConfigParameter,
|
|
5
|
+
ExactPartial,
|
|
6
|
+
UnionCompute,
|
|
7
|
+
} from '@wagmi/core/internal'
|
|
4
8
|
import { Actions } from '@wagmi/core/tempo'
|
|
5
9
|
import { useEffect } from 'react'
|
|
6
|
-
|
|
7
10
|
import { useChainId } from '../../hooks/useChainId.js'
|
|
8
11
|
import { useConfig } from '../../hooks/useConfig.js'
|
|
9
|
-
import type { ConfigParameter } from '../../types/properties.js'
|
|
10
12
|
import {
|
|
11
13
|
type UseMutationParameters,
|
|
12
14
|
type UseQueryReturnType,
|
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
import type { UseMutationResult } from '@tanstack/react-query'
|
|
2
2
|
import type { Config, ResolvedRegister } from '@wagmi/core'
|
|
3
|
-
import type {
|
|
3
|
+
import type {
|
|
4
|
+
ConfigParameter,
|
|
5
|
+
ExactPartial,
|
|
6
|
+
UnionCompute,
|
|
7
|
+
} from '@wagmi/core/internal'
|
|
4
8
|
import { Actions } from '@wagmi/core/tempo'
|
|
5
9
|
import { useEffect } from 'react'
|
|
6
|
-
|
|
7
10
|
import { useChainId } from '../../hooks/useChainId.js'
|
|
8
11
|
import { useConfig } from '../../hooks/useConfig.js'
|
|
9
|
-
import type { ConfigParameter } from '../../types/properties.js'
|
|
10
12
|
import {
|
|
11
13
|
type UseMutationParameters,
|
|
12
14
|
type UseQueryReturnType,
|
package/src/tempo/hooks/token.ts
CHANGED
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
import type { UseMutationResult } from '@tanstack/react-query'
|
|
2
2
|
import type { Config, ResolvedRegister } from '@wagmi/core'
|
|
3
|
-
import type {
|
|
3
|
+
import type {
|
|
4
|
+
ConfigParameter,
|
|
5
|
+
ExactPartial,
|
|
6
|
+
UnionCompute,
|
|
7
|
+
} from '@wagmi/core/internal'
|
|
4
8
|
import { Actions } from '@wagmi/core/tempo'
|
|
5
9
|
import { useEffect } from 'react'
|
|
6
|
-
|
|
7
10
|
import { useChainId } from '../../hooks/useChainId.js'
|
|
8
11
|
import { useConfig } from '../../hooks/useConfig.js'
|
|
9
|
-
import type { ConfigParameter } from '../../types/properties.js'
|
|
10
12
|
import {
|
|
11
13
|
type UseMutationParameters,
|
|
12
14
|
type UseQueryReturnType,
|
package/src/types/properties.ts
CHANGED
|
@@ -1,17 +1,7 @@
|
|
|
1
1
|
import type { DefaultError, QueryKey } from '@tanstack/react-query'
|
|
2
|
-
import type { Config } from '@wagmi/core'
|
|
3
2
|
import type { Omit } from '@wagmi/core/internal'
|
|
4
|
-
|
|
5
3
|
import type { UseInfiniteQueryParameters } from '../utils/query.js'
|
|
6
4
|
|
|
7
|
-
export type EnabledParameter = {
|
|
8
|
-
enabled?: boolean | undefined
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
export type ConfigParameter<config extends Config = Config> = {
|
|
12
|
-
config?: Config | config | undefined
|
|
13
|
-
}
|
|
14
|
-
|
|
15
5
|
export type InfiniteQueryParameter<
|
|
16
6
|
queryFnData = unknown,
|
|
17
7
|
error = DefaultError,
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const version = '3.4.
|
|
1
|
+
export const version = '3.4.2'
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"internal.js","sourceRoot":"","sources":["../../../src/exports/internal.ts"],"names":[],"mappings":"AAAA,gFAAgF;AAChF,QAAQ;AACR,gFAAgF"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"internal.d.ts","sourceRoot":"","sources":["../../../src/exports/internal.ts"],"names":[],"mappings":"AAIA,YAAY,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAA"}
|
package/internal/package.json
DELETED
package/src/exports/internal.ts
DELETED