viem 0.0.1-alpha.32 → 0.0.1-alpha.33
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/{chain-00b37e4e.d.ts → chain-4a0d4164.d.ts} +1 -1
- package/dist/{chain-38182d92.d.ts → chain-ce6e149c.d.ts} +1 -1
- package/dist/chains.d.ts +3 -3
- package/dist/chains.js +46 -46
- package/dist/chains.mjs +1 -1
- package/dist/{chunk-K3Q7U5IY.js → chunk-3CEIPU6M.js} +15 -15
- package/dist/{chunk-NZUM6QVJ.js → chunk-BUCF6SRR.js} +22 -22
- package/dist/{chunk-4TDJALZ6.js → chunk-DHSIBSJL.js} +75 -75
- package/dist/{chunk-QPXAI2W5.mjs → chunk-DYALOQ44.mjs} +2 -2
- package/dist/{chunk-HJBIOX2W.mjs → chunk-HN7IYO7U.mjs} +2 -2
- package/dist/{chunk-P76FCR36.mjs → chunk-JB4TWW3U.mjs} +7 -3
- package/dist/{chunk-P76FCR36.mjs.map → chunk-JB4TWW3U.mjs.map} +1 -1
- package/dist/{chunk-ZIH5V7HU.mjs → chunk-KMBDF3HQ.mjs} +3 -3
- package/dist/{chunk-DEF2SWG2.js → chunk-R7MSY2BH.js} +7 -3
- package/dist/chunk-R7MSY2BH.js.map +1 -0
- package/dist/{chunk-S3HZ74MN.js → chunk-RNGEVZVH.js} +14 -14
- package/dist/{chunk-ZZWYDER3.mjs → chunk-VEAHSGOL.mjs} +2 -2
- package/dist/contract.d.ts +7 -7
- package/dist/contract.js +4 -4
- package/dist/contract.mjs +3 -3
- package/dist/{createClient-5258d590.d.ts → createClient-8a8b4bf4.d.ts} +2 -2
- package/dist/{createPublicClient-2187596f.d.ts → createPublicClient-b5afe6b8.d.ts} +4 -4
- package/dist/{eip1193-fcdeee04.d.ts → eip1193-8c021438.d.ts} +1 -1
- package/dist/ens.d.ts +5 -5
- package/dist/ens.js +4 -4
- package/dist/ens.mjs +3 -3
- package/dist/{formatAbiItem-50cb39d8.d.ts → formatAbiItem-6e00e5e6.d.ts} +1 -1
- package/dist/{getAbiItem-6d4f64d2.d.ts → getAbiItem-d7aa40b1.d.ts} +1 -1
- package/dist/index.d.ts +12 -12
- package/dist/index.js +90 -90
- package/dist/index.mjs +5 -5
- package/dist/{parseGwei-308eada9.d.ts → parseGwei-ce3a9dfa.d.ts} +4 -4
- package/dist/public.d.ts +6 -6
- package/dist/public.js +3 -3
- package/dist/public.mjs +2 -2
- package/dist/{test-79ec416c.d.ts → test-5d5828c9.d.ts} +3 -3
- package/dist/test.d.ts +5 -5
- package/dist/test.js +3 -3
- package/dist/test.mjs +2 -2
- package/dist/utils/index.d.ts +14 -14
- package/dist/utils/index.js +2 -2
- package/dist/utils/index.mjs +1 -1
- package/dist/{wallet-cf5c8351.d.ts → wallet-5ab86528.d.ts} +3 -3
- package/dist/wallet.d.ts +4 -4
- package/dist/wallet.js +3 -3
- package/dist/wallet.mjs +2 -2
- package/dist/window.d.ts +2 -2
- package/package.json +1 -1
- package/dist/chunk-DEF2SWG2.js.map +0 -1
- /package/dist/{chunk-K3Q7U5IY.js.map → chunk-3CEIPU6M.js.map} +0 -0
- /package/dist/{chunk-NZUM6QVJ.js.map → chunk-BUCF6SRR.js.map} +0 -0
- /package/dist/{chunk-4TDJALZ6.js.map → chunk-DHSIBSJL.js.map} +0 -0
- /package/dist/{chunk-QPXAI2W5.mjs.map → chunk-DYALOQ44.mjs.map} +0 -0
- /package/dist/{chunk-HJBIOX2W.mjs.map → chunk-HN7IYO7U.mjs.map} +0 -0
- /package/dist/{chunk-ZIH5V7HU.mjs.map → chunk-KMBDF3HQ.mjs.map} +0 -0
- /package/dist/{chunk-S3HZ74MN.js.map → chunk-RNGEVZVH.js.map} +0 -0
- /package/dist/{chunk-ZZWYDER3.mjs.map → chunk-VEAHSGOL.mjs.map} +0 -0
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
|
4
4
|
|
5
|
-
var
|
5
|
+
var _chunkR7MSY2BHjs = require('./chunk-R7MSY2BH.js');
|
6
6
|
|
7
7
|
// src/actions/test/dropTransaction.ts
|
8
8
|
async function dropTransaction(client, { hash }) {
|
@@ -32,8 +32,8 @@ async function getTxpoolStatus(client) {
|
|
32
32
|
method: "txpool_status"
|
33
33
|
});
|
34
34
|
return {
|
35
|
-
pending:
|
36
|
-
queued:
|
35
|
+
pending: _chunkR7MSY2BHjs.hexToNumber.call(void 0, pending),
|
36
|
+
queued: _chunkR7MSY2BHjs.hexToNumber.call(void 0, queued)
|
37
37
|
};
|
38
38
|
}
|
39
39
|
|
@@ -49,7 +49,7 @@ async function impersonateAccount(client, { address }) {
|
|
49
49
|
async function increaseTime(client, { seconds }) {
|
50
50
|
return await client.request({
|
51
51
|
method: "evm_increaseTime",
|
52
|
-
params: [
|
52
|
+
params: [_chunkR7MSY2BHjs.numberToHex.call(void 0, seconds)]
|
53
53
|
});
|
54
54
|
}
|
55
55
|
|
@@ -64,7 +64,7 @@ async function inspectTxpool(client) {
|
|
64
64
|
async function mine(client, { blocks, interval }) {
|
65
65
|
return await client.request({
|
66
66
|
method: `${client.mode}_mine`,
|
67
|
-
params: [
|
67
|
+
params: [_chunkR7MSY2BHjs.numberToHex.call(void 0, blocks), _chunkR7MSY2BHjs.numberToHex.call(void 0, interval || 0)]
|
68
68
|
});
|
69
69
|
}
|
70
70
|
|
@@ -93,7 +93,7 @@ async function revert(client, { id }) {
|
|
93
93
|
|
94
94
|
// src/actions/test/sendUnsignedTransaction.ts
|
95
95
|
async function sendUnsignedTransaction(client, request) {
|
96
|
-
const request_ =
|
96
|
+
const request_ = _chunkR7MSY2BHjs.formatTransactionRequest.call(void 0, request);
|
97
97
|
const hash = await client.request({
|
98
98
|
method: "eth_sendUnsignedTransaction",
|
99
99
|
params: [request_]
|
@@ -113,7 +113,7 @@ async function setAutomine(client, enabled) {
|
|
113
113
|
async function setBalance(client, { address, value }) {
|
114
114
|
return await client.request({
|
115
115
|
method: `${client.mode}_setBalance`,
|
116
|
-
params: [address,
|
116
|
+
params: [address, _chunkR7MSY2BHjs.numberToHex.call(void 0, value)]
|
117
117
|
});
|
118
118
|
}
|
119
119
|
|
@@ -121,7 +121,7 @@ async function setBalance(client, { address, value }) {
|
|
121
121
|
async function setBlockGasLimit(client, { gasLimit }) {
|
122
122
|
return await client.request({
|
123
123
|
method: "evm_setBlockGasLimit",
|
124
|
-
params: [
|
124
|
+
params: [_chunkR7MSY2BHjs.numberToHex.call(void 0, gasLimit)]
|
125
125
|
});
|
126
126
|
}
|
127
127
|
|
@@ -169,7 +169,7 @@ async function setLoggingEnabled(client, enabled) {
|
|
169
169
|
async function setMinGasPrice(client, { gasPrice }) {
|
170
170
|
return await client.request({
|
171
171
|
method: `${client.mode}_setMinGasPrice`,
|
172
|
-
params: [
|
172
|
+
params: [_chunkR7MSY2BHjs.numberToHex.call(void 0, gasPrice)]
|
173
173
|
});
|
174
174
|
}
|
175
175
|
|
@@ -177,7 +177,7 @@ async function setMinGasPrice(client, { gasPrice }) {
|
|
177
177
|
async function setNextBlockBaseFeePerGas(client, { baseFeePerGas }) {
|
178
178
|
return await client.request({
|
179
179
|
method: `${client.mode}_setNextBlockBaseFeePerGas`,
|
180
|
-
params: [
|
180
|
+
params: [_chunkR7MSY2BHjs.numberToHex.call(void 0, baseFeePerGas)]
|
181
181
|
});
|
182
182
|
}
|
183
183
|
|
@@ -185,7 +185,7 @@ async function setNextBlockBaseFeePerGas(client, { baseFeePerGas }) {
|
|
185
185
|
async function setNextBlockTimestamp(client, { timestamp }) {
|
186
186
|
return await client.request({
|
187
187
|
method: "evm_setNextBlockTimestamp",
|
188
|
-
params: [
|
188
|
+
params: [_chunkR7MSY2BHjs.numberToHex.call(void 0, timestamp)]
|
189
189
|
});
|
190
190
|
}
|
191
191
|
|
@@ -193,7 +193,7 @@ async function setNextBlockTimestamp(client, { timestamp }) {
|
|
193
193
|
async function setNonce(client, { address, nonce }) {
|
194
194
|
return await client.request({
|
195
195
|
method: `${client.mode}_setNonce`,
|
196
|
-
params: [address,
|
196
|
+
params: [address, _chunkR7MSY2BHjs.numberToHex.call(void 0, nonce)]
|
197
197
|
});
|
198
198
|
}
|
199
199
|
|
@@ -211,7 +211,7 @@ async function setStorageAt(client, { address, index, value }) {
|
|
211
211
|
method: `${client.mode}_setStorageAt`,
|
212
212
|
params: [
|
213
213
|
address,
|
214
|
-
typeof index === "number" ?
|
214
|
+
typeof index === "number" ? _chunkR7MSY2BHjs.numberToHex.call(void 0, index) : index,
|
215
215
|
value
|
216
216
|
]
|
217
217
|
});
|
@@ -262,4 +262,4 @@ async function stopImpersonatingAccount(client, { address }) {
|
|
262
262
|
|
263
263
|
|
264
264
|
exports.dropTransaction = dropTransaction; exports.getAutomine = getAutomine; exports.getTxpoolContent = getTxpoolContent; exports.getTxpoolStatus = getTxpoolStatus; exports.impersonateAccount = impersonateAccount; exports.increaseTime = increaseTime; exports.inspectTxpool = inspectTxpool; exports.mine = mine; exports.removeBlockTimestampInterval = removeBlockTimestampInterval; exports.reset = reset; exports.revert = revert; exports.sendUnsignedTransaction = sendUnsignedTransaction; exports.setAutomine = setAutomine; exports.setBalance = setBalance; exports.setBlockGasLimit = setBlockGasLimit; exports.setBlockTimestampInterval = setBlockTimestampInterval; exports.setCode = setCode; exports.setCoinbase = setCoinbase; exports.setIntervalMining = setIntervalMining; exports.setLoggingEnabled = setLoggingEnabled; exports.setMinGasPrice = setMinGasPrice; exports.setNextBlockBaseFeePerGas = setNextBlockBaseFeePerGas; exports.setNextBlockTimestamp = setNextBlockTimestamp; exports.setNonce = setNonce; exports.setRpcUrl = setRpcUrl; exports.setStorageAt = setStorageAt; exports.snapshot = snapshot; exports.stopImpersonatingAccount = stopImpersonatingAccount;
|
265
|
-
//# sourceMappingURL=chunk-
|
265
|
+
//# sourceMappingURL=chunk-RNGEVZVH.js.map
|
@@ -11,7 +11,7 @@ import {
|
|
11
11
|
getTransactionError,
|
12
12
|
numberToHex,
|
13
13
|
toHex
|
14
|
-
} from "./chunk-
|
14
|
+
} from "./chunk-JB4TWW3U.mjs";
|
15
15
|
|
16
16
|
// src/actions/wallet/addChain.ts
|
17
17
|
async function addChain(client, { chain }) {
|
@@ -194,4 +194,4 @@ export {
|
|
194
194
|
watchAsset,
|
195
195
|
writeContract
|
196
196
|
};
|
197
|
-
//# sourceMappingURL=chunk-
|
197
|
+
//# sourceMappingURL=chunk-VEAHSGOL.mjs.map
|
package/dist/contract.d.ts
CHANGED
@@ -1,11 +1,11 @@
|
|
1
|
-
export { D as DecodeAbiArgs, a as DecodeErrorResultArgs, b as DecodeErrorResultResponse, c as DecodeEventLogArgs, d as DecodeEventLogResponse, e as DecodeFunctionDataArgs, f as DecodeFunctionResultArgs, g as DecodeFunctionResultResponse, E as EncodeAbiArgs, h as EncodeDeployDataArgs, i as EncodeErrorResultArgs, j as EncodeEventTopicsArgs, k as EncodeFunctionDataArgs, l as EncodeFunctionResultArgs, G as GetAbiItemArgs, m as decodeAbi, n as decodeErrorResult, o as decodeEventLog, p as decodeFunctionData, q as decodeFunctionResult, r as encodeAbi, s as encodeDeployData, t as encodeErrorResult, u as encodeEventTopics, v as encodeFunctionData, w as encodeFunctionResult, x as getAbiItem } from './getAbiItem-
|
2
|
-
export { a as formatAbiItem, f as formatAbiItemWithArgs } from './formatAbiItem-
|
3
|
-
export { D as DeployContractArgs, e as DeployContractResponse, b as WriteContractArgs, g as WriteContractResponse, h as deployContract, w as writeContract } from './wallet-
|
4
|
-
export { g as CreateContractEventFilterArgs, h as CreateContractEventFilterResponse, i as EstimateContractGasArgs, j as EstimateContractGasResponse, G as GetBytecodeArgs, k as GetBytecodeResponse, l as GetStorageAtArgs, m as GetStorageAtResponse, M as MulticallArgs, n as MulticallResponse, O as OnLogs, o as OnLogsResponse, R as ReadContractArgs, p as ReadContractResponse, S as SimulateContractArgs, q as SimulateContractResponse, W as WatchContractEventArgs, r as createContractEventFilter, s as estimateContractGas, t as getBytecode, u as getStorageAt, v as multicall, w as readContract, x as simulateContract, y as watchContractEvent } from './createPublicClient-
|
1
|
+
export { D as DecodeAbiArgs, a as DecodeErrorResultArgs, b as DecodeErrorResultResponse, c as DecodeEventLogArgs, d as DecodeEventLogResponse, e as DecodeFunctionDataArgs, f as DecodeFunctionResultArgs, g as DecodeFunctionResultResponse, E as EncodeAbiArgs, h as EncodeDeployDataArgs, i as EncodeErrorResultArgs, j as EncodeEventTopicsArgs, k as EncodeFunctionDataArgs, l as EncodeFunctionResultArgs, G as GetAbiItemArgs, m as decodeAbi, n as decodeErrorResult, o as decodeEventLog, p as decodeFunctionData, q as decodeFunctionResult, r as encodeAbi, s as encodeDeployData, t as encodeErrorResult, u as encodeEventTopics, v as encodeFunctionData, w as encodeFunctionResult, x as getAbiItem } from './getAbiItem-d7aa40b1.js';
|
2
|
+
export { a as formatAbiItem, f as formatAbiItemWithArgs } from './formatAbiItem-6e00e5e6.js';
|
3
|
+
export { D as DeployContractArgs, e as DeployContractResponse, b as WriteContractArgs, g as WriteContractResponse, h as deployContract, w as writeContract } from './wallet-5ab86528.js';
|
4
|
+
export { g as CreateContractEventFilterArgs, h as CreateContractEventFilterResponse, i as EstimateContractGasArgs, j as EstimateContractGasResponse, G as GetBytecodeArgs, k as GetBytecodeResponse, l as GetStorageAtArgs, m as GetStorageAtResponse, M as MulticallArgs, n as MulticallResponse, O as OnLogs, o as OnLogsResponse, R as ReadContractArgs, p as ReadContractResponse, S as SimulateContractArgs, q as SimulateContractResponse, W as WatchContractEventArgs, r as createContractEventFilter, s as estimateContractGas, t as getBytecode, u as getStorageAt, v as multicall, w as readContract, x as simulateContract, y as watchContractEvent } from './createPublicClient-b5afe6b8.js';
|
5
5
|
import 'abitype';
|
6
|
-
import './chain-
|
6
|
+
import './chain-4a0d4164.js';
|
7
7
|
import '@wagmi/chains';
|
8
8
|
import 'ethers@6/types/providers';
|
9
9
|
import 'abitype/dist/abi-78346466';
|
10
|
-
import './eip1193-
|
11
|
-
import './createClient-
|
10
|
+
import './eip1193-8c021438.js';
|
11
|
+
import './createClient-8a8b4bf4.js';
|
package/dist/contract.js
CHANGED
@@ -7,11 +7,11 @@
|
|
7
7
|
|
8
8
|
|
9
9
|
|
10
|
-
var
|
10
|
+
var _chunkDHSIBSJLjs = require('./chunk-DHSIBSJL.js');
|
11
11
|
|
12
12
|
|
13
13
|
|
14
|
-
var
|
14
|
+
var _chunk3CEIPU6Mjs = require('./chunk-3CEIPU6M.js');
|
15
15
|
|
16
16
|
|
17
17
|
|
@@ -27,7 +27,7 @@ var _chunkK3Q7U5IYjs = require('./chunk-K3Q7U5IY.js');
|
|
27
27
|
|
28
28
|
|
29
29
|
|
30
|
-
var
|
30
|
+
var _chunkR7MSY2BHjs = require('./chunk-R7MSY2BH.js');
|
31
31
|
|
32
32
|
|
33
33
|
|
@@ -53,5 +53,5 @@ var _chunkDEF2SWG2js = require('./chunk-DEF2SWG2.js');
|
|
53
53
|
|
54
54
|
|
55
55
|
|
56
|
-
exports.createContractEventFilter =
|
56
|
+
exports.createContractEventFilter = _chunkDHSIBSJLjs.createContractEventFilter; exports.decodeAbi = _chunkR7MSY2BHjs.decodeAbi; exports.decodeErrorResult = _chunkR7MSY2BHjs.decodeErrorResult; exports.decodeEventLog = _chunkR7MSY2BHjs.decodeEventLog; exports.decodeFunctionData = _chunkR7MSY2BHjs.decodeFunctionData; exports.decodeFunctionResult = _chunkR7MSY2BHjs.decodeFunctionResult; exports.deployContract = _chunk3CEIPU6Mjs.deployContract; exports.encodeAbi = _chunkR7MSY2BHjs.encodeAbi; exports.encodeDeployData = _chunkR7MSY2BHjs.encodeDeployData; exports.encodeErrorResult = _chunkR7MSY2BHjs.encodeErrorResult; exports.encodeEventTopics = _chunkR7MSY2BHjs.encodeEventTopics; exports.encodeFunctionData = _chunkR7MSY2BHjs.encodeFunctionData; exports.encodeFunctionResult = _chunkR7MSY2BHjs.encodeFunctionResult; exports.estimateContractGas = _chunkDHSIBSJLjs.estimateContractGas; exports.formatAbiItem = _chunkR7MSY2BHjs.formatAbiItem; exports.formatAbiItemWithArgs = _chunkR7MSY2BHjs.formatAbiItemWithArgs; exports.getAbiItem = _chunkR7MSY2BHjs.getAbiItem; exports.getBytecode = _chunkDHSIBSJLjs.getBytecode; exports.getStorageAt = _chunkDHSIBSJLjs.getStorageAt; exports.multicall = _chunkDHSIBSJLjs.multicall; exports.readContract = _chunkDHSIBSJLjs.readContract; exports.simulateContract = _chunkDHSIBSJLjs.simulateContract; exports.watchContractEvent = _chunkDHSIBSJLjs.watchContractEvent; exports.writeContract = _chunk3CEIPU6Mjs.writeContract;
|
57
57
|
//# sourceMappingURL=contract.js.map
|
package/dist/contract.mjs
CHANGED
@@ -7,11 +7,11 @@ import {
|
|
7
7
|
readContract,
|
8
8
|
simulateContract,
|
9
9
|
watchContractEvent
|
10
|
-
} from "./chunk-
|
10
|
+
} from "./chunk-HN7IYO7U.mjs";
|
11
11
|
import {
|
12
12
|
deployContract,
|
13
13
|
writeContract
|
14
|
-
} from "./chunk-
|
14
|
+
} from "./chunk-VEAHSGOL.mjs";
|
15
15
|
import {
|
16
16
|
decodeAbi,
|
17
17
|
decodeErrorResult,
|
@@ -27,7 +27,7 @@ import {
|
|
27
27
|
formatAbiItem,
|
28
28
|
formatAbiItemWithArgs,
|
29
29
|
getAbiItem
|
30
|
-
} from "./chunk-
|
30
|
+
} from "./chunk-JB4TWW3U.mjs";
|
31
31
|
export {
|
32
32
|
createContractEventFilter,
|
33
33
|
decodeAbi,
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import { R as Requests } from './eip1193-
|
2
|
-
import { C as Chain } from './chain-
|
1
|
+
import { R as Requests } from './eip1193-8c021438.js';
|
2
|
+
import { C as Chain } from './chain-4a0d4164.js';
|
3
3
|
|
4
4
|
type BaseRpcRequests = {
|
5
5
|
request(...args: any): Promise<any>;
|
@@ -1,8 +1,8 @@
|
|
1
|
-
import { P as PublicRequests } from './eip1193-
|
2
|
-
import { a as Transport, b as ClientConfig, C as Client } from './createClient-
|
1
|
+
import { P as PublicRequests } from './eip1193-8c021438.js';
|
2
|
+
import { a as Transport, b as ClientConfig, C as Client } from './createClient-8a8b4bf4.js';
|
3
3
|
import { Abi, AbiEvent, Narrow, ExtractAbiEvent } from 'abitype';
|
4
|
-
import { C as Chain, J as ExtractFormatter, S as Formatters, V as Formatter, K as Formatted, d as Block, R as RpcBlock, z as Transaction, T as TransactionReceipt, r as RpcTransactionReceipt, W as TransactionType, A as Address, g as BlockTag, H as Hex, X as MergeIntersectionProperties, u as TransactionRequest, h as ContractConfig, Y as GetValue, Z as ExtractResultFromAbi, _ as MaybeAbiEventName, $ as MaybeExtractEventArgsFromAbi, f as BlockNumber, a0 as ExtractEventNameFromAbi, a as Hash, F as FeeHistory, L as Log, M as FormattedTransaction, N as TransactionFormatter, a1 as ExtractEventArgsFromAbi, a2 as Prettify } from './chain-
|
5
|
-
import { T as TransactionRequestFormatter, b as WriteContractArgs } from './wallet-
|
4
|
+
import { C as Chain, J as ExtractFormatter, S as Formatters, V as Formatter, K as Formatted, d as Block, R as RpcBlock, z as Transaction, T as TransactionReceipt, r as RpcTransactionReceipt, W as TransactionType, A as Address, g as BlockTag, H as Hex, X as MergeIntersectionProperties, u as TransactionRequest, h as ContractConfig, Y as GetValue, Z as ExtractResultFromAbi, _ as MaybeAbiEventName, $ as MaybeExtractEventArgsFromAbi, f as BlockNumber, a0 as ExtractEventNameFromAbi, a as Hash, F as FeeHistory, L as Log, M as FormattedTransaction, N as TransactionFormatter, a1 as ExtractEventArgsFromAbi, a2 as Prettify } from './chain-4a0d4164.js';
|
5
|
+
import { T as TransactionRequestFormatter, b as WriteContractArgs } from './wallet-5ab86528.js';
|
6
6
|
|
7
7
|
type BlockFormatter<TChain extends Chain = Chain> = ExtractFormatter<TChain, 'block', NonNullable<Formatters['block']>>;
|
8
8
|
type FormattedBlock<TFormatter extends Formatter | undefined = Formatter> = Formatted<TFormatter, Block>;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { A as Address, a as Hash, a3 as Quantity, s as RpcTransactionRequest, m as RpcBlockNumber, g as BlockTag, l as RpcBlockIdentifier, H as Hex, n as RpcFeeHistory, R as RpcBlock, p as RpcLog, a6 as LogTopic, q as RpcTransaction, r as RpcTransactionReceipt, t as RpcUncle } from './chain-
|
1
|
+
import { A as Address, a as Hash, a3 as Quantity, s as RpcTransactionRequest, m as RpcBlockNumber, g as BlockTag, l as RpcBlockIdentifier, H as Hex, n as RpcFeeHistory, R as RpcBlock, p as RpcLog, a6 as LogTopic, q as RpcTransaction, r as RpcTransactionReceipt, t as RpcUncle } from './chain-4a0d4164.js';
|
2
2
|
|
3
3
|
declare class RpcError extends Error {
|
4
4
|
code: number;
|
package/dist/ens.d.ts
CHANGED
@@ -1,12 +1,12 @@
|
|
1
|
-
export { z as GetEnsAddressArgs, A as GetEnsNameArgs, D as getEnsAddress, H as getEnsName } from './createPublicClient-
|
1
|
+
export { z as GetEnsAddressArgs, A as GetEnsNameArgs, D as getEnsAddress, H as getEnsName } from './createPublicClient-b5afe6b8.js';
|
2
2
|
export { l as labelhash, n as namehash } from './namehash-88f4639d.js';
|
3
|
-
import './eip1193-
|
4
|
-
import './chain-
|
3
|
+
import './eip1193-8c021438.js';
|
4
|
+
import './chain-4a0d4164.js';
|
5
5
|
import '@wagmi/chains';
|
6
6
|
import 'abitype';
|
7
7
|
import 'ethers@6/types/providers';
|
8
|
-
import './createClient-
|
9
|
-
import './wallet-
|
8
|
+
import './createClient-8a8b4bf4.js';
|
9
|
+
import './wallet-5ab86528.js';
|
10
10
|
|
11
11
|
/**
|
12
12
|
* @description Normalizes ENS name
|
package/dist/ens.js
CHANGED
@@ -3,9 +3,9 @@
|
|
3
3
|
|
4
4
|
|
5
5
|
|
6
|
-
var
|
7
|
-
require('./chunk-
|
8
|
-
require('./chunk-
|
6
|
+
var _chunkBUCF6SRRjs = require('./chunk-BUCF6SRR.js');
|
7
|
+
require('./chunk-DHSIBSJL.js');
|
8
|
+
require('./chunk-R7MSY2BH.js');
|
9
9
|
|
10
10
|
// src/utils/ens/normalize.ts
|
11
11
|
var _idnauts46hx = require('idna-uts46-hx');
|
@@ -18,5 +18,5 @@ function normalize(name) {
|
|
18
18
|
|
19
19
|
|
20
20
|
|
21
|
-
exports.getEnsAddress =
|
21
|
+
exports.getEnsAddress = _chunkBUCF6SRRjs.getEnsAddress; exports.getEnsName = _chunkBUCF6SRRjs.getEnsName; exports.labelhash = _chunkBUCF6SRRjs.labelhash; exports.namehash = _chunkBUCF6SRRjs.namehash; exports.normalize = normalize;
|
22
22
|
//# sourceMappingURL=ens.js.map
|
package/dist/ens.mjs
CHANGED
@@ -3,9 +3,9 @@ import {
|
|
3
3
|
getEnsName,
|
4
4
|
labelhash,
|
5
5
|
namehash
|
6
|
-
} from "./chunk-
|
7
|
-
import "./chunk-
|
8
|
-
import "./chunk-
|
6
|
+
} from "./chunk-KMBDF3HQ.mjs";
|
7
|
+
import "./chunk-HN7IYO7U.mjs";
|
8
|
+
import "./chunk-JB4TWW3U.mjs";
|
9
9
|
|
10
10
|
// src/utils/ens/normalize.ts
|
11
11
|
import { toUnicode } from "idna-uts46-hx";
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { AbiParameter, Narrow, Abi, AbiParametersToPrimitiveTypes } from 'abitype';
|
2
|
-
import { H as Hex, b as AbiItem, a6 as LogTopic, a0 as ExtractEventNameFromAbi, a7 as ExtractEventArgsFromTopics, a8 as ExtractFunctionNameFromAbi, a9 as ExtractArgsFromAbi, Z as ExtractResultFromAbi, a4 as ExtractConstructorArgsFromAbi, aa as ExtractErrorNameFromAbi, ab as ExtractErrorArgsFromAbi, a1 as ExtractEventArgsFromAbi, ac as ExtractNameFromAbi } from './chain-
|
2
|
+
import { H as Hex, b as AbiItem, a6 as LogTopic, a0 as ExtractEventNameFromAbi, a7 as ExtractEventArgsFromTopics, a8 as ExtractFunctionNameFromAbi, a9 as ExtractArgsFromAbi, Z as ExtractResultFromAbi, a4 as ExtractConstructorArgsFromAbi, aa as ExtractErrorNameFromAbi, ab as ExtractErrorArgsFromAbi, a1 as ExtractEventArgsFromAbi, ac as ExtractNameFromAbi } from './chain-4a0d4164.js';
|
3
3
|
import * as abitype_dist_abi_78346466 from 'abitype/dist/abi-78346466';
|
4
4
|
|
5
5
|
type DecodeAbiArgs<TParams extends readonly AbiParameter[] | readonly unknown[] = readonly AbiParameter[]> = {
|
package/dist/index.d.ts
CHANGED
@@ -1,17 +1,17 @@
|
|
1
|
-
import { T as TransportConfig, a as Transport, B as BaseRpcRequests } from './createClient-
|
2
|
-
export { C as Client, b as ClientConfig, a as Transport, T as TransportConfig, c as createClient, d as createTransport } from './createClient-
|
3
|
-
import { B as BaseError, H as HttpOptions, R as RpcResponse } from './parseGwei-
|
4
|
-
export { B as BaseError, C as CallExecutionError, a as ContractFunctionExecutionError, b as ContractFunctionRevertedError, c as ContractFunctionZeroDataError, E as EstimateGasExecutionError, d as ExecutionRevertedError, F as FeeCapTooHighError, e as FeeCapTooLowError, G as GetContractAddressOptions, o as GetCreate2AddressOptions, p as GetCreateAddressOptions, I as InsufficientFundsError, f as IntrinsicGasTooHighError, g as IntrinsicGasTooLowError, N as NonceMaxValueError, h as NonceTooHighError, i as NonceTooLowError, j as RawContractError, T as TipAboveFeeCapError, q as ToRlpResponse, k as TransactionExecutionError, m as TransactionNotFoundError, n as TransactionReceiptNotFoundError, l as TransactionTypeNotSupportedError, U as UnknownNodeError, W as WaitForTransactionReceiptTimeoutError, r as boolToBytes, s as boolToHex, t as bytesToBigint, u as bytesToBool, v as bytesToHex, w as bytesToNumber, x as bytesToString, y as etherUnits, z as formatEther, A as formatGwei, D as formatUnit, J as fromBytes, K as fromHex, L as fromRlp, M as getAddress, O as getContractAddress, P as getContractError, Q as getCreate2Address, S as getCreateAddress, V as getEventSelector, X as getFunctionSelector, Y as gweiUnits, Z as hexToBigInt, _ as hexToBool, $ as hexToBytes, a0 as hexToNumber, a1 as hexToString, a2 as isAddress, a3 as isAddressEqual, a4 as isBytes, a5 as isHex, a6 as keccak256, a7 as numberToBytes, a8 as numberToHex, a9 as pad, aa as padBytes, ab as padHex, ac as parseEther, ad as parseGwei, ae as parseUnit, af as size, ag as slice, ah as sliceBytes, ai as sliceHex, aj as stringToBytes, ak as stringToHex, al as stringify, am as toBytes, an as toHex, ao as toRlp, ap as trim, aq as weiUnits } from './parseGwei-
|
1
|
+
import { T as TransportConfig, a as Transport, B as BaseRpcRequests } from './createClient-8a8b4bf4.js';
|
2
|
+
export { C as Client, b as ClientConfig, a as Transport, T as TransportConfig, c as createClient, d as createTransport } from './createClient-8a8b4bf4.js';
|
3
|
+
import { B as BaseError, H as HttpOptions, R as RpcResponse } from './parseGwei-ce3a9dfa.js';
|
4
|
+
export { B as BaseError, C as CallExecutionError, a as ContractFunctionExecutionError, b as ContractFunctionRevertedError, c as ContractFunctionZeroDataError, E as EstimateGasExecutionError, d as ExecutionRevertedError, F as FeeCapTooHighError, e as FeeCapTooLowError, G as GetContractAddressOptions, o as GetCreate2AddressOptions, p as GetCreateAddressOptions, I as InsufficientFundsError, f as IntrinsicGasTooHighError, g as IntrinsicGasTooLowError, N as NonceMaxValueError, h as NonceTooHighError, i as NonceTooLowError, j as RawContractError, T as TipAboveFeeCapError, q as ToRlpResponse, k as TransactionExecutionError, m as TransactionNotFoundError, n as TransactionReceiptNotFoundError, l as TransactionTypeNotSupportedError, U as UnknownNodeError, W as WaitForTransactionReceiptTimeoutError, r as boolToBytes, s as boolToHex, t as bytesToBigint, u as bytesToBool, v as bytesToHex, w as bytesToNumber, x as bytesToString, y as etherUnits, z as formatEther, A as formatGwei, D as formatUnit, J as fromBytes, K as fromHex, L as fromRlp, M as getAddress, O as getContractAddress, P as getContractError, Q as getCreate2Address, S as getCreateAddress, V as getEventSelector, X as getFunctionSelector, Y as gweiUnits, Z as hexToBigInt, _ as hexToBool, $ as hexToBytes, a0 as hexToNumber, a1 as hexToString, a2 as isAddress, a3 as isAddressEqual, a4 as isBytes, a5 as isHex, a6 as keccak256, a7 as numberToBytes, a8 as numberToHex, a9 as pad, aa as padBytes, ab as padHex, ac as parseEther, ad as parseGwei, ae as parseUnit, af as size, ag as slice, ah as sliceBytes, ai as sliceHex, aj as stringToBytes, ak as stringToHex, al as stringify, am as toBytes, an as toHex, ao as toRlp, ap as trim, aq as weiUnits } from './parseGwei-ce3a9dfa.js';
|
5
5
|
import WebSocket from 'isomorphic-ws';
|
6
|
-
import { H as Hex, a as Hash, C as Chain, B as ByteArray } from './chain-
|
7
|
-
export { b as AbiItem, c as AccessList, A as Address, d as Block, e as BlockIdentifier, f as BlockNumber, g as BlockTag, B as ByteArray, C as Chain, h as ContractConfig, J as ExtractFormatter, F as FeeHistory, i as FeeValues, j as FeeValuesEIP1559, k as FeeValuesLegacy, K as Formatted, M as FormattedTransaction, a as Hash, H as Hex, L as Log, R as RpcBlock, l as RpcBlockIdentifier, m as RpcBlockNumber, n as RpcFeeHistory, o as RpcFeeValues, p as RpcLog, q as RpcTransaction, r as RpcTransactionReceipt, s as RpcTransactionRequest, t as RpcUncle, z as Transaction, D as TransactionBase, E as TransactionEIP1559, G as TransactionEIP2930, N as TransactionFormatter, I as TransactionLegacy, T as TransactionReceipt, u as TransactionRequest, v as TransactionRequestBase, w as TransactionRequestEIP1559, x as TransactionRequestEIP2930, y as TransactionRequestLegacy, U as Uncle, O as defineTransaction, P as formatTransaction, Q as transactionType } from './chain-
|
8
|
-
export { B as BlockFormatter, F as FormattedBlock, b as FormattedTransactionReceipt, P as PublicClient, a as PublicClientConfig, T as TransactionReceiptFormatter, c as createPublicClient, d as defineBlock, e as defineTransactionReceipt, f as formatBlock } from './createPublicClient-
|
9
|
-
export { T as TestClient, a as TestClientConfig, c as createTestClient } from './test-
|
10
|
-
export { F as FormattedTransactionRequest, T as TransactionRequestFormatter, W as WalletClient, a as WalletClientConfig, c as createWalletClient, d as defineTransactionRequest, f as formatTransactionRequest } from './wallet-
|
6
|
+
import { H as Hex, a as Hash, C as Chain, B as ByteArray } from './chain-4a0d4164.js';
|
7
|
+
export { b as AbiItem, c as AccessList, A as Address, d as Block, e as BlockIdentifier, f as BlockNumber, g as BlockTag, B as ByteArray, C as Chain, h as ContractConfig, J as ExtractFormatter, F as FeeHistory, i as FeeValues, j as FeeValuesEIP1559, k as FeeValuesLegacy, K as Formatted, M as FormattedTransaction, a as Hash, H as Hex, L as Log, R as RpcBlock, l as RpcBlockIdentifier, m as RpcBlockNumber, n as RpcFeeHistory, o as RpcFeeValues, p as RpcLog, q as RpcTransaction, r as RpcTransactionReceipt, s as RpcTransactionRequest, t as RpcUncle, z as Transaction, D as TransactionBase, E as TransactionEIP1559, G as TransactionEIP2930, N as TransactionFormatter, I as TransactionLegacy, T as TransactionReceipt, u as TransactionRequest, v as TransactionRequestBase, w as TransactionRequestEIP1559, x as TransactionRequestEIP2930, y as TransactionRequestLegacy, U as Uncle, O as defineTransaction, P as formatTransaction, Q as transactionType } from './chain-4a0d4164.js';
|
8
|
+
export { B as BlockFormatter, F as FormattedBlock, b as FormattedTransactionReceipt, P as PublicClient, a as PublicClientConfig, T as TransactionReceiptFormatter, c as createPublicClient, d as defineBlock, e as defineTransactionReceipt, f as formatBlock } from './createPublicClient-b5afe6b8.js';
|
9
|
+
export { T as TestClient, a as TestClientConfig, c as createTestClient } from './test-5d5828c9.js';
|
10
|
+
export { F as FormattedTransactionRequest, T as TransactionRequestFormatter, W as WalletClient, a as WalletClientConfig, c as createWalletClient, d as defineTransactionRequest, f as formatTransactionRequest } from './wallet-5ab86528.js';
|
11
11
|
export { l as labelhash, n as namehash } from './namehash-88f4639d.js';
|
12
|
-
export { D as DecodeAbiArgs, a as DecodeErrorResultArgs, b as DecodeErrorResultResponse, c as DecodeEventLogArgs, d as DecodeEventLogResponse, e as DecodeFunctionDataArgs, f as DecodeFunctionResultArgs, g as DecodeFunctionResultResponse, E as EncodeAbiArgs, h as EncodeDeployDataArgs, i as EncodeErrorResultArgs, j as EncodeEventTopicsArgs, k as EncodeFunctionDataArgs, l as EncodeFunctionResultArgs, G as GetAbiItemArgs, m as decodeAbi, n as decodeErrorResult, o as decodeEventLog, p as decodeFunctionData, q as decodeFunctionResult, r as encodeAbi, s as encodeDeployData, t as encodeErrorResult, u as encodeEventTopics, v as encodeFunctionData, w as encodeFunctionResult, x as getAbiItem } from './getAbiItem-
|
13
|
-
export { d as defineChain } from './chain-
|
14
|
-
import './eip1193-
|
12
|
+
export { D as DecodeAbiArgs, a as DecodeErrorResultArgs, b as DecodeErrorResultResponse, c as DecodeEventLogArgs, d as DecodeEventLogResponse, e as DecodeFunctionDataArgs, f as DecodeFunctionResultArgs, g as DecodeFunctionResultResponse, E as EncodeAbiArgs, h as EncodeDeployDataArgs, i as EncodeErrorResultArgs, j as EncodeEventTopicsArgs, k as EncodeFunctionDataArgs, l as EncodeFunctionResultArgs, G as GetAbiItemArgs, m as decodeAbi, n as decodeErrorResult, o as decodeEventLog, p as decodeFunctionData, q as decodeFunctionResult, r as encodeAbi, s as encodeDeployData, t as encodeErrorResult, u as encodeEventTopics, v as encodeFunctionData, w as encodeFunctionResult, x as getAbiItem } from './getAbiItem-d7aa40b1.js';
|
13
|
+
export { d as defineChain } from './chain-ce6e149c.js';
|
14
|
+
import './eip1193-8c021438.js';
|
15
15
|
import 'abitype';
|
16
16
|
import '@wagmi/chains';
|
17
17
|
import 'ethers@6/types/providers';
|