@wagmi/core 1.4.3-cjs → 1.4.4-cjs

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
@@ -61,7 +61,7 @@ var _chunk4E64EZ7Vjs = require('./chunk-4E64EZ7V.js');
61
61
 
62
62
 
63
63
 
64
- var _chunkYAPWLAI7js = require('./chunk-YAPWLAI7.js');
64
+ var _chunkTSH6VVF4js = require('./chunk-TSH6VVF4.js');
65
65
 
66
66
 
67
67
  var _chunkBVC4KGLQjs = require('./chunk-BVC4KGLQ.js');
@@ -132,4 +132,4 @@ require('./chunk-MQXBDTVK.js');
132
132
 
133
133
 
134
134
 
135
- exports.ChainMismatchError = _chunkYAPWLAI7js.ChainMismatchError; exports.ChainNotConfiguredError = _chunkYAPWLAI7js.ChainNotConfiguredError; exports.Config = _chunkYAPWLAI7js.Config; exports.ConfigChainsNotFound = _chunkYAPWLAI7js.ConfigChainsNotFound; exports.Connector = _chunkBVC4KGLQjs.Connector; exports.ConnectorAlreadyConnectedError = _chunkYAPWLAI7js.ConnectorAlreadyConnectedError; exports.ConnectorNotFoundError = _chunkYAPWLAI7js.ConnectorNotFoundError; exports.InjectedConnector = _chunkEQOEZP46js.InjectedConnector; exports.SwitchChainNotSupportedError = _chunkYAPWLAI7js.SwitchChainNotSupportedError; exports.configureChains = _chunkYAPWLAI7js.configureChains; exports.connect = _chunkYAPWLAI7js.connect; exports.createConfig = _chunkYAPWLAI7js.createConfig; exports.createStorage = _chunkYAPWLAI7js.createStorage; exports.deepEqual = _chunkYAPWLAI7js.deepEqual; exports.deserialize = _chunkYAPWLAI7js.deserialize; exports.disconnect = _chunkYAPWLAI7js.disconnect; exports.erc20ABI = _chunkYAPWLAI7js.erc20ABI; exports.erc4626ABI = _chunkYAPWLAI7js.erc4626ABI; exports.erc721ABI = _chunkYAPWLAI7js.erc721ABI; exports.fetchBalance = _chunkYAPWLAI7js.fetchBalance; exports.fetchBlockNumber = _chunkYAPWLAI7js.fetchBlockNumber; exports.fetchEnsAddress = _chunkYAPWLAI7js.fetchEnsAddress; exports.fetchEnsAvatar = _chunkYAPWLAI7js.fetchEnsAvatar; exports.fetchEnsName = _chunkYAPWLAI7js.fetchEnsName; exports.fetchEnsResolver = _chunkYAPWLAI7js.fetchEnsResolver; exports.fetchFeeData = _chunkYAPWLAI7js.fetchFeeData; exports.fetchToken = _chunkYAPWLAI7js.fetchToken; exports.fetchTransaction = _chunkYAPWLAI7js.fetchTransaction; exports.getAccount = _chunkYAPWLAI7js.getAccount; exports.getConfig = _chunkYAPWLAI7js.getConfig; exports.getContract = _chunkYAPWLAI7js.getContract; exports.getNetwork = _chunkYAPWLAI7js.getNetwork; exports.getPublicClient = _chunkYAPWLAI7js.getPublicClient; exports.getUnit = _chunkYAPWLAI7js.getUnit; exports.getWalletClient = _chunkYAPWLAI7js.getWalletClient; exports.getWebSocketPublicClient = _chunkYAPWLAI7js.getWebSocketPublicClient; exports.mainnet = _chunk4E64EZ7Vjs.mainnet; exports.multicall = _chunkYAPWLAI7js.multicall; exports.noopStorage = _chunkYAPWLAI7js.noopStorage; exports.prepareSendTransaction = _chunkYAPWLAI7js.prepareSendTransaction; exports.prepareWriteContract = _chunkYAPWLAI7js.prepareWriteContract; exports.readContract = _chunkYAPWLAI7js.readContract; exports.readContracts = _chunkYAPWLAI7js.readContracts; exports.sendTransaction = _chunkYAPWLAI7js.sendTransaction; exports.sepolia = _chunk4E64EZ7Vjs.sepolia; exports.serialize = _chunkYAPWLAI7js.serialize; exports.signMessage = _chunkYAPWLAI7js.signMessage; exports.signTypedData = _chunkYAPWLAI7js.signTypedData; exports.switchNetwork = _chunkYAPWLAI7js.switchNetwork; exports.waitForTransaction = _chunkYAPWLAI7js.waitForTransaction; exports.watchAccount = _chunkYAPWLAI7js.watchAccount; exports.watchBlockNumber = _chunkYAPWLAI7js.watchBlockNumber; exports.watchContractEvent = _chunkYAPWLAI7js.watchContractEvent; exports.watchMulticall = _chunkYAPWLAI7js.watchMulticall; exports.watchNetwork = _chunkYAPWLAI7js.watchNetwork; exports.watchPendingTransactions = _chunkYAPWLAI7js.watchPendingTransactions; exports.watchPublicClient = _chunkYAPWLAI7js.watchPublicClient; exports.watchReadContract = _chunkYAPWLAI7js.watchReadContract; exports.watchReadContracts = _chunkYAPWLAI7js.watchReadContracts; exports.watchWalletClient = _chunkYAPWLAI7js.watchWalletClient; exports.watchWebSocketPublicClient = _chunkYAPWLAI7js.watchWebSocketPublicClient; exports.writeContract = _chunkYAPWLAI7js.writeContract;
135
+ exports.ChainMismatchError = _chunkTSH6VVF4js.ChainMismatchError; exports.ChainNotConfiguredError = _chunkTSH6VVF4js.ChainNotConfiguredError; exports.Config = _chunkTSH6VVF4js.Config; exports.ConfigChainsNotFound = _chunkTSH6VVF4js.ConfigChainsNotFound; exports.Connector = _chunkBVC4KGLQjs.Connector; exports.ConnectorAlreadyConnectedError = _chunkTSH6VVF4js.ConnectorAlreadyConnectedError; exports.ConnectorNotFoundError = _chunkTSH6VVF4js.ConnectorNotFoundError; exports.InjectedConnector = _chunkEQOEZP46js.InjectedConnector; exports.SwitchChainNotSupportedError = _chunkTSH6VVF4js.SwitchChainNotSupportedError; exports.configureChains = _chunkTSH6VVF4js.configureChains; exports.connect = _chunkTSH6VVF4js.connect; exports.createConfig = _chunkTSH6VVF4js.createConfig; exports.createStorage = _chunkTSH6VVF4js.createStorage; exports.deepEqual = _chunkTSH6VVF4js.deepEqual; exports.deserialize = _chunkTSH6VVF4js.deserialize; exports.disconnect = _chunkTSH6VVF4js.disconnect; exports.erc20ABI = _chunkTSH6VVF4js.erc20ABI; exports.erc4626ABI = _chunkTSH6VVF4js.erc4626ABI; exports.erc721ABI = _chunkTSH6VVF4js.erc721ABI; exports.fetchBalance = _chunkTSH6VVF4js.fetchBalance; exports.fetchBlockNumber = _chunkTSH6VVF4js.fetchBlockNumber; exports.fetchEnsAddress = _chunkTSH6VVF4js.fetchEnsAddress; exports.fetchEnsAvatar = _chunkTSH6VVF4js.fetchEnsAvatar; exports.fetchEnsName = _chunkTSH6VVF4js.fetchEnsName; exports.fetchEnsResolver = _chunkTSH6VVF4js.fetchEnsResolver; exports.fetchFeeData = _chunkTSH6VVF4js.fetchFeeData; exports.fetchToken = _chunkTSH6VVF4js.fetchToken; exports.fetchTransaction = _chunkTSH6VVF4js.fetchTransaction; exports.getAccount = _chunkTSH6VVF4js.getAccount; exports.getConfig = _chunkTSH6VVF4js.getConfig; exports.getContract = _chunkTSH6VVF4js.getContract; exports.getNetwork = _chunkTSH6VVF4js.getNetwork; exports.getPublicClient = _chunkTSH6VVF4js.getPublicClient; exports.getUnit = _chunkTSH6VVF4js.getUnit; exports.getWalletClient = _chunkTSH6VVF4js.getWalletClient; exports.getWebSocketPublicClient = _chunkTSH6VVF4js.getWebSocketPublicClient; exports.mainnet = _chunk4E64EZ7Vjs.mainnet; exports.multicall = _chunkTSH6VVF4js.multicall; exports.noopStorage = _chunkTSH6VVF4js.noopStorage; exports.prepareSendTransaction = _chunkTSH6VVF4js.prepareSendTransaction; exports.prepareWriteContract = _chunkTSH6VVF4js.prepareWriteContract; exports.readContract = _chunkTSH6VVF4js.readContract; exports.readContracts = _chunkTSH6VVF4js.readContracts; exports.sendTransaction = _chunkTSH6VVF4js.sendTransaction; exports.sepolia = _chunk4E64EZ7Vjs.sepolia; exports.serialize = _chunkTSH6VVF4js.serialize; exports.signMessage = _chunkTSH6VVF4js.signMessage; exports.signTypedData = _chunkTSH6VVF4js.signTypedData; exports.switchNetwork = _chunkTSH6VVF4js.switchNetwork; exports.waitForTransaction = _chunkTSH6VVF4js.waitForTransaction; exports.watchAccount = _chunkTSH6VVF4js.watchAccount; exports.watchBlockNumber = _chunkTSH6VVF4js.watchBlockNumber; exports.watchContractEvent = _chunkTSH6VVF4js.watchContractEvent; exports.watchMulticall = _chunkTSH6VVF4js.watchMulticall; exports.watchNetwork = _chunkTSH6VVF4js.watchNetwork; exports.watchPendingTransactions = _chunkTSH6VVF4js.watchPendingTransactions; exports.watchPublicClient = _chunkTSH6VVF4js.watchPublicClient; exports.watchReadContract = _chunkTSH6VVF4js.watchReadContract; exports.watchReadContracts = _chunkTSH6VVF4js.watchReadContracts; exports.watchWalletClient = _chunkTSH6VVF4js.watchWalletClient; exports.watchWebSocketPublicClient = _chunkTSH6VVF4js.watchWebSocketPublicClient; exports.writeContract = _chunkTSH6VVF4js.writeContract;
@@ -1,10 +1,10 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
 
