viem 0.1.0 → 0.1.1

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 (48) hide show
  1. package/dist/abi.d.ts +3 -4
  2. package/dist/abi.js +2 -2
  3. package/dist/abi.mjs +1 -1
  4. package/dist/{chain-a4f98ba3.d.ts → chain-688e1663.d.ts} +1 -1
  5. package/dist/{chain-819c7ff7.d.ts → chain-d64be356.d.ts} +1 -1
  6. package/dist/chains.d.ts +3 -4
  7. package/dist/chains.js +46 -46
  8. package/dist/chains.mjs +1 -1
  9. package/dist/{chunk-I7AINPMM.mjs → chunk-HDZRBHNX.mjs} +2 -2
  10. package/dist/{chunk-I7AINPMM.mjs.map → chunk-HDZRBHNX.mjs.map} +1 -1
  11. package/dist/{chunk-APZXOA44.mjs → chunk-N5WJ5FTW.mjs} +2 -2
  12. package/dist/{chunk-HCZO3OIX.js → chunk-NM6QXEYF.js} +21 -21
  13. package/dist/{chunk-QJNPIGP5.js → chunk-PZIHILNK.js} +2 -2
  14. package/dist/{chunk-QJNPIGP5.js.map → chunk-PZIHILNK.js.map} +1 -1
  15. package/dist/contract.d.ts +7 -8
  16. package/dist/contract.js +2 -2
  17. package/dist/contract.mjs +1 -1
  18. package/dist/{createClient-a47ae6f5.d.ts → createClient-8575dcd6.d.ts} +2 -2
  19. package/dist/{createPublicClient-e2eae0fc.d.ts → createPublicClient-c13b17f9.d.ts} +3 -3
  20. package/dist/{eip1193-a882d1b8.d.ts → eip1193-029d52f0.d.ts} +1 -1
  21. package/dist/{encodeFunctionResult-9eb553ce.d.ts → encodeFunctionResult-12963e93.d.ts} +1 -1
  22. package/dist/{encodePacked-4c019ed8.d.ts → encodePacked-98b20b4d.d.ts} +1 -1
  23. package/dist/ens.d.ts +4 -5
  24. package/dist/ens.js +3 -3
  25. package/dist/ens.mjs +2 -2
  26. package/dist/{formatAbiItem-622d2303.d.ts → formatAbiItem-8ee3a7fa.d.ts} +1 -1
  27. package/dist/{getAbiItem-159f3263.d.ts → getAbiItem-de103f9b.d.ts} +1 -1
  28. package/dist/index.d.ts +13 -14
  29. package/dist/index.js +88 -88
  30. package/dist/index.mjs +2 -2
  31. package/dist/{parseGwei-a2d0d77a.d.ts → parseGwei-23d1c213.d.ts} +3 -3
  32. package/dist/public.d.ts +5 -6
  33. package/dist/public.js +2 -2
  34. package/dist/public.mjs +1 -1
  35. package/dist/{test-13f4413b.d.ts → test-f964519b.d.ts} +3 -3
  36. package/dist/test.d.ts +5 -6
  37. package/dist/test.js +2 -2
  38. package/dist/test.mjs +1 -1
  39. package/dist/utils/index.d.ts +13 -14
  40. package/dist/utils/index.js +2 -2
  41. package/dist/utils/index.mjs +1 -1
  42. package/dist/wallet.d.ts +4 -5
  43. package/dist/wallet.js +2 -2
  44. package/dist/wallet.mjs +1 -1
  45. package/dist/window.d.ts +2 -3
  46. package/package.json +1 -1
  47. /package/dist/{chunk-APZXOA44.mjs.map → chunk-N5WJ5FTW.mjs.map} +0 -0
  48. /package/dist/{chunk-HCZO3OIX.js.map → chunk-NM6QXEYF.js.map} +0 -0
package/dist/public.js CHANGED
@@ -26,7 +26,7 @@
26
26
 
27
27
 
28
28
 
29
- var _chunkQJNPIGP5js = require('./chunk-QJNPIGP5.js');
29
+ var _chunkPZIHILNKjs = require('./chunk-PZIHILNK.js');
30
30
 
31
31
 
32
32
 
@@ -55,5 +55,5 @@ var _chunkQJNPIGP5js = require('./chunk-QJNPIGP5.js');
55
55
 
56
56
 
57
57
 
58
- exports.call = _chunkQJNPIGP5js.call; exports.createBlockFilter = _chunkQJNPIGP5js.createBlockFilter; exports.createEventFilter = _chunkQJNPIGP5js.createEventFilter; exports.createPendingTransactionFilter = _chunkQJNPIGP5js.createPendingTransactionFilter; exports.estimateGas = _chunkQJNPIGP5js.estimateGas; exports.getBalance = _chunkQJNPIGP5js.getBalance; exports.getBlock = _chunkQJNPIGP5js.getBlock; exports.getBlockNumber = _chunkQJNPIGP5js.getBlockNumber; exports.getBlockNumberCache = _chunkQJNPIGP5js.getBlockNumberCache; exports.getBlockTransactionCount = _chunkQJNPIGP5js.getBlockTransactionCount; exports.getBytecode = _chunkQJNPIGP5js.getBytecode; exports.getChainId = _chunkQJNPIGP5js.getChainId; exports.getFeeHistory = _chunkQJNPIGP5js.getFeeHistory; exports.getFilterChanges = _chunkQJNPIGP5js.getFilterChanges; exports.getFilterLogs = _chunkQJNPIGP5js.getFilterLogs; exports.getGasPrice = _chunkQJNPIGP5js.getGasPrice; exports.getLogs = _chunkQJNPIGP5js.getLogs; exports.getTransaction = _chunkQJNPIGP5js.getTransaction; exports.getTransactionConfirmations = _chunkQJNPIGP5js.getTransactionConfirmations; exports.getTransactionCount = _chunkQJNPIGP5js.getTransactionCount; exports.getTransactionReceipt = _chunkQJNPIGP5js.getTransactionReceipt; exports.uninstallFilter = _chunkQJNPIGP5js.uninstallFilter; exports.waitForTransactionReceipt = _chunkQJNPIGP5js.waitForTransactionReceipt; exports.watchBlockNumber = _chunkQJNPIGP5js.watchBlockNumber; exports.watchBlocks = _chunkQJNPIGP5js.watchBlocks; exports.watchEvent = _chunkQJNPIGP5js.watchEvent; exports.watchPendingTransactions = _chunkQJNPIGP5js.watchPendingTransactions;
58
+ exports.call = _chunkPZIHILNKjs.call; exports.createBlockFilter = _chunkPZIHILNKjs.createBlockFilter; exports.createEventFilter = _chunkPZIHILNKjs.createEventFilter; exports.createPendingTransactionFilter = _chunkPZIHILNKjs.createPendingTransactionFilter; exports.estimateGas = _chunkPZIHILNKjs.estimateGas; exports.getBalance = _chunkPZIHILNKjs.getBalance; exports.getBlock = _chunkPZIHILNKjs.getBlock; exports.getBlockNumber = _chunkPZIHILNKjs.getBlockNumber; exports.getBlockNumberCache = _chunkPZIHILNKjs.getBlockNumberCache; exports.getBlockTransactionCount = _chunkPZIHILNKjs.getBlockTransactionCount; exports.getBytecode = _chunkPZIHILNKjs.getBytecode; exports.getChainId = _chunkPZIHILNKjs.getChainId; exports.getFeeHistory = _chunkPZIHILNKjs.getFeeHistory; exports.getFilterChanges = _chunkPZIHILNKjs.getFilterChanges; exports.getFilterLogs = _chunkPZIHILNKjs.getFilterLogs; exports.getGasPrice = _chunkPZIHILNKjs.getGasPrice; exports.getLogs = _chunkPZIHILNKjs.getLogs; exports.getTransaction = _chunkPZIHILNKjs.getTransaction; exports.getTransactionConfirmations = _chunkPZIHILNKjs.getTransactionConfirmations; exports.getTransactionCount = _chunkPZIHILNKjs.getTransactionCount; exports.getTransactionReceipt = _chunkPZIHILNKjs.getTransactionReceipt; exports.uninstallFilter = _chunkPZIHILNKjs.uninstallFilter; exports.waitForTransactionReceipt = _chunkPZIHILNKjs.waitForTransactionReceipt; exports.watchBlockNumber = _chunkPZIHILNKjs.watchBlockNumber; exports.watchBlocks = _chunkPZIHILNKjs.watchBlocks; exports.watchEvent = _chunkPZIHILNKjs.watchEvent; exports.watchPendingTransactions = _chunkPZIHILNKjs.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-I7AINPMM.mjs";
29
+ } from "./chunk-HDZRBHNX.mjs";
30
30
  export {
31
31
  call,
32
32
  createBlockFilter,
@@ -1,6 +1,6 @@
1
- import { a as Hash, p as RpcTransaction, a3 as Quantity, t as TransactionRequest, H as Hex, C as Chain } from './chain-819c7ff7.js';
2
- import { T as TestRequests } from './eip1193-a882d1b8.js';
3
- import { a as Transport, b as ClientConfig, C as Client } from './createClient-a47ae6f5.js';
1
+ import { a as Hash, p as RpcTransaction, a3 as Quantity, t as TransactionRequest, H as Hex, C as Chain } from './chain-d64be356.js';
2
+ import { T as TestRequests } from './eip1193-029d52f0.js';
3
+ import { a as Transport, b as ClientConfig, C as Client } from './createClient-8575dcd6.js';
4
4
  import { Address } from 'abitype';
5
5
 
6
6
  type DropTransactionParameters = {
package/dist/test.d.ts CHANGED
@@ -1,11 +1,10 @@
1
- import { T as TestClient } from './test-13f4413b.js';
2
- export { D as DropTransactionParameters, I as ImpersonateAccountParameters, z as IncreaseTimeParameters, M as MineParameters, R as ResetParameters, A as RevertParameters, S as SendUnsignedTransactionParameters, B as SendUnsignedTransactionReturnType, C as SetBalanceParameters, E as SetBlockGasLimitParameters, F as SetBlockTimestampIntervalParameters, G as SetCodeParameters, H as SetCoinbaseParameters, J as SetIntervalMiningParameters, K as SetMinGasPriceParameters, L as SetNextBlockBaseFeePerGasParameters, N as SetNextBlockTimestampParameters, O as SetNonceParameters, P as SetStorageAtParameters, Q as StopImpersonatingAccountParameters, d as dropTransaction, g as getAutomine, b as getTxpoolContent, e as getTxpoolStatus, i as impersonateAccount, f as increaseTime, h as inspectTxpool, m as mine, r as reset, j as revert, s as sendUnsignedTransaction, k as setBalance, l as setBlockGasLimit, n as setBlockTimestampInterval, o as setCode, p as setCoinbase, q as setIntervalMining, t as setMinGasPrice, u as setNextBlockBaseFeePerGas, v as setNextBlockTimestamp, w as setNonce, x as setStorageAt, y as stopImpersonatingAccount } from './test-13f4413b.js';
3
- import './chain-819c7ff7.js';
4
- import './eip1193-a882d1b8.js';
1
+ import { T as TestClient } from './test-f964519b.js';
2
+ export { D as DropTransactionParameters, I as ImpersonateAccountParameters, z as IncreaseTimeParameters, M as MineParameters, R as ResetParameters, A as RevertParameters, S as SendUnsignedTransactionParameters, B as SendUnsignedTransactionReturnType, C as SetBalanceParameters, E as SetBlockGasLimitParameters, F as SetBlockTimestampIntervalParameters, G as SetCodeParameters, H as SetCoinbaseParameters, J as SetIntervalMiningParameters, K as SetMinGasPriceParameters, L as SetNextBlockBaseFeePerGasParameters, N as SetNextBlockTimestampParameters, O as SetNonceParameters, P as SetStorageAtParameters, Q as StopImpersonatingAccountParameters, d as dropTransaction, g as getAutomine, b as getTxpoolContent, e as getTxpoolStatus, i as impersonateAccount, f as increaseTime, h as inspectTxpool, m as mine, r as reset, j as revert, s as sendUnsignedTransaction, k as setBalance, l as setBlockGasLimit, n as setBlockTimestampInterval, o as setCode, p as setCoinbase, q as setIntervalMining, t as setMinGasPrice, u as setNextBlockBaseFeePerGas, v as setNextBlockTimestamp, w as setNonce, x as setStorageAt, y as stopImpersonatingAccount } from './test-f964519b.js';
3
+ import './chain-d64be356.js';
4
+ import './eip1193-029d52f0.js';
5
5
  import 'abitype';
6
- import './createClient-a47ae6f5.js';
6
+ import './createClient-8575dcd6.js';
7
7
  import '@wagmi/chains';
8
- import 'ethers@6/types/providers';
9
8
 
10
9
  declare function removeBlockTimestampInterval(client: TestClient): Promise<void>;
11
10
 
package/dist/test.js CHANGED
@@ -27,7 +27,7 @@
27
27
 
28
28
 
29
29
 
30
- var _chunkQJNPIGP5js = require('./chunk-QJNPIGP5.js');
30
+ var _chunkPZIHILNKjs = require('./chunk-PZIHILNK.js');
31
31
 
32
32
 
33
33
 
@@ -57,5 +57,5 @@ var _chunkQJNPIGP5js = require('./chunk-QJNPIGP5.js');
57
57
 
58
58
 
59
59
 
60
- exports.dropTransaction = _chunkQJNPIGP5js.dropTransaction; exports.getAutomine = _chunkQJNPIGP5js.getAutomine; exports.getTxpoolContent = _chunkQJNPIGP5js.getTxpoolContent; exports.getTxpoolStatus = _chunkQJNPIGP5js.getTxpoolStatus; exports.impersonateAccount = _chunkQJNPIGP5js.impersonateAccount; exports.increaseTime = _chunkQJNPIGP5js.increaseTime; exports.inspectTxpool = _chunkQJNPIGP5js.inspectTxpool; exports.mine = _chunkQJNPIGP5js.mine; exports.removeBlockTimestampInterval = _chunkQJNPIGP5js.removeBlockTimestampInterval; exports.reset = _chunkQJNPIGP5js.reset; exports.revert = _chunkQJNPIGP5js.revert; exports.sendUnsignedTransaction = _chunkQJNPIGP5js.sendUnsignedTransaction; exports.setAutomine = _chunkQJNPIGP5js.setAutomine; exports.setBalance = _chunkQJNPIGP5js.setBalance; exports.setBlockGasLimit = _chunkQJNPIGP5js.setBlockGasLimit; exports.setBlockTimestampInterval = _chunkQJNPIGP5js.setBlockTimestampInterval; exports.setCode = _chunkQJNPIGP5js.setCode; exports.setCoinbase = _chunkQJNPIGP5js.setCoinbase; exports.setIntervalMining = _chunkQJNPIGP5js.setIntervalMining; exports.setLoggingEnabled = _chunkQJNPIGP5js.setLoggingEnabled; exports.setMinGasPrice = _chunkQJNPIGP5js.setMinGasPrice; exports.setNextBlockBaseFeePerGas = _chunkQJNPIGP5js.setNextBlockBaseFeePerGas; exports.setNextBlockTimestamp = _chunkQJNPIGP5js.setNextBlockTimestamp; exports.setNonce = _chunkQJNPIGP5js.setNonce; exports.setRpcUrl = _chunkQJNPIGP5js.setRpcUrl; exports.setStorageAt = _chunkQJNPIGP5js.setStorageAt; exports.snapshot = _chunkQJNPIGP5js.snapshot; exports.stopImpersonatingAccount = _chunkQJNPIGP5js.stopImpersonatingAccount;
60
+ exports.dropTransaction = _chunkPZIHILNKjs.dropTransaction; exports.getAutomine = _chunkPZIHILNKjs.getAutomine; exports.getTxpoolContent = _chunkPZIHILNKjs.getTxpoolContent; exports.getTxpoolStatus = _chunkPZIHILNKjs.getTxpoolStatus; exports.impersonateAccount = _chunkPZIHILNKjs.impersonateAccount; exports.increaseTime = _chunkPZIHILNKjs.increaseTime; exports.inspectTxpool = _chunkPZIHILNKjs.inspectTxpool; exports.mine = _chunkPZIHILNKjs.mine; exports.removeBlockTimestampInterval = _chunkPZIHILNKjs.removeBlockTimestampInterval; exports.reset = _chunkPZIHILNKjs.reset; exports.revert = _chunkPZIHILNKjs.revert; exports.sendUnsignedTransaction = _chunkPZIHILNKjs.sendUnsignedTransaction; exports.setAutomine = _chunkPZIHILNKjs.setAutomine; exports.setBalance = _chunkPZIHILNKjs.setBalance; exports.setBlockGasLimit = _chunkPZIHILNKjs.setBlockGasLimit; exports.setBlockTimestampInterval = _chunkPZIHILNKjs.setBlockTimestampInterval; exports.setCode = _chunkPZIHILNKjs.setCode; exports.setCoinbase = _chunkPZIHILNKjs.setCoinbase; exports.setIntervalMining = _chunkPZIHILNKjs.setIntervalMining; exports.setLoggingEnabled = _chunkPZIHILNKjs.setLoggingEnabled; exports.setMinGasPrice = _chunkPZIHILNKjs.setMinGasPrice; exports.setNextBlockBaseFeePerGas = _chunkPZIHILNKjs.setNextBlockBaseFeePerGas; exports.setNextBlockTimestamp = _chunkPZIHILNKjs.setNextBlockTimestamp; exports.setNonce = _chunkPZIHILNKjs.setNonce; exports.setRpcUrl = _chunkPZIHILNKjs.setRpcUrl; exports.setStorageAt = _chunkPZIHILNKjs.setStorageAt; exports.snapshot = _chunkPZIHILNKjs.snapshot; exports.stopImpersonatingAccount = _chunkPZIHILNKjs.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-I7AINPMM.mjs";
30
+ } from "./chunk-HDZRBHNX.mjs";
31
31
  export {
32
32
  dropTransaction,
33
33
  getAutomine,
@@ -1,21 +1,20 @@
1
1
  import { Address } from 'abitype';
2
2
  export { ParseAbi, ParseAbiItem, ParseAbiParameter, ParseAbiParameters, parseAbi, parseAbiItem, parseAbiParameter, parseAbiParameters } from 'abitype';
3
- export { D as DecodeAbiParametersReturnType, E as EncodeAbiParametersReturnType, G as GetAbiItemParameters, d as decodeAbiParameters, e as encodeAbiParameters, g as getAbiItem } from '../getAbiItem-159f3263.js';
4
- 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-9eb553ce.js';
5
- export { e as encodePacked } from '../encodePacked-4c019ed8.js';
6
- export { a as formatAbiItem, f as formatAbiItemWithArgs } from '../formatAbiItem-622d2303.js';
7
- import { B as BaseError, C as CallExecutionError, E as EstimateGasExecutionError, d as ExecutionRevertedError, F as FeeCapTooHighError, e as FeeCapTooLowError, h as NonceTooHighError, i as NonceTooLowError, N as NonceMaxValueError, I as InsufficientFundsError, f as IntrinsicGasTooHighError, g as IntrinsicGasTooLowError, l as TransactionTypeNotSupportedError, T as TipAboveFeeCapError, U as UnknownNodeError, k as TransactionExecutionError } from '../parseGwei-a2d0d77a.js';
8
- export { G as GetContractAddressOptions, o as GetCreate2AddressOptions, p as GetCreateAddressOptions, H as HttpOptions, R as RpcResponse, ap as Socket, q as ToRlpReturnType, r as boolToBytes, s as boolToHex, t as bytesToBigint, u as bytesToBool, v as bytesToHex, w as bytesToNumber, x as bytesToString, y as formatEther, z as formatGwei, A as formatUnits, D as fromBytes, J as fromHex, K as fromRlp, L as getAccount, M as getAddress, O as getContractAddress, P as getContractError, Q as getCreate2Address, S as getCreateAddress, V as getEventSelector, X as getFunctionSelector, aq as getSocket, Y as hexToBigInt, Z as hexToBool, _ as hexToBytes, $ as hexToNumber, a0 as hexToString, a1 as isAddress, a2 as isAddressEqual, a3 as isBytes, a4 as isHex, a5 as keccak256, a6 as numberToBytes, a7 as numberToHex, a8 as pad, a9 as padBytes, aa as padHex, ab as parseEther, ac as parseGwei, ad as parseUnits, ar as rpc, ae as size, af as slice, ag as sliceBytes, ah as sliceHex, ai as stringToBytes, aj as stringToHex, ak as stringify, al as toBytes, am as toHex, an as toRlp, ao as trim } from '../parseGwei-a2d0d77a.js';
9
- export { d as defineChain } from '../chain-a4f98ba3.js';
10
- import { S as Formatter, C as Chain } from '../chain-819c7ff7.js';
11
- export { I as ExtractFormatter, J as Formatted, K as FormattedTransaction, M as TransactionFormatter, ac as defineFormatter, N as defineTransaction, ad as format, O as formatTransaction, P as transactionType } from '../chain-819c7ff7.js';
12
- import { C as CallParameters, E as EstimateGasParameters, S as SendTransactionParameters, W as WalletClient, P as PublicClient } from '../createPublicClient-e2eae0fc.js';
13
- export { B as BlockFormatter, F as FormattedBlock, e as FormattedTransactionReceipt, f as FormattedTransactionRequest, T as TransactionReceiptFormatter, g as TransactionRequestFormatter, h as defineBlock, i as defineTransactionReceipt, j as defineTransactionRequest, k as formatBlock, l as formatTransactionRequest } from '../createPublicClient-e2eae0fc.js';
3
+ export { D as DecodeAbiParametersReturnType, E as EncodeAbiParametersReturnType, G as GetAbiItemParameters, d as decodeAbiParameters, e as encodeAbiParameters, g as getAbiItem } from '../getAbiItem-de103f9b.js';
4
+ 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-12963e93.js';
5
+ export { e as encodePacked } from '../encodePacked-98b20b4d.js';
6
+ export { a as formatAbiItem, f as formatAbiItemWithArgs } from '../formatAbiItem-8ee3a7fa.js';
7
+ import { B as BaseError, C as CallExecutionError, E as EstimateGasExecutionError, d as ExecutionRevertedError, F as FeeCapTooHighError, e as FeeCapTooLowError, h as NonceTooHighError, i as NonceTooLowError, N as NonceMaxValueError, I as InsufficientFundsError, f as IntrinsicGasTooHighError, g as IntrinsicGasTooLowError, l as TransactionTypeNotSupportedError, T as TipAboveFeeCapError, U as UnknownNodeError, k as TransactionExecutionError } from '../parseGwei-23d1c213.js';
8
+ export { G as GetContractAddressOptions, o as GetCreate2AddressOptions, p as GetCreateAddressOptions, H as HttpOptions, R as RpcResponse, ap as Socket, q as ToRlpReturnType, r as boolToBytes, s as boolToHex, t as bytesToBigint, u as bytesToBool, v as bytesToHex, w as bytesToNumber, x as bytesToString, y as formatEther, z as formatGwei, A as formatUnits, D as fromBytes, J as fromHex, K as fromRlp, L as getAccount, M as getAddress, O as getContractAddress, P as getContractError, Q as getCreate2Address, S as getCreateAddress, V as getEventSelector, X as getFunctionSelector, aq as getSocket, Y as hexToBigInt, Z as hexToBool, _ as hexToBytes, $ as hexToNumber, a0 as hexToString, a1 as isAddress, a2 as isAddressEqual, a3 as isBytes, a4 as isHex, a5 as keccak256, a6 as numberToBytes, a7 as numberToHex, a8 as pad, a9 as padBytes, aa as padHex, ab as parseEther, ac as parseGwei, ad as parseUnits, ar as rpc, ae as size, af as slice, ag as sliceBytes, ah as sliceHex, ai as stringToBytes, aj as stringToHex, ak as stringify, al as toBytes, am as toHex, an as toRlp, ao as trim } from '../parseGwei-23d1c213.js';
9
+ export { d as defineChain } from '../chain-688e1663.js';
10
+ import { S as Formatter, C as Chain } from '../chain-d64be356.js';
11
+ export { I as ExtractFormatter, J as Formatted, K as FormattedTransaction, M as TransactionFormatter, ac as defineFormatter, N as defineTransaction, ad as format, O as formatTransaction, P as transactionType } from '../chain-d64be356.js';
12
+ import { C as CallParameters, E as EstimateGasParameters, S as SendTransactionParameters, W as WalletClient, P as PublicClient } from '../createPublicClient-c13b17f9.js';
13
+ export { B as BlockFormatter, F as FormattedBlock, e as FormattedTransactionReceipt, f as FormattedTransactionRequest, T as TransactionReceiptFormatter, g as TransactionRequestFormatter, h as defineBlock, i as defineTransactionReceipt, j as defineTransactionRequest, k as formatBlock, l as formatTransactionRequest } from '../createPublicClient-c13b17f9.js';
14
14
  import 'isomorphic-ws';
15
15
  import '@wagmi/chains';
16
- import 'ethers@6/types/providers';
17
- import '../eip1193-a882d1b8.js';
18
- import '../createClient-a47ae6f5.js';
16
+ import '../eip1193-029d52f0.js';
17
+ import '../createClient-8575dcd6.js';
19
18
 
20
19
  declare function buildRequest<TRequest extends (args: any) => Promise<any>>(request: TRequest, { retryDelay, retryCount, }?: {
21
20
  retryDelay?: number;
@@ -97,7 +97,7 @@
97
97
 
98
98
 
99
99
 
100
- var _chunkQJNPIGP5js = require('../chunk-QJNPIGP5.js');
100
+ var _chunkPZIHILNKjs = require('../chunk-PZIHILNK.js');
101
101
 
102
102
 
103
103
 
@@ -197,5 +197,5 @@ var _chunkQJNPIGP5js = require('../chunk-QJNPIGP5.js');
197
197
 
198
198
 
199
199
 
200
- exports.arrayRegex = _chunkQJNPIGP5js.arrayRegex; exports.assertRequest = _chunkQJNPIGP5js.assertRequest; exports.boolToBytes = _chunkQJNPIGP5js.boolToBytes; exports.boolToHex = _chunkQJNPIGP5js.boolToHex; exports.buildRequest = _chunkQJNPIGP5js.buildRequest; exports.bytesRegex = _chunkQJNPIGP5js.bytesRegex; exports.bytesToBigint = _chunkQJNPIGP5js.bytesToBigint; exports.bytesToBool = _chunkQJNPIGP5js.bytesToBool; exports.bytesToHex = _chunkQJNPIGP5js.bytesToHex; exports.bytesToNumber = _chunkQJNPIGP5js.bytesToNumber; exports.bytesToString = _chunkQJNPIGP5js.bytesToString; exports.containsNodeError = _chunkQJNPIGP5js.containsNodeError; exports.decodeAbiParameters = _chunkQJNPIGP5js.decodeAbiParameters; exports.decodeErrorResult = _chunkQJNPIGP5js.decodeErrorResult; exports.decodeEventLog = _chunkQJNPIGP5js.decodeEventLog; exports.decodeFunctionData = _chunkQJNPIGP5js.decodeFunctionData; exports.decodeFunctionResult = _chunkQJNPIGP5js.decodeFunctionResult; exports.defineBlock = _chunkQJNPIGP5js.defineBlock; exports.defineChain = _chunkQJNPIGP5js.defineChain; exports.defineFormatter = _chunkQJNPIGP5js.defineFormatter; exports.defineTransaction = _chunkQJNPIGP5js.defineTransaction; exports.defineTransactionReceipt = _chunkQJNPIGP5js.defineTransactionReceipt; exports.defineTransactionRequest = _chunkQJNPIGP5js.defineTransactionRequest; exports.encodeAbiParameters = _chunkQJNPIGP5js.encodeAbiParameters; exports.encodeDeployData = _chunkQJNPIGP5js.encodeDeployData; exports.encodeErrorResult = _chunkQJNPIGP5js.encodeErrorResult; exports.encodeEventTopics = _chunkQJNPIGP5js.encodeEventTopics; exports.encodeFunctionData = _chunkQJNPIGP5js.encodeFunctionData; exports.encodeFunctionResult = _chunkQJNPIGP5js.encodeFunctionResult; exports.encodePacked = _chunkQJNPIGP5js.encodePacked; exports.extract = _chunkQJNPIGP5js.extract; exports.extractFunctionName = _chunkQJNPIGP5js.extractFunctionName; exports.extractFunctionParams = _chunkQJNPIGP5js.extractFunctionParams; exports.extractFunctionParts = _chunkQJNPIGP5js.extractFunctionParts; exports.extractFunctionType = _chunkQJNPIGP5js.extractFunctionType; exports.format = _chunkQJNPIGP5js.format; exports.formatAbiItem = _chunkQJNPIGP5js.formatAbiItem; exports.formatAbiItemWithArgs = _chunkQJNPIGP5js.formatAbiItemWithArgs; exports.formatBlock = _chunkQJNPIGP5js.formatBlock; exports.formatEther = _chunkQJNPIGP5js.formatEther; exports.formatGwei = _chunkQJNPIGP5js.formatGwei; exports.formatTransaction = _chunkQJNPIGP5js.formatTransaction; exports.formatTransactionRequest = _chunkQJNPIGP5js.formatTransactionRequest; exports.formatUnits = _chunkQJNPIGP5js.formatUnits; exports.fromBytes = _chunkQJNPIGP5js.fromBytes; exports.fromHex = _chunkQJNPIGP5js.fromHex; exports.fromRlp = _chunkQJNPIGP5js.fromRlp; exports.getAbiItem = _chunkQJNPIGP5js.getAbiItem; exports.getAccount = _chunkQJNPIGP5js.getAccount; exports.getAddress = _chunkQJNPIGP5js.getAddress; exports.getCallError = _chunkQJNPIGP5js.getCallError; exports.getContractAddress = _chunkQJNPIGP5js.getContractAddress; exports.getContractError = _chunkQJNPIGP5js.getContractError; exports.getCreate2Address = _chunkQJNPIGP5js.getCreate2Address; exports.getCreateAddress = _chunkQJNPIGP5js.getCreateAddress; exports.getEstimateGasError = _chunkQJNPIGP5js.getEstimateGasError; exports.getEventSelector = _chunkQJNPIGP5js.getEventSelector; exports.getFunctionSelector = _chunkQJNPIGP5js.getFunctionSelector; exports.getNodeError = _chunkQJNPIGP5js.getNodeError; exports.getSocket = _chunkQJNPIGP5js.getSocket; exports.getTransactionError = _chunkQJNPIGP5js.getTransactionError; exports.hexToBigInt = _chunkQJNPIGP5js.hexToBigInt; exports.hexToBool = _chunkQJNPIGP5js.hexToBool; exports.hexToBytes = _chunkQJNPIGP5js.hexToBytes; exports.hexToNumber = _chunkQJNPIGP5js.hexToNumber; exports.hexToString = _chunkQJNPIGP5js.hexToString; exports.integerRegex = _chunkQJNPIGP5js.integerRegex; exports.isAddress = _chunkQJNPIGP5js.isAddress; exports.isAddressEqual = _chunkQJNPIGP5js.isAddressEqual; exports.isBytes = _chunkQJNPIGP5js.isBytes; exports.isHex = _chunkQJNPIGP5js.isHex; exports.keccak256 = _chunkQJNPIGP5js.keccak256; exports.numberToBytes = _chunkQJNPIGP5js.numberToBytes; exports.numberToHex = _chunkQJNPIGP5js.numberToHex; exports.pad = _chunkQJNPIGP5js.pad; exports.padBytes = _chunkQJNPIGP5js.padBytes; exports.padHex = _chunkQJNPIGP5js.padHex; exports.parseAbi = _chunkQJNPIGP5js.parseAbi; exports.parseAbiItem = _chunkQJNPIGP5js.parseAbiItem; exports.parseAbiParameter = _chunkQJNPIGP5js.parseAbiParameter; exports.parseAbiParameters = _chunkQJNPIGP5js.parseAbiParameters; exports.parseEther = _chunkQJNPIGP5js.parseEther; exports.parseGwei = _chunkQJNPIGP5js.parseGwei; exports.parseUnits = _chunkQJNPIGP5js.parseUnits; exports.prepareRequest = _chunkQJNPIGP5js.prepareRequest; exports.rpc = _chunkQJNPIGP5js.rpc; exports.size = _chunkQJNPIGP5js.size; exports.slice = _chunkQJNPIGP5js.slice; exports.sliceBytes = _chunkQJNPIGP5js.sliceBytes; exports.sliceHex = _chunkQJNPIGP5js.sliceHex; exports.stringToBytes = _chunkQJNPIGP5js.stringToBytes; exports.stringToHex = _chunkQJNPIGP5js.stringToHex; exports.stringify = _chunkQJNPIGP5js.stringify; exports.toBytes = _chunkQJNPIGP5js.toBytes; exports.toHex = _chunkQJNPIGP5js.toHex; exports.toRlp = _chunkQJNPIGP5js.toRlp; exports.transactionType = _chunkQJNPIGP5js.transactionType; exports.trim = _chunkQJNPIGP5js.trim;
200
+ exports.arrayRegex = _chunkPZIHILNKjs.arrayRegex; exports.assertRequest = _chunkPZIHILNKjs.assertRequest; exports.boolToBytes = _chunkPZIHILNKjs.boolToBytes; exports.boolToHex = _chunkPZIHILNKjs.boolToHex; exports.buildRequest = _chunkPZIHILNKjs.buildRequest; exports.bytesRegex = _chunkPZIHILNKjs.bytesRegex; exports.bytesToBigint = _chunkPZIHILNKjs.bytesToBigint; exports.bytesToBool = _chunkPZIHILNKjs.bytesToBool; exports.bytesToHex = _chunkPZIHILNKjs.bytesToHex; exports.bytesToNumber = _chunkPZIHILNKjs.bytesToNumber; exports.bytesToString = _chunkPZIHILNKjs.bytesToString; exports.containsNodeError = _chunkPZIHILNKjs.containsNodeError; exports.decodeAbiParameters = _chunkPZIHILNKjs.decodeAbiParameters; exports.decodeErrorResult = _chunkPZIHILNKjs.decodeErrorResult; exports.decodeEventLog = _chunkPZIHILNKjs.decodeEventLog; exports.decodeFunctionData = _chunkPZIHILNKjs.decodeFunctionData; exports.decodeFunctionResult = _chunkPZIHILNKjs.decodeFunctionResult; exports.defineBlock = _chunkPZIHILNKjs.defineBlock; exports.defineChain = _chunkPZIHILNKjs.defineChain; exports.defineFormatter = _chunkPZIHILNKjs.defineFormatter; exports.defineTransaction = _chunkPZIHILNKjs.defineTransaction; exports.defineTransactionReceipt = _chunkPZIHILNKjs.defineTransactionReceipt; exports.defineTransactionRequest = _chunkPZIHILNKjs.defineTransactionRequest; exports.encodeAbiParameters = _chunkPZIHILNKjs.encodeAbiParameters; exports.encodeDeployData = _chunkPZIHILNKjs.encodeDeployData; exports.encodeErrorResult = _chunkPZIHILNKjs.encodeErrorResult; exports.encodeEventTopics = _chunkPZIHILNKjs.encodeEventTopics; exports.encodeFunctionData = _chunkPZIHILNKjs.encodeFunctionData; exports.encodeFunctionResult = _chunkPZIHILNKjs.encodeFunctionResult; exports.encodePacked = _chunkPZIHILNKjs.encodePacked; exports.extract = _chunkPZIHILNKjs.extract; exports.extractFunctionName = _chunkPZIHILNKjs.extractFunctionName; exports.extractFunctionParams = _chunkPZIHILNKjs.extractFunctionParams; exports.extractFunctionParts = _chunkPZIHILNKjs.extractFunctionParts; exports.extractFunctionType = _chunkPZIHILNKjs.extractFunctionType; exports.format = _chunkPZIHILNKjs.format; exports.formatAbiItem = _chunkPZIHILNKjs.formatAbiItem; exports.formatAbiItemWithArgs = _chunkPZIHILNKjs.formatAbiItemWithArgs; exports.formatBlock = _chunkPZIHILNKjs.formatBlock; exports.formatEther = _chunkPZIHILNKjs.formatEther; exports.formatGwei = _chunkPZIHILNKjs.formatGwei; exports.formatTransaction = _chunkPZIHILNKjs.formatTransaction; exports.formatTransactionRequest = _chunkPZIHILNKjs.formatTransactionRequest; exports.formatUnits = _chunkPZIHILNKjs.formatUnits; exports.fromBytes = _chunkPZIHILNKjs.fromBytes; exports.fromHex = _chunkPZIHILNKjs.fromHex; exports.fromRlp = _chunkPZIHILNKjs.fromRlp; exports.getAbiItem = _chunkPZIHILNKjs.getAbiItem; exports.getAccount = _chunkPZIHILNKjs.getAccount; exports.getAddress = _chunkPZIHILNKjs.getAddress; exports.getCallError = _chunkPZIHILNKjs.getCallError; exports.getContractAddress = _chunkPZIHILNKjs.getContractAddress; exports.getContractError = _chunkPZIHILNKjs.getContractError; exports.getCreate2Address = _chunkPZIHILNKjs.getCreate2Address; exports.getCreateAddress = _chunkPZIHILNKjs.getCreateAddress; exports.getEstimateGasError = _chunkPZIHILNKjs.getEstimateGasError; exports.getEventSelector = _chunkPZIHILNKjs.getEventSelector; exports.getFunctionSelector = _chunkPZIHILNKjs.getFunctionSelector; exports.getNodeError = _chunkPZIHILNKjs.getNodeError; exports.getSocket = _chunkPZIHILNKjs.getSocket; exports.getTransactionError = _chunkPZIHILNKjs.getTransactionError; exports.hexToBigInt = _chunkPZIHILNKjs.hexToBigInt; exports.hexToBool = _chunkPZIHILNKjs.hexToBool; exports.hexToBytes = _chunkPZIHILNKjs.hexToBytes; exports.hexToNumber = _chunkPZIHILNKjs.hexToNumber; exports.hexToString = _chunkPZIHILNKjs.hexToString; exports.integerRegex = _chunkPZIHILNKjs.integerRegex; exports.isAddress = _chunkPZIHILNKjs.isAddress; exports.isAddressEqual = _chunkPZIHILNKjs.isAddressEqual; exports.isBytes = _chunkPZIHILNKjs.isBytes; exports.isHex = _chunkPZIHILNKjs.isHex; exports.keccak256 = _chunkPZIHILNKjs.keccak256; exports.numberToBytes = _chunkPZIHILNKjs.numberToBytes; exports.numberToHex = _chunkPZIHILNKjs.numberToHex; exports.pad = _chunkPZIHILNKjs.pad; exports.padBytes = _chunkPZIHILNKjs.padBytes; exports.padHex = _chunkPZIHILNKjs.padHex; exports.parseAbi = _chunkPZIHILNKjs.parseAbi; exports.parseAbiItem = _chunkPZIHILNKjs.parseAbiItem; exports.parseAbiParameter = _chunkPZIHILNKjs.parseAbiParameter; exports.parseAbiParameters = _chunkPZIHILNKjs.parseAbiParameters; exports.parseEther = _chunkPZIHILNKjs.parseEther; exports.parseGwei = _chunkPZIHILNKjs.parseGwei; exports.parseUnits = _chunkPZIHILNKjs.parseUnits; exports.prepareRequest = _chunkPZIHILNKjs.prepareRequest; exports.rpc = _chunkPZIHILNKjs.rpc; exports.size = _chunkPZIHILNKjs.size; exports.slice = _chunkPZIHILNKjs.slice; exports.sliceBytes = _chunkPZIHILNKjs.sliceBytes; exports.sliceHex = _chunkPZIHILNKjs.sliceHex; exports.stringToBytes = _chunkPZIHILNKjs.stringToBytes; exports.stringToHex = _chunkPZIHILNKjs.stringToHex; exports.stringify = _chunkPZIHILNKjs.stringify; exports.toBytes = _chunkPZIHILNKjs.toBytes; exports.toHex = _chunkPZIHILNKjs.toHex; exports.toRlp = _chunkPZIHILNKjs.toRlp; exports.transactionType = _chunkPZIHILNKjs.transactionType; exports.trim = _chunkPZIHILNKjs.trim;
201
201
  //# sourceMappingURL=index.js.map
@@ -97,7 +97,7 @@ import {
97
97
  toRlp,
98
98
  transactionType,
99
99
  trim
100
- } from "../chunk-I7AINPMM.mjs";
100
+ } from "../chunk-HDZRBHNX.mjs";
101
101
  export {
102
102
  arrayRegex,
103
103
  assertRequest,
package/dist/wallet.d.ts CHANGED
@@ -1,7 +1,6 @@
1
- export { bg as AddChainParameters, bh as FormattedTransactionRequest, bj as GetAddressesReturnType, bi as GetPermissionsReturnType, bk as RequestAddressesReturnType, bl as RequestPermissionsReturnType, S as SendTransactionParameters, bm as SendTransactionReturnType, bn as SignMessageParameters, bo as SignMessageReturnType, bp as SwitchChainParameters, bq as WatchAssetParameters, br as WatchAssetReturnType, b7 as addChain, b8 as getAddresses, b9 as getPermissions, ba as requestAddresses, bb as requestPermissions, bc as sendTransaction, bd as signMessage, be as switchChain, bf as watchAsset } from './createPublicClient-e2eae0fc.js';
2
- import './chain-819c7ff7.js';
3
- import './eip1193-a882d1b8.js';
1
+ export { bg as AddChainParameters, bh as FormattedTransactionRequest, bj as GetAddressesReturnType, bi as GetPermissionsReturnType, bk as RequestAddressesReturnType, bl as RequestPermissionsReturnType, S as SendTransactionParameters, bm as SendTransactionReturnType, bn as SignMessageParameters, bo as SignMessageReturnType, bp as SwitchChainParameters, bq as WatchAssetParameters, br as WatchAssetReturnType, b7 as addChain, b8 as getAddresses, b9 as getPermissions, ba as requestAddresses, bb as requestPermissions, bc as sendTransaction, bd as signMessage, be as switchChain, bf as watchAsset } from './createPublicClient-c13b17f9.js';
2
+ import './chain-d64be356.js';
3
+ import './eip1193-029d52f0.js';
4
4
  import 'abitype';
5
- import './createClient-a47ae6f5.js';
5
+ import './createClient-8575dcd6.js';
6
6
  import '@wagmi/chains';
7
- import 'ethers@6/types/providers';
package/dist/wallet.js CHANGED
@@ -8,7 +8,7 @@
8
8
 
9
9
 
10
10
 
11
- var _chunkQJNPIGP5js = require('./chunk-QJNPIGP5.js');
11
+ var _chunkPZIHILNKjs = require('./chunk-PZIHILNK.js');
12
12
 
13
13
 
14
14
 
@@ -19,5 +19,5 @@ var _chunkQJNPIGP5js = require('./chunk-QJNPIGP5.js');
19
19
 
20
20
 
21
21
 
22
- exports.addChain = _chunkQJNPIGP5js.addChain; exports.getAddresses = _chunkQJNPIGP5js.getAddresses; exports.getPermissions = _chunkQJNPIGP5js.getPermissions; exports.requestAddresses = _chunkQJNPIGP5js.requestAddresses; exports.requestPermissions = _chunkQJNPIGP5js.requestPermissions; exports.sendTransaction = _chunkQJNPIGP5js.sendTransaction; exports.signMessage = _chunkQJNPIGP5js.signMessage; exports.switchChain = _chunkQJNPIGP5js.switchChain; exports.watchAsset = _chunkQJNPIGP5js.watchAsset;
22
+ exports.addChain = _chunkPZIHILNKjs.addChain; exports.getAddresses = _chunkPZIHILNKjs.getAddresses; exports.getPermissions = _chunkPZIHILNKjs.getPermissions; exports.requestAddresses = _chunkPZIHILNKjs.requestAddresses; exports.requestPermissions = _chunkPZIHILNKjs.requestPermissions; exports.sendTransaction = _chunkPZIHILNKjs.sendTransaction; exports.signMessage = _chunkPZIHILNKjs.signMessage; exports.switchChain = _chunkPZIHILNKjs.switchChain; exports.watchAsset = _chunkPZIHILNKjs.watchAsset;
23
23
  //# sourceMappingURL=wallet.js.map
package/dist/wallet.mjs CHANGED
@@ -8,7 +8,7 @@ import {
8
8
  signMessage,
9
9
  switchChain,
10
10
  watchAsset
11
- } from "./chunk-I7AINPMM.mjs";
11
+ } from "./chunk-HDZRBHNX.mjs";
12
12
  export {
13
13
  addChain,
14
14
  getAddresses,
package/dist/window.d.ts CHANGED
@@ -1,8 +1,7 @@
1
- import { R as Requests, E as Events } from './eip1193-a882d1b8.js';
1
+ import { R as Requests, E as Events } from './eip1193-029d52f0.js';
2
2
  import 'abitype';
3
- import './chain-819c7ff7.js';
3
+ import './chain-d64be356.js';
4
4
  import '@wagmi/chains';
5
- import 'ethers@6/types/providers';
6
5
 
7
6
  type WindowProvider = Requests & Events;
8
7
  declare global {
package/package.json CHANGED
@@ -9,7 +9,7 @@
9
9
  "isomorphic-ws": "^5.0.0",
10
10
  "ws": "^8.12.0"
11
11
  },
12
- "version": "0.1.0",
12
+ "version": "0.1.1",
13
13
  "files": [
14
14
  "/abi",
15
15
  "/dist",