viem 0.0.1-alpha.10 → 0.0.1-alpha.12

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.
@@ -1,4 +1,4 @@
1
1
  {
2
- "type": "module",
2
+ "module": "../dist/actions/index.mjs",
3
3
  "main": "../dist/actions/index.js"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
- "type": "module",
2
+ "module": "../dist/chains.mjs",
3
3
  "main": "../dist/chains.js"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
- "type": "module",
2
+ "module": "../dist/clients/index.mjs",
3
3
  "main": "../dist/clients/index.js"
4
4
  }
@@ -1,8 +1,8 @@
1
- export { C as CallArgs, a as CallContractArgs, b as CallContractResponse, c as CallResponse, d as CreateBlockFilterResponse, e as CreatePendingTransactionFilterResponse, D as DropTransactionArgs, E as EstimateGasArgs, f as EstimateGasResponse, bh as FormattedTransactionRequest, G as GetBalanceArgs, g as GetBalanceResponse, h as GetBlockArgs, i as GetBlockNumberArgs, j as GetBlockNumberResponse, k as GetBlockResponse, l as GetBlockTransactionCountArgs, m as GetBlockTransactionCountResponse, n as GetFeeHistoryArgs, o as GetFeeHistoryResponse, p as GetFilterChangesArgs, q as GetFilterChangesResponse, r as GetFilterLogsArgs, s as GetFilterLogsResponse, t as GetGasPriceResponse, u as GetPermissionsResponse, v as GetTransactionArgs, w as GetTransactionConfirmationsArgs, x as GetTransactionConfirmationsResponse, y as GetTransactionCountArgs, z as GetTransactionCountResponse, B as GetTransactionReceiptArgs, F as GetTransactionReceiptResponse, A as GetTransactionResponse, I as ImpersonateAccountArgs, H as IncreaseTimeArgs, M as MineArgs, O as OnBlock, J as OnBlockNumber, K as OnBlockNumberResponse, L as OnBlockResponse, N as OnTransactions, P as OnTransactionsResponse, bf as ReplacementReason, bg as ReplacementResponse, Q as RequestPermissionsResponse, R as ResetArgs, S as RevertArgs, T as SendTransactionArgs, U as SendTransactionResponse, V as SendUnsignedTransactionArgs, W as SendUnsignedTransactionResponse, X as SetBalanceArgs, Y as SetBlockGasLimitArgs, a1 as SetBlockTimestampIntervalArgs, Z as SetCodeArgs, _ as SetCoinbaseArgs, $ as SetIntervalMiningArgs, a0 as SetMinGasPriceArgs, a3 as SetNextBlockBaseFeePerGasArgs, a2 as SetNextBlockTimestampArgs, a4 as SetNonceArgs, a5 as SetStorageAtArgs, a6 as SignMessageArgs, a7 as SignMessageResponse, a8 as StopImpersonatingAccountArgs, a9 as SwitchChainArgs, aa as UninstallFilterArgs, ab as UninstallFilterResponse, ac as WaitForTransactionReceiptArgs, ad as WaitForTransactionReceiptResponse, ae as WatchAssetArgs, af as WatchAssetResponse, ag as WatchBlockNumberArgs, ah as WatchBlocksArgs, ai as WatchPendingTransactionsArgs, aj as addChain, ak as call, al as callContract, am as createBlockFilter, an as createPendingTransactionFilter, ap as dropTransaction, ao as estimateGas, aq as getAccounts, ar as getAutomine, as as getBalance, at as getBlock, au as getBlockNumber, be as getBlockNumberCache, av as getBlockTransactionCount, aw as getChainId, ax as getFeeHistory, ay as getFilterChanges, az as getFilterLogs, aA as getGasPrice, aB as getPermissions, aC as getTransaction, aD as getTransactionConfirmations, aE as getTransactionCount, aF as getTransactionReceipt, aG as getTxpoolContent, aH as getTxpoolStatus, aI as impersonateAccount, aJ as increaseTime, aK as inspectTxpool, aL as mine, aM as removeBlockTimestampInterval, aO as requestAccounts, aP as requestPermissions, aN as reset, aQ as revert, aR as sendTransaction, aS as sendUnsignedTransaction, aT as setAutomine, aU as setBalance, aV as setBlockGasLimit, aW as setBlockTimestampInterval, aX as setCode, aY as setCoinbase, aZ as setIntervalMining, a_ as setLoggingEnabled, a$ as setMinGasPrice, b0 as setNextBlockBaseFeePerGas, b1 as setNextBlockTimestamp, b2 as setNonce, b3 as setStorageAt, b4 as signMessage, b5 as snapshot, b6 as stopImpersonatingAccount, b7 as switchChain, b8 as uninstallFilter, b9 as waitForTransactionReceipt, ba as watchAsset, bb as watchBlockNumber, bc as watchBlocks, bd as watchPendingTransactions } from '../watchAsset-bc6373f4.js';
1
+ export { C as CallArgs, a as CallContractArgs, b as CallContractResponse, c as CallResponse, d as CreateBlockFilterResponse, e as CreatePendingTransactionFilterResponse, D as DropTransactionArgs, E as EstimateGasArgs, f as EstimateGasResponse, bh as FormattedTransactionRequest, G as GetBalanceArgs, g as GetBalanceResponse, h as GetBlockArgs, i as GetBlockNumberArgs, j as GetBlockNumberResponse, k as GetBlockResponse, l as GetBlockTransactionCountArgs, m as GetBlockTransactionCountResponse, n as GetFeeHistoryArgs, o as GetFeeHistoryResponse, p as GetFilterChangesArgs, q as GetFilterChangesResponse, r as GetFilterLogsArgs, s as GetFilterLogsResponse, t as GetGasPriceResponse, u as GetPermissionsResponse, v as GetTransactionArgs, w as GetTransactionConfirmationsArgs, x as GetTransactionConfirmationsResponse, y as GetTransactionCountArgs, z as GetTransactionCountResponse, B as GetTransactionReceiptArgs, F as GetTransactionReceiptResponse, A as GetTransactionResponse, I as ImpersonateAccountArgs, H as IncreaseTimeArgs, M as MineArgs, O as OnBlock, J as OnBlockNumber, K as OnBlockNumberResponse, L as OnBlockResponse, N as OnTransactions, P as OnTransactionsResponse, bf as ReplacementReason, bg as ReplacementResponse, Q as RequestPermissionsResponse, R as ResetArgs, S as RevertArgs, T as SendTransactionArgs, U as SendTransactionResponse, V as SendUnsignedTransactionArgs, W as SendUnsignedTransactionResponse, X as SetBalanceArgs, Y as SetBlockGasLimitArgs, a1 as SetBlockTimestampIntervalArgs, Z as SetCodeArgs, _ as SetCoinbaseArgs, $ as SetIntervalMiningArgs, a0 as SetMinGasPriceArgs, a3 as SetNextBlockBaseFeePerGasArgs, a2 as SetNextBlockTimestampArgs, a4 as SetNonceArgs, a5 as SetStorageAtArgs, a6 as SignMessageArgs, a7 as SignMessageResponse, a8 as StopImpersonatingAccountArgs, a9 as SwitchChainArgs, aa as UninstallFilterArgs, ab as UninstallFilterResponse, ac as WaitForTransactionReceiptArgs, ad as WaitForTransactionReceiptResponse, ae as WatchAssetArgs, af as WatchAssetResponse, ag as WatchBlockNumberArgs, ah as WatchBlocksArgs, ai as WatchPendingTransactionsArgs, aj as addChain, ak as call, al as callContract, am as createBlockFilter, an as createPendingTransactionFilter, ap as dropTransaction, ao as estimateGas, aq as getAccounts, ar as getAutomine, as as getBalance, at as getBlock, au as getBlockNumber, be as getBlockNumberCache, av as getBlockTransactionCount, aw as getChainId, ax as getFeeHistory, ay as getFilterChanges, az as getFilterLogs, aA as getGasPrice, aB as getPermissions, aC as getTransaction, aD as getTransactionConfirmations, aE as getTransactionCount, aF as getTransactionReceipt, aG as getTxpoolContent, aH as getTxpoolStatus, aI as impersonateAccount, aJ as increaseTime, aK as inspectTxpool, aL as mine, aM as removeBlockTimestampInterval, aO as requestAccounts, aP as requestPermissions, aN as reset, aQ as revert, aR as sendTransaction, aS as sendUnsignedTransaction, aT as setAutomine, aU as setBalance, aV as setBlockGasLimit, aW as setBlockTimestampInterval, aX as setCode, aY as setCoinbase, aZ as setIntervalMining, a_ as setLoggingEnabled, a$ as setMinGasPrice, b0 as setNextBlockBaseFeePerGas, b1 as setNextBlockTimestamp, b2 as setNonce, b3 as setStorageAt, b4 as signMessage, b5 as snapshot, b6 as stopImpersonatingAccount, b7 as switchChain, b8 as uninstallFilter, b9 as waitForTransactionReceipt, ba as watchAsset, bb as watchBlockNumber, bc as watchBlocks, bd as watchPendingTransactions } from '../watchAsset-43255bfd.js';
2
2
  import 'abitype';
3
3
  import '../chains.js';
4
4
  import '../rpc-b77c5aee.js';
5
5
  import '@wagmi/chains';
6
6
  import '../transactionRequest-08d30731.js';
7
- import '../createWalletClient-d612fe08.js';
8
- import '../eip1193-020a6f13.js';
7
+ import '../createWalletClient-3f9fa8b6.js';
8
+ import '../eip1193-c001fcd5.js';
@@ -1,125 +1,125 @@
1
- import {
2
- addChain,
3
- call,
4
- callContract,
5
- createBlockFilter,
6
- createPendingTransactionFilter,
7
- dropTransaction,
8
- estimateGas,
9
- getAccounts,
10
- getAutomine,
11
- getBalance,
12
- getBlock,
13
- getBlockNumber,
14
- getBlockNumberCache,
15
- getBlockTransactionCount,
16
- getChainId,
17
- getFeeHistory,
18
- getFilterChanges,
19
- getFilterLogs,
20
- getGasPrice,
21
- getPermissions,
22
- getTransaction,
23
- getTransactionConfirmations,
24
- getTransactionCount,
25
- getTransactionReceipt,
26
- getTxpoolContent,
27
- getTxpoolStatus,
28
- impersonateAccount,
29
- increaseTime,
30
- inspectTxpool,
31
- mine,
32
- removeBlockTimestampInterval,
33
- requestAccounts,
34
- requestPermissions,
35
- reset,
36
- revert,
37
- sendTransaction,
38
- sendUnsignedTransaction,
39
- setAutomine,
40
- setBalance,
41
- setBlockGasLimit,
42
- setBlockTimestampInterval,
43
- setCode,
44
- setCoinbase,
45
- setIntervalMining,
46
- setLoggingEnabled,
47
- setMinGasPrice,
48
- setNextBlockBaseFeePerGas,
49
- setNextBlockTimestamp,
50
- setNonce,
51
- setStorageAt,
52
- signMessage,
53
- snapshot,
54
- stopImpersonatingAccount,
55
- switchChain,
56
- uninstallFilter,
57
- waitForTransactionReceipt,
58
- watchAsset,
59
- watchBlockNumber,
60
- watchBlocks,
61
- watchPendingTransactions
62
- } from "../chunk-NMN4TFDP.js";
63
- import "../chunk-6GAKRM5P.js";
64
- export {
65
- addChain,
66
- call,
67
- callContract,
68
- createBlockFilter,
69
- createPendingTransactionFilter,
70
- dropTransaction,
71
- estimateGas,
72
- getAccounts,
73
- getAutomine,
74
- getBalance,
75
- getBlock,
76
- getBlockNumber,
77
- getBlockNumberCache,
78
- getBlockTransactionCount,
79
- getChainId,
80
- getFeeHistory,
81
- getFilterChanges,
82
- getFilterLogs,
83
- getGasPrice,
84
- getPermissions,
85
- getTransaction,
86
- getTransactionConfirmations,
87
- getTransactionCount,
88
- getTransactionReceipt,
89
- getTxpoolContent,
90
- getTxpoolStatus,
91
- impersonateAccount,
92
- increaseTime,
93
- inspectTxpool,
94
- mine,
95
- removeBlockTimestampInterval,
96
- requestAccounts,
97
- requestPermissions,
98
- reset,
99
- revert,
100
- sendTransaction,
101
- sendUnsignedTransaction,
102
- setAutomine,
103
- setBalance,
104
- setBlockGasLimit,
105
- setBlockTimestampInterval,
106
- setCode,
107
- setCoinbase,
108
- setIntervalMining,
109
- setLoggingEnabled,
110
- setMinGasPrice,
111
- setNextBlockBaseFeePerGas,
112
- setNextBlockTimestamp,
113
- setNonce,
114
- setStorageAt,
115
- signMessage,
116
- snapshot,
117
- stopImpersonatingAccount,
118
- switchChain,
119
- uninstallFilter,
120
- waitForTransactionReceipt,
121
- watchAsset,
122
- watchBlockNumber,
123
- watchBlocks,
124
- watchPendingTransactions
125
- };
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
+
3
+
4
+
5
+
6
+
7
+
8
+
9
+
10
+
11
+
12
+
13
+
14
+
15
+
16
+
17
+
18
+
19
+
20
+
21
+
22
+
23
+
24
+
25
+
26
+
27
+
28
+
29
+
30
+
31
+
32
+
33
+
34
+
35
+
36
+
37
+
38
+
39
+
40
+
41
+
42
+
43
+
44
+
45
+
46
+
47
+
48
+
49
+
50
+
51
+
52
+
53
+
54
+
55
+
56
+
57
+
58
+
59
+
60
+
61
+
62
+ var _chunkQO5C5Y2Ljs = require('../chunk-QO5C5Y2L.js');
63
+ require('../chunk-A3PVAH22.js');
64
+
65
+
66
+
67
+
68
+
69
+
70
+
71
+
72
+
73
+
74
+
75
+
76
+
77
+
78
+
79
+
80
+
81
+
82
+
83
+
84
+
85
+
86
+
87
+
88
+
89
+
90
+
91
+
92
+
93
+
94
+
95
+
96
+
97
+
98
+
99
+
100
+
101
+
102
+
103
+
104
+
105
+
106
+
107
+
108
+
109
+
110
+
111
+
112
+
113
+
114
+
115
+
116
+
117
+
118
+
119
+
120
+
121
+
122
+
123
+
124
+
125
+ exports.addChain = _chunkQO5C5Y2Ljs.addChain; exports.call = _chunkQO5C5Y2Ljs.call; exports.callContract = _chunkQO5C5Y2Ljs.callContract; exports.createBlockFilter = _chunkQO5C5Y2Ljs.createBlockFilter; exports.createPendingTransactionFilter = _chunkQO5C5Y2Ljs.createPendingTransactionFilter; exports.dropTransaction = _chunkQO5C5Y2Ljs.dropTransaction; exports.estimateGas = _chunkQO5C5Y2Ljs.estimateGas; exports.getAccounts = _chunkQO5C5Y2Ljs.getAccounts; exports.getAutomine = _chunkQO5C5Y2Ljs.getAutomine; exports.getBalance = _chunkQO5C5Y2Ljs.getBalance; exports.getBlock = _chunkQO5C5Y2Ljs.getBlock; exports.getBlockNumber = _chunkQO5C5Y2Ljs.getBlockNumber; exports.getBlockNumberCache = _chunkQO5C5Y2Ljs.getBlockNumberCache; exports.getBlockTransactionCount = _chunkQO5C5Y2Ljs.getBlockTransactionCount; exports.getChainId = _chunkQO5C5Y2Ljs.getChainId; exports.getFeeHistory = _chunkQO5C5Y2Ljs.getFeeHistory; exports.getFilterChanges = _chunkQO5C5Y2Ljs.getFilterChanges; exports.getFilterLogs = _chunkQO5C5Y2Ljs.getFilterLogs; exports.getGasPrice = _chunkQO5C5Y2Ljs.getGasPrice; exports.getPermissions = _chunkQO5C5Y2Ljs.getPermissions; exports.getTransaction = _chunkQO5C5Y2Ljs.getTransaction; exports.getTransactionConfirmations = _chunkQO5C5Y2Ljs.getTransactionConfirmations; exports.getTransactionCount = _chunkQO5C5Y2Ljs.getTransactionCount; exports.getTransactionReceipt = _chunkQO5C5Y2Ljs.getTransactionReceipt; exports.getTxpoolContent = _chunkQO5C5Y2Ljs.getTxpoolContent; exports.getTxpoolStatus = _chunkQO5C5Y2Ljs.getTxpoolStatus; exports.impersonateAccount = _chunkQO5C5Y2Ljs.impersonateAccount; exports.increaseTime = _chunkQO5C5Y2Ljs.increaseTime; exports.inspectTxpool = _chunkQO5C5Y2Ljs.inspectTxpool; exports.mine = _chunkQO5C5Y2Ljs.mine; exports.removeBlockTimestampInterval = _chunkQO5C5Y2Ljs.removeBlockTimestampInterval; exports.requestAccounts = _chunkQO5C5Y2Ljs.requestAccounts; exports.requestPermissions = _chunkQO5C5Y2Ljs.requestPermissions; exports.reset = _chunkQO5C5Y2Ljs.reset; exports.revert = _chunkQO5C5Y2Ljs.revert; exports.sendTransaction = _chunkQO5C5Y2Ljs.sendTransaction; exports.sendUnsignedTransaction = _chunkQO5C5Y2Ljs.sendUnsignedTransaction; exports.setAutomine = _chunkQO5C5Y2Ljs.setAutomine; exports.setBalance = _chunkQO5C5Y2Ljs.setBalance; exports.setBlockGasLimit = _chunkQO5C5Y2Ljs.setBlockGasLimit; exports.setBlockTimestampInterval = _chunkQO5C5Y2Ljs.setBlockTimestampInterval; exports.setCode = _chunkQO5C5Y2Ljs.setCode; exports.setCoinbase = _chunkQO5C5Y2Ljs.setCoinbase; exports.setIntervalMining = _chunkQO5C5Y2Ljs.setIntervalMining; exports.setLoggingEnabled = _chunkQO5C5Y2Ljs.setLoggingEnabled; exports.setMinGasPrice = _chunkQO5C5Y2Ljs.setMinGasPrice; exports.setNextBlockBaseFeePerGas = _chunkQO5C5Y2Ljs.setNextBlockBaseFeePerGas; exports.setNextBlockTimestamp = _chunkQO5C5Y2Ljs.setNextBlockTimestamp; exports.setNonce = _chunkQO5C5Y2Ljs.setNonce; exports.setStorageAt = _chunkQO5C5Y2Ljs.setStorageAt; exports.signMessage = _chunkQO5C5Y2Ljs.signMessage; exports.snapshot = _chunkQO5C5Y2Ljs.snapshot; exports.stopImpersonatingAccount = _chunkQO5C5Y2Ljs.stopImpersonatingAccount; exports.switchChain = _chunkQO5C5Y2Ljs.switchChain; exports.uninstallFilter = _chunkQO5C5Y2Ljs.uninstallFilter; exports.waitForTransactionReceipt = _chunkQO5C5Y2Ljs.waitForTransactionReceipt; exports.watchAsset = _chunkQO5C5Y2Ljs.watchAsset; exports.watchBlockNumber = _chunkQO5C5Y2Ljs.watchBlockNumber; exports.watchBlocks = _chunkQO5C5Y2Ljs.watchBlocks; exports.watchPendingTransactions = _chunkQO5C5Y2Ljs.watchPendingTransactions;
@@ -0,0 +1,125 @@
1
+ import {
2
+ addChain,
3
+ call,
4
+ callContract,
5
+ createBlockFilter,
6
+ createPendingTransactionFilter,
7
+ dropTransaction,
8
+ estimateGas,
9
+ getAccounts,
10
+ getAutomine,
11
+ getBalance,
12
+ getBlock,
13
+ getBlockNumber,
14
+ getBlockNumberCache,
15
+ getBlockTransactionCount,
16
+ getChainId,
17
+ getFeeHistory,
18
+ getFilterChanges,
19
+ getFilterLogs,
20
+ getGasPrice,
21
+ getPermissions,
22
+ getTransaction,
23
+ getTransactionConfirmations,
24
+ getTransactionCount,
25
+ getTransactionReceipt,
26
+ getTxpoolContent,
27
+ getTxpoolStatus,
28
+ impersonateAccount,
29
+ increaseTime,
30
+ inspectTxpool,
31
+ mine,
32
+ removeBlockTimestampInterval,
33
+ requestAccounts,
34
+ requestPermissions,
35
+ reset,
36
+ revert,
37
+ sendTransaction,
38
+ sendUnsignedTransaction,
39
+ setAutomine,
40
+ setBalance,
41
+ setBlockGasLimit,
42
+ setBlockTimestampInterval,
43
+ setCode,
44
+ setCoinbase,
45
+ setIntervalMining,
46
+ setLoggingEnabled,
47
+ setMinGasPrice,
48
+ setNextBlockBaseFeePerGas,
49
+ setNextBlockTimestamp,
50
+ setNonce,
51
+ setStorageAt,
52
+ signMessage,
53
+ snapshot,
54
+ stopImpersonatingAccount,
55
+ switchChain,
56
+ uninstallFilter,
57
+ waitForTransactionReceipt,
58
+ watchAsset,
59
+ watchBlockNumber,
60
+ watchBlocks,
61
+ watchPendingTransactions
62
+ } from "../chunk-DPSKYDCG.mjs";
63
+ import "../chunk-ERPD74AT.mjs";
64
+ export {
65
+ addChain,
66
+ call,
67
+ callContract,
68
+ createBlockFilter,
69
+ createPendingTransactionFilter,
70
+ dropTransaction,
71
+ estimateGas,
72
+ getAccounts,
73
+ getAutomine,
74
+ getBalance,
75
+ getBlock,
76
+ getBlockNumber,
77
+ getBlockNumberCache,
78
+ getBlockTransactionCount,
79
+ getChainId,
80
+ getFeeHistory,
81
+ getFilterChanges,
82
+ getFilterLogs,
83
+ getGasPrice,
84
+ getPermissions,
85
+ getTransaction,
86
+ getTransactionConfirmations,
87
+ getTransactionCount,
88
+ getTransactionReceipt,
89
+ getTxpoolContent,
90
+ getTxpoolStatus,
91
+ impersonateAccount,
92
+ increaseTime,
93
+ inspectTxpool,
94
+ mine,
95
+ removeBlockTimestampInterval,
96
+ requestAccounts,
97
+ requestPermissions,
98
+ reset,
99
+ revert,
100
+ sendTransaction,
101
+ sendUnsignedTransaction,
102
+ setAutomine,
103
+ setBalance,
104
+ setBlockGasLimit,
105
+ setBlockTimestampInterval,
106
+ setCode,
107
+ setCoinbase,
108
+ setIntervalMining,
109
+ setLoggingEnabled,
110
+ setMinGasPrice,
111
+ setNextBlockBaseFeePerGas,
112
+ setNextBlockTimestamp,
113
+ setNonce,
114
+ setStorageAt,
115
+ signMessage,
116
+ snapshot,
117
+ stopImpersonatingAccount,
118
+ switchChain,
119
+ uninstallFilter,
120
+ waitForTransactionReceipt,
121
+ watchAsset,
122
+ watchBlockNumber,
123
+ watchBlocks,
124
+ watchPendingTransactions
125
+ };