4
- var _chunkYAPWLAI7js = require('../chunk-YAPWLAI7.js');
4
+ var _chunkTSH6VVF4js = require('../chunk-TSH6VVF4.js');
5
5
  require('../chunk-BVC4KGLQ.js');
6
6
  require('../chunk-MQXBDTVK.js');
7
7
 
8
8
 
9
9
 
10
- exports.getCallParameters = _chunkYAPWLAI7js.getCallParameters; exports.getSendTransactionParameters = _chunkYAPWLAI7js.getSendTransactionParameters;
10
+ exports.getCallParameters = _chunkTSH6VVF4js.getCallParameters; exports.getSendTransactionParameters = _chunkTSH6VVF4js.getSendTransactionParameters;
@@ -1,5 +1,5 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }require('../chunk-4E64EZ7V.js');
2
- require('../chunk-YAPWLAI7.js');
2
+ require('../chunk-TSH6VVF4.js');
3
3
  require('../chunk-BVC4KGLQ.js');
4
4
  require('../chunk-EQOEZP46.js');
5
5
  require('../chunk-KFW652VN.js');
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@wagmi/core",
3
3
  "description": "Vanilla JS library for Ethereum",
4
4
  "license": "MIT",
5
- "version": "1.4.3-cjs",
5
+ "version": "1.4.4-cjs",
6
6
  "repository": {
7
7
  "type": "git",
8
8
  "url": "https://github.com/wagmi-dev/wagmi.git",