wagmi 2.10.9 → 2.10.11
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/useBlock.js.map +1 -1
- package/dist/esm/hooks/useBlockNumber.js.map +1 -1
- package/dist/esm/tsconfig.build.tsbuildinfo +1 -1
- package/dist/esm/version.js +1 -1
- package/dist/esm/version.js.map +1 -1
- package/dist/types/experimental/hooks/useCallsStatus.d.ts +2 -2
- package/dist/types/experimental/hooks/useCallsStatus.d.ts.map +1 -1
- package/dist/types/experimental/hooks/useCapabilities.d.ts +2 -2
- package/dist/types/experimental/hooks/useCapabilities.d.ts.map +1 -1
- package/dist/types/experimental/hooks/useSendCalls.d.ts +3 -3
- package/dist/types/experimental/hooks/useSendCalls.d.ts.map +1 -1
- package/dist/types/experimental/hooks/useShowCallsStatus.d.ts +3 -3
- package/dist/types/experimental/hooks/useShowCallsStatus.d.ts.map +1 -1
- package/dist/types/experimental/hooks/useWriteContracts.d.ts +3 -3
- package/dist/types/experimental/hooks/useWriteContracts.d.ts.map +1 -1
- package/dist/types/hooks/codegen/createUseReadContract.d.ts +2 -2
- package/dist/types/hooks/codegen/createUseReadContract.d.ts.map +1 -1
- package/dist/types/hooks/codegen/createUseSimulateContract.d.ts +2 -2
- package/dist/types/hooks/codegen/createUseSimulateContract.d.ts.map +1 -1
- package/dist/types/hooks/codegen/createUseWatchContractEvent.d.ts +2 -2
- package/dist/types/hooks/codegen/createUseWatchContractEvent.d.ts.map +1 -1
- package/dist/types/hooks/codegen/createUseWriteContract.d.ts +5 -5
- package/dist/types/hooks/codegen/createUseWriteContract.d.ts.map +1 -1
- package/dist/types/hooks/useAccountEffect.d.ts +3 -3
- package/dist/types/hooks/useAccountEffect.d.ts.map +1 -1
- package/dist/types/hooks/useBalance.d.ts +2 -2
- package/dist/types/hooks/useBalance.d.ts.map +1 -1
- package/dist/types/hooks/useBlock.d.ts +3 -3
- package/dist/types/hooks/useBlock.d.ts.map +1 -1
- package/dist/types/hooks/useBlockNumber.d.ts +3 -3
- package/dist/types/hooks/useBlockNumber.d.ts.map +1 -1
- package/dist/types/hooks/useBlockTransactionCount.d.ts +2 -2
- package/dist/types/hooks/useBlockTransactionCount.d.ts.map +1 -1
- package/dist/types/hooks/useBytecode.d.ts +2 -2
- package/dist/types/hooks/useBytecode.d.ts.map +1 -1
- package/dist/types/hooks/useCall.d.ts +2 -2
- package/dist/types/hooks/useCall.d.ts.map +1 -1
- package/dist/types/hooks/useClient.d.ts +2 -2
- package/dist/types/hooks/useClient.d.ts.map +1 -1
- package/dist/types/hooks/useConnect.d.ts +4 -4
- package/dist/types/hooks/useConnect.d.ts.map +1 -1
- package/dist/types/hooks/useConnectorClient.d.ts +3 -3
- package/dist/types/hooks/useConnectorClient.d.ts.map +1 -1
- package/dist/types/hooks/useDeployContract.d.ts +2 -2
- package/dist/types/hooks/useDeployContract.d.ts.map +1 -1
- package/dist/types/hooks/useDisconnect.d.ts +3 -3
- package/dist/types/hooks/useDisconnect.d.ts.map +1 -1
- package/dist/types/hooks/useEnsAddress.d.ts +2 -2
- package/dist/types/hooks/useEnsAddress.d.ts.map +1 -1
- package/dist/types/hooks/useEnsAvatar.d.ts +2 -2
- package/dist/types/hooks/useEnsAvatar.d.ts.map +1 -1
- package/dist/types/hooks/useEnsName.d.ts +2 -2
- package/dist/types/hooks/useEnsName.d.ts.map +1 -1
- package/dist/types/hooks/useEnsResolver.d.ts +2 -2
- package/dist/types/hooks/useEnsResolver.d.ts.map +1 -1
- package/dist/types/hooks/useEnsText.d.ts +2 -2
- package/dist/types/hooks/useEnsText.d.ts.map +1 -1
- package/dist/types/hooks/useEstimateFeesPerGas.d.ts +2 -2
- package/dist/types/hooks/useEstimateFeesPerGas.d.ts.map +1 -1
- package/dist/types/hooks/useEstimateMaxPriorityFeePerGas.d.ts +2 -2
- package/dist/types/hooks/useEstimateMaxPriorityFeePerGas.d.ts.map +1 -1
- package/dist/types/hooks/useFeeHistory.d.ts +2 -2
- package/dist/types/hooks/useFeeHistory.d.ts.map +1 -1
- package/dist/types/hooks/useGasPrice.d.ts +2 -2
- package/dist/types/hooks/useGasPrice.d.ts.map +1 -1
- package/dist/types/hooks/useProof.d.ts +2 -2
- package/dist/types/hooks/useProof.d.ts.map +1 -1
- package/dist/types/hooks/usePublicClient.d.ts +2 -2
- package/dist/types/hooks/usePublicClient.d.ts.map +1 -1
- package/dist/types/hooks/useReadContract.d.ts +2 -2
- package/dist/types/hooks/useReadContract.d.ts.map +1 -1
- package/dist/types/hooks/useReadContracts.d.ts +2 -2
- package/dist/types/hooks/useReadContracts.d.ts.map +1 -1
- package/dist/types/hooks/useReconnect.d.ts +3 -3
- package/dist/types/hooks/useReconnect.d.ts.map +1 -1
- package/dist/types/hooks/useSendTransaction.d.ts +3 -3
- package/dist/types/hooks/useSendTransaction.d.ts.map +1 -1
- package/dist/types/hooks/useSignMessage.d.ts +3 -3
- package/dist/types/hooks/useSignMessage.d.ts.map +1 -1
- package/dist/types/hooks/useSignTypedData.d.ts +3 -3
- package/dist/types/hooks/useSignTypedData.d.ts.map +1 -1
- package/dist/types/hooks/useStorageAt.d.ts +2 -2
- package/dist/types/hooks/useStorageAt.d.ts.map +1 -1
- package/dist/types/hooks/useSwitchAccount.d.ts +3 -3
- package/dist/types/hooks/useSwitchAccount.d.ts.map +1 -1
- package/dist/types/hooks/useSwitchChain.d.ts +3 -3
- package/dist/types/hooks/useSwitchChain.d.ts.map +1 -1
- package/dist/types/hooks/useToken.d.ts +2 -2
- package/dist/types/hooks/useToken.d.ts.map +1 -1
- package/dist/types/hooks/useTransaction.d.ts +2 -2
- package/dist/types/hooks/useTransaction.d.ts.map +1 -1
- package/dist/types/hooks/useTransactionCount.d.ts +2 -2
- package/dist/types/hooks/useTransactionCount.d.ts.map +1 -1
- package/dist/types/hooks/useTransactionReceipt.d.ts +2 -2
- package/dist/types/hooks/useTransactionReceipt.d.ts.map +1 -1
- package/dist/types/hooks/useVerifyMessage.d.ts +2 -2
- package/dist/types/hooks/useVerifyMessage.d.ts.map +1 -1
- package/dist/types/hooks/useWaitForTransactionReceipt.d.ts +2 -2
- package/dist/types/hooks/useWaitForTransactionReceipt.d.ts.map +1 -1
- package/dist/types/hooks/useWalletClient.d.ts +3 -3
- package/dist/types/hooks/useWalletClient.d.ts.map +1 -1
- package/dist/types/hooks/useWatchBlockNumber.d.ts +2 -2
- package/dist/types/hooks/useWatchBlockNumber.d.ts.map +1 -1
- package/dist/types/hooks/useWatchBlocks.d.ts +2 -2
- package/dist/types/hooks/useWatchBlocks.d.ts.map +1 -1
- package/dist/types/hooks/useWatchContractEvent.d.ts +2 -2
- package/dist/types/hooks/useWatchContractEvent.d.ts.map +1 -1
- package/dist/types/hooks/useWatchPendingTransactions.d.ts +2 -2
- package/dist/types/hooks/useWatchPendingTransactions.d.ts.map +1 -1
- package/dist/types/utils/query.d.ts +6 -6
- package/dist/types/utils/query.d.ts.map +1 -1
- package/dist/types/version.d.ts +1 -1
- package/dist/types/version.d.ts.map +1 -1
- package/package.json +3 -3
- package/src/experimental/hooks/useCallsStatus.ts +2 -2
- package/src/experimental/hooks/useCapabilities.ts +2 -2
- package/src/experimental/hooks/useSendCalls.ts +3 -3
- package/src/experimental/hooks/useShowCallsStatus.ts +3 -3
- package/src/experimental/hooks/useWriteContracts.ts +3 -3
- package/src/hooks/codegen/createUseReadContract.ts +6 -6
- package/src/hooks/codegen/createUseSimulateContract.ts +2 -2
- package/src/hooks/codegen/createUseWatchContractEvent.ts +6 -6
- package/src/hooks/codegen/createUseWriteContract.ts +7 -7
- package/src/hooks/useAccountEffect.ts +3 -3
- package/src/hooks/useBalance.ts +2 -2
- package/src/hooks/useBlock.ts +8 -4
- package/src/hooks/useBlockNumber.ts +8 -4
- package/src/hooks/useBlockTransactionCount.ts +2 -2
- package/src/hooks/useBytecode.ts +2 -2
- package/src/hooks/useCall.ts +2 -2
- package/src/hooks/useClient.ts +2 -2
- package/src/hooks/useConnect.ts +4 -4
- package/src/hooks/useConnectorClient.ts +3 -3
- package/src/hooks/useDeployContract.ts +2 -2
- package/src/hooks/useDisconnect.ts +3 -3
- package/src/hooks/useEnsAddress.ts +2 -2
- package/src/hooks/useEnsAvatar.ts +2 -2
- package/src/hooks/useEnsName.ts +2 -2
- package/src/hooks/useEnsResolver.ts +2 -2
- package/src/hooks/useEnsText.ts +2 -2
- package/src/hooks/useEstimateFeesPerGas.ts +2 -2
- package/src/hooks/useEstimateMaxPriorityFeePerGas.ts +2 -2
- package/src/hooks/useFeeHistory.ts +2 -2
- package/src/hooks/useGasPrice.ts +2 -2
- package/src/hooks/useProof.ts +2 -2
- package/src/hooks/usePublicClient.ts +2 -2
- package/src/hooks/useReadContract.ts +2 -2
- package/src/hooks/useReadContracts.ts +2 -2
- package/src/hooks/useReconnect.ts +3 -3
- package/src/hooks/useSendTransaction.ts +3 -3
- package/src/hooks/useSignMessage.ts +3 -3
- package/src/hooks/useSignTypedData.ts +3 -3
- package/src/hooks/useStorageAt.ts +2 -2
- package/src/hooks/useSwitchAccount.ts +3 -3
- package/src/hooks/useSwitchChain.ts +3 -3
- package/src/hooks/useToken.ts +2 -2
- package/src/hooks/useTransaction.ts +2 -2
- package/src/hooks/useTransactionCount.ts +2 -2
- package/src/hooks/useTransactionReceipt.ts +2 -2
- package/src/hooks/useVerifyMessage.ts +2 -2
- package/src/hooks/useWaitForTransactionReceipt.ts +2 -2
- package/src/hooks/useWalletClient.ts +3 -3
- package/src/hooks/useWatchBlockNumber.ts +3 -3
- package/src/hooks/useWatchBlocks.ts +3 -3
- package/src/hooks/useWatchContractEvent.ts +3 -3
- package/src/hooks/useWatchPendingTransactions.ts +3 -3
- package/src/utils/query.ts +9 -9
- package/src/version.ts +1 -1
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import type { Config, ResolvedRegister, SwitchChainErrorType } from '@wagmi/core';
|
|
2
|
-
import type {
|
|
2
|
+
import type { Compute } from '@wagmi/core/internal';
|
|
3
3
|
import { type SwitchChainData, type SwitchChainMutate, type SwitchChainMutateAsync, type SwitchChainVariables } from '@wagmi/core/query';
|
|
4
4
|
import type { ConfigParameter } from '../types/properties.js';
|
|
5
5
|
import type { UseMutationParameters, UseMutationReturnType } from '../utils/query.js';
|
|
6
|
-
export type UseSwitchChainParameters<config extends Config = Config, context = unknown> =
|
|
6
|
+
export type UseSwitchChainParameters<config extends Config = Config, context = unknown> = Compute<ConfigParameter<config> & {
|
|
7
7
|
mutation?: UseMutationParameters<SwitchChainData<config, config['chains'][number]['id']>, SwitchChainErrorType, SwitchChainVariables<config, config['chains'][number]['id']>, context> | undefined;
|
|
8
8
|
}>;
|
|
9
|
-
export type UseSwitchChainReturnType<config extends Config = Config, context = unknown> =
|
|
9
|
+
export type UseSwitchChainReturnType<config extends Config = Config, context = unknown> = Compute<UseMutationReturnType<SwitchChainData<config, config['chains'][number]['id']>, SwitchChainErrorType, SwitchChainVariables<config, config['chains'][number]['id']>, context> & {
|
|
10
10
|
chains: config['chains'];
|
|
11
11
|
switchChain: SwitchChainMutate<config, context>;
|
|
12
12
|
switchChainAsync: SwitchChainMutateAsync<config, context>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useSwitchChain.d.ts","sourceRoot":"","sources":["../../../src/hooks/useSwitchChain.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACV,MAAM,EACN,gBAAgB,EAChB,oBAAoB,EACrB,MAAM,aAAa,CAAA;AACpB,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"useSwitchChain.d.ts","sourceRoot":"","sources":["../../../src/hooks/useSwitchChain.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACV,MAAM,EACN,gBAAgB,EAChB,oBAAoB,EACrB,MAAM,aAAa,CAAA;AACpB,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAA;AACnD,OAAO,EACL,KAAK,eAAe,EACpB,KAAK,iBAAiB,EACtB,KAAK,sBAAsB,EAC3B,KAAK,oBA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,OAAO,GAAG,OAAO,EAEjB,UAAU,GAAE,wBAAwB,CAAC,MAAM,EAAE,OAAO,CAAM,GACzD,wBAAwB,CAAC,MAAM,EAAE,OAAO,CAAC,CAkB3C"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import type { Config, GetTokenErrorType, ResolvedRegister } from '@wagmi/core';
|
|
2
|
-
import type {
|
|
2
|
+
import type { Compute } from '@wagmi/core/internal';
|
|
3
3
|
import { type GetTokenData, type GetTokenOptions, type GetTokenQueryFnData, type GetTokenQueryKey } from '@wagmi/core/query';
|
|
4
4
|
import type { ConfigParameter, QueryParameter } from '../types/properties.js';
|
|
5
5
|
import { type UseQueryReturnType } from '../utils/query.js';
|
|
6
|
-
export type UseTokenParameters<config extends Config = Config, selectData = GetTokenData> =
|
|
6
|
+
export type UseTokenParameters<config extends Config = Config, selectData = GetTokenData> = Compute<GetTokenOptions<config> & ConfigParameter<config> & QueryParameter<GetTokenQueryFnData, GetTokenErrorType, selectData, GetTokenQueryKey<config>>>;
|
|
7
7
|
export type UseTokenReturnType<selectData = GetTokenData> = UseQueryReturnType<selectData, GetTokenErrorType>;
|
|
8
8
|
/**
|
|
9
9
|
* @deprecated
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useToken.d.ts","sourceRoot":"","sources":["../../../src/hooks/useToken.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,MAAM,EAAE,iBAAiB,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAA;AAC9E,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"useToken.d.ts","sourceRoot":"","sources":["../../../src/hooks/useToken.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,MAAM,EAAE,iBAAiB,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAA;AAC9E,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAA;AACnD,OAAO,EACL,KAAK,YAAY,EACjB,KAAK,eAAe,EACpB,KAAK,mBAAmB,EACxB,KAAK,gBAAgB,EAEtB,MAAM,mBAAmB,CAAA;AAE1B,OAAO,KAAK,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAA;AAC7E,OAAO,EAAE,KAAK,kBAAkB,EAAY,MAAM,mBAAmB,CAAA;AAIrE,MAAM,MAAM,kBAAkB,CAC5B,MAAM,SAAS,MAAM,GAAG,MAAM,EAC9B,UAAU,GAAG,YAAY,IACvB,OAAO,CACT,eAAe,CAAC,MAAM,CAAC,GACrB,eAAe,CAAC,MAAM,CAAC,GACvB,cAAc,CACZ,mBAAmB,EACnB,iBAAiB,EACjB,UAAU,EACV,gBAAgB,CAAC,MAAM,CAAC,CACzB,CACJ,CAAA;AAED,MAAM,MAAM,kBAAkB,CAAC,UAAU,GAAG,YAAY,IAAI,kBAAkB,CAC5E,UAAU,EACV,iBAAiB,CAClB,CAAA;AAED;;;;GAIG;AACH,wBAAgB,QAAQ,CACtB,MAAM,SAAS,MAAM,GAAG,gBAAgB,CAAC,QAAQ,CAAC,EAClD,UAAU,GAAG,YAAY,EAEzB,UAAU,GAAE,kBAAkB,CAAC,MAAM,EAAE,UAAU,CAAM,GACtD,kBAAkB,CAAC,UAAU,CAAC,CAahC"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import type { Config, GetTransactionErrorType, ResolvedRegister } from '@wagmi/core';
|
|
2
|
-
import type {
|
|
2
|
+
import type { Compute } from '@wagmi/core/internal';
|
|
3
3
|
import { type GetTransactionData, type GetTransactionOptions, type GetTransactionQueryFnData, type GetTransactionQueryKey } from '@wagmi/core/query';
|
|
4
4
|
import type { ConfigParameter, QueryParameter } from '../types/properties.js';
|
|
5
5
|
import { type UseQueryReturnType } from '../utils/query.js';
|
|
6
|
-
export type UseTransactionParameters<config extends Config = Config, chainId extends config['chains'][number]['id'] = config['chains'][number]['id'], selectData = GetTransactionData<config, chainId>> =
|
|
6
|
+
export type UseTransactionParameters<config extends Config = Config, chainId extends config['chains'][number]['id'] = config['chains'][number]['id'], selectData = GetTransactionData<config, chainId>> = Compute<GetTransactionOptions<config, chainId> & ConfigParameter<config> & QueryParameter<GetTransactionQueryFnData<config, chainId>, GetTransactionErrorType, selectData, GetTransactionQueryKey<config, chainId>>>;
|
|
7
7
|
export type UseTransactionReturnType<config extends Config = Config, chainId extends config['chains'][number]['id'] = config['chains'][number]['id'], selectData = GetTransactionData<config, chainId>> = UseQueryReturnType<selectData, GetTransactionErrorType>;
|
|
8
8
|
/** https://wagmi.sh/react/api/hooks/useTransaction */
|
|
9
9
|
export declare function useTransaction<config extends Config = ResolvedRegister['config'], chainId extends config['chains'][number]['id'] = config['chains'][number]['id'], selectData = GetTransactionData<config, chainId>>(parameters?: UseTransactionParameters<config, chainId, selectData>): UseTransactionReturnType<config, chainId, selectData>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useTransaction.d.ts","sourceRoot":"","sources":["../../../src/hooks/useTransaction.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,MAAM,EACN,uBAAuB,EACvB,gBAAgB,EACjB,MAAM,aAAa,CAAA;AACpB,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"useTransaction.d.ts","sourceRoot":"","sources":["../../../src/hooks/useTransaction.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,MAAM,EACN,uBAAuB,EACvB,gBAAgB,EACjB,MAAM,aAAa,CAAA;AACpB,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAA;AACnD,OAAO,EACL,KAAK,kBAAkB,EACvB,KAAK,qBAAqB,EAC1B,KAAK,yBAAyB,EAC9B,KAAK,sBAAsB,EAE5B,MAAM,mBAAmB,CAAA;AAE1B,OAAO,KAAK,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAA;AAC7E,OAAO,EAAE,KAAK,kBAAkB,EAAY,MAAM,mBAAmB,CAAA;AAIrE,MAAM,MAAM,wBAAwB,C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-1,10 +1,10 @@
|
|
|
1
1
|
import type { Config, GetTransactionCountErrorType, ResolvedRegister } from '@wagmi/core';
|
|
2
|
-
import type {
|
|
2
|
+
import type { Compute } from '@wagmi/core/internal';
|
|
3
3
|
import type { GetTransactionCountQueryFnData } from '@wagmi/core/query';
|
|
4
4
|
import { type GetTransactionCountData, type GetTransactionCountOptions, type GetTransactionCountQueryKey } from '@wagmi/core/query';
|
|
5
5
|
import type { ConfigParameter, QueryParameter } from '../types/properties.js';
|
|
6
6
|
import { type UseQueryReturnType } from '../utils/query.js';
|
|
7
|
-
export type UseTransactionCountParameters<config extends Config = Config, selectData = GetTransactionCountData> =
|
|
7
|
+
export type UseTransactionCountParameters<config extends Config = Config, selectData = GetTransactionCountData> = Compute<GetTransactionCountOptions<config> & ConfigParameter<config> & QueryParameter<GetTransactionCountQueryFnData, GetTransactionCountErrorType, selectData, GetTransactionCountQueryKey<config>>>;
|
|
8
8
|
export type UseTransactionCountReturnType<selectData = GetTransactionCountData> = UseQueryReturnType<selectData, GetTransactionCountErrorType>;
|
|
9
9
|
/** https://wagmi.sh/react/api/hooks/useTransactionCount */
|
|
10
10
|
export declare function useTransactionCount<config extends Config = ResolvedRegister['config'], selectData = GetTransactionCountData>(parameters?: UseTransactionCountParameters<config, selectData>): UseTransactionCountReturnType<selectData>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useTransactionCount.d.ts","sourceRoot":"","sources":["../../../src/hooks/useTransactionCount.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,MAAM,EACN,4BAA4B,EAC5B,gBAAgB,EACjB,MAAM,aAAa,CAAA;AACpB,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"useTransactionCount.d.ts","sourceRoot":"","sources":["../../../src/hooks/useTransactionCount.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,MAAM,EACN,4BAA4B,EAC5B,gBAAgB,EACjB,MAAM,aAAa,CAAA;AACpB,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAA;AACnD,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,mBAAmB,CAAA;AACvE,OAAO,EACL,KAAK,uBAAuB,EAC5B,KAAK,0BAA0B,EAC/B,KAAK,2BAA2B,EAEjC,MAAM,mBAAmB,CAAA;AAE1B,OAAO,KAAK,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAA;AAC7E,OAAO,EAAE,KAAK,kBAAkB,EAAY,MAAM,mBAAmB,CAAA;AAIrE,MAAM,MAAM,6BAA6B,CACvC,MAAM,SAAS,MAAM,GAAG,MAAM,EAC9B,UAAU,GAAG,uBAAuB,IAClC,OAAO,CACT,0BAA0B,CAAC,MAAM,CAAC,GAChC,eAAe,CAAC,MAAM,CAAC,GACvB,cAAc,CACZ,8BAA8B,EAC9B,4BAA4B,EAC5B,UAAU,EACV,2BAA2B,CAAC,MAAM,CAAC,CACpC,CACJ,CAAA;AAED,MAAM,MAAM,6BAA6B,CACvC,UAAU,GAAG,uBAAuB,IAClC,kBAAkB,CAAC,UAAU,EAAE,4BAA4B,CAAC,CAAA;AAEhE,2DAA2D;AAC3D,wBAAgB,mBAAmB,CACjC,MAAM,SAAS,MAAM,GAAG,gBAAgB,CAAC,QAAQ,CAAC,EAClD,UAAU,GAAG,uBAAuB,EAEpC,UAAU,GAAE,6BAA6B,CAAC,MAAM,EAAE,UAAU,CAAM,GACjE,6BAA6B,CAAC,UAAU,CAAC,CAa3C"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import type { Config, GetTransactionReceiptErrorType, ResolvedRegister } from '@wagmi/core';
|
|
2
|
-
import type {
|
|
2
|
+
import type { Compute } from '@wagmi/core/internal';
|
|
3
3
|
import { type GetTransactionReceiptData, type GetTransactionReceiptOptions, type GetTransactionReceiptQueryKey } from '@wagmi/core/query';
|
|
4
4
|
import type { GetTransactionReceiptQueryFnData } from '@wagmi/core/query';
|
|
5
5
|
import type { ConfigParameter, QueryParameter } from '../types/properties.js';
|
|
6
6
|
import { type UseQueryReturnType } from '../utils/query.js';
|
|
7
|
-
export type UseTransactionReceiptParameters<config extends Config = Config, chainId extends config['chains'][number]['id'] = config['chains'][number]['id'], selectData = GetTransactionReceiptData<config, chainId>> =
|
|
7
|
+
export type UseTransactionReceiptParameters<config extends Config = Config, chainId extends config['chains'][number]['id'] = config['chains'][number]['id'], selectData = GetTransactionReceiptData<config, chainId>> = Compute<GetTransactionReceiptOptions<config, chainId> & ConfigParameter<config> & QueryParameter<GetTransactionReceiptQueryFnData<config, chainId>, GetTransactionReceiptErrorType, selectData, GetTransactionReceiptQueryKey<config, chainId>>>;
|
|
8
8
|
export type UseTransactionReceiptReturnType<config extends Config = Config, chainId extends config['chains'][number]['id'] = config['chains'][number]['id'], selectData = GetTransactionReceiptData<config, chainId>> = UseQueryReturnType<selectData, GetTransactionReceiptErrorType>;
|
|
9
9
|
/** https://wagmi.sh/react/api/hooks/useTransactionReceipt */
|
|
10
10
|
export declare function useTransactionReceipt<config extends Config = ResolvedRegister['config'], chainId extends config['chains'][number]['id'] = config['chains'][number]['id'], selectData = GetTransactionReceiptData<config, chainId>>(parameters?: UseTransactionReceiptParameters<config, chainId, selectData>): UseTransactionReceiptReturnType<config, chainId, selectData>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useTransactionReceipt.d.ts","sourceRoot":"","sources":["../../../src/hooks/useTransactionReceipt.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,MAAM,EACN,8BAA8B,EAC9B,gBAAgB,EACjB,MAAM,aAAa,CAAA;AACpB,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"useTransactionReceipt.d.ts","sourceRoot":"","sources":["../../../src/hooks/useTransactionReceipt.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,MAAM,EACN,8BAA8B,EAC9B,gBAAgB,EACjB,MAAM,aAAa,CAAA;AACpB,OAAO,KAAK,EAAE,OAAO,EA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D,OAAO,SACL,MAAM,CAAC,QAAQ,CAAC,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,GAAG,MAAM,CAAC,QAAQ,CAAC,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,EACjE,UAAU,GAAG,yBAAyB,CAAC,MAAM,EAAE,OAAO,CAAC,EAEvD,UAAU,GAAE,+BAA+B,CAAC,MAAM,EAAE,OAAO,EAAE,UAAU,CAAM,GAC5E,+BAA+B,CAAC,MAAM,EAAE,OAAO,EAAE,UAAU,CAAC,CAiB9D"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import type { Config, ResolvedRegister, VerifyMessageErrorType } from '@wagmi/core';
|
|
2
|
-
import type {
|
|
2
|
+
import type { Compute } from '@wagmi/core/internal';
|
|
3
3
|
import { type VerifyMessageData, type VerifyMessageOptions, type VerifyMessageQueryKey } from '@wagmi/core/query';
|
|
4
4
|
import type { VerifyMessageQueryFnData } from '@wagmi/core/query';
|
|
5
5
|
import type { ConfigParameter, QueryParameter } from '../types/properties.js';
|
|
6
6
|
import { type UseQueryReturnType } from '../utils/query.js';
|
|
7
|
-
export type UseVerifyMessageParameters<config extends Config = Config, selectData = VerifyMessageData> =
|
|
7
|
+
export type UseVerifyMessageParameters<config extends Config = Config, selectData = VerifyMessageData> = Compute<VerifyMessageOptions<config> & ConfigParameter<config> & QueryParameter<VerifyMessageQueryFnData, VerifyMessageErrorType, selectData, VerifyMessageQueryKey<config>>>;
|
|
8
8
|
export type UseVerifyMessageReturnType<selectData = VerifyMessageData> = UseQueryReturnType<selectData, VerifyMessageErrorType>;
|
|
9
9
|
/** https://wagmi.sh/react/api/hooks/useVerifyMessage */
|
|
10
10
|
export declare function useVerifyMessage<config extends Config = ResolvedRegister['config'], selectData = VerifyMessageData>(parameters?: UseVerifyMessageParameters<config, selectData>): UseVerifyMessageReturnType<selectData>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useVerifyMessage.d.ts","sourceRoot":"","sources":["../../../src/hooks/useVerifyMessage.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,MAAM,EACN,gBAAgB,EAChB,sBAAsB,EACvB,MAAM,aAAa,CAAA;AACpB,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"useVerifyMessage.d.ts","sourceRoot":"","sources":["../../../src/hooks/useVerifyMessage.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,MAAM,EACN,gBAAgB,EAChB,sBAAsB,EACvB,MAAM,aAAa,CAAA;AACpB,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAA;AACnD,OAAO,EACL,KAAK,iBAAiB,EACtB,KAAK,oBAAoB,EACzB,KAAK,qBAAqB,EAE3B,MAAM,mBAAmB,CAAA;AAC1B,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,mBAAmB,CAAA;AACjE,OAAO,KAAK,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAA;AAC7E,OAAO,EAAE,KAAK,kBAAkB,EAAY,MAAM,mBAAmB,CAAA;AAIrE,MAAM,MAAM,0BAA0B,CACpC,MAAM,SAAS,MAAM,GAAG,MAAM,EAC9B,UAAU,GAAG,iBAAiB,IAC5B,OAAO,CACT,oBAAoB,CAAC,MAAM,CAAC,GAC1B,eAAe,CAAC,MAAM,CAAC,GACvB,cAAc,CACZ,wBAAwB,EACxB,sBAAsB,EACtB,UAAU,EACV,qBAAqB,CAAC,MAAM,CAAC,CAC9B,CACJ,CAAA;AAED,MAAM,MAAM,0BAA0B,CAAC,UAAU,GAAG,iBAAiB,IACnE,kBAAkB,CAAC,UAAU,EAAE,sBAAsB,CAAC,CAAA;AAExD,wDAAwD;AACxD,wBAAgB,gBAAgB,CAC9B,MAAM,SAAS,MAAM,GAAG,gBAAgB,CAAC,QAAQ,CAAC,EAClD,UAAU,GAAG,iBAAiB,EAE9B,UAAU,GAAE,0BAA0B,CAAC,MAAM,EAAE,UAAU,CAAM,GAC9D,0BAA0B,CAAC,UAAU,CAAC,CAexC"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import type { Config, ResolvedRegister, WaitForTransactionReceiptErrorType } from '@wagmi/core';
|
|
2
|
-
import type {
|
|
2
|
+
import type { Compute } from '@wagmi/core/internal';
|
|
3
3
|
import { type WaitForTransactionReceiptData, type WaitForTransactionReceiptOptions, type WaitForTransactionReceiptQueryFnData, type WaitForTransactionReceiptQueryKey } from '@wagmi/core/query';
|
|
4
4
|
import type { ConfigParameter, QueryParameter } from '../types/properties.js';
|
|
5
5
|
import { type UseQueryReturnType } from '../utils/query.js';
|
|
6
|
-
export type UseWaitForTransactionReceiptParameters<config extends Config = Config, chainId extends config['chains'][number]['id'] = config['chains'][number]['id'], selectData = WaitForTransactionReceiptData<config, chainId>> =
|
|
6
|
+
export type UseWaitForTransactionReceiptParameters<config extends Config = Config, chainId extends config['chains'][number]['id'] = config['chains'][number]['id'], selectData = WaitForTransactionReceiptData<config, chainId>> = Compute<WaitForTransactionReceiptOptions<config, chainId> & ConfigParameter<config> & QueryParameter<WaitForTransactionReceiptQueryFnData<config, chainId>, WaitForTransactionReceiptErrorType, selectData, WaitForTransactionReceiptQueryKey<config, chainId>>>;
|
|
7
7
|
export type UseWaitForTransactionReceiptReturnType<config extends Config = Config, chainId extends config['chains'][number]['id'] = config['chains'][number]['id'], selectData = WaitForTransactionReceiptData<config, chainId>> = UseQueryReturnType<selectData, WaitForTransactionReceiptErrorType>;
|
|
8
8
|
/** https://wagmi.sh/react/api/hooks/useWaitForTransactionReceipt */
|
|
9
9
|
export declare function useWaitForTransactionReceipt<config extends Config = ResolvedRegister['config'], chainId extends config['chains'][number]['id'] = config['chains'][number]['id'], selectData = WaitForTransactionReceiptData<config, chainId>>(parameters?: UseWaitForTransactionReceiptParameters<config, chainId, selectData>): UseWaitForTransactionReceiptReturnType<config, chainId, selectData>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useWaitForTransactionReceipt.d.ts","sourceRoot":"","sources":["../../../src/hooks/useWaitForTransactionReceipt.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,MAAM,EACN,gBAAgB,EAChB,kCAAkC,EACnC,MAAM,aAAa,CAAA;AACpB,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"useWaitForTransactionReceipt.d.ts","sourceRoot":"","sources":["../../../src/hooks/useWaitForTransactionReceipt.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,MAAM,EACN,gBAAgB,EAChB,kCAAkC,EACnC,MAAM,aAAa,CAAA;AACpB,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAA;AACnD,OAAO,EACL,KAAK,6BAA6B,EAClC,KAAK,gCAAgC,EACrC,KAAK,oCAAoC,EACzC,KAAK,iCAAiC,EAEvC,MAAM,mBAAmB,CAAA;AAE1B,OAAO,KAAK,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAA;AAC7E,OAAO,EAAE,KAAK,kBAAkB,EAAY,MAAM,mBAAmB,CAAA;AAIrE,MAAM,MAAM,sCAAsC,CAChD,MAAM,SAAS,MAAM,GAAG,MAAM,EAC9B,OAAO,SACL,MAAM,CAAC,QAAQ,CAAC,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,GAAG,MAAM,CAAC,QAAQ,CAAC,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,EACjE,UAAU,GAAG,6BAA6B,CAAC,MAAM,EAAE,OAAO,CAAC,IACzD,OAAO,CACT,gCAAgC,CAAC,MAAM,EAAE,OAAO,CAAC,GAC/C,eAAe,CAAC,MAAM,CAAC,GACvB,cAAc,CACZ,oCAAoC,CAAC,MAAM,EAAE,OAAO,CAAC,EACrD,kCAAkC,EAClC,UAAU,EACV,iCAAiC,CAAC,MAAM,EAAE,OAAO,CAAC,CACnD,CACJ,CAAA;AAED,MAAM,MAAM,sCAAsC,CAChD,MAAM,SAAS,MAAM,GAAG,MAAM,EAC9B,OAAO,SACL,MAAM,CAAC,QAAQ,CAAC,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,GAAG,MAAM,CAAC,QAAQ,CAAC,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,EACjE,UAAU,GAAG,6BAA6B,CAAC,MAAM,EAAE,OAAO,CAAC,IACzD,kBAAkB,CAAC,UAAU,EAAE,kCAAkC,CAAC,CAAA;AAEtE,oEAAoE;AACpE,wBAAgB,4BAA4B,CAC1C,MAAM,SAAS,MAAM,GAAG,gBAAgB,CAAC,QAAQ,CAAC,EAClD,OAAO,SACL,MAAM,CAAC,QAAQ,CAAC,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,GAAG,MAAM,CAAC,QAAQ,CAAC,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,EACjE,UAAU,GAAG,6BAA6B,CAAC,MAAM,EAAE,OAAO,CAAC,EAE3D,UAAU,GAAE,sCAAsC,CAChD,MAAM,EACN,OAAO,EACP,UAAU,CACN,GACL,sCAAsC,CAAC,MAAM,EAAE,OAAO,EAAE,UAAU,CAAC,CAiBrE"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import type { Config, GetWalletClientErrorType, ResolvedRegister } from '@wagmi/core';
|
|
2
|
-
import type {
|
|
2
|
+
import type { Compute, Omit } from '@wagmi/core/internal';
|
|
3
3
|
import { type GetWalletClientData, type GetWalletClientOptions, type GetWalletClientQueryFnData, type GetWalletClientQueryKey } from '@wagmi/core/query';
|
|
4
4
|
import type { ConfigParameter } from '../types/properties.js';
|
|
5
5
|
import { type UseQueryParameters, type UseQueryReturnType } from '../utils/query.js';
|
|
6
|
-
export type UseWalletClientParameters<config extends Config = Config, chainId extends config['chains'][number]['id'] = config['chains'][number]['id'], selectData = GetWalletClientData<config, chainId>> =
|
|
7
|
-
query?:
|
|
6
|
+
export type UseWalletClientParameters<config extends Config = Config, chainId extends config['chains'][number]['id'] = config['chains'][number]['id'], selectData = GetWalletClientData<config, chainId>> = Compute<GetWalletClientOptions<config, chainId> & ConfigParameter<config> & {
|
|
7
|
+
query?: Compute<Omit<UseQueryParameters<GetWalletClientQueryFnData<config, chainId>, GetWalletClientErrorType, selectData, GetWalletClientQueryKey<config, chainId>>, 'gcTime' | 'staleTime'>> | undefined;
|
|
8
8
|
}>;
|
|
9
9
|
export type UseWalletClientReturnType<config extends Config = Config, chainId extends config['chains'][number]['id'] = config['chains'][number]['id'], selectData = GetWalletClientData<config, chainId>> = UseQueryReturnType<selectData, GetWalletClientErrorType>;
|
|
10
10
|
/** https://wagmi.sh/react/api/hooks/useWalletClient */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useWalletClient.d.ts","sourceRoot":"","sources":["../../../src/hooks/useWalletClient.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EACV,MAAM,EACN,wBAAwB,EACxB,gBAAgB,EACjB,MAAM,aAAa,CAAA;AACpB,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"useWalletClient.d.ts","sourceRoot":"","sources":["../../../src/hooks/useWalletClient.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EACV,MAAM,EACN,wBAAwB,EACxB,gBAAgB,EACjB,MAAM,aAAa,CAAA;AACpB,OAAO,KAAK,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,sBAAsB,CAAA;AACzD,OAAO,EACL,KAAK,mBAAmB,EACxB,KAAK,sBAAsB,EAC3B,KAAK,0BAA0B,EAC/B,KAAK,uBAAuB,EAE7B,MAAM,mBAAmB,CAAA;AAG1B,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAA;AAC7D,OAAO,EACL,KAAK,kBAAkB,EACvB,KAAK,kBAAkB,EAExB,MAAM,mBAAmB,CAAA;AAK1B,MAAM,MAAM,yBAAyB,CACnC,MAAM,SAAS,MAAM,GAAG,MAAM,EAC9B,OAAO,SACL,MAAM,CAAC,QAAQ,CAAC,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,GAA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
|
|
|
1
1
|
import { type Config, type ResolvedRegister, type WatchBlockNumberParameters } from '@wagmi/core';
|
|
2
|
-
import type {
|
|
2
|
+
import type { UnionCompute, UnionExactPartial } from '@wagmi/core/internal';
|
|
3
3
|
import type { ConfigParameter, EnabledParameter } from '../types/properties.js';
|
|
4
|
-
export type UseWatchBlockNumberParameters<config extends Config = Config, chainId extends config['chains'][number]['id'] = config['chains'][number]['id']> =
|
|
4
|
+
export type UseWatchBlockNumberParameters<config extends Config = Config, chainId extends config['chains'][number]['id'] = config['chains'][number]['id']> = UnionCompute<UnionExactPartial<WatchBlockNumberParameters<config, chainId>> & ConfigParameter<config> & EnabledParameter>;
|
|
5
5
|
export type UseWatchBlockNumberReturnType = void;
|
|
6
6
|
/** https://wagmi.sh/react/api/hooks/useWatchBlockNumber */
|
|
7
7
|
export declare function useWatchBlockNumber<config extends Config = ResolvedRegister['config'], chainId extends config['chains'][number]['id'] = config['chains'][number]['id']>(parameters?: UseWatchBlockNumberParameters<config, chainId>): UseWatchBlockNumberReturnType;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useWatchBlockNumber.d.ts","sourceRoot":"","sources":["../../../src/hooks/useWatchBlockNumber.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,KAAK,MAAM,EACX,KAAK,gBAAgB,EACrB,KAAK,0BAA0B,EAEhC,MAAM,aAAa,CAAA;AACpB,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"useWatchBlockNumber.d.ts","sourceRoot":"","sources":["../../../src/hooks/useWatchBlockNumber.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,KAAK,MAAM,EACX,KAAK,gBAAgB,EACrB,KAAK,0BAA0B,EAEhC,MAAM,aAAa,CAAA;AACpB,OAAO,KAAK,EAAE,YAAY,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAA;AAG3E,OAAO,KAAK,EAAE,eAAe,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAA;AAI/E,MAAM,MAAM,6BAA6B,CACvC,MAAM,SAAS,MAAM,GAAG,MAAM,EAC9B,OAAO,SACL,MAAM,CAAC,QAAQ,CAAC,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,GAAG,MAAM,CAAC,QAAQ,CAAC,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,IAC/D,YAAY,CACd,iBAAiB,CAAC,0BAA0B,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,GAC5D,eAAe,CAAC,MAAM,CAAC,GACvB,gBAAgB,CACnB,CAAA;AAED,MAAM,MAAM,6BAA6B,GAAG,IAAI,CAAA;AAEhD,2DAA2D;AAC3D,wBAAgB,mBAAmB,CACjC,MAAM,SAAS,MAAM,GAAG,gBAAgB,CAAC,QAAQ,CAAC,EAClD,OAAO,SACL,MAAM,CAAC,QAAQ,CAAC,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,GAAG,MAAM,CAAC,QAAQ,CAAC,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,EAEjE,UAAU,GAAE,6BAA6B,CAAC,MAAM,EAAE,OAAO,CAAa,GACrE,6BAA6B,CA8B/B"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { type Config, type ResolvedRegister, type WatchBlocksParameters } from '@wagmi/core';
|
|
2
|
-
import type {
|
|
2
|
+
import type { UnionCompute, UnionExactPartial } from '@wagmi/core/internal';
|
|
3
3
|
import type { BlockTag } from 'viem';
|
|
4
4
|
import type { ConfigParameter, EnabledParameter } from '../types/properties.js';
|
|
5
|
-
export type UseWatchBlocksParameters<includeTransactions extends boolean = false, blockTag extends BlockTag = 'latest', config extends Config = Config, chainId extends config['chains'][number]['id'] = config['chains'][number]['id']> =
|
|
5
|
+
export type UseWatchBlocksParameters<includeTransactions extends boolean = false, blockTag extends BlockTag = 'latest', config extends Config = Config, chainId extends config['chains'][number]['id'] = config['chains'][number]['id']> = UnionCompute<UnionExactPartial<WatchBlocksParameters<includeTransactions, blockTag, config, chainId>> & ConfigParameter<config> & EnabledParameter>;
|
|
6
6
|
export type UseWatchBlocksReturnType = void;
|
|
7
7
|
/** https://wagmi.sh/react/hooks/useWatchBlocks */
|
|
8
8
|
export declare function useWatchBlocks<config extends Config = ResolvedRegister['config'], chainId extends config['chains'][number]['id'] = config['chains'][number]['id'], includeTransactions extends boolean = false, blockTag extends BlockTag = 'latest'>(parameters?: UseWatchBlocksParameters<includeTransactions, blockTag, config, chainId>): UseWatchBlocksReturnType;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useWatchBlocks.d.ts","sourceRoot":"","sources":["../../../src/hooks/useWatchBlocks.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,KAAK,MAAM,EACX,KAAK,gBAAgB,EACrB,KAAK,qBAAqB,EAE3B,MAAM,aAAa,CAAA;AACpB,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"useWatchBlocks.d.ts","sourceRoot":"","sources":["../../../src/hooks/useWatchBlocks.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,KAAK,MAAM,EACX,KAAK,gBAAgB,EACrB,KAAK,qBAAqB,EAE3B,MAAM,aAAa,CAAA;AACpB,OAAO,KAAK,EAAE,YAAY,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAA;AAE3E,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,MAAM,CAAA;AAEpC,OAAO,KAAK,EAAE,eAAe,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAA;AAI/E,MAAM,MAAM,wBAAwB,CAClC,mBAAmB,SAAS,OAAO,GAAG,KAAK,EAC3C,QAAQ,SAAS,QAAQ,GAAG,QAAQ,EACpC,MAAM,SAAS,MAAM,GAAG,MAAM,EAC9B,OAAO,SACL,MAAM,CAAC,QAAQ,CAAC,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,GAAG,MAAM,CAAC,QAAQ,CAAC,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,IAC/D,YAAY,CACd,iBAAiB,CACf,qBAAqB,CAAC,mBAAmB,EAAE,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CACtE,GACC,eAAe,CAAC,MAAM,CAAC,GACvB,gBAAgB,CACnB,CAAA;AAED,MAAM,MAAM,wBAAwB,GAAG,IAAI,CAAA;AAE3C,kDAAkD;AAClD,wBAAgB,cAAc,CAC5B,MAAM,SAAS,MAAM,GAAG,gBAAgB,CAAC,QAAQ,CAAC,EAClD,OAAO,SACL,MAAM,CAAC,QAAQ,CAAC,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,GAAG,MAAM,CAAC,QAAQ,CAAC,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,EACjE,mBAAmB,SAAS,OAAO,GAAG,KAAK,EAC3C,QAAQ,SAAS,QAAQ,GAAG,QAAQ,EAEpC,UAAU,GAAE,wBAAwB,CAClC,mBAAmB,EACnB,QAAQ,EACR,MAAM,EACN,OAAO,CACI,GACZ,wBAAwB,CAgC1B"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { type Config, type ResolvedRegister, type WatchContractEventParameters } from '@wagmi/core';
|
|
2
|
-
import type {
|
|
2
|
+
import type { UnionCompute, UnionExactPartial } from '@wagmi/core/internal';
|
|
3
3
|
import type { Abi, ContractEventName } from 'viem';
|
|
4
4
|
import type { ConfigParameter, EnabledParameter } from '../types/properties.js';
|
|
5
|
-
export type UseWatchContractEventParameters<abi extends Abi | readonly unknown[] = Abi, eventName extends ContractEventName<abi> = ContractEventName<abi>, strict extends boolean | undefined = undefined, config extends Config = Config, chainId extends config['chains'][number]['id'] = config['chains'][number]['id']> =
|
|
5
|
+
export type UseWatchContractEventParameters<abi extends Abi | readonly unknown[] = Abi, eventName extends ContractEventName<abi> = ContractEventName<abi>, strict extends boolean | undefined = undefined, config extends Config = Config, chainId extends config['chains'][number]['id'] = config['chains'][number]['id']> = UnionCompute<UnionExactPartial<WatchContractEventParameters<abi, eventName, strict, config, chainId>> & ConfigParameter<config> & EnabledParameter>;
|
|
6
6
|
export type UseWatchContractEventReturnType = void;
|
|
7
7
|
/** https://wagmi.sh/react/api/hooks/useWatchContractEvent */
|
|
8
8
|
export declare function useWatchContractEvent<const abi extends Abi | readonly unknown[], eventName extends ContractEventName<abi>, strict extends boolean | undefined = undefined, config extends Config = ResolvedRegister['config'], chainId extends config['chains'][number]['id'] = config['chains'][number]['id']>(parameters?: UseWatchContractEventParameters<abi, eventName, strict, config, chainId>): UseWatchContractEventReturnType;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useWatchContractEvent.d.ts","sourceRoot":"","sources":["../../../src/hooks/useWatchContractEvent.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,KAAK,MAAM,EACX,KAAK,gBAAgB,EACrB,KAAK,4BAA4B,EAElC,MAAM,aAAa,CAAA;AACpB,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"useWatchContractEvent.d.ts","sourceRoot":"","sources":["../../../src/hooks/useWatchContractEvent.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,KAAK,MAAM,EACX,KAAK,gBAAgB,EACrB,KAAK,4BAA4B,EAElC,MAAM,aAAa,CAAA;AACpB,OAAO,KAAK,EAAE,YAAY,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAA;AAG3E,OAAO,KAAK,EAAE,GAAG,EAAE,iBAAiB,EAAE,MAAM,MAAM,CAAA;AAClD,OAAO,KAAK,EAAE,eAAe,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAA;AAI/E,MAAM,MAAM,+BAA+B,CACzC,GAAG,SAAS,GAAG,GAAG,SAAS,OAAO,EAAE,GAAG,GAAG,EAC1C,SAAS,SAAS,iBAAiB,CAAC,GAAG,CAAC,GAAG,iBAAiB,CAAC,GAAG,CAAC,EACjE,MAAM,SAAS,OAAO,GAAG,SAAS,GAAG,SAAS,EAC9C,MAAM,SAAS,MAAM,GAAG,MAAM,EAC9B,OAAO,SACL,MAAM,CAAC,QAAQ,CAAC,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,GAAG,MAAM,CAAC,QAAQ,CAAC,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,IAC/D,YAAY,CACd,iBAAiB,CACf,4BAA4B,CAAC,GAAG,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,CACtE,GACC,eAAe,CAAC,MAAM,CAAC,GACvB,gBAAgB,CACnB,CAAA;AAED,MAAM,MAAM,+BAA+B,GAAG,IAAI,CAAA;AAElD,6DAA6D;AAC7D,wBAAgB,qBAAqB,CACnC,KAAK,CAAC,GAAG,SAAS,GAAG,GAAG,SAAS,OAAO,EAAE,EAC1C,SAAS,SAAS,iBAAiB,CAAC,GAAG,CAAC,EACxC,MAAM,SAAS,OAAO,GAAG,SAAS,GAAG,SAAS,EAC9C,MAAM,SAAS,MAAM,GAAG,gBAAgB,CAAC,QAAQ,CAAC,EAClD,OAAO,SACL,MAAM,CAAC,QAAQ,CAAC,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,GAAG,MAAM,CAAC,QAAQ,CAAC,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,EAEjE,UAAU,GAAE,+BAA+B,CACzC,GAAG,EACH,SAAS,EACT,MAAM,EACN,MAAM,EACN,OAAO,CACI,GACZ,+BAA+B,CAmCjC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { type Config, type ResolvedRegister, type WatchPendingTransactionsParameters } from '@wagmi/core';
|
|
2
|
-
import type {
|
|
2
|
+
import type { UnionCompute, UnionExactPartial } from '@wagmi/core/internal';
|
|
3
3
|
import type { ConfigParameter, EnabledParameter } from '../types/properties.js';
|
|
4
|
-
export type UseWatchPendingTransactionsParameters<config extends Config = Config, chainId extends config['chains'][number]['id'] = config['chains'][number]['id']> =
|
|
4
|
+
export type UseWatchPendingTransactionsParameters<config extends Config = Config, chainId extends config['chains'][number]['id'] = config['chains'][number]['id']> = UnionCompute<UnionExactPartial<WatchPendingTransactionsParameters<config, chainId>> & ConfigParameter<config> & EnabledParameter>;
|
|
5
5
|
export type UseWatchPendingTransactionsReturnType = void;
|
|
6
6
|
/** https://wagmi.sh/react/api/hooks/useWatchPendingTransactions */
|
|
7
7
|
export declare function useWatchPendingTransactions<config extends Config = ResolvedRegister['config'], chainId extends config['chains'][number]['id'] = config['chains'][number]['id']>(parameters?: UseWatchPendingTransactionsParameters<config, chainId>): UseWatchPendingTransactionsReturnType;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useWatchPendingTransactions.d.ts","sourceRoot":"","sources":["../../../src/hooks/useWatchPendingTransactions.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,KAAK,MAAM,EACX,KAAK,gBAAgB,EACrB,KAAK,kCAAkC,EAExC,MAAM,aAAa,CAAA;AACpB,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"useWatchPendingTransactions.d.ts","sourceRoot":"","sources":["../../../src/hooks/useWatchPendingTransactions.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,KAAK,MAAM,EACX,KAAK,gBAAgB,EACrB,KAAK,kCAAkC,EAExC,MAAM,aAAa,CAAA;AACpB,OAAO,KAAK,EAAE,YAAY,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAA;AAG3E,OAAO,KAAK,EAAE,eAAe,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAA;AAI/E,MAAM,MAAM,qCAAqC,CAC/C,MAAM,SAAS,MAAM,GAAG,MAAM,EAC9B,OAAO,SACL,MAAM,CAAC,QAAQ,CAAC,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,GAAG,MAAM,CAAC,QAAQ,CAAC,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,IAC/D,YAAY,CACd,iBAAiB,CAAC,kCAAkC,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,GACpE,eAAe,CAAC,MAAM,CAAC,GACvB,gBAAgB,CACnB,CAAA;AAED,MAAM,MAAM,qCAAqC,GAAG,IAAI,CAAA;AAExD,mEAAmE;AACnE,wBAAgB,2BAA2B,CACzC,MAAM,SAAS,MAAM,GAAG,gBAAgB,CAAC,QAAQ,CAAC,EAClD,OAAO,SACL,MAAM,CAAC,QAAQ,CAAC,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,GAAG,MAAM,CAAC,QAAQ,CAAC,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,EAEjE,UAAU,GAAE,qCAAqC,CAC/C,MAAM,EACN,OAAO,CACI,GACZ,qCAAqC,CA6BvC"}
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { type DefaultError, type QueryKey, type UseInfiniteQueryOptions, type UseInfiniteQueryResult, type UseMutationOptions, type UseMutationResult, type UseQueryOptions, type UseQueryResult, useMutation } from '@tanstack/react-query';
|
|
2
|
-
import type {
|
|
3
|
-
export type UseMutationParameters<data = unknown, error = Error, variables = void, context = unknown> =
|
|
4
|
-
export type UseMutationReturnType<data = unknown, error = Error, variables = void, context = unknown> =
|
|
2
|
+
import type { Compute, ExactPartial, Omit, UnionStrictOmit } from '@wagmi/core/internal';
|
|
3
|
+
export type UseMutationParameters<data = unknown, error = Error, variables = void, context = unknown> = Compute<Omit<UseMutationOptions<data, error, Compute<variables>, context>, 'mutationFn' | 'mutationKey' | 'throwOnError'>>;
|
|
4
|
+
export type UseMutationReturnType<data = unknown, error = Error, variables = void, context = unknown> = Compute<UnionStrictOmit<UseMutationResult<data, error, variables, context>, 'mutate' | 'mutateAsync'>>;
|
|
5
5
|
export { useMutation };
|
|
6
|
-
export type UseQueryParameters<queryFnData = unknown, error = DefaultError, data = queryFnData, queryKey extends QueryKey = QueryKey> =
|
|
6
|
+
export type UseQueryParameters<queryFnData = unknown, error = DefaultError, data = queryFnData, queryKey extends QueryKey = QueryKey> = Compute<ExactPartial<Omit<UseQueryOptions<queryFnData, error, data, queryKey>, 'initialData'>> & {
|
|
7
7
|
initialData?: UseQueryOptions<queryFnData, error, data, queryKey>['initialData'] | undefined;
|
|
8
8
|
}>;
|
|
9
|
-
export type UseQueryReturnType<data = unknown, error = DefaultError> =
|
|
9
|
+
export type UseQueryReturnType<data = unknown, error = DefaultError> = Compute<UseQueryResult<data, error> & {
|
|
10
10
|
queryKey: QueryKey;
|
|
11
11
|
}>;
|
|
12
12
|
export declare function useQuery<queryFnData, error, data, queryKey extends QueryKey>(parameters: UseQueryParameters<queryFnData, error, data, queryKey> & {
|
|
13
13
|
queryKey: QueryKey;
|
|
14
14
|
}): UseQueryReturnType<data, error>;
|
|
15
|
-
export type UseInfiniteQueryParameters<queryFnData = unknown, error = DefaultError, data = queryFnData, queryData = queryFnData, queryKey extends QueryKey = QueryKey, pageParam = unknown> =
|
|
15
|
+
export type UseInfiniteQueryParameters<queryFnData = unknown, error = DefaultError, data = queryFnData, queryData = queryFnData, queryKey extends QueryKey = QueryKey, pageParam = unknown> = Compute<Omit<UseInfiniteQueryOptions<queryFnData, error, data, queryData, queryKey, pageParam>, 'initialData'> & {
|
|
16
16
|
initialData?: UseInfiniteQueryOptions<queryFnData, error, data, queryKey>['initialData'] | undefined;
|
|
17
17
|
}>;
|
|
18
18
|
export type UseInfiniteQueryReturnType<data = unknown, error = DefaultError> = UseInfiniteQueryResult<data, error> & {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"query.d.ts","sourceRoot":"","sources":["../../../src/utils/query.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,YAAY,EACjB,KAAK,QAAQ,EACb,KAAK,uBAAuB,EAC5B,KAAK,sBAAsB,EAC3B,KAAK,kBAAkB,EACvB,KAAK,iBAAiB,EACtB,KAAK,eAAe,EACpB,KAAK,cAAc,EAGnB,WAAW,EACZ,MAAM,uBAAuB,CAAA;AAC9B,OAAO,KAAK,EACV,
|
|
1
|
+
{"version":3,"file":"query.d.ts","sourceRoot":"","sources":["../../../src/utils/query.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,YAAY,EACjB,KAAK,QAAQ,EACb,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AC3E,QAAQ,EAAE,QAAQ,CAAA;CACnB,GACA,0BAA0B,CAAC,IAAI,EAAE,KAAK,CAAC,CAOzC"}
|
package/dist/types/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const version = "2.10.
|
|
1
|
+
export declare const version = "2.10.11";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"version.d.ts","sourceRoot":"","sources":["../../src/version.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO,
|
|
1
|
+
{"version":3,"file":"version.d.ts","sourceRoot":"","sources":["../../src/version.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO,YAAY,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "wagmi",
|
|
3
3
|
"description": "React Hooks for Ethereum",
|
|
4
|
-
"version": "2.10.
|
|
4
|
+
"version": "2.10.11",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -92,8 +92,8 @@
|
|
|
92
92
|
},
|
|
93
93
|
"dependencies": {
|
|
94
94
|
"use-sync-external-store": "1.2.0",
|
|
95
|
-
"@wagmi/connectors": "5.0.
|
|
96
|
-
"@wagmi/core": "2.11.
|
|
95
|
+
"@wagmi/connectors": "5.0.23",
|
|
96
|
+
"@wagmi/core": "2.11.8"
|
|
97
97
|
},
|
|
98
98
|
"contributors": [
|
|
99
99
|
"awkweb.eth <t@wevm.dev>",
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
type GetCallsStatusQueryKey,
|
|
10
10
|
getCallsStatusQueryOptions,
|
|
11
11
|
} from '@wagmi/core/experimental'
|
|
12
|
-
import type {
|
|
12
|
+
import type { Compute } from '@wagmi/core/internal'
|
|
13
13
|
|
|
14
14
|
import { useConfig } from '../../hooks/useConfig.js'
|
|
15
15
|
import type { ConfigParameter, QueryParameter } from '../../types/properties.js'
|
|
@@ -18,7 +18,7 @@ import { type UseQueryReturnType, useQuery } from '../../utils/query.js'
|
|
|
18
18
|
export type UseCallsStatusParameters<
|
|
19
19
|
config extends Config = Config,
|
|
20
20
|
selectData = GetCallsStatusData,
|
|
21
|
-
> =
|
|
21
|
+
> = Compute<
|
|
22
22
|
GetCallsStatusOptions &
|
|
23
23
|
ConfigParameter<config> &
|
|
24
24
|
QueryParameter<
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
type GetCapabilitiesQueryKey,
|
|
10
10
|
getCapabilitiesQueryOptions,
|
|
11
11
|
} from '@wagmi/core/experimental'
|
|
12
|
-
import type {
|
|
12
|
+
import type { Compute } from '@wagmi/core/internal'
|
|
13
13
|
|
|
14
14
|
import { useAccount } from '../../hooks/useAccount.js'
|
|
15
15
|
import { useConfig } from '../../hooks/useConfig.js'
|
|
@@ -19,7 +19,7 @@ import { type UseQueryReturnType, useQuery } from '../../utils/query.js'
|
|
|
19
19
|
export type UseCapabilitiesParameters<
|
|
20
20
|
config extends Config = Config,
|
|
21
21
|
selectData = GetCapabilitiesData,
|
|
22
|
-
> =
|
|
22
|
+
> = Compute<
|
|
23
23
|
GetCapabilitiesOptions &
|
|
24
24
|
ConfigParameter<config> &
|
|
25
25
|
QueryParameter<
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
type SendCallsVariables,
|
|
11
11
|
sendCallsMutationOptions,
|
|
12
12
|
} from '@wagmi/core/experimental'
|
|
13
|
-
import type {
|
|
13
|
+
import type { Compute } from '@wagmi/core/internal'
|
|
14
14
|
|
|
15
15
|
import { useConfig } from '../../hooks/useConfig.js'
|
|
16
16
|
import type { ConfigParameter } from '../../types/properties.js'
|
|
@@ -22,7 +22,7 @@ import type {
|
|
|
22
22
|
export type UseSendCallsParameters<
|
|
23
23
|
config extends Config = Config,
|
|
24
24
|
context = unknown,
|
|
25
|
-
> =
|
|
25
|
+
> = Compute<
|
|
26
26
|
ConfigParameter<config> & {
|
|
27
27
|
mutation?:
|
|
28
28
|
| UseMutationParameters<
|
|
@@ -38,7 +38,7 @@ export type UseSendCallsParameters<
|
|
|
38
38
|
export type UseSendCallsReturnType<
|
|
39
39
|
config extends Config = Config,
|
|
40
40
|
context = unknown,
|
|
41
|
-
> =
|
|
41
|
+
> = Compute<
|
|
42
42
|
UseMutationReturnType<
|
|
43
43
|
SendCallsData,
|
|
44
44
|
SendCallsErrorType,
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
type ShowCallsStatusVariables,
|
|
11
11
|
showCallsStatusMutationOptions,
|
|
12
12
|
} from '@wagmi/core/experimental'
|
|
13
|
-
import type {
|
|
13
|
+
import type { Compute } from '@wagmi/core/internal'
|
|
14
14
|
|
|
15
15
|
import { useConfig } from '../../hooks/useConfig.js'
|
|
16
16
|
import type { ConfigParameter } from '../../types/properties.js'
|
|
@@ -22,7 +22,7 @@ import type {
|
|
|
22
22
|
export type UseShowCallsStatusParameters<
|
|
23
23
|
config extends Config = Config,
|
|
24
24
|
context = unknown,
|
|
25
|
-
> =
|
|
25
|
+
> = Compute<
|
|
26
26
|
ConfigParameter<config> & {
|
|
27
27
|
mutation?:
|
|
28
28
|
| UseMutationParameters<
|
|
@@ -35,7 +35,7 @@ export type UseShowCallsStatusParameters<
|
|
|
35
35
|
}
|
|
36
36
|
>
|
|
37
37
|
|
|
38
|
-
export type UseShowCallsStatusReturnType<context = unknown> =
|
|
38
|
+
export type UseShowCallsStatusReturnType<context = unknown> = Compute<
|
|
39
39
|
UseMutationReturnType<
|
|
40
40
|
ShowCallsStatusData,
|
|
41
41
|
ShowCallsStatusErrorType,
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
type WriteContractsVariables,
|
|
11
11
|
writeContractsMutationOptions,
|
|
12
12
|
} from '@wagmi/core/experimental'
|
|
13
|
-
import type {
|
|
13
|
+
import type { Compute } from '@wagmi/core/internal'
|
|
14
14
|
import type { ContractFunctionParameters } from 'viem'
|
|
15
15
|
|
|
16
16
|
import { useConfig } from '../../hooks/useConfig.js'
|
|
@@ -24,7 +24,7 @@ export type UseWriteContractsParameters<
|
|
|
24
24
|
contracts extends readonly unknown[] = readonly ContractFunctionParameters[],
|
|
25
25
|
config extends Config = Config,
|
|
26
26
|
context = unknown,
|
|
27
|
-
> =
|
|
27
|
+
> = Compute<
|
|
28
28
|
ConfigParameter<config> & {
|
|
29
29
|
mutation?:
|
|
30
30
|
| UseMutationParameters<
|
|
@@ -45,7 +45,7 @@ export type UseWriteContractsReturnType<
|
|
|
45
45
|
contracts extends readonly unknown[] = readonly ContractFunctionParameters[],
|
|
46
46
|
config extends Config = Config,
|
|
47
47
|
context = unknown,
|
|
48
|
-
> =
|
|
48
|
+
> = Compute<
|
|
49
49
|
UseMutationReturnType<
|
|
50
50
|
WriteContractsData,
|
|
51
51
|
WriteContractsErrorType,
|
|
@@ -6,9 +6,9 @@ import type {
|
|
|
6
6
|
} from '@wagmi/core'
|
|
7
7
|
import type {
|
|
8
8
|
ScopeKeyParameter,
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
UnionCompute,
|
|
10
|
+
UnionExactPartial,
|
|
11
|
+
UnionStrictOmit,
|
|
12
12
|
} from '@wagmi/core/internal'
|
|
13
13
|
import type {
|
|
14
14
|
ReadContractData,
|
|
@@ -66,9 +66,9 @@ export type CreateUseReadContractReturnType<
|
|
|
66
66
|
config extends Config = ResolvedRegister['config'],
|
|
67
67
|
selectData = ReadContractData<abi, name, args>,
|
|
68
68
|
>(
|
|
69
|
-
parameters?:
|
|
70
|
-
|
|
71
|
-
|
|
69
|
+
parameters?: UnionCompute<
|
|
70
|
+
UnionExactPartial<
|
|
71
|
+
UnionStrictOmit<
|
|
72
72
|
ReadContractParameters<abi, name, args, config>,
|
|
73
73
|
omittedProperties
|
|
74
74
|
>
|
|
@@ -4,7 +4,7 @@ import type {
|
|
|
4
4
|
SimulateContractErrorType,
|
|
5
5
|
SimulateContractParameters,
|
|
6
6
|
} from '@wagmi/core'
|
|
7
|
-
import type { ScopeKeyParameter,
|
|
7
|
+
import type { ScopeKeyParameter, UnionExactPartial } from '@wagmi/core/internal'
|
|
8
8
|
import type {
|
|
9
9
|
SimulateContractData,
|
|
10
10
|
SimulateContractQueryFnData,
|
|
@@ -66,7 +66,7 @@ export type CreateUseSimulateContractReturnType<
|
|
|
66
66
|
| (chainId extends keyof address ? chainId : never)
|
|
67
67
|
| undefined
|
|
68
68
|
: chainId | number | undefined
|
|
69
|
-
} &
|
|
69
|
+
} & UnionExactPartial<
|
|
70
70
|
// TODO: Take `abi` and `address` from above and omit from below (currently breaks inference)
|
|
71
71
|
SimulateContractParameters<abi, name, args, config, chainId>
|
|
72
72
|
> &
|
|
@@ -4,9 +4,9 @@ import type {
|
|
|
4
4
|
WatchContractEventParameters,
|
|
5
5
|
} from '@wagmi/core'
|
|
6
6
|
import type {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
7
|
+
UnionCompute,
|
|
8
|
+
UnionExactPartial,
|
|
9
|
+
UnionStrictOmit,
|
|
10
10
|
} from '@wagmi/core/internal'
|
|
11
11
|
import type { Abi, Address, ContractEventName } from 'viem'
|
|
12
12
|
|
|
@@ -48,9 +48,9 @@ export type CreateUseWatchContractEventReturnType<
|
|
|
48
48
|
chainId extends
|
|
49
49
|
config['chains'][number]['id'] = config['chains'][number]['id'],
|
|
50
50
|
>(
|
|
51
|
-
parameters?:
|
|
52
|
-
|
|
53
|
-
|
|
51
|
+
parameters?: UnionCompute<
|
|
52
|
+
UnionExactPartial<
|
|
53
|
+
UnionStrictOmit<
|
|
54
54
|
WatchContractEventParameters<abi, name, strict, config, chainId>,
|
|
55
55
|
omittedProperties
|
|
56
56
|
>
|