@wagmi/core 1.4.3 → 1.4.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.
|
@@ -2053,6 +2053,7 @@ async function prepareWriteContract({
|
|
|
2053
2053
|
address,
|
|
2054
2054
|
args,
|
|
2055
2055
|
chainId,
|
|
2056
|
+
dataSuffix,
|
|
2056
2057
|
functionName,
|
|
2057
2058
|
walletClient: walletClient_,
|
|
2058
2059
|
...config2
|
|
@@ -2084,6 +2085,7 @@ async function prepareWriteContract({
|
|
|
2084
2085
|
accessList,
|
|
2085
2086
|
blockNumber,
|
|
2086
2087
|
blockTag,
|
|
2088
|
+
dataSuffix,
|
|
2087
2089
|
gas,
|
|
2088
2090
|
gasPrice,
|
|
2089
2091
|
maxFeePerGas,
|
package/dist/index.d.ts
CHANGED
|
@@ -277,7 +277,7 @@ type PrepareWriteContractResult<TAbi extends Abi | readonly unknown[] = Abi, TFu
|
|
|
277
277
|
* })
|
|
278
278
|
* const result = await writeContract(config)
|
|
279
279
|
*/
|
|
280
|
-
declare function prepareWriteContract<TAbi extends Abi | readonly unknown[], TFunctionName extends string, TChainId extends number, TWalletClient extends WalletClient = WalletClient>({ abi, address, args, chainId, functionName, walletClient: walletClient_, ...config }: PrepareWriteContractConfig<TAbi, TFunctionName, TChainId, TWalletClient>): Promise<PrepareWriteContractResult<TAbi, TFunctionName, TChainId>>;
|
|
280
|
+
declare function prepareWriteContract<TAbi extends Abi | readonly unknown[], TFunctionName extends string, TChainId extends number, TWalletClient extends WalletClient = WalletClient>({ abi, address, args, chainId, dataSuffix, functionName, walletClient: walletClient_, ...config }: PrepareWriteContractConfig<TAbi, TFunctionName, TChainId, TWalletClient>): Promise<PrepareWriteContractResult<TAbi, TFunctionName, TChainId>>;
|
|
281
281
|
|
|
282
282
|
type GetContractArgs<TAbi extends Abi | readonly unknown[] = Abi, TWalletClient extends WalletClient | unknown = unknown> = Omit<GetContractParameters<Transport, Chain$1, Account, TAbi, PublicClient$1, TWalletClient>, 'publicClient' | 'walletClient'> & {
|
|
283
283
|
chainId?: number;
|
package/dist/index.js
CHANGED
package/dist/internal/index.js
CHANGED
package/dist/internal/test.js
CHANGED