viem 0.3.0-main.20230406T213435 → 0.3.0-main.20230407T042404

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.
Files changed (42) hide show
  1. package/dist/abi.js +2 -2
  2. package/dist/abi.mjs +1 -1
  3. package/dist/accounts/index.js +17 -17
  4. package/dist/accounts/index.mjs +2 -2
  5. package/dist/chains.js +89 -89
  6. package/dist/chains.mjs +1 -1
  7. package/dist/{chunk-DHU5S5YF.mjs → chunk-4GLI7S5I.mjs} +126 -42
  8. package/dist/chunk-4GLI7S5I.mjs.map +1 -0
  9. package/dist/{chunk-OEUINA6X.mjs → chunk-DXGDWVDJ.mjs} +2 -2
  10. package/dist/{chunk-EW5GG2YC.js → chunk-LS5VFAOZ.js} +6 -6
  11. package/dist/{chunk-3IHFW55B.js → chunk-SXZBX5P6.js} +212 -128
  12. package/dist/chunk-SXZBX5P6.js.map +1 -0
  13. package/dist/contract.d.ts +2 -2
  14. package/dist/contract.js +2 -2
  15. package/dist/contract.mjs +1 -1
  16. package/dist/ens.d.ts +1 -1
  17. package/dist/ens.js +2 -2
  18. package/dist/ens.mjs +1 -1
  19. package/dist/ethers.js +4 -4
  20. package/dist/ethers.mjs +2 -2
  21. package/dist/{formatAbiItem-e5bbcadb.d.ts → formatAbiItem-aaf282fc.d.ts} +5 -1
  22. package/dist/{getEnsResolver-314de6e9.d.ts → getEnsResolver-68329c3e.d.ts} +1 -1
  23. package/dist/index.d.ts +12 -9
  24. package/dist/index.js +94 -94
  25. package/dist/index.mjs +1 -1
  26. package/dist/{parseGwei-4fb29d96.d.ts → parseGwei-e2b004f8.d.ts} +1 -1
  27. package/dist/public.d.ts +1 -1
  28. package/dist/public.js +2 -2
  29. package/dist/public.mjs +1 -1
  30. package/dist/test.js +2 -2
  31. package/dist/test.mjs +1 -1
  32. package/dist/utils/index.d.ts +5 -5
  33. package/dist/utils/index.js +4 -2
  34. package/dist/utils/index.mjs +3 -1
  35. package/dist/wallet.d.ts +1 -1
  36. package/dist/wallet.js +2 -2
  37. package/dist/wallet.mjs +1 -1
  38. package/package.json +1 -1
  39. package/dist/chunk-3IHFW55B.js.map +0 -1
  40. package/dist/chunk-DHU5S5YF.mjs.map +0 -1
  41. /package/dist/{chunk-OEUINA6X.mjs.map → chunk-DXGDWVDJ.mjs.map} +0 -0
  42. /package/dist/{chunk-EW5GG2YC.js.map → chunk-LS5VFAOZ.js.map} +0 -0
package/dist/public.js CHANGED
@@ -26,7 +26,7 @@
26
26
 
27
27
 
28
28
 
29
- var _chunk3IHFW55Bjs = require('./chunk-3IHFW55B.js');
29
+ var _chunkSXZBX5P6js = require('./chunk-SXZBX5P6.js');
30
30
 
31
31
 
32
32
 
@@ -55,5 +55,5 @@ var _chunk3IHFW55Bjs = require('./chunk-3IHFW55B.js');
55
55
 
56
56
 
57
57
 
58
- exports.call = _chunk3IHFW55Bjs.call; exports.createBlockFilter = _chunk3IHFW55Bjs.createBlockFilter; exports.createEventFilter = _chunk3IHFW55Bjs.createEventFilter; exports.createPendingTransactionFilter = _chunk3IHFW55Bjs.createPendingTransactionFilter; exports.estimateGas = _chunk3IHFW55Bjs.estimateGas; exports.getBalance = _chunk3IHFW55Bjs.getBalance; exports.getBlock = _chunk3IHFW55Bjs.getBlock; exports.getBlockNumber = _chunk3IHFW55Bjs.getBlockNumber; exports.getBlockNumberCache = _chunk3IHFW55Bjs.getBlockNumberCache; exports.getBlockTransactionCount = _chunk3IHFW55Bjs.getBlockTransactionCount; exports.getBytecode = _chunk3IHFW55Bjs.getBytecode; exports.getChainId = _chunk3IHFW55Bjs.getChainId; exports.getFeeHistory = _chunk3IHFW55Bjs.getFeeHistory; exports.getFilterChanges = _chunk3IHFW55Bjs.getFilterChanges; exports.getFilterLogs = _chunk3IHFW55Bjs.getFilterLogs; exports.getGasPrice = _chunk3IHFW55Bjs.getGasPrice; exports.getLogs = _chunk3IHFW55Bjs.getLogs; exports.getTransaction = _chunk3IHFW55Bjs.getTransaction; exports.getTransactionConfirmations = _chunk3IHFW55Bjs.getTransactionConfirmations; exports.getTransactionCount = _chunk3IHFW55Bjs.getTransactionCount; exports.getTransactionReceipt = _chunk3IHFW55Bjs.getTransactionReceipt; exports.uninstallFilter = _chunk3IHFW55Bjs.uninstallFilter; exports.waitForTransactionReceipt = _chunk3IHFW55Bjs.waitForTransactionReceipt; exports.watchBlockNumber = _chunk3IHFW55Bjs.watchBlockNumber; exports.watchBlocks = _chunk3IHFW55Bjs.watchBlocks; exports.watchEvent = _chunk3IHFW55Bjs.watchEvent; exports.watchPendingTransactions = _chunk3IHFW55Bjs.watchPendingTransactions;
58
+ exports.call = _chunkSXZBX5P6js.call; exports.createBlockFilter = _chunkSXZBX5P6js.createBlockFilter; exports.createEventFilter = _chunkSXZBX5P6js.createEventFilter; exports.createPendingTransactionFilter = _chunkSXZBX5P6js.createPendingTransactionFilter; exports.estimateGas = _chunkSXZBX5P6js.estimateGas; exports.getBalance = _chunkSXZBX5P6js.getBalance; exports.getBlock = _chunkSXZBX5P6js.getBlock; exports.getBlockNumber = _chunkSXZBX5P6js.getBlockNumber; exports.getBlockNumberCache = _chunkSXZBX5P6js.getBlockNumberCache; exports.getBlockTransactionCount = _chunkSXZBX5P6js.getBlockTransactionCount; exports.getBytecode = _chunkSXZBX5P6js.getBytecode; exports.getChainId = _chunkSXZBX5P6js.getChainId; exports.getFeeHistory = _chunkSXZBX5P6js.getFeeHistory; exports.getFilterChanges = _chunkSXZBX5P6js.getFilterChanges; exports.getFilterLogs = _chunkSXZBX5P6js.getFilterLogs; exports.getGasPrice = _chunkSXZBX5P6js.getGasPrice; exports.getLogs = _chunkSXZBX5P6js.getLogs; exports.getTransaction = _chunkSXZBX5P6js.getTransaction; exports.getTransactionConfirmations = _chunkSXZBX5P6js.getTransactionConfirmations; exports.getTransactionCount = _chunkSXZBX5P6js.getTransactionCount; exports.getTransactionReceipt = _chunkSXZBX5P6js.getTransactionReceipt; exports.uninstallFilter = _chunkSXZBX5P6js.uninstallFilter; exports.waitForTransactionReceipt = _chunkSXZBX5P6js.waitForTransactionReceipt; exports.watchBlockNumber = _chunkSXZBX5P6js.watchBlockNumber; exports.watchBlocks = _chunkSXZBX5P6js.watchBlocks; exports.watchEvent = _chunkSXZBX5P6js.watchEvent; exports.watchPendingTransactions = _chunkSXZBX5P6js.watchPendingTransactions;
59
59
  //# sourceMappingURL=public.js.map
package/dist/public.mjs CHANGED
@@ -26,7 +26,7 @@ import {
26
26
  watchBlocks,
27
27
  watchEvent,
28
28
  watchPendingTransactions
29
- } from "./chunk-DHU5S5YF.mjs";
29
+ } from "./chunk-4GLI7S5I.mjs";
30
30
  export {
31
31
  call,
32
32
  createBlockFilter,
package/dist/test.js CHANGED
@@ -27,7 +27,7 @@
27
27
 
28
28
 
29
29
 
30
- var _chunk3IHFW55Bjs = require('./chunk-3IHFW55B.js');
30
+ var _chunkSXZBX5P6js = require('./chunk-SXZBX5P6.js');
31
31
 
32
32
 
33
33
 
@@ -57,5 +57,5 @@ var _chunk3IHFW55Bjs = require('./chunk-3IHFW55B.js');
57
57
 
58
58
 
59
59
 
60
- exports.dropTransaction = _chunk3IHFW55Bjs.dropTransaction; exports.getAutomine = _chunk3IHFW55Bjs.getAutomine; exports.getTxpoolContent = _chunk3IHFW55Bjs.getTxpoolContent; exports.getTxpoolStatus = _chunk3IHFW55Bjs.getTxpoolStatus; exports.impersonateAccount = _chunk3IHFW55Bjs.impersonateAccount; exports.increaseTime = _chunk3IHFW55Bjs.increaseTime; exports.inspectTxpool = _chunk3IHFW55Bjs.inspectTxpool; exports.mine = _chunk3IHFW55Bjs.mine; exports.removeBlockTimestampInterval = _chunk3IHFW55Bjs.removeBlockTimestampInterval; exports.reset = _chunk3IHFW55Bjs.reset; exports.revert = _chunk3IHFW55Bjs.revert; exports.sendUnsignedTransaction = _chunk3IHFW55Bjs.sendUnsignedTransaction; exports.setAutomine = _chunk3IHFW55Bjs.setAutomine; exports.setBalance = _chunk3IHFW55Bjs.setBalance; exports.setBlockGasLimit = _chunk3IHFW55Bjs.setBlockGasLimit; exports.setBlockTimestampInterval = _chunk3IHFW55Bjs.setBlockTimestampInterval; exports.setCode = _chunk3IHFW55Bjs.setCode; exports.setCoinbase = _chunk3IHFW55Bjs.setCoinbase; exports.setIntervalMining = _chunk3IHFW55Bjs.setIntervalMining; exports.setLoggingEnabled = _chunk3IHFW55Bjs.setLoggingEnabled; exports.setMinGasPrice = _chunk3IHFW55Bjs.setMinGasPrice; exports.setNextBlockBaseFeePerGas = _chunk3IHFW55Bjs.setNextBlockBaseFeePerGas; exports.setNextBlockTimestamp = _chunk3IHFW55Bjs.setNextBlockTimestamp; exports.setNonce = _chunk3IHFW55Bjs.setNonce; exports.setRpcUrl = _chunk3IHFW55Bjs.setRpcUrl; exports.setStorageAt = _chunk3IHFW55Bjs.setStorageAt; exports.snapshot = _chunk3IHFW55Bjs.snapshot; exports.stopImpersonatingAccount = _chunk3IHFW55Bjs.stopImpersonatingAccount;
60
+ exports.dropTransaction = _chunkSXZBX5P6js.dropTransaction; exports.getAutomine = _chunkSXZBX5P6js.getAutomine; exports.getTxpoolContent = _chunkSXZBX5P6js.getTxpoolContent; exports.getTxpoolStatus = _chunkSXZBX5P6js.getTxpoolStatus; exports.impersonateAccount = _chunkSXZBX5P6js.impersonateAccount; exports.increaseTime = _chunkSXZBX5P6js.increaseTime; exports.inspectTxpool = _chunkSXZBX5P6js.inspectTxpool; exports.mine = _chunkSXZBX5P6js.mine; exports.removeBlockTimestampInterval = _chunkSXZBX5P6js.removeBlockTimestampInterval; exports.reset = _chunkSXZBX5P6js.reset; exports.revert = _chunkSXZBX5P6js.revert; exports.sendUnsignedTransaction = _chunkSXZBX5P6js.sendUnsignedTransaction; exports.setAutomine = _chunkSXZBX5P6js.setAutomine; exports.setBalance = _chunkSXZBX5P6js.setBalance; exports.setBlockGasLimit = _chunkSXZBX5P6js.setBlockGasLimit; exports.setBlockTimestampInterval = _chunkSXZBX5P6js.setBlockTimestampInterval; exports.setCode = _chunkSXZBX5P6js.setCode; exports.setCoinbase = _chunkSXZBX5P6js.setCoinbase; exports.setIntervalMining = _chunkSXZBX5P6js.setIntervalMining; exports.setLoggingEnabled = _chunkSXZBX5P6js.setLoggingEnabled; exports.setMinGasPrice = _chunkSXZBX5P6js.setMinGasPrice; exports.setNextBlockBaseFeePerGas = _chunkSXZBX5P6js.setNextBlockBaseFeePerGas; exports.setNextBlockTimestamp = _chunkSXZBX5P6js.setNextBlockTimestamp; exports.setNonce = _chunkSXZBX5P6js.setNonce; exports.setRpcUrl = _chunkSXZBX5P6js.setRpcUrl; exports.setStorageAt = _chunkSXZBX5P6js.setStorageAt; exports.snapshot = _chunkSXZBX5P6js.snapshot; exports.stopImpersonatingAccount = _chunkSXZBX5P6js.stopImpersonatingAccount;
61
61
  //# sourceMappingURL=test.js.map
package/dist/test.mjs CHANGED
@@ -27,7 +27,7 @@ import {
27
27
  setStorageAt,
28
28
  snapshot,
29
29
  stopImpersonatingAccount
30
- } from "./chunk-DHU5S5YF.mjs";
30
+ } from "./chunk-4GLI7S5I.mjs";
31
31
  export {
32
32
  dropTransaction,
33
33
  getAutomine,
@@ -2,13 +2,13 @@ export { ParseAbi, ParseAbiItem, ParseAbiParameter, ParseAbiParameters, parseAbi
2
2
  export { D as DecodeAbiParametersReturnType, E as EncodeAbiParametersReturnType, G as GetAbiItemParameters, d as decodeAbiParameters, e as encodeAbiParameters, g as getAbiItem } from '../getAbiItem-443d91a0.js';
3
3
  export { D as DecodeErrorResultParameters, a as DecodeErrorResultReturnType, b as DecodeEventLogParameters, c as DecodeEventLogReturnType, d as DecodeFunctionDataParameters, e as DecodeFunctionResultParameters, f as DecodeFunctionResultReturnType, E as EncodeDeployDataParameters, g as EncodeErrorResultParameters, h as EncodeEventTopicsParameters, i as EncodeFunctionDataParameters, j as EncodeFunctionResultParameters, k as decodeErrorResult, l as decodeEventLog, m as decodeFunctionData, n as decodeFunctionResult, o as encodeDeployData, p as encodeErrorResult, q as encodeEventTopics, r as encodeFunctionData, s as encodeFunctionResult } from '../encodeFunctionResult-f7c8e382.js';
4
4
  export { e as encodePacked } from '../encodePacked-462bce62.js';
5
- export { a as formatAbiItem, f as formatAbiItemWithArgs } from '../formatAbiItem-e5bbcadb.js';
5
+ export { a as formatAbiItem, f as formatAbiItemWithArgs, b as formatAbiParams } from '../formatAbiItem-aaf282fc.js';
6
6
  export { p as parseAccount, a as publicKeyToAddress } from '../publicKeyToAddress-52476df3.js';
7
- import { B as BaseError, C as CallExecutionError, E as EstimateGasExecutionError, d as ExecutionRevertedError, F as FeeCapTooHighError, e as FeeCapTooLowError, i as NonceTooHighError, j as NonceTooLowError, N as NonceMaxValueError, I as InsufficientFundsError, f as IntrinsicGasTooHighError, g as IntrinsicGasTooLowError, m as TransactionTypeNotSupportedError, T as TipAboveFeeCapError, U as UnknownNodeError, l as TransactionExecutionError } from '../parseGwei-4fb29d96.js';
8
- export { G as GetContractAddressOptions, p as GetCreate2AddressOptions, q as GetCreateAddressOptions, r as GetSerializedTransactionType, s as GetTransactionType, t as HashTypedDataParameters, u as HashTypedDataReturnType, H as HttpOptions, v as RecoverAddressParameters, w as RecoverAddressReturnType, x as RecoverMessageAddressParameters, y as RecoverMessageAddressReturnType, z as RecoverTypedDataAddressParameters, A as RecoverTypedDataAddressReturnType, R as RpcResponse, aY as Socket, D as ToRlpReturnType, V as VerifyMessageParameters, J as VerifyMessageReturnType, K as VerifyTypedDataParameters, L as VerifyTypedDataReturnType, M as assertRequest, O as assertTransactionEIP1559, P as assertTransactionEIP2930, Q as assertTransactionLegacy, S as boolToBytes, X as boolToHex, Y as bytesToBigint, Z as bytesToBool, _ as bytesToHex, $ as bytesToNumber, a0 as bytesToString, a1 as concat, a2 as concatBytes, a3 as concatHex, a4 as formatEther, a5 as formatGwei, a6 as formatUnits, a7 as fromBytes, a8 as fromHex, a9 as fromRlp, aa as getAddress, ab as getContractAddress, ac as getContractError, ad as getCreate2Address, ae as getCreateAddress, af as getEventSelector, ag as getFunctionSelector, ah as getSerializedTransactionType, aZ as getSocket, ai as getTransactionType, aj as hashMessage, ak as hashTypedData, al as hexToBigInt, am as hexToBool, an as hexToBytes, ao as hexToNumber, ap as hexToString, aq as isAddress, ar as isAddressEqual, as as isBytes, at as isHash, au as isHex, av as keccak256, aw as numberToBytes, ax as numberToHex, ay as pad, az as padBytes, aA as padHex, aB as parseEther, aC as parseGwei, aD as parseTransaction, aE as parseUnits, aF as prepareRequest, aG as recoverAddress, aH as recoverMessageAddress, aI as recoverTypedDataAddress, a_ as rpc, aJ as serializeTransaction, aK as size, aL as slice, aM as sliceBytes, aN as sliceHex, aO as stringToBytes, aP as stringToHex, aQ as stringify, aR as toBytes, aS as toHex, aT as toRlp, aU as trim, aV as validateTypedData, aW as verifyMessage, aX as verifyTypedData } from '../parseGwei-4fb29d96.js';
7
+ import { B as BaseError, C as CallExecutionError, E as EstimateGasExecutionError, d as ExecutionRevertedError, F as FeeCapTooHighError, e as FeeCapTooLowError, i as NonceTooHighError, j as NonceTooLowError, N as NonceMaxValueError, I as InsufficientFundsError, f as IntrinsicGasTooHighError, g as IntrinsicGasTooLowError, m as TransactionTypeNotSupportedError, T as TipAboveFeeCapError, U as UnknownNodeError, l as TransactionExecutionError } from '../parseGwei-e2b004f8.js';
8
+ export { G as GetContractAddressOptions, p as GetCreate2AddressOptions, q as GetCreateAddressOptions, r as GetSerializedTransactionType, s as GetTransactionType, t as HashTypedDataParameters, u as HashTypedDataReturnType, H as HttpOptions, v as RecoverAddressParameters, w as RecoverAddressReturnType, x as RecoverMessageAddressParameters, y as RecoverMessageAddressReturnType, z as RecoverTypedDataAddressParameters, A as RecoverTypedDataAddressReturnType, R as RpcResponse, aY as Socket, D as ToRlpReturnType, V as VerifyMessageParameters, J as VerifyMessageReturnType, K as VerifyTypedDataParameters, L as VerifyTypedDataReturnType, M as assertRequest, O as assertTransactionEIP1559, P as assertTransactionEIP2930, Q as assertTransactionLegacy, S as boolToBytes, X as boolToHex, Y as bytesToBigint, Z as bytesToBool, _ as bytesToHex, $ as bytesToNumber, a0 as bytesToString, a1 as concat, a2 as concatBytes, a3 as concatHex, a4 as formatEther, a5 as formatGwei, a6 as formatUnits, a7 as fromBytes, a8 as fromHex, a9 as fromRlp, aa as getAddress, ab as getContractAddress, ac as getContractError, ad as getCreate2Address, ae as getCreateAddress, af as getEventSelector, ag as getFunctionSelector, ah as getSerializedTransactionType, aZ as getSocket, ai as getTransactionType, aj as hashMessage, ak as hashTypedData, al as hexToBigInt, am as hexToBool, an as hexToBytes, ao as hexToNumber, ap as hexToString, aq as isAddress, ar as isAddressEqual, as as isBytes, at as isHash, au as isHex, av as keccak256, aw as numberToBytes, ax as numberToHex, ay as pad, az as padBytes, aA as padHex, aB as parseEther, aC as parseGwei, aD as parseTransaction, aE as parseUnits, aF as prepareRequest, aG as recoverAddress, aH as recoverMessageAddress, aI as recoverTypedDataAddress, a_ as rpc, aJ as serializeTransaction, aK as size, aL as slice, aM as sliceBytes, aN as sliceHex, aO as stringToBytes, aP as stringToHex, aQ as stringify, aR as toBytes, aS as toHex, aT as toRlp, aU as trim, aV as validateTypedData, aW as verifyMessage, aX as verifyTypedData } from '../parseGwei-e2b004f8.js';
9
9
  export { d as defineChain, g as getChainContractAddress } from '../chain-29e97b48.js';
10
- import { i as CallParameters, p as EstimateGasParameters, ao as SendTransactionParameters } from '../getEnsResolver-314de6e9.js';
11
- export { aU as BlockFormatter, aV as FormattedBlock, aW as FormattedTransactionReceipt, aX as FormattedTransactionRequest, aY as TransactionReceiptFormatter, aZ as TransactionRequestFormatter, a_ as defineBlock, a$ as defineTransactionReceipt, b0 as defineTransactionRequest, b1 as formatBlock, b2 as formatTransactionRequest } from '../getEnsResolver-314de6e9.js';
10
+ import { i as CallParameters, p as EstimateGasParameters, ao as SendTransactionParameters } from '../getEnsResolver-68329c3e.js';
11
+ export { aU as BlockFormatter, aV as FormattedBlock, aW as FormattedTransactionReceipt, aX as FormattedTransactionRequest, aY as TransactionReceiptFormatter, aZ as TransactionRequestFormatter, a_ as defineBlock, a$ as defineTransactionReceipt, b0 as defineTransactionRequest, b1 as formatBlock, b2 as formatTransactionRequest } from '../getEnsResolver-68329c3e.js';
12
12
  import { aj as Formatter, C as Chain } from '../chain-02c77999.js';
13
13
  export { ab as ExtractFormatter, ac as Formatted, ad as FormattedTransaction, ae as TransactionFormatter, ar as defineFormatter, af as defineTransaction, as as format, ag as formatTransaction, ah as transactionType } from '../chain-02c77999.js';
14
14
  import { A as Account } from '../typedData-337e8d8f.js';
@@ -118,8 +118,8 @@
118
118
 
119
119
 
120
120
 
121
- var _chunk3IHFW55Bjs = require('../chunk-3IHFW55B.js');
122
121
 
122
+ var _chunkSXZBX5P6js = require('../chunk-SXZBX5P6.js');
123
123
 
124
124
 
125
125
 
@@ -239,5 +239,7 @@ var _chunk3IHFW55Bjs = require('../chunk-3IHFW55B.js');
239
239
 
240
240
 
241
241
 
242
- exports.arrayRegex = _chunk3IHFW55Bjs.arrayRegex; exports.assertRequest = _chunk3IHFW55Bjs.assertRequest; exports.assertTransactionEIP1559 = _chunk3IHFW55Bjs.assertTransactionEIP1559; exports.assertTransactionEIP2930 = _chunk3IHFW55Bjs.assertTransactionEIP2930; exports.assertTransactionLegacy = _chunk3IHFW55Bjs.assertTransactionLegacy; exports.boolToBytes = _chunk3IHFW55Bjs.boolToBytes; exports.boolToHex = _chunk3IHFW55Bjs.boolToHex; exports.buildRequest = _chunk3IHFW55Bjs.buildRequest; exports.bytesRegex = _chunk3IHFW55Bjs.bytesRegex; exports.bytesToBigint = _chunk3IHFW55Bjs.bytesToBigint; exports.bytesToBool = _chunk3IHFW55Bjs.bytesToBool; exports.bytesToHex = _chunk3IHFW55Bjs.bytesToHex; exports.bytesToNumber = _chunk3IHFW55Bjs.bytesToNumber; exports.bytesToString = _chunk3IHFW55Bjs.bytesToString; exports.concat = _chunk3IHFW55Bjs.concat; exports.concatBytes = _chunk3IHFW55Bjs.concatBytes; exports.concatHex = _chunk3IHFW55Bjs.concatHex; exports.containsNodeError = _chunk3IHFW55Bjs.containsNodeError; exports.decodeAbiParameters = _chunk3IHFW55Bjs.decodeAbiParameters; exports.decodeErrorResult = _chunk3IHFW55Bjs.decodeErrorResult; exports.decodeEventLog = _chunk3IHFW55Bjs.decodeEventLog; exports.decodeFunctionData = _chunk3IHFW55Bjs.decodeFunctionData; exports.decodeFunctionResult = _chunk3IHFW55Bjs.decodeFunctionResult; exports.defineBlock = _chunk3IHFW55Bjs.defineBlock; exports.defineChain = _chunk3IHFW55Bjs.defineChain; exports.defineFormatter = _chunk3IHFW55Bjs.defineFormatter; exports.defineTransaction = _chunk3IHFW55Bjs.defineTransaction; exports.defineTransactionReceipt = _chunk3IHFW55Bjs.defineTransactionReceipt; exports.defineTransactionRequest = _chunk3IHFW55Bjs.defineTransactionRequest; exports.encodeAbiParameters = _chunk3IHFW55Bjs.encodeAbiParameters; exports.encodeDeployData = _chunk3IHFW55Bjs.encodeDeployData; exports.encodeErrorResult = _chunk3IHFW55Bjs.encodeErrorResult; exports.encodeEventTopics = _chunk3IHFW55Bjs.encodeEventTopics; exports.encodeFunctionData = _chunk3IHFW55Bjs.encodeFunctionData; exports.encodeFunctionResult = _chunk3IHFW55Bjs.encodeFunctionResult; exports.encodePacked = _chunk3IHFW55Bjs.encodePacked; exports.extract = _chunk3IHFW55Bjs.extract; exports.extractFunctionName = _chunk3IHFW55Bjs.extractFunctionName; exports.extractFunctionParams = _chunk3IHFW55Bjs.extractFunctionParams; exports.extractFunctionParts = _chunk3IHFW55Bjs.extractFunctionParts; exports.extractFunctionType = _chunk3IHFW55Bjs.extractFunctionType; exports.format = _chunk3IHFW55Bjs.format; exports.formatAbiItem = _chunk3IHFW55Bjs.formatAbiItem; exports.formatAbiItemWithArgs = _chunk3IHFW55Bjs.formatAbiItemWithArgs; exports.formatBlock = _chunk3IHFW55Bjs.formatBlock; exports.formatEther = _chunk3IHFW55Bjs.formatEther; exports.formatGwei = _chunk3IHFW55Bjs.formatGwei; exports.formatTransaction = _chunk3IHFW55Bjs.formatTransaction; exports.formatTransactionRequest = _chunk3IHFW55Bjs.formatTransactionRequest; exports.formatUnits = _chunk3IHFW55Bjs.formatUnits; exports.fromBytes = _chunk3IHFW55Bjs.fromBytes; exports.fromHex = _chunk3IHFW55Bjs.fromHex; exports.fromRlp = _chunk3IHFW55Bjs.fromRlp; exports.getAbiItem = _chunk3IHFW55Bjs.getAbiItem; exports.getAddress = _chunk3IHFW55Bjs.getAddress; exports.getCallError = _chunk3IHFW55Bjs.getCallError; exports.getChainContractAddress = _chunk3IHFW55Bjs.getChainContractAddress; exports.getContractAddress = _chunk3IHFW55Bjs.getContractAddress; exports.getContractError = _chunk3IHFW55Bjs.getContractError; exports.getCreate2Address = _chunk3IHFW55Bjs.getCreate2Address; exports.getCreateAddress = _chunk3IHFW55Bjs.getCreateAddress; exports.getEstimateGasError = _chunk3IHFW55Bjs.getEstimateGasError; exports.getEventSelector = _chunk3IHFW55Bjs.getEventSelector; exports.getFunctionSelector = _chunk3IHFW55Bjs.getFunctionSelector; exports.getNodeError = _chunk3IHFW55Bjs.getNodeError; exports.getSerializedTransactionType = _chunk3IHFW55Bjs.getSerializedTransactionType; exports.getSocket = _chunk3IHFW55Bjs.getSocket; exports.getTransactionError = _chunk3IHFW55Bjs.getTransactionError; exports.getTransactionType = _chunk3IHFW55Bjs.getTransactionType; exports.hashMessage = _chunk3IHFW55Bjs.hashMessage; exports.hashTypedData = _chunk3IHFW55Bjs.hashTypedData; exports.hexToBigInt = _chunk3IHFW55Bjs.hexToBigInt; exports.hexToBool = _chunk3IHFW55Bjs.hexToBool; exports.hexToBytes = _chunk3IHFW55Bjs.hexToBytes; exports.hexToNumber = _chunk3IHFW55Bjs.hexToNumber; exports.hexToString = _chunk3IHFW55Bjs.hexToString; exports.integerRegex = _chunk3IHFW55Bjs.integerRegex; exports.isAddress = _chunk3IHFW55Bjs.isAddress; exports.isAddressEqual = _chunk3IHFW55Bjs.isAddressEqual; exports.isBytes = _chunk3IHFW55Bjs.isBytes; exports.isHash = _chunk3IHFW55Bjs.isHash; exports.isHex = _chunk3IHFW55Bjs.isHex; exports.keccak256 = _chunk3IHFW55Bjs.keccak256; exports.numberToBytes = _chunk3IHFW55Bjs.numberToBytes; exports.numberToHex = _chunk3IHFW55Bjs.numberToHex; exports.pad = _chunk3IHFW55Bjs.pad; exports.padBytes = _chunk3IHFW55Bjs.padBytes; exports.padHex = _chunk3IHFW55Bjs.padHex; exports.parseAbi = _chunk3IHFW55Bjs.parseAbi; exports.parseAbiItem = _chunk3IHFW55Bjs.parseAbiItem; exports.parseAbiParameter = _chunk3IHFW55Bjs.parseAbiParameter; exports.parseAbiParameters = _chunk3IHFW55Bjs.parseAbiParameters; exports.parseAccount = _chunk3IHFW55Bjs.parseAccount; exports.parseEther = _chunk3IHFW55Bjs.parseEther; exports.parseGwei = _chunk3IHFW55Bjs.parseGwei; exports.parseTransaction = _chunk3IHFW55Bjs.parseTransaction; exports.parseUnits = _chunk3IHFW55Bjs.parseUnits; exports.prepareRequest = _chunk3IHFW55Bjs.prepareRequest; exports.publicKeyToAddress = _chunk3IHFW55Bjs.publicKeyToAddress; exports.recoverAddress = _chunk3IHFW55Bjs.recoverAddress; exports.recoverMessageAddress = _chunk3IHFW55Bjs.recoverMessageAddress; exports.recoverTypedDataAddress = _chunk3IHFW55Bjs.recoverTypedDataAddress; exports.rpc = _chunk3IHFW55Bjs.rpc; exports.serializeTransaction = _chunk3IHFW55Bjs.serializeTransaction; exports.size = _chunk3IHFW55Bjs.size; exports.slice = _chunk3IHFW55Bjs.slice; exports.sliceBytes = _chunk3IHFW55Bjs.sliceBytes; exports.sliceHex = _chunk3IHFW55Bjs.sliceHex; exports.stringToBytes = _chunk3IHFW55Bjs.stringToBytes; exports.stringToHex = _chunk3IHFW55Bjs.stringToHex; exports.stringify = _chunk3IHFW55Bjs.stringify; exports.toBytes = _chunk3IHFW55Bjs.toBytes; exports.toHex = _chunk3IHFW55Bjs.toHex; exports.toRlp = _chunk3IHFW55Bjs.toRlp; exports.transactionType = _chunk3IHFW55Bjs.transactionType; exports.trim = _chunk3IHFW55Bjs.trim; exports.validateTypedData = _chunk3IHFW55Bjs.validateTypedData; exports.verifyMessage = _chunk3IHFW55Bjs.verifyMessage; exports.verifyTypedData = _chunk3IHFW55Bjs.verifyTypedData;
242
+
243
+
244
+ exports.arrayRegex = _chunkSXZBX5P6js.arrayRegex; exports.assertRequest = _chunkSXZBX5P6js.assertRequest; exports.assertTransactionEIP1559 = _chunkSXZBX5P6js.assertTransactionEIP1559; exports.assertTransactionEIP2930 = _chunkSXZBX5P6js.assertTransactionEIP2930; exports.assertTransactionLegacy = _chunkSXZBX5P6js.assertTransactionLegacy; exports.boolToBytes = _chunkSXZBX5P6js.boolToBytes; exports.boolToHex = _chunkSXZBX5P6js.boolToHex; exports.buildRequest = _chunkSXZBX5P6js.buildRequest; exports.bytesRegex = _chunkSXZBX5P6js.bytesRegex; exports.bytesToBigint = _chunkSXZBX5P6js.bytesToBigint; exports.bytesToBool = _chunkSXZBX5P6js.bytesToBool; exports.bytesToHex = _chunkSXZBX5P6js.bytesToHex; exports.bytesToNumber = _chunkSXZBX5P6js.bytesToNumber; exports.bytesToString = _chunkSXZBX5P6js.bytesToString; exports.concat = _chunkSXZBX5P6js.concat; exports.concatBytes = _chunkSXZBX5P6js.concatBytes; exports.concatHex = _chunkSXZBX5P6js.concatHex; exports.containsNodeError = _chunkSXZBX5P6js.containsNodeError; exports.decodeAbiParameters = _chunkSXZBX5P6js.decodeAbiParameters; exports.decodeErrorResult = _chunkSXZBX5P6js.decodeErrorResult; exports.decodeEventLog = _chunkSXZBX5P6js.decodeEventLog; exports.decodeFunctionData = _chunkSXZBX5P6js.decodeFunctionData; exports.decodeFunctionResult = _chunkSXZBX5P6js.decodeFunctionResult; exports.defineBlock = _chunkSXZBX5P6js.defineBlock; exports.defineChain = _chunkSXZBX5P6js.defineChain; exports.defineFormatter = _chunkSXZBX5P6js.defineFormatter; exports.defineTransaction = _chunkSXZBX5P6js.defineTransaction; exports.defineTransactionReceipt = _chunkSXZBX5P6js.defineTransactionReceipt; exports.defineTransactionRequest = _chunkSXZBX5P6js.defineTransactionRequest; exports.encodeAbiParameters = _chunkSXZBX5P6js.encodeAbiParameters; exports.encodeDeployData = _chunkSXZBX5P6js.encodeDeployData; exports.encodeErrorResult = _chunkSXZBX5P6js.encodeErrorResult; exports.encodeEventTopics = _chunkSXZBX5P6js.encodeEventTopics; exports.encodeFunctionData = _chunkSXZBX5P6js.encodeFunctionData; exports.encodeFunctionResult = _chunkSXZBX5P6js.encodeFunctionResult; exports.encodePacked = _chunkSXZBX5P6js.encodePacked; exports.extract = _chunkSXZBX5P6js.extract; exports.extractFunctionName = _chunkSXZBX5P6js.extractFunctionName; exports.extractFunctionParams = _chunkSXZBX5P6js.extractFunctionParams; exports.extractFunctionParts = _chunkSXZBX5P6js.extractFunctionParts; exports.extractFunctionType = _chunkSXZBX5P6js.extractFunctionType; exports.format = _chunkSXZBX5P6js.format; exports.formatAbiItem = _chunkSXZBX5P6js.formatAbiItem; exports.formatAbiItemWithArgs = _chunkSXZBX5P6js.formatAbiItemWithArgs; exports.formatAbiParams = _chunkSXZBX5P6js.formatAbiParams; exports.formatBlock = _chunkSXZBX5P6js.formatBlock; exports.formatEther = _chunkSXZBX5P6js.formatEther; exports.formatGwei = _chunkSXZBX5P6js.formatGwei; exports.formatTransaction = _chunkSXZBX5P6js.formatTransaction; exports.formatTransactionRequest = _chunkSXZBX5P6js.formatTransactionRequest; exports.formatUnits = _chunkSXZBX5P6js.formatUnits; exports.fromBytes = _chunkSXZBX5P6js.fromBytes; exports.fromHex = _chunkSXZBX5P6js.fromHex; exports.fromRlp = _chunkSXZBX5P6js.fromRlp; exports.getAbiItem = _chunkSXZBX5P6js.getAbiItem; exports.getAddress = _chunkSXZBX5P6js.getAddress; exports.getCallError = _chunkSXZBX5P6js.getCallError; exports.getChainContractAddress = _chunkSXZBX5P6js.getChainContractAddress; exports.getContractAddress = _chunkSXZBX5P6js.getContractAddress; exports.getContractError = _chunkSXZBX5P6js.getContractError; exports.getCreate2Address = _chunkSXZBX5P6js.getCreate2Address; exports.getCreateAddress = _chunkSXZBX5P6js.getCreateAddress; exports.getEstimateGasError = _chunkSXZBX5P6js.getEstimateGasError; exports.getEventSelector = _chunkSXZBX5P6js.getEventSelector; exports.getFunctionSelector = _chunkSXZBX5P6js.getFunctionSelector; exports.getNodeError = _chunkSXZBX5P6js.getNodeError; exports.getSerializedTransactionType = _chunkSXZBX5P6js.getSerializedTransactionType; exports.getSocket = _chunkSXZBX5P6js.getSocket; exports.getTransactionError = _chunkSXZBX5P6js.getTransactionError; exports.getTransactionType = _chunkSXZBX5P6js.getTransactionType; exports.hashMessage = _chunkSXZBX5P6js.hashMessage; exports.hashTypedData = _chunkSXZBX5P6js.hashTypedData; exports.hexToBigInt = _chunkSXZBX5P6js.hexToBigInt; exports.hexToBool = _chunkSXZBX5P6js.hexToBool; exports.hexToBytes = _chunkSXZBX5P6js.hexToBytes; exports.hexToNumber = _chunkSXZBX5P6js.hexToNumber; exports.hexToString = _chunkSXZBX5P6js.hexToString; exports.integerRegex = _chunkSXZBX5P6js.integerRegex; exports.isAddress = _chunkSXZBX5P6js.isAddress; exports.isAddressEqual = _chunkSXZBX5P6js.isAddressEqual; exports.isBytes = _chunkSXZBX5P6js.isBytes; exports.isHash = _chunkSXZBX5P6js.isHash; exports.isHex = _chunkSXZBX5P6js.isHex; exports.keccak256 = _chunkSXZBX5P6js.keccak256; exports.numberToBytes = _chunkSXZBX5P6js.numberToBytes; exports.numberToHex = _chunkSXZBX5P6js.numberToHex; exports.pad = _chunkSXZBX5P6js.pad; exports.padBytes = _chunkSXZBX5P6js.padBytes; exports.padHex = _chunkSXZBX5P6js.padHex; exports.parseAbi = _chunkSXZBX5P6js.parseAbi; exports.parseAbiItem = _chunkSXZBX5P6js.parseAbiItem; exports.parseAbiParameter = _chunkSXZBX5P6js.parseAbiParameter; exports.parseAbiParameters = _chunkSXZBX5P6js.parseAbiParameters; exports.parseAccount = _chunkSXZBX5P6js.parseAccount; exports.parseEther = _chunkSXZBX5P6js.parseEther; exports.parseGwei = _chunkSXZBX5P6js.parseGwei; exports.parseTransaction = _chunkSXZBX5P6js.parseTransaction; exports.parseUnits = _chunkSXZBX5P6js.parseUnits; exports.prepareRequest = _chunkSXZBX5P6js.prepareRequest; exports.publicKeyToAddress = _chunkSXZBX5P6js.publicKeyToAddress; exports.recoverAddress = _chunkSXZBX5P6js.recoverAddress; exports.recoverMessageAddress = _chunkSXZBX5P6js.recoverMessageAddress; exports.recoverTypedDataAddress = _chunkSXZBX5P6js.recoverTypedDataAddress; exports.rpc = _chunkSXZBX5P6js.rpc; exports.serializeTransaction = _chunkSXZBX5P6js.serializeTransaction; exports.size = _chunkSXZBX5P6js.size; exports.slice = _chunkSXZBX5P6js.slice; exports.sliceBytes = _chunkSXZBX5P6js.sliceBytes; exports.sliceHex = _chunkSXZBX5P6js.sliceHex; exports.stringToBytes = _chunkSXZBX5P6js.stringToBytes; exports.stringToHex = _chunkSXZBX5P6js.stringToHex; exports.stringify = _chunkSXZBX5P6js.stringify; exports.toBytes = _chunkSXZBX5P6js.toBytes; exports.toHex = _chunkSXZBX5P6js.toHex; exports.toRlp = _chunkSXZBX5P6js.toRlp; exports.transactionType = _chunkSXZBX5P6js.transactionType; exports.trim = _chunkSXZBX5P6js.trim; exports.validateTypedData = _chunkSXZBX5P6js.validateTypedData; exports.verifyMessage = _chunkSXZBX5P6js.verifyMessage; exports.verifyTypedData = _chunkSXZBX5P6js.verifyTypedData;
243
245
  //# sourceMappingURL=index.js.map
@@ -43,6 +43,7 @@ import {
43
43
  format,
44
44
  formatAbiItem,
45
45
  formatAbiItemWithArgs,
46
+ formatAbiParams,
46
47
  formatBlock,
47
48
  formatEther,
48
49
  formatGwei,
@@ -118,7 +119,7 @@ import {
118
119
  validateTypedData,
119
120
  verifyMessage,
120
121
  verifyTypedData
121
- } from "../chunk-DHU5S5YF.mjs";
122
+ } from "../chunk-4GLI7S5I.mjs";
122
123
  export {
123
124
  arrayRegex,
124
125
  assertRequest,
@@ -164,6 +165,7 @@ export {
164
165
  format,
165
166
  formatAbiItem,
166
167
  formatAbiItemWithArgs,
168
+ formatAbiParams,
167
169
  formatBlock,
168
170
  formatEther,
169
171
  formatGwei,
package/dist/wallet.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- export { A as AddChainParameters, bX as FormattedTransactionRequest, G as GetAddressesReturnType, _ as GetPermissionsReturnType, al as RequestAddressesReturnType, am as RequestPermissionsReturnType, ao as SendTransactionParameters, ap as SendTransactionReturnType, aq as SignMessageParameters, ar as SignMessageReturnType, as as SignTypedDataParameters, at as SignTypedDataReturnType, au as SwitchChainParameters, az as WatchAssetParameters, aA as WatchAssetReturnType, bN as addChain, bO as getAddresses, bP as getPermissions, bQ as requestAddresses, bR as requestPermissions, bS as sendTransaction, bT as signMessage, bU as signTypedData, bV as switchChain, bW as watchAsset } from './getEnsResolver-314de6e9.js';
1
+ export { A as AddChainParameters, bX as FormattedTransactionRequest, G as GetAddressesReturnType, _ as GetPermissionsReturnType, al as RequestAddressesReturnType, am as RequestPermissionsReturnType, ao as SendTransactionParameters, ap as SendTransactionReturnType, aq as SignMessageParameters, ar as SignMessageReturnType, as as SignTypedDataParameters, at as SignTypedDataReturnType, au as SwitchChainParameters, az as WatchAssetParameters, aA as WatchAssetReturnType, bN as addChain, bO as getAddresses, bP as getPermissions, bQ as requestAddresses, bR as requestPermissions, bS as sendTransaction, bT as signMessage, bU as signTypedData, bV as switchChain, bW as watchAsset } from './getEnsResolver-68329c3e.js';
2
2
  import './createTransport-55339615.js';
3
3
  import './eip1193-07d9c47f.js';
4
4
  import 'abitype';
package/dist/wallet.js CHANGED
@@ -9,7 +9,7 @@
9
9
 
10
10
 
11
11
 
12
- var _chunk3IHFW55Bjs = require('./chunk-3IHFW55B.js');
12
+ var _chunkSXZBX5P6js = require('./chunk-SXZBX5P6.js');
13
13
 
14
14
 
15
15
 
@@ -21,5 +21,5 @@ var _chunk3IHFW55Bjs = require('./chunk-3IHFW55B.js');
21
21
 
22
22
 
23
23
 
24
- exports.addChain = _chunk3IHFW55Bjs.addChain; exports.getAddresses = _chunk3IHFW55Bjs.getAddresses; exports.getPermissions = _chunk3IHFW55Bjs.getPermissions; exports.requestAddresses = _chunk3IHFW55Bjs.requestAddresses; exports.requestPermissions = _chunk3IHFW55Bjs.requestPermissions; exports.sendTransaction = _chunk3IHFW55Bjs.sendTransaction; exports.signMessage = _chunk3IHFW55Bjs.signMessage; exports.signTypedData = _chunk3IHFW55Bjs.signTypedData; exports.switchChain = _chunk3IHFW55Bjs.switchChain; exports.watchAsset = _chunk3IHFW55Bjs.watchAsset;
24
+ exports.addChain = _chunkSXZBX5P6js.addChain; exports.getAddresses = _chunkSXZBX5P6js.getAddresses; exports.getPermissions = _chunkSXZBX5P6js.getPermissions; exports.requestAddresses = _chunkSXZBX5P6js.requestAddresses; exports.requestPermissions = _chunkSXZBX5P6js.requestPermissions; exports.sendTransaction = _chunkSXZBX5P6js.sendTransaction; exports.signMessage = _chunkSXZBX5P6js.signMessage; exports.signTypedData = _chunkSXZBX5P6js.signTypedData; exports.switchChain = _chunkSXZBX5P6js.switchChain; exports.watchAsset = _chunkSXZBX5P6js.watchAsset;
25
25
  //# sourceMappingURL=wallet.js.map
package/dist/wallet.mjs CHANGED
@@ -9,7 +9,7 @@ import {
9
9
  signTypedData,
10
10
  switchChain,
11
11
  watchAsset
12
- } from "./chunk-DHU5S5YF.mjs";
12
+ } from "./chunk-4GLI7S5I.mjs";
13
13
  export {
14
14
  addChain,
15
15
  getAddresses,
package/package.json CHANGED
@@ -12,7 +12,7 @@
12
12
  "isomorphic-ws": "5.0.0",
13
13
  "ws": "8.12.0"
14
14
  },
15
- "version": "0.3.0-main.20230406T213435",
15
+ "version": "0.3.0-main.20230407T042404",
16
16
  "files": [
17
17
  "/abi",
18
18
  "/accounts",