viem 0.2.5 → 0.2.6
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/abi.d.ts +3 -3
- package/dist/abi.js +2 -2
- package/dist/abi.mjs +1 -1
- package/dist/accounts/index.d.ts +4 -4
- package/dist/accounts/index.js +17 -17
- package/dist/accounts/index.mjs +2 -2
- package/dist/{chain-5507c6f0.d.ts → chain-892805a2.d.ts} +1 -1
- package/dist/{chain-fe47467d.d.ts → chain-d06e2a80.d.ts} +1 -1
- package/dist/chains.d.ts +3 -3
- package/dist/chains.js +89 -89
- package/dist/chains.mjs +1 -1
- package/dist/{chunk-2QM6UMZ2.mjs → chunk-AWZ7ROLD.mjs} +6 -7
- package/dist/chunk-AWZ7ROLD.mjs.map +1 -0
- package/dist/{chunk-QWBI757J.js → chunk-GEN2W3H2.js} +6 -7
- package/dist/chunk-GEN2W3H2.js.map +1 -0
- package/dist/{chunk-7MFQVE5P.js → chunk-IPKAMASI.js} +6 -6
- package/dist/{chunk-LLPICH7U.mjs → chunk-UOOOQDP7.mjs} +2 -2
- package/dist/contract.d.ts +9 -8
- package/dist/contract.js +2 -2
- package/dist/contract.mjs +1 -1
- package/dist/{createTransport-21a0d2b3.d.ts → createTransport-9692876d.d.ts} +2 -2
- package/dist/{eip1193-2f3a9cd2.d.ts → eip1193-16c1b134.d.ts} +1 -1
- package/dist/{encodeFunctionResult-c5185b98.d.ts → encodeFunctionResult-5b30ddf1.d.ts} +12 -8
- package/dist/{encodePacked-98f67d09.d.ts → encodePacked-0ac1e458.d.ts} +1 -1
- package/dist/ens.d.ts +5 -5
- package/dist/ens.js +2 -2
- package/dist/ens.mjs +1 -1
- package/dist/ethers.d.ts +2 -2
- package/dist/ethers.js +4 -4
- package/dist/ethers.mjs +2 -2
- package/dist/{formatAbiItem-56dff508.d.ts → formatAbiItem-c722de85.d.ts} +1 -1
- package/dist/{getAbiItem-bfba73d1.d.ts → getAbiItem-6223ab36.d.ts} +1 -1
- package/dist/{getEnsResolver-ce85735b.d.ts → getEnsResolver-af3ad3a8.d.ts} +4 -4
- package/dist/index.d.ts +17 -16
- package/dist/index.js +95 -95
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/index.mjs.map +1 -1
- package/dist/{parseGwei-280a3ff7.d.ts → parseGwei-3bead650.d.ts} +5 -5
- package/dist/public.d.ts +5 -5
- package/dist/public.js +2 -2
- package/dist/public.mjs +1 -1
- package/dist/{publicKeyToAddress-623eb398.d.ts → publicKeyToAddress-2e49b7cb.d.ts} +2 -2
- package/dist/{test-b67569fe.d.ts → test-1cc18fdd.d.ts} +3 -3
- package/dist/test.d.ts +5 -5
- package/dist/test.js +2 -2
- package/dist/test.mjs +1 -1
- package/dist/{typedData-46b4d81f.d.ts → typedData-969116ac.d.ts} +2 -2
- package/dist/utils/index.d.ts +16 -15
- package/dist/utils/index.js +2 -2
- package/dist/utils/index.mjs +1 -1
- package/dist/wallet.d.ts +5 -5
- package/dist/wallet.js +2 -2
- package/dist/wallet.mjs +1 -1
- package/dist/window.d.ts +2 -2
- package/package.json +1 -1
- package/dist/chunk-2QM6UMZ2.mjs.map +0 -1
- package/dist/chunk-QWBI757J.js.map +0 -1
- /package/dist/{chunk-7MFQVE5P.js.map → chunk-IPKAMASI.js.map} +0 -0
- /package/dist/{chunk-LLPICH7U.mjs.map → chunk-UOOOQDP7.mjs.map} +0 -0
@@ -1,10 +1,10 @@
|
|
1
1
|
import { Address, Abi, TypedData } from 'abitype';
|
2
|
-
import { B as ByteArray, H as Hex, C as Chain, a as Hash, i as BlockTag, ao as EventDefinition,
|
3
|
-
import { A as Account, T as TypedDataDefinition } from './typedData-
|
4
|
-
import { i as CallParameters, p as EstimateGasParameters, ao as SendTransactionParameters, W as WalletClient, P as PublicClient, b3 as GetAccountParameter } from './getEnsResolver-
|
5
|
-
import { a as DecodeErrorResultReturnType } from './encodeFunctionResult-
|
2
|
+
import { B as ByteArray, H as Hex, C as Chain, a as Hash, i as BlockTag, ao as EventDefinition, a5 as TransactionSerialized, a6 as TransactionSerializedEIP1559, a7 as TransactionSerializedEIP2930, a0 as TransactionSerializable, e as AccessList, a9 as TransactionType, a2 as TransactionSerializableEIP1559, a3 as TransactionSerializableEIP2930, a4 as TransactionSerializableLegacy, ap as Signature } from './chain-892805a2.js';
|
3
|
+
import { A as Account, T as TypedDataDefinition } from './typedData-969116ac.js';
|
4
|
+
import { i as CallParameters, p as EstimateGasParameters, ao as SendTransactionParameters, W as WalletClient, P as PublicClient, b3 as GetAccountParameter } from './getEnsResolver-af3ad3a8.js';
|
5
|
+
import { a as DecodeErrorResultReturnType } from './encodeFunctionResult-5b30ddf1.js';
|
6
6
|
import WebSocket from 'isomorphic-ws';
|
7
|
-
import { a as Transport } from './createTransport-
|
7
|
+
import { a as Transport } from './createTransport-9692876d.js';
|
8
8
|
|
9
9
|
declare function getAddress(address: string): Address;
|
10
10
|
|
package/dist/public.d.ts
CHANGED
@@ -1,8 +1,8 @@
|
|
1
|
-
export { i as CallParameters, j as CallReturnType, k as CreateBlockFilterReturnType, l as CreateEventFilterParameters, m as CreateEventFilterReturnType, n as CreatePendingTransactionFilterReturnType, p as EstimateGasParameters, q as EstimateGasReturnType, r as GetBalanceParameters, s as GetBalanceReturnType, t as GetBlockNumberParameters, u as GetBlockNumberReturnType, v as GetBlockParameters, w as GetBlockReturnType, x as GetBlockTransactionCountParameters, y as GetBlockTransactionCountReturnType, z as GetBytecodeParameters, B as GetBytecodeReturnType, N as GetFeeHistoryParameters, O as GetFeeHistoryReturnType, Q as GetFilterChangesParameters, T as GetFilterChangesReturnType, U as GetFilterLogsParameters, V as GetFilterLogsReturnType, X as GetGasPriceReturnType, a1 as GetTransactionConfirmationsParameters, a3 as GetTransactionConfirmationsReturnType, a2 as GetTransactionCountParameters, a4 as GetTransactionCountReturnType, a5 as GetTransactionParameters, a6 as GetTransactionReceiptParameters, a7 as GetTransactionReceiptReturnType, a8 as GetTransactionReturnType, ab as OnBlock, ac as OnBlockNumberFn, ad as OnBlockNumberParameter, ae as OnBlockParameter, af as OnLogsFn, ag as OnLogsParameter, ah as OnTransactionsFn, ai as OnTransactionsParameter, aj as ReplacementReason, ak as ReplacementReturnType, av as UninstallFilterParameters, aw as UninstallFilterReturnType, ax as WaitForTransactionReceiptParameters, ay as WaitForTransactionReceiptReturnType, aB as WatchBlockNumberParameters, aD as WatchBlocksParameters, aH as WatchPendingTransactionsParameters, bn as call, bo as createBlockFilter, bp as createEventFilter, bq as createPendingTransactionFilter, br as estimateGas, bs as getBalance, bt as getBlock, bu as getBlockNumber, bv as getBlockNumberCache, bw as getBlockTransactionCount, b6 as getBytecode, bx as getChainId, by as getFeeHistory, bz as getFilterChanges, bA as getFilterLogs, bC as getGasPrice, bB as getLogs, bD as getTransaction, bE as getTransactionConfirmations, bF as getTransactionCount, bG as getTransactionReceipt, bH as uninstallFilter, bI as waitForTransactionReceipt, bJ as watchBlockNumber, bK as watchBlocks, bL as watchEvent, bM as watchPendingTransactions } from './getEnsResolver-
|
2
|
-
import './createTransport-
|
3
|
-
import './eip1193-
|
1
|
+
export { i as CallParameters, j as CallReturnType, k as CreateBlockFilterReturnType, l as CreateEventFilterParameters, m as CreateEventFilterReturnType, n as CreatePendingTransactionFilterReturnType, p as EstimateGasParameters, q as EstimateGasReturnType, r as GetBalanceParameters, s as GetBalanceReturnType, t as GetBlockNumberParameters, u as GetBlockNumberReturnType, v as GetBlockParameters, w as GetBlockReturnType, x as GetBlockTransactionCountParameters, y as GetBlockTransactionCountReturnType, z as GetBytecodeParameters, B as GetBytecodeReturnType, N as GetFeeHistoryParameters, O as GetFeeHistoryReturnType, Q as GetFilterChangesParameters, T as GetFilterChangesReturnType, U as GetFilterLogsParameters, V as GetFilterLogsReturnType, X as GetGasPriceReturnType, a1 as GetTransactionConfirmationsParameters, a3 as GetTransactionConfirmationsReturnType, a2 as GetTransactionCountParameters, a4 as GetTransactionCountReturnType, a5 as GetTransactionParameters, a6 as GetTransactionReceiptParameters, a7 as GetTransactionReceiptReturnType, a8 as GetTransactionReturnType, ab as OnBlock, ac as OnBlockNumberFn, ad as OnBlockNumberParameter, ae as OnBlockParameter, af as OnLogsFn, ag as OnLogsParameter, ah as OnTransactionsFn, ai as OnTransactionsParameter, aj as ReplacementReason, ak as ReplacementReturnType, av as UninstallFilterParameters, aw as UninstallFilterReturnType, ax as WaitForTransactionReceiptParameters, ay as WaitForTransactionReceiptReturnType, aB as WatchBlockNumberParameters, aD as WatchBlocksParameters, aH as WatchPendingTransactionsParameters, bn as call, bo as createBlockFilter, bp as createEventFilter, bq as createPendingTransactionFilter, br as estimateGas, bs as getBalance, bt as getBlock, bu as getBlockNumber, bv as getBlockNumberCache, bw as getBlockTransactionCount, b6 as getBytecode, bx as getChainId, by as getFeeHistory, bz as getFilterChanges, bA as getFilterLogs, bC as getGasPrice, bB as getLogs, bD as getTransaction, bE as getTransactionConfirmations, bF as getTransactionCount, bG as getTransactionReceipt, bH as uninstallFilter, bI as waitForTransactionReceipt, bJ as watchBlockNumber, bK as watchBlocks, bL as watchEvent, bM as watchPendingTransactions } from './getEnsResolver-af3ad3a8.js';
|
2
|
+
import './createTransport-9692876d.js';
|
3
|
+
import './eip1193-16c1b134.js';
|
4
4
|
import 'abitype';
|
5
|
-
import './chain-
|
5
|
+
import './chain-892805a2.js';
|
6
6
|
import '@wagmi/chains';
|
7
|
-
import './typedData-
|
7
|
+
import './typedData-969116ac.js';
|
8
8
|
import '@scure/bip32';
|
package/dist/public.js
CHANGED
@@ -26,7 +26,7 @@
|
|
26
26
|
|
27
27
|
|
28
28
|
|
29
|
-
var
|
29
|
+
var _chunkGEN2W3H2js = require('./chunk-GEN2W3H2.js');
|
30
30
|
|
31
31
|
|
32
32
|
|
@@ -55,5 +55,5 @@ var _chunkQWBI757Jjs = require('./chunk-QWBI757J.js');
|
|
55
55
|
|
56
56
|
|
57
57
|
|
58
|
-
exports.call =
|
58
|
+
exports.call = _chunkGEN2W3H2js.call; exports.createBlockFilter = _chunkGEN2W3H2js.createBlockFilter; exports.createEventFilter = _chunkGEN2W3H2js.createEventFilter; exports.createPendingTransactionFilter = _chunkGEN2W3H2js.createPendingTransactionFilter; exports.estimateGas = _chunkGEN2W3H2js.estimateGas; exports.getBalance = _chunkGEN2W3H2js.getBalance; exports.getBlock = _chunkGEN2W3H2js.getBlock; exports.getBlockNumber = _chunkGEN2W3H2js.getBlockNumber; exports.getBlockNumberCache = _chunkGEN2W3H2js.getBlockNumberCache; exports.getBlockTransactionCount = _chunkGEN2W3H2js.getBlockTransactionCount; exports.getBytecode = _chunkGEN2W3H2js.getBytecode; exports.getChainId = _chunkGEN2W3H2js.getChainId; exports.getFeeHistory = _chunkGEN2W3H2js.getFeeHistory; exports.getFilterChanges = _chunkGEN2W3H2js.getFilterChanges; exports.getFilterLogs = _chunkGEN2W3H2js.getFilterLogs; exports.getGasPrice = _chunkGEN2W3H2js.getGasPrice; exports.getLogs = _chunkGEN2W3H2js.getLogs; exports.getTransaction = _chunkGEN2W3H2js.getTransaction; exports.getTransactionConfirmations = _chunkGEN2W3H2js.getTransactionConfirmations; exports.getTransactionCount = _chunkGEN2W3H2js.getTransactionCount; exports.getTransactionReceipt = _chunkGEN2W3H2js.getTransactionReceipt; exports.uninstallFilter = _chunkGEN2W3H2js.uninstallFilter; exports.waitForTransactionReceipt = _chunkGEN2W3H2js.waitForTransactionReceipt; exports.watchBlockNumber = _chunkGEN2W3H2js.watchBlockNumber; exports.watchBlocks = _chunkGEN2W3H2js.watchBlocks; exports.watchEvent = _chunkGEN2W3H2js.watchEvent; exports.watchPendingTransactions = _chunkGEN2W3H2js.watchPendingTransactions;
|
59
59
|
//# sourceMappingURL=public.js.map
|
package/dist/public.mjs
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
import { Address } from 'abitype';
|
2
|
-
import { A as Account } from './typedData-
|
3
|
-
import { H as Hex } from './chain-
|
2
|
+
import { A as Account } from './typedData-969116ac.js';
|
3
|
+
import { H as Hex } from './chain-892805a2.js';
|
4
4
|
|
5
5
|
declare function parseAccount(account: Address | Account): Account;
|
6
6
|
|
@@ -1,6 +1,6 @@
|
|
1
|
-
import { a as Transport, b as ClientConfig, C as Client } from './createTransport-
|
2
|
-
import { a as Hash, C as Chain,
|
3
|
-
import { T as TestRequests } from './eip1193-
|
1
|
+
import { a as Transport, b as ClientConfig, C as Client } from './createTransport-9692876d.js';
|
2
|
+
import { a as Hash, C as Chain, J as RpcTransaction, an as Quantity, X as TransactionRequest, H as Hex } from './chain-892805a2.js';
|
3
|
+
import { T as TestRequests } from './eip1193-16c1b134.js';
|
4
4
|
import { Address } from 'abitype';
|
5
5
|
import { Chain as Chain$1 } from '@wagmi/chains';
|
6
6
|
|
package/dist/test.d.ts
CHANGED
@@ -1,9 +1,9 @@
|
|
1
|
-
import { T as TestClient, r as TestClientMode } from './test-
|
2
|
-
export { D as DropTransactionParameters, I as ImpersonateAccountParameters, a as IncreaseTimeParameters, M as MineParameters, R as ResetParameters, b as RevertParameters, S as SendUnsignedTransactionParameters, c as SendUnsignedTransactionReturnType, d as SetBalanceParameters, e as SetBlockGasLimitParameters, f as SetBlockTimestampIntervalParameters, g as SetCodeParameters, h as SetCoinbaseParameters, i as SetIntervalMiningParameters, j as SetMinGasPriceParameters, k as SetNextBlockBaseFeePerGasParameters, l as SetNextBlockTimestampParameters, m as SetNonceParameters, n as SetStorageAtParameters, o as StopImpersonatingAccountParameters, s as dropTransaction, t as getAutomine, u as getTxpoolContent, v as getTxpoolStatus, w as impersonateAccount, x as increaseTime, y as inspectTxpool, z as mine, A as reset, B as revert, C as sendUnsignedTransaction, E as setBalance, F as setBlockGasLimit, G as setBlockTimestampInterval, H as setCode, J as setCoinbase, K as setIntervalMining, L as setMinGasPrice, N as setNextBlockBaseFeePerGas, O as setNextBlockTimestamp, P as setNonce, Q as setStorageAt, U as stopImpersonatingAccount } from './test-
|
1
|
+
import { T as TestClient, r as TestClientMode } from './test-1cc18fdd.js';
|
2
|
+
export { D as DropTransactionParameters, I as ImpersonateAccountParameters, a as IncreaseTimeParameters, M as MineParameters, R as ResetParameters, b as RevertParameters, S as SendUnsignedTransactionParameters, c as SendUnsignedTransactionReturnType, d as SetBalanceParameters, e as SetBlockGasLimitParameters, f as SetBlockTimestampIntervalParameters, g as SetCodeParameters, h as SetCoinbaseParameters, i as SetIntervalMiningParameters, j as SetMinGasPriceParameters, k as SetNextBlockBaseFeePerGasParameters, l as SetNextBlockTimestampParameters, m as SetNonceParameters, n as SetStorageAtParameters, o as StopImpersonatingAccountParameters, s as dropTransaction, t as getAutomine, u as getTxpoolContent, v as getTxpoolStatus, w as impersonateAccount, x as increaseTime, y as inspectTxpool, z as mine, A as reset, B as revert, C as sendUnsignedTransaction, E as setBalance, F as setBlockGasLimit, G as setBlockTimestampInterval, H as setCode, J as setCoinbase, K as setIntervalMining, L as setMinGasPrice, N as setNextBlockBaseFeePerGas, O as setNextBlockTimestamp, P as setNonce, Q as setStorageAt, U as stopImpersonatingAccount } from './test-1cc18fdd.js';
|
3
3
|
import { Chain } from '@wagmi/chains';
|
4
|
-
import { a as Transport } from './createTransport-
|
5
|
-
import { C as Chain$1 } from './chain-
|
6
|
-
import './eip1193-
|
4
|
+
import { a as Transport } from './createTransport-9692876d.js';
|
5
|
+
import { C as Chain$1 } from './chain-892805a2.js';
|
6
|
+
import './eip1193-16c1b134.js';
|
7
7
|
import 'abitype';
|
8
8
|
|
9
9
|
declare function removeBlockTimestampInterval<TChain extends Chain | undefined>(client: TestClient<TestClientMode, Transport, TChain>): Promise<void>;
|
package/dist/test.js
CHANGED
@@ -27,7 +27,7 @@
|
|
27
27
|
|
28
28
|
|
29
29
|
|
30
|
-
var
|
30
|
+
var _chunkGEN2W3H2js = require('./chunk-GEN2W3H2.js');
|
31
31
|
|
32
32
|
|
33
33
|
|
@@ -57,5 +57,5 @@ var _chunkQWBI757Jjs = require('./chunk-QWBI757J.js');
|
|
57
57
|
|
58
58
|
|
59
59
|
|
60
|
-
exports.dropTransaction =
|
60
|
+
exports.dropTransaction = _chunkGEN2W3H2js.dropTransaction; exports.getAutomine = _chunkGEN2W3H2js.getAutomine; exports.getTxpoolContent = _chunkGEN2W3H2js.getTxpoolContent; exports.getTxpoolStatus = _chunkGEN2W3H2js.getTxpoolStatus; exports.impersonateAccount = _chunkGEN2W3H2js.impersonateAccount; exports.increaseTime = _chunkGEN2W3H2js.increaseTime; exports.inspectTxpool = _chunkGEN2W3H2js.inspectTxpool; exports.mine = _chunkGEN2W3H2js.mine; exports.removeBlockTimestampInterval = _chunkGEN2W3H2js.removeBlockTimestampInterval; exports.reset = _chunkGEN2W3H2js.reset; exports.revert = _chunkGEN2W3H2js.revert; exports.sendUnsignedTransaction = _chunkGEN2W3H2js.sendUnsignedTransaction; exports.setAutomine = _chunkGEN2W3H2js.setAutomine; exports.setBalance = _chunkGEN2W3H2js.setBalance; exports.setBlockGasLimit = _chunkGEN2W3H2js.setBlockGasLimit; exports.setBlockTimestampInterval = _chunkGEN2W3H2js.setBlockTimestampInterval; exports.setCode = _chunkGEN2W3H2js.setCode; exports.setCoinbase = _chunkGEN2W3H2js.setCoinbase; exports.setIntervalMining = _chunkGEN2W3H2js.setIntervalMining; exports.setLoggingEnabled = _chunkGEN2W3H2js.setLoggingEnabled; exports.setMinGasPrice = _chunkGEN2W3H2js.setMinGasPrice; exports.setNextBlockBaseFeePerGas = _chunkGEN2W3H2js.setNextBlockBaseFeePerGas; exports.setNextBlockTimestamp = _chunkGEN2W3H2js.setNextBlockTimestamp; exports.setNonce = _chunkGEN2W3H2js.setNonce; exports.setRpcUrl = _chunkGEN2W3H2js.setRpcUrl; exports.setStorageAt = _chunkGEN2W3H2js.setStorageAt; exports.snapshot = _chunkGEN2W3H2js.snapshot; exports.stopImpersonatingAccount = _chunkGEN2W3H2js.stopImpersonatingAccount;
|
61
61
|
//# sourceMappingURL=test.js.map
|
package/dist/test.mjs
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
import { HDKey } from '@scure/bip32';
|
2
2
|
import { Address, TypedData, TypedDataToPrimitiveTypes, TypedDataDomain, Narrow } from 'abitype';
|
3
|
-
import { a as Hash,
|
3
|
+
import { a as Hash, a0 as TransactionSerializable, H as Hex } from './chain-892805a2.js';
|
4
4
|
|
5
5
|
type Account<TAddress extends Address = Address> = JsonRpcAccount<TAddress> | LocalAccount<string, TAddress>;
|
6
6
|
type AccountSource = Address | CustomSource;
|
@@ -90,4 +90,4 @@ type GetTypedDataTypes<TTypedData extends TypedData | {
|
|
90
90
|
types: Narrow<TTypedData>;
|
91
91
|
};
|
92
92
|
|
93
|
-
export { Account as A, CustomSource as C, HDAccount as H, JsonRpcAccount as J, LocalAccount as L, PrivateKeyAccount as P, TypedDataDefinition as T, AccountSource as a,
|
93
|
+
export { Account as A, CustomSource as C, GetTypedDataDomain as G, HDAccount as H, JsonRpcAccount as J, LocalAccount as L, PrivateKeyAccount as P, TypedDataDefinition as T, AccountSource as a, GetTypedDataMessage as b, GetTypedDataPrimaryType as c, GetTypedDataTypes as d, HDOptions as e };
|
package/dist/utils/index.d.ts
CHANGED
@@ -1,20 +1,21 @@
|
|
1
1
|
export { ParseAbi, ParseAbiItem, ParseAbiParameter, ParseAbiParameters, parseAbi, parseAbiItem, parseAbiParameter, parseAbiParameters } from 'abitype';
|
2
|
-
export { D as DecodeAbiParametersReturnType, E as EncodeAbiParametersReturnType, G as GetAbiItemParameters, d as decodeAbiParameters, e as encodeAbiParameters, g as getAbiItem } from '../getAbiItem-
|
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-
|
4
|
-
export { e as encodePacked } from '../encodePacked-
|
5
|
-
export { a as formatAbiItem, f as formatAbiItemWithArgs } from '../formatAbiItem-
|
6
|
-
export { p as parseAccount, a as publicKeyToAddress } from '../publicKeyToAddress-
|
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-
|
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-
|
9
|
-
export { d as defineChain, g as getChainContractAddress } from '../chain-
|
10
|
-
import { i as CallParameters, p as EstimateGasParameters, ao as SendTransactionParameters } from '../getEnsResolver-
|
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-
|
12
|
-
import {
|
13
|
-
export {
|
14
|
-
import { A as Account } from '../typedData-
|
2
|
+
export { D as DecodeAbiParametersReturnType, E as EncodeAbiParametersReturnType, G as GetAbiItemParameters, d as decodeAbiParameters, e as encodeAbiParameters, g as getAbiItem } from '../getAbiItem-6223ab36.js';
|
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-5b30ddf1.js';
|
4
|
+
export { e as encodePacked } from '../encodePacked-0ac1e458.js';
|
5
|
+
export { a as formatAbiItem, f as formatAbiItemWithArgs } from '../formatAbiItem-c722de85.js';
|
6
|
+
export { p as parseAccount, a as publicKeyToAddress } from '../publicKeyToAddress-2e49b7cb.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-3bead650.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-3bead650.js';
|
9
|
+
export { d as defineChain, g as getChainContractAddress } from '../chain-d06e2a80.js';
|
10
|
+
import { i as CallParameters, p as EstimateGasParameters, ao as SendTransactionParameters } from '../getEnsResolver-af3ad3a8.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-af3ad3a8.js';
|
12
|
+
import { aj as Formatter, C as Chain } from '../chain-892805a2.js';
|
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-892805a2.js';
|
14
|
+
import { A as Account } from '../typedData-969116ac.js';
|
15
|
+
import 'abitype/dist/abi-7aa1f183';
|
15
16
|
import 'isomorphic-ws';
|
16
|
-
import '../createTransport-
|
17
|
-
import '../eip1193-
|
17
|
+
import '../createTransport-9692876d.js';
|
18
|
+
import '../eip1193-16c1b134.js';
|
18
19
|
import '@wagmi/chains';
|
19
20
|
import '@scure/bip32';
|
20
21
|
|
package/dist/utils/index.js
CHANGED
@@ -118,7 +118,7 @@
|
|
118
118
|
|
119
119
|
|
120
120
|
|
121
|
-
var
|
121
|
+
var _chunkGEN2W3H2js = require('../chunk-GEN2W3H2.js');
|
122
122
|
|
123
123
|
|
124
124
|
|
@@ -239,5 +239,5 @@ var _chunkQWBI757Jjs = require('../chunk-QWBI757J.js');
|
|
239
239
|
|
240
240
|
|
241
241
|
|
242
|
-
exports.arrayRegex =
|
242
|
+
exports.arrayRegex = _chunkGEN2W3H2js.arrayRegex; exports.assertRequest = _chunkGEN2W3H2js.assertRequest; exports.assertTransactionEIP1559 = _chunkGEN2W3H2js.assertTransactionEIP1559; exports.assertTransactionEIP2930 = _chunkGEN2W3H2js.assertTransactionEIP2930; exports.assertTransactionLegacy = _chunkGEN2W3H2js.assertTransactionLegacy; exports.boolToBytes = _chunkGEN2W3H2js.boolToBytes; exports.boolToHex = _chunkGEN2W3H2js.boolToHex; exports.buildRequest = _chunkGEN2W3H2js.buildRequest; exports.bytesRegex = _chunkGEN2W3H2js.bytesRegex; exports.bytesToBigint = _chunkGEN2W3H2js.bytesToBigint; exports.bytesToBool = _chunkGEN2W3H2js.bytesToBool; exports.bytesToHex = _chunkGEN2W3H2js.bytesToHex; exports.bytesToNumber = _chunkGEN2W3H2js.bytesToNumber; exports.bytesToString = _chunkGEN2W3H2js.bytesToString; exports.concat = _chunkGEN2W3H2js.concat; exports.concatBytes = _chunkGEN2W3H2js.concatBytes; exports.concatHex = _chunkGEN2W3H2js.concatHex; exports.containsNodeError = _chunkGEN2W3H2js.containsNodeError; exports.decodeAbiParameters = _chunkGEN2W3H2js.decodeAbiParameters; exports.decodeErrorResult = _chunkGEN2W3H2js.decodeErrorResult; exports.decodeEventLog = _chunkGEN2W3H2js.decodeEventLog; exports.decodeFunctionData = _chunkGEN2W3H2js.decodeFunctionData; exports.decodeFunctionResult = _chunkGEN2W3H2js.decodeFunctionResult; exports.defineBlock = _chunkGEN2W3H2js.defineBlock; exports.defineChain = _chunkGEN2W3H2js.defineChain; exports.defineFormatter = _chunkGEN2W3H2js.defineFormatter; exports.defineTransaction = _chunkGEN2W3H2js.defineTransaction; exports.defineTransactionReceipt = _chunkGEN2W3H2js.defineTransactionReceipt; exports.defineTransactionRequest = _chunkGEN2W3H2js.defineTransactionRequest; exports.encodeAbiParameters = _chunkGEN2W3H2js.encodeAbiParameters; exports.encodeDeployData = _chunkGEN2W3H2js.encodeDeployData; exports.encodeErrorResult = _chunkGEN2W3H2js.encodeErrorResult; exports.encodeEventTopics = _chunkGEN2W3H2js.encodeEventTopics; exports.encodeFunctionData = _chunkGEN2W3H2js.encodeFunctionData; exports.encodeFunctionResult = _chunkGEN2W3H2js.encodeFunctionResult; exports.encodePacked = _chunkGEN2W3H2js.encodePacked; exports.extract = _chunkGEN2W3H2js.extract; exports.extractFunctionName = _chunkGEN2W3H2js.extractFunctionName; exports.extractFunctionParams = _chunkGEN2W3H2js.extractFunctionParams; exports.extractFunctionParts = _chunkGEN2W3H2js.extractFunctionParts; exports.extractFunctionType = _chunkGEN2W3H2js.extractFunctionType; exports.format = _chunkGEN2W3H2js.format; exports.formatAbiItem = _chunkGEN2W3H2js.formatAbiItem; exports.formatAbiItemWithArgs = _chunkGEN2W3H2js.formatAbiItemWithArgs; exports.formatBlock = _chunkGEN2W3H2js.formatBlock; exports.formatEther = _chunkGEN2W3H2js.formatEther; exports.formatGwei = _chunkGEN2W3H2js.formatGwei; exports.formatTransaction = _chunkGEN2W3H2js.formatTransaction; exports.formatTransactionRequest = _chunkGEN2W3H2js.formatTransactionRequest; exports.formatUnits = _chunkGEN2W3H2js.formatUnits; exports.fromBytes = _chunkGEN2W3H2js.fromBytes; exports.fromHex = _chunkGEN2W3H2js.fromHex; exports.fromRlp = _chunkGEN2W3H2js.fromRlp; exports.getAbiItem = _chunkGEN2W3H2js.getAbiItem; exports.getAddress = _chunkGEN2W3H2js.getAddress; exports.getCallError = _chunkGEN2W3H2js.getCallError; exports.getChainContractAddress = _chunkGEN2W3H2js.getChainContractAddress; exports.getContractAddress = _chunkGEN2W3H2js.getContractAddress; exports.getContractError = _chunkGEN2W3H2js.getContractError; exports.getCreate2Address = _chunkGEN2W3H2js.getCreate2Address; exports.getCreateAddress = _chunkGEN2W3H2js.getCreateAddress; exports.getEstimateGasError = _chunkGEN2W3H2js.getEstimateGasError; exports.getEventSelector = _chunkGEN2W3H2js.getEventSelector; exports.getFunctionSelector = _chunkGEN2W3H2js.getFunctionSelector; exports.getNodeError = _chunkGEN2W3H2js.getNodeError; exports.getSerializedTransactionType = _chunkGEN2W3H2js.getSerializedTransactionType; exports.getSocket = _chunkGEN2W3H2js.getSocket; exports.getTransactionError = _chunkGEN2W3H2js.getTransactionError; exports.getTransactionType = _chunkGEN2W3H2js.getTransactionType; exports.hashMessage = _chunkGEN2W3H2js.hashMessage; exports.hashTypedData = _chunkGEN2W3H2js.hashTypedData; exports.hexToBigInt = _chunkGEN2W3H2js.hexToBigInt; exports.hexToBool = _chunkGEN2W3H2js.hexToBool; exports.hexToBytes = _chunkGEN2W3H2js.hexToBytes; exports.hexToNumber = _chunkGEN2W3H2js.hexToNumber; exports.hexToString = _chunkGEN2W3H2js.hexToString; exports.integerRegex = _chunkGEN2W3H2js.integerRegex; exports.isAddress = _chunkGEN2W3H2js.isAddress; exports.isAddressEqual = _chunkGEN2W3H2js.isAddressEqual; exports.isBytes = _chunkGEN2W3H2js.isBytes; exports.isHash = _chunkGEN2W3H2js.isHash; exports.isHex = _chunkGEN2W3H2js.isHex; exports.keccak256 = _chunkGEN2W3H2js.keccak256; exports.numberToBytes = _chunkGEN2W3H2js.numberToBytes; exports.numberToHex = _chunkGEN2W3H2js.numberToHex; exports.pad = _chunkGEN2W3H2js.pad; exports.padBytes = _chunkGEN2W3H2js.padBytes; exports.padHex = _chunkGEN2W3H2js.padHex; exports.parseAbi = _chunkGEN2W3H2js.parseAbi; exports.parseAbiItem = _chunkGEN2W3H2js.parseAbiItem; exports.parseAbiParameter = _chunkGEN2W3H2js.parseAbiParameter; exports.parseAbiParameters = _chunkGEN2W3H2js.parseAbiParameters; exports.parseAccount = _chunkGEN2W3H2js.parseAccount; exports.parseEther = _chunkGEN2W3H2js.parseEther; exports.parseGwei = _chunkGEN2W3H2js.parseGwei; exports.parseTransaction = _chunkGEN2W3H2js.parseTransaction; exports.parseUnits = _chunkGEN2W3H2js.parseUnits; exports.prepareRequest = _chunkGEN2W3H2js.prepareRequest; exports.publicKeyToAddress = _chunkGEN2W3H2js.publicKeyToAddress; exports.recoverAddress = _chunkGEN2W3H2js.recoverAddress; exports.recoverMessageAddress = _chunkGEN2W3H2js.recoverMessageAddress; exports.recoverTypedDataAddress = _chunkGEN2W3H2js.recoverTypedDataAddress; exports.rpc = _chunkGEN2W3H2js.rpc; exports.serializeTransaction = _chunkGEN2W3H2js.serializeTransaction; exports.size = _chunkGEN2W3H2js.size; exports.slice = _chunkGEN2W3H2js.slice; exports.sliceBytes = _chunkGEN2W3H2js.sliceBytes; exports.sliceHex = _chunkGEN2W3H2js.sliceHex; exports.stringToBytes = _chunkGEN2W3H2js.stringToBytes; exports.stringToHex = _chunkGEN2W3H2js.stringToHex; exports.stringify = _chunkGEN2W3H2js.stringify; exports.toBytes = _chunkGEN2W3H2js.toBytes; exports.toHex = _chunkGEN2W3H2js.toHex; exports.toRlp = _chunkGEN2W3H2js.toRlp; exports.transactionType = _chunkGEN2W3H2js.transactionType; exports.trim = _chunkGEN2W3H2js.trim; exports.validateTypedData = _chunkGEN2W3H2js.validateTypedData; exports.verifyMessage = _chunkGEN2W3H2js.verifyMessage; exports.verifyTypedData = _chunkGEN2W3H2js.verifyTypedData;
|
243
243
|
//# sourceMappingURL=index.js.map
|
package/dist/utils/index.mjs
CHANGED
package/dist/wallet.d.ts
CHANGED
@@ -1,8 +1,8 @@
|
|
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-
|
2
|
-
import './createTransport-
|
3
|
-
import './eip1193-
|
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-af3ad3a8.js';
|
2
|
+
import './createTransport-9692876d.js';
|
3
|
+
import './eip1193-16c1b134.js';
|
4
4
|
import 'abitype';
|
5
|
-
import './chain-
|
5
|
+
import './chain-892805a2.js';
|
6
6
|
import '@wagmi/chains';
|
7
|
-
import './typedData-
|
7
|
+
import './typedData-969116ac.js';
|
8
8
|
import '@scure/bip32';
|
package/dist/wallet.js
CHANGED
@@ -9,7 +9,7 @@
|
|
9
9
|
|
10
10
|
|
11
11
|
|
12
|
-
var
|
12
|
+
var _chunkGEN2W3H2js = require('./chunk-GEN2W3H2.js');
|
13
13
|
|
14
14
|
|
15
15
|
|
@@ -21,5 +21,5 @@ var _chunkQWBI757Jjs = require('./chunk-QWBI757J.js');
|
|
21
21
|
|
22
22
|
|
23
23
|
|
24
|
-
exports.addChain =
|
24
|
+
exports.addChain = _chunkGEN2W3H2js.addChain; exports.getAddresses = _chunkGEN2W3H2js.getAddresses; exports.getPermissions = _chunkGEN2W3H2js.getPermissions; exports.requestAddresses = _chunkGEN2W3H2js.requestAddresses; exports.requestPermissions = _chunkGEN2W3H2js.requestPermissions; exports.sendTransaction = _chunkGEN2W3H2js.sendTransaction; exports.signMessage = _chunkGEN2W3H2js.signMessage; exports.signTypedData = _chunkGEN2W3H2js.signTypedData; exports.switchChain = _chunkGEN2W3H2js.switchChain; exports.watchAsset = _chunkGEN2W3H2js.watchAsset;
|
25
25
|
//# sourceMappingURL=wallet.js.map
|
package/dist/wallet.mjs
CHANGED
package/dist/window.d.ts
CHANGED
@@ -1,6 +1,6 @@
|
|
1
|
-
import { R as Requests, E as Events } from './eip1193-
|
1
|
+
import { R as Requests, E as Events } from './eip1193-16c1b134.js';
|
2
2
|
import 'abitype';
|
3
|
-
import './chain-
|
3
|
+
import './chain-892805a2.js';
|
4
4
|
import '@wagmi/chains';
|
5
5
|
|
6
6
|
type WindowProvider = Requests & Events;
|