@ensdomains/ensjs 3.0.0-beta.3 → 3.0.0-beta.5
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/cjs/dns.js.map +1 -1
- package/dist/cjs/errors/utils.js +13 -1
- package/dist/cjs/errors/utils.js.map +1 -1
- package/dist/cjs/errors/version.js +1 -1
- package/dist/cjs/utils/encoders/encodeAbi.js +31 -1
- package/dist/cjs/utils/encoders/encodeAbi.js.map +1 -1
- package/dist/cjs/utils/index.js +21 -1
- package/dist/cjs/utils/index.js.map +1 -1
- package/dist/cjs/wallet.js.map +1 -1
- package/dist/esm/dns.js.map +1 -1
- package/dist/esm/errors/utils.js +11 -0
- package/dist/esm/errors/utils.js.map +1 -1
- package/dist/esm/errors/version.js +1 -1
- package/dist/esm/utils/encoders/encodeAbi.js +28 -0
- package/dist/esm/utils/encoders/encodeAbi.js.map +1 -1
- package/dist/esm/utils/index.js +2 -1
- package/dist/esm/utils/index.js.map +1 -1
- package/dist/esm/wallet.js.map +1 -1
- package/dist/types/clients/decorators/public.d.ts +1 -519
- package/dist/types/clients/decorators/public.d.ts.map +1 -1
- package/dist/types/clients/decorators/subgraph.d.ts +1 -519
- package/dist/types/clients/decorators/subgraph.d.ts.map +1 -1
- package/dist/types/clients/decorators/wallet.d.ts +19 -28
- package/dist/types/clients/decorators/wallet.d.ts.map +1 -1
- package/dist/types/clients/public.d.ts +21 -30
- package/dist/types/clients/public.d.ts.map +1 -1
- package/dist/types/clients/subgraph.d.ts +17 -26
- package/dist/types/clients/subgraph.d.ts.map +1 -1
- package/dist/types/clients/wallet.d.ts +46 -55
- package/dist/types/clients/wallet.d.ts.map +1 -1
- package/dist/types/dns.d.ts +1 -1
- package/dist/types/dns.d.ts.map +1 -1
- package/dist/types/errors/utils.d.ts +6 -0
- package/dist/types/errors/utils.d.ts.map +1 -1
- package/dist/types/errors/version.d.ts +1 -1
- package/dist/types/functions/dns/importDnsName.d.ts +38 -56
- package/dist/types/functions/dns/importDnsName.d.ts.map +1 -1
- package/dist/types/functions/wallet/commitName.d.ts +38 -56
- package/dist/types/functions/wallet/commitName.d.ts.map +1 -1
- package/dist/types/functions/wallet/createSubname.d.ts +38 -56
- package/dist/types/functions/wallet/createSubname.d.ts.map +1 -1
- package/dist/types/functions/wallet/deleteSubname.d.ts +38 -56
- package/dist/types/functions/wallet/deleteSubname.d.ts.map +1 -1
- package/dist/types/functions/wallet/registerName.d.ts +38 -56
- package/dist/types/functions/wallet/registerName.d.ts.map +1 -1
- package/dist/types/functions/wallet/renewNames.d.ts +38 -56
- package/dist/types/functions/wallet/renewNames.d.ts.map +1 -1
- package/dist/types/functions/wallet/setAbiRecord.d.ts +38 -56
- package/dist/types/functions/wallet/setAbiRecord.d.ts.map +1 -1
- package/dist/types/functions/wallet/setAddressRecord.d.ts +38 -56
- package/dist/types/functions/wallet/setAddressRecord.d.ts.map +1 -1
- package/dist/types/functions/wallet/setChildFuses.d.ts +38 -56
- package/dist/types/functions/wallet/setChildFuses.d.ts.map +1 -1
- package/dist/types/functions/wallet/setContentHashRecord.d.ts +38 -56
- package/dist/types/functions/wallet/setContentHashRecord.d.ts.map +1 -1
- package/dist/types/functions/wallet/setFuses.d.ts +38 -56
- package/dist/types/functions/wallet/setFuses.d.ts.map +1 -1
- package/dist/types/functions/wallet/setPrimaryName.d.ts +38 -56
- package/dist/types/functions/wallet/setPrimaryName.d.ts.map +1 -1
- package/dist/types/functions/wallet/setRecords.d.ts +38 -56
- package/dist/types/functions/wallet/setRecords.d.ts.map +1 -1
- package/dist/types/functions/wallet/setResolver.d.ts +38 -56
- package/dist/types/functions/wallet/setResolver.d.ts.map +1 -1
- package/dist/types/functions/wallet/setTextRecord.d.ts +38 -56
- package/dist/types/functions/wallet/setTextRecord.d.ts.map +1 -1
- package/dist/types/functions/wallet/transferName.d.ts +39 -57
- package/dist/types/functions/wallet/transferName.d.ts.map +1 -1
- package/dist/types/functions/wallet/unwrapName.d.ts +38 -56
- package/dist/types/functions/wallet/unwrapName.d.ts.map +1 -1
- package/dist/types/functions/wallet/wrapName.d.ts +38 -56
- package/dist/types/functions/wallet/wrapName.d.ts.map +1 -1
- package/dist/types/utils/encoders/encodeAbi.d.ts +8 -5
- package/dist/types/utils/encoders/encodeAbi.d.ts.map +1 -1
- package/dist/types/utils/index.d.ts +2 -1
- package/dist/types/utils/index.d.ts.map +1 -1
- package/dist/types/wallet.d.ts +17 -17
- package/dist/types/wallet.d.ts.map +1 -1
- package/package.json +2 -2
- package/src/clients/public.ts +1 -1
- package/src/clients/subgraph.ts +1 -1
- package/src/clients/wallet.ts +1 -1
- package/src/dns.ts +2 -0
- package/src/errors/utils.ts +8 -0
- package/src/errors/version.ts +1 -1
- package/src/functions/wallet/transferName.ts +1 -1
- package/src/utils/encoders/encodeAbi.ts +35 -6
- package/src/utils/index.ts +24 -0
- package/src/wallet.ts +34 -0
|
@@ -132,523 +132,5 @@ export type EnsSubgraphActions = {
|
|
|
132
132
|
* transport: http(),
|
|
133
133
|
* }).extend(ensSubgraphActions)
|
|
134
134
|
*/
|
|
135
|
-
export declare const ensSubgraphActions: <TTransport extends Transport = Transport, TChain extends ChainWithEns = ChainWithEns, TAccount extends Account | undefined = Account | undefined>(client:
|
|
136
|
-
account: TAccount;
|
|
137
|
-
batch?: {
|
|
138
|
-
multicall?: boolean | import("viem").MulticallBatchOptions | undefined;
|
|
139
|
-
} | undefined;
|
|
140
|
-
chain: TChain;
|
|
141
|
-
key: string;
|
|
142
|
-
name: string;
|
|
143
|
-
pollingInterval: number;
|
|
144
|
-
request: import("viem").EIP1193RequestFn<[{
|
|
145
|
-
Method: "web3_clientVersion";
|
|
146
|
-
Parameters?: undefined;
|
|
147
|
-
ReturnType: string;
|
|
148
|
-
}, {
|
|
149
|
-
Method: "web3_sha3";
|
|
150
|
-
Parameters: [data: `0x${string}`];
|
|
151
|
-
ReturnType: string;
|
|
152
|
-
}, {
|
|
153
|
-
Method: "net_listening";
|
|
154
|
-
Parameters?: undefined;
|
|
155
|
-
ReturnType: boolean;
|
|
156
|
-
}, {
|
|
157
|
-
Method: "net_peerCount";
|
|
158
|
-
Parameters?: undefined;
|
|
159
|
-
ReturnType: `0x${string}`;
|
|
160
|
-
}, {
|
|
161
|
-
Method: "net_version";
|
|
162
|
-
Parameters?: undefined;
|
|
163
|
-
ReturnType: `0x${string}`;
|
|
164
|
-
}, {
|
|
165
|
-
Method: "eth_blockNumber";
|
|
166
|
-
Parameters?: undefined;
|
|
167
|
-
ReturnType: `0x${string}`;
|
|
168
|
-
}, {
|
|
169
|
-
Method: "eth_call";
|
|
170
|
-
Parameters: [transaction: Partial<import("viem").RpcTransactionRequest>] | [transaction: Partial<import("viem").RpcTransactionRequest>, block: `0x${string}` | import("viem").BlockTag | import("viem").RpcBlockIdentifier];
|
|
171
|
-
ReturnType: `0x${string}`;
|
|
172
|
-
}, {
|
|
173
|
-
Method: "eth_chainId";
|
|
174
|
-
Parameters?: undefined;
|
|
175
|
-
ReturnType: `0x${string}`;
|
|
176
|
-
}, {
|
|
177
|
-
Method: "eth_coinbase";
|
|
178
|
-
Parameters?: undefined;
|
|
179
|
-
ReturnType: `0x${string}`;
|
|
180
|
-
}, {
|
|
181
|
-
Method: "eth_estimateGas";
|
|
182
|
-
Parameters: [transaction: import("viem").RpcTransactionRequest] | [transaction: import("viem").RpcTransactionRequest, block: `0x${string}` | import("viem").BlockTag];
|
|
183
|
-
ReturnType: `0x${string}`;
|
|
184
|
-
}, {
|
|
185
|
-
Method: "eth_feeHistory";
|
|
186
|
-
Parameters: [blockCount: `0x${string}`, newestBlock: `0x${string}` | import("viem").BlockTag, rewardPercentiles: number[] | undefined];
|
|
187
|
-
ReturnType: import("viem").RpcFeeHistory;
|
|
188
|
-
}, {
|
|
189
|
-
Method: "eth_gasPrice";
|
|
190
|
-
Parameters?: undefined;
|
|
191
|
-
ReturnType: `0x${string}`;
|
|
192
|
-
}, {
|
|
193
|
-
Method: "eth_getBalance";
|
|
194
|
-
Parameters: [address: `0x${string}`, block: `0x${string}` | import("viem").BlockTag | import("viem").RpcBlockIdentifier];
|
|
195
|
-
ReturnType: `0x${string}`;
|
|
196
|
-
}, {
|
|
197
|
-
Method: "eth_getBlockByHash";
|
|
198
|
-
Parameters: [hash: `0x${string}`, includeTransactionObjects: boolean];
|
|
199
|
-
ReturnType: import("viem").RpcBlock | null;
|
|
200
|
-
}, {
|
|
201
|
-
Method: "eth_getBlockByNumber";
|
|
202
|
-
Parameters: [block: `0x${string}` | import("viem").BlockTag, includeTransactionObjects: boolean];
|
|
203
|
-
ReturnType: import("viem").RpcBlock | null;
|
|
204
|
-
}, {
|
|
205
|
-
Method: "eth_getBlockTransactionCountByHash";
|
|
206
|
-
Parameters: [hash: `0x${string}`];
|
|
207
|
-
ReturnType: `0x${string}`;
|
|
208
|
-
}, {
|
|
209
|
-
Method: "eth_getBlockTransactionCountByNumber";
|
|
210
|
-
Parameters: [block: `0x${string}` | import("viem").BlockTag];
|
|
211
|
-
ReturnType: `0x${string}`;
|
|
212
|
-
}, {
|
|
213
|
-
Method: "eth_getCode";
|
|
214
|
-
Parameters: [address: `0x${string}`, block: `0x${string}` | import("viem").BlockTag | import("viem").RpcBlockIdentifier];
|
|
215
|
-
ReturnType: `0x${string}`;
|
|
216
|
-
}, {
|
|
217
|
-
Method: "eth_getFilterChanges";
|
|
218
|
-
Parameters: [filterId: `0x${string}`];
|
|
219
|
-
ReturnType: import("viem").RpcLog[] | `0x${string}`[];
|
|
220
|
-
}, {
|
|
221
|
-
Method: "eth_getFilterLogs";
|
|
222
|
-
Parameters: [filterId: `0x${string}`];
|
|
223
|
-
ReturnType: import("viem").RpcLog[];
|
|
224
|
-
}, {
|
|
225
|
-
Method: "eth_getLogs";
|
|
226
|
-
Parameters: [{
|
|
227
|
-
address?: `0x${string}` | `0x${string}`[] | undefined;
|
|
228
|
-
topics?: import("viem").LogTopic[] | undefined;
|
|
229
|
-
} & ({
|
|
230
|
-
fromBlock?: `0x${string}` | import("viem").BlockTag | undefined;
|
|
231
|
-
toBlock?: `0x${string}` | import("viem").BlockTag | undefined;
|
|
232
|
-
blockHash?: undefined;
|
|
233
|
-
} | {
|
|
234
|
-
fromBlock?: undefined;
|
|
235
|
-
toBlock?: undefined;
|
|
236
|
-
blockHash?: `0x${string}` | undefined;
|
|
237
|
-
})];
|
|
238
|
-
ReturnType: import("viem").RpcLog[];
|
|
239
|
-
}, {
|
|
240
|
-
Method: "eth_getStorageAt";
|
|
241
|
-
Parameters: [address: `0x${string}`, index: `0x${string}`, block: `0x${string}` | import("viem").BlockTag | import("viem").RpcBlockIdentifier];
|
|
242
|
-
ReturnType: `0x${string}`;
|
|
243
|
-
}, {
|
|
244
|
-
Method: "eth_getTransactionByBlockHashAndIndex";
|
|
245
|
-
Parameters: [hash: `0x${string}`, index: `0x${string}`];
|
|
246
|
-
ReturnType: import("viem").RpcTransaction | null;
|
|
247
|
-
}, {
|
|
248
|
-
Method: "eth_getTransactionByBlockNumberAndIndex";
|
|
249
|
-
Parameters: [block: `0x${string}` | import("viem").BlockTag, index: `0x${string}`];
|
|
250
|
-
ReturnType: import("viem").RpcTransaction | null;
|
|
251
|
-
}, {
|
|
252
|
-
Method: "eth_getTransactionByHash";
|
|
253
|
-
Parameters: [hash: `0x${string}`];
|
|
254
|
-
ReturnType: import("viem").RpcTransaction | null;
|
|
255
|
-
}, {
|
|
256
|
-
Method: "eth_getTransactionCount";
|
|
257
|
-
Parameters: [address: `0x${string}`, block: `0x${string}` | import("viem").BlockTag | import("viem").RpcBlockIdentifier];
|
|
258
|
-
ReturnType: `0x${string}`;
|
|
259
|
-
}, {
|
|
260
|
-
Method: "eth_getTransactionReceipt";
|
|
261
|
-
Parameters: [hash: `0x${string}`];
|
|
262
|
-
ReturnType: import("viem").RpcTransactionReceipt | null;
|
|
263
|
-
}, {
|
|
264
|
-
Method: "eth_getUncleByBlockHashAndIndex";
|
|
265
|
-
Parameters: [hash: `0x${string}`, index: `0x${string}`];
|
|
266
|
-
ReturnType: import("viem").RpcUncle | null;
|
|
267
|
-
}, {
|
|
268
|
-
Method: "eth_getUncleByBlockNumberAndIndex";
|
|
269
|
-
Parameters: [block: `0x${string}` | import("viem").BlockTag, index: `0x${string}`];
|
|
270
|
-
ReturnType: import("viem").RpcUncle | null;
|
|
271
|
-
}, {
|
|
272
|
-
Method: "eth_getUncleCountByBlockHash";
|
|
273
|
-
Parameters: [hash: `0x${string}`];
|
|
274
|
-
ReturnType: `0x${string}`;
|
|
275
|
-
}, {
|
|
276
|
-
Method: "eth_getUncleCountByBlockNumber";
|
|
277
|
-
Parameters: [block: `0x${string}` | import("viem").BlockTag];
|
|
278
|
-
ReturnType: `0x${string}`;
|
|
279
|
-
}, {
|
|
280
|
-
Method: "eth_newBlockFilter";
|
|
281
|
-
Parameters?: undefined;
|
|
282
|
-
ReturnType: `0x${string}`;
|
|
283
|
-
}, {
|
|
284
|
-
Method: "eth_newFilter";
|
|
285
|
-
Parameters: [filter: {
|
|
286
|
-
fromBlock?: `0x${string}` | import("viem").BlockTag | undefined;
|
|
287
|
-
toBlock?: `0x${string}` | import("viem").BlockTag | undefined;
|
|
288
|
-
address?: `0x${string}` | `0x${string}`[] | undefined;
|
|
289
|
-
topics?: import("viem").LogTopic[] | undefined;
|
|
290
|
-
}];
|
|
291
|
-
ReturnType: `0x${string}`;
|
|
292
|
-
}, {
|
|
293
|
-
Method: "eth_newPendingTransactionFilter";
|
|
294
|
-
Parameters?: undefined;
|
|
295
|
-
ReturnType: `0x${string}`;
|
|
296
|
-
}, {
|
|
297
|
-
Method: "eth_protocolVersion";
|
|
298
|
-
Parameters?: undefined;
|
|
299
|
-
ReturnType: string;
|
|
300
|
-
}, {
|
|
301
|
-
Method: "eth_sendRawTransaction";
|
|
302
|
-
Parameters: [signedTransaction: `0x${string}`];
|
|
303
|
-
ReturnType: `0x${string}`;
|
|
304
|
-
}, {
|
|
305
|
-
Method: "eth_uninstallFilter";
|
|
306
|
-
Parameters: [filterId: `0x${string}`];
|
|
307
|
-
ReturnType: boolean;
|
|
308
|
-
}, {
|
|
309
|
-
Method: "eth_accounts";
|
|
310
|
-
Parameters?: undefined;
|
|
311
|
-
ReturnType: `0x${string}`[];
|
|
312
|
-
}, {
|
|
313
|
-
Method: "eth_chainId";
|
|
314
|
-
Parameters?: undefined;
|
|
315
|
-
ReturnType: `0x${string}`;
|
|
316
|
-
}, {
|
|
317
|
-
Method: "eth_estimateGas";
|
|
318
|
-
Parameters: [transaction: import("viem").RpcTransactionRequest] | [transaction: import("viem").RpcTransactionRequest, block: `0x${string}` | import("viem").BlockTag];
|
|
319
|
-
ReturnType: `0x${string}`;
|
|
320
|
-
}, {
|
|
321
|
-
Method: "eth_requestAccounts";
|
|
322
|
-
Parameters?: undefined;
|
|
323
|
-
ReturnType: `0x${string}`[];
|
|
324
|
-
}, {
|
|
325
|
-
Method: "eth_sendTransaction";
|
|
326
|
-
Parameters: [transaction: import("viem").RpcTransactionRequest];
|
|
327
|
-
ReturnType: `0x${string}`;
|
|
328
|
-
}, {
|
|
329
|
-
Method: "eth_sendRawTransaction";
|
|
330
|
-
Parameters: [signedTransaction: `0x${string}`];
|
|
331
|
-
ReturnType: `0x${string}`;
|
|
332
|
-
}, {
|
|
333
|
-
Method: "eth_sign";
|
|
334
|
-
Parameters: [address: `0x${string}`, data: `0x${string}`];
|
|
335
|
-
ReturnType: `0x${string}`;
|
|
336
|
-
}, {
|
|
337
|
-
Method: "eth_signTransaction";
|
|
338
|
-
Parameters: [request: import("viem").RpcTransactionRequest];
|
|
339
|
-
ReturnType: `0x${string}`;
|
|
340
|
-
}, {
|
|
341
|
-
Method: "eth_signTypedData_v4";
|
|
342
|
-
Parameters: [address: `0x${string}`, message: string];
|
|
343
|
-
ReturnType: `0x${string}`;
|
|
344
|
-
}, {
|
|
345
|
-
Method: "eth_syncing";
|
|
346
|
-
Parameters?: undefined;
|
|
347
|
-
ReturnType: false | import("viem").NetworkSync;
|
|
348
|
-
}, {
|
|
349
|
-
Method: "personal_sign";
|
|
350
|
-
Parameters: [data: `0x${string}`, address: `0x${string}`];
|
|
351
|
-
ReturnType: `0x${string}`;
|
|
352
|
-
}, {
|
|
353
|
-
Method: "wallet_addEthereumChain";
|
|
354
|
-
Parameters: [chain: import("viem").AddEthereumChainParameter];
|
|
355
|
-
ReturnType: null;
|
|
356
|
-
}, {
|
|
357
|
-
Method: "wallet_getPermissions";
|
|
358
|
-
Parameters?: undefined;
|
|
359
|
-
ReturnType: import("viem").WalletPermission[];
|
|
360
|
-
}, {
|
|
361
|
-
Method: "wallet_requestPermissions";
|
|
362
|
-
Parameters: [permissions: {
|
|
363
|
-
eth_accounts: Record<string, any>;
|
|
364
|
-
}];
|
|
365
|
-
ReturnType: import("viem").WalletPermission[];
|
|
366
|
-
}, {
|
|
367
|
-
Method: "wallet_switchEthereumChain";
|
|
368
|
-
Parameters: [chain: {
|
|
369
|
-
chainId: string;
|
|
370
|
-
}];
|
|
371
|
-
ReturnType: null;
|
|
372
|
-
}, {
|
|
373
|
-
Method: "wallet_watchAsset";
|
|
374
|
-
Parameters: import("viem").WatchAssetParams;
|
|
375
|
-
ReturnType: boolean;
|
|
376
|
-
}]>;
|
|
377
|
-
transport: ReturnType<TTransport>["config"] & ReturnType<TTransport>["value"];
|
|
378
|
-
type: string;
|
|
379
|
-
uid: string;
|
|
380
|
-
} & {
|
|
381
|
-
extend: <TNextExtended extends {
|
|
382
|
-
account?: undefined;
|
|
383
|
-
batch?: undefined;
|
|
384
|
-
chain?: undefined;
|
|
385
|
-
key?: undefined;
|
|
386
|
-
name?: undefined;
|
|
387
|
-
pollingInterval?: undefined;
|
|
388
|
-
request?: undefined;
|
|
389
|
-
transport?: undefined;
|
|
390
|
-
type?: undefined;
|
|
391
|
-
uid?: undefined;
|
|
392
|
-
} & {
|
|
393
|
-
[key: string]: unknown;
|
|
394
|
-
} = {
|
|
395
|
-
account?: undefined;
|
|
396
|
-
batch?: undefined;
|
|
397
|
-
chain?: undefined;
|
|
398
|
-
key?: undefined;
|
|
399
|
-
name?: undefined;
|
|
400
|
-
pollingInterval?: undefined;
|
|
401
|
-
request?: undefined;
|
|
402
|
-
transport?: undefined;
|
|
403
|
-
type?: undefined;
|
|
404
|
-
uid?: undefined;
|
|
405
|
-
} & {
|
|
406
|
-
[key: string]: unknown;
|
|
407
|
-
}>(fn: (client: {
|
|
408
|
-
account: TAccount;
|
|
409
|
-
batch?: {
|
|
410
|
-
multicall?: boolean | import("viem").MulticallBatchOptions | undefined;
|
|
411
|
-
} | undefined;
|
|
412
|
-
chain: TChain;
|
|
413
|
-
key: string;
|
|
414
|
-
name: string;
|
|
415
|
-
pollingInterval: number;
|
|
416
|
-
request: import("viem").EIP1193RequestFn<[{
|
|
417
|
-
Method: "web3_clientVersion";
|
|
418
|
-
Parameters?: undefined;
|
|
419
|
-
ReturnType: string;
|
|
420
|
-
}, {
|
|
421
|
-
Method: "web3_sha3";
|
|
422
|
-
Parameters: [data: `0x${string}`];
|
|
423
|
-
ReturnType: string;
|
|
424
|
-
}, {
|
|
425
|
-
Method: "net_listening";
|
|
426
|
-
Parameters?: undefined;
|
|
427
|
-
ReturnType: boolean;
|
|
428
|
-
}, {
|
|
429
|
-
Method: "net_peerCount";
|
|
430
|
-
Parameters?: undefined;
|
|
431
|
-
ReturnType: `0x${string}`;
|
|
432
|
-
}, {
|
|
433
|
-
Method: "net_version";
|
|
434
|
-
Parameters?: undefined;
|
|
435
|
-
ReturnType: `0x${string}`;
|
|
436
|
-
}, {
|
|
437
|
-
Method: "eth_blockNumber";
|
|
438
|
-
Parameters?: undefined;
|
|
439
|
-
ReturnType: `0x${string}`;
|
|
440
|
-
}, {
|
|
441
|
-
Method: "eth_call";
|
|
442
|
-
Parameters: [transaction: Partial<import("viem").RpcTransactionRequest>] | [transaction: Partial<import("viem").RpcTransactionRequest>, block: `0x${string}` | import("viem").BlockTag | import("viem").RpcBlockIdentifier];
|
|
443
|
-
ReturnType: `0x${string}`;
|
|
444
|
-
}, {
|
|
445
|
-
Method: "eth_chainId";
|
|
446
|
-
Parameters?: undefined;
|
|
447
|
-
ReturnType: `0x${string}`;
|
|
448
|
-
}, {
|
|
449
|
-
Method: "eth_coinbase";
|
|
450
|
-
Parameters?: undefined;
|
|
451
|
-
ReturnType: `0x${string}`;
|
|
452
|
-
}, {
|
|
453
|
-
Method: "eth_estimateGas";
|
|
454
|
-
Parameters: [transaction: import("viem").RpcTransactionRequest] | [transaction: import("viem").RpcTransactionRequest, block: `0x${string}` | import("viem").BlockTag];
|
|
455
|
-
ReturnType: `0x${string}`;
|
|
456
|
-
}, {
|
|
457
|
-
Method: "eth_feeHistory";
|
|
458
|
-
Parameters: [blockCount: `0x${string}`, newestBlock: `0x${string}` | import("viem").BlockTag, rewardPercentiles: number[] | undefined];
|
|
459
|
-
ReturnType: import("viem").RpcFeeHistory;
|
|
460
|
-
}, {
|
|
461
|
-
Method: "eth_gasPrice";
|
|
462
|
-
Parameters?: undefined;
|
|
463
|
-
ReturnType: `0x${string}`;
|
|
464
|
-
}, {
|
|
465
|
-
Method: "eth_getBalance";
|
|
466
|
-
Parameters: [address: `0x${string}`, block: `0x${string}` | import("viem").BlockTag | import("viem").RpcBlockIdentifier];
|
|
467
|
-
ReturnType: `0x${string}`;
|
|
468
|
-
}, {
|
|
469
|
-
Method: "eth_getBlockByHash";
|
|
470
|
-
Parameters: [hash: `0x${string}`, includeTransactionObjects: boolean];
|
|
471
|
-
ReturnType: import("viem").RpcBlock | null;
|
|
472
|
-
}, {
|
|
473
|
-
Method: "eth_getBlockByNumber";
|
|
474
|
-
Parameters: [block: `0x${string}` | import("viem").BlockTag, includeTransactionObjects: boolean];
|
|
475
|
-
ReturnType: import("viem").RpcBlock | null;
|
|
476
|
-
}, {
|
|
477
|
-
Method: "eth_getBlockTransactionCountByHash";
|
|
478
|
-
Parameters: [hash: `0x${string}`];
|
|
479
|
-
ReturnType: `0x${string}`;
|
|
480
|
-
}, {
|
|
481
|
-
Method: "eth_getBlockTransactionCountByNumber";
|
|
482
|
-
Parameters: [block: `0x${string}` | import("viem").BlockTag];
|
|
483
|
-
ReturnType: `0x${string}`;
|
|
484
|
-
}, {
|
|
485
|
-
Method: "eth_getCode";
|
|
486
|
-
Parameters: [address: `0x${string}`, block: `0x${string}` | import("viem").BlockTag | import("viem").RpcBlockIdentifier];
|
|
487
|
-
ReturnType: `0x${string}`;
|
|
488
|
-
}, {
|
|
489
|
-
Method: "eth_getFilterChanges";
|
|
490
|
-
Parameters: [filterId: `0x${string}`];
|
|
491
|
-
ReturnType: import("viem").RpcLog[] | `0x${string}`[];
|
|
492
|
-
}, {
|
|
493
|
-
Method: "eth_getFilterLogs";
|
|
494
|
-
Parameters: [filterId: `0x${string}`];
|
|
495
|
-
ReturnType: import("viem").RpcLog[];
|
|
496
|
-
}, {
|
|
497
|
-
Method: "eth_getLogs";
|
|
498
|
-
Parameters: [{
|
|
499
|
-
address?: `0x${string}` | `0x${string}`[] | undefined;
|
|
500
|
-
topics?: import("viem").LogTopic[] | undefined;
|
|
501
|
-
} & ({
|
|
502
|
-
fromBlock?: `0x${string}` | import("viem").BlockTag | undefined;
|
|
503
|
-
toBlock?: `0x${string}` | import("viem").BlockTag | undefined;
|
|
504
|
-
blockHash?: undefined;
|
|
505
|
-
} | {
|
|
506
|
-
fromBlock?: undefined;
|
|
507
|
-
toBlock?: undefined;
|
|
508
|
-
blockHash?: `0x${string}` | undefined;
|
|
509
|
-
})];
|
|
510
|
-
ReturnType: import("viem").RpcLog[];
|
|
511
|
-
}, {
|
|
512
|
-
Method: "eth_getStorageAt";
|
|
513
|
-
Parameters: [address: `0x${string}`, index: `0x${string}`, block: `0x${string}` | import("viem").BlockTag | import("viem").RpcBlockIdentifier];
|
|
514
|
-
ReturnType: `0x${string}`;
|
|
515
|
-
}, {
|
|
516
|
-
Method: "eth_getTransactionByBlockHashAndIndex";
|
|
517
|
-
Parameters: [hash: `0x${string}`, index: `0x${string}`];
|
|
518
|
-
ReturnType: import("viem").RpcTransaction | null;
|
|
519
|
-
}, {
|
|
520
|
-
Method: "eth_getTransactionByBlockNumberAndIndex";
|
|
521
|
-
Parameters: [block: `0x${string}` | import("viem").BlockTag, index: `0x${string}`];
|
|
522
|
-
ReturnType: import("viem").RpcTransaction | null;
|
|
523
|
-
}, {
|
|
524
|
-
Method: "eth_getTransactionByHash";
|
|
525
|
-
Parameters: [hash: `0x${string}`];
|
|
526
|
-
ReturnType: import("viem").RpcTransaction | null;
|
|
527
|
-
}, {
|
|
528
|
-
Method: "eth_getTransactionCount";
|
|
529
|
-
Parameters: [address: `0x${string}`, block: `0x${string}` | import("viem").BlockTag | import("viem").RpcBlockIdentifier];
|
|
530
|
-
ReturnType: `0x${string}`;
|
|
531
|
-
}, {
|
|
532
|
-
Method: "eth_getTransactionReceipt";
|
|
533
|
-
Parameters: [hash: `0x${string}`];
|
|
534
|
-
ReturnType: import("viem").RpcTransactionReceipt | null;
|
|
535
|
-
}, {
|
|
536
|
-
Method: "eth_getUncleByBlockHashAndIndex";
|
|
537
|
-
Parameters: [hash: `0x${string}`, index: `0x${string}`];
|
|
538
|
-
ReturnType: import("viem").RpcUncle | null;
|
|
539
|
-
}, {
|
|
540
|
-
Method: "eth_getUncleByBlockNumberAndIndex";
|
|
541
|
-
Parameters: [block: `0x${string}` | import("viem").BlockTag, index: `0x${string}`];
|
|
542
|
-
ReturnType: import("viem").RpcUncle | null;
|
|
543
|
-
}, {
|
|
544
|
-
Method: "eth_getUncleCountByBlockHash";
|
|
545
|
-
Parameters: [hash: `0x${string}`];
|
|
546
|
-
ReturnType: `0x${string}`;
|
|
547
|
-
}, {
|
|
548
|
-
Method: "eth_getUncleCountByBlockNumber";
|
|
549
|
-
Parameters: [block: `0x${string}` | import("viem").BlockTag];
|
|
550
|
-
ReturnType: `0x${string}`;
|
|
551
|
-
}, {
|
|
552
|
-
Method: "eth_newBlockFilter";
|
|
553
|
-
Parameters?: undefined;
|
|
554
|
-
ReturnType: `0x${string}`;
|
|
555
|
-
}, {
|
|
556
|
-
Method: "eth_newFilter";
|
|
557
|
-
Parameters: [filter: {
|
|
558
|
-
fromBlock?: `0x${string}` | import("viem").BlockTag | undefined;
|
|
559
|
-
toBlock?: `0x${string}` | import("viem").BlockTag | undefined;
|
|
560
|
-
address?: `0x${string}` | `0x${string}`[] | undefined;
|
|
561
|
-
topics?: import("viem").LogTopic[] | undefined;
|
|
562
|
-
}];
|
|
563
|
-
ReturnType: `0x${string}`;
|
|
564
|
-
}, {
|
|
565
|
-
Method: "eth_newPendingTransactionFilter";
|
|
566
|
-
Parameters?: undefined;
|
|
567
|
-
ReturnType: `0x${string}`;
|
|
568
|
-
}, {
|
|
569
|
-
Method: "eth_protocolVersion";
|
|
570
|
-
Parameters?: undefined;
|
|
571
|
-
ReturnType: string;
|
|
572
|
-
}, {
|
|
573
|
-
Method: "eth_sendRawTransaction";
|
|
574
|
-
Parameters: [signedTransaction: `0x${string}`];
|
|
575
|
-
ReturnType: `0x${string}`;
|
|
576
|
-
}, {
|
|
577
|
-
Method: "eth_uninstallFilter";
|
|
578
|
-
Parameters: [filterId: `0x${string}`];
|
|
579
|
-
ReturnType: boolean;
|
|
580
|
-
}, {
|
|
581
|
-
Method: "eth_accounts";
|
|
582
|
-
Parameters?: undefined;
|
|
583
|
-
ReturnType: `0x${string}`[];
|
|
584
|
-
}, {
|
|
585
|
-
Method: "eth_chainId";
|
|
586
|
-
Parameters?: undefined;
|
|
587
|
-
ReturnType: `0x${string}`;
|
|
588
|
-
}, {
|
|
589
|
-
Method: "eth_estimateGas";
|
|
590
|
-
Parameters: [transaction: import("viem").RpcTransactionRequest] | [transaction: import("viem").RpcTransactionRequest, block: `0x${string}` | import("viem").BlockTag];
|
|
591
|
-
ReturnType: `0x${string}`;
|
|
592
|
-
}, {
|
|
593
|
-
Method: "eth_requestAccounts";
|
|
594
|
-
Parameters?: undefined;
|
|
595
|
-
ReturnType: `0x${string}`[];
|
|
596
|
-
}, {
|
|
597
|
-
Method: "eth_sendTransaction";
|
|
598
|
-
Parameters: [transaction: import("viem").RpcTransactionRequest];
|
|
599
|
-
ReturnType: `0x${string}`;
|
|
600
|
-
}, {
|
|
601
|
-
Method: "eth_sendRawTransaction";
|
|
602
|
-
Parameters: [signedTransaction: `0x${string}`];
|
|
603
|
-
ReturnType: `0x${string}`;
|
|
604
|
-
}, {
|
|
605
|
-
Method: "eth_sign";
|
|
606
|
-
Parameters: [address: `0x${string}`, data: `0x${string}`];
|
|
607
|
-
ReturnType: `0x${string}`;
|
|
608
|
-
}, {
|
|
609
|
-
Method: "eth_signTransaction";
|
|
610
|
-
Parameters: [request: import("viem").RpcTransactionRequest];
|
|
611
|
-
ReturnType: `0x${string}`;
|
|
612
|
-
}, {
|
|
613
|
-
Method: "eth_signTypedData_v4";
|
|
614
|
-
Parameters: [address: `0x${string}`, message: string];
|
|
615
|
-
ReturnType: `0x${string}`;
|
|
616
|
-
}, {
|
|
617
|
-
Method: "eth_syncing";
|
|
618
|
-
Parameters?: undefined;
|
|
619
|
-
ReturnType: false | import("viem").NetworkSync;
|
|
620
|
-
}, {
|
|
621
|
-
Method: "personal_sign";
|
|
622
|
-
Parameters: [data: `0x${string}`, address: `0x${string}`];
|
|
623
|
-
ReturnType: `0x${string}`;
|
|
624
|
-
}, {
|
|
625
|
-
Method: "wallet_addEthereumChain";
|
|
626
|
-
Parameters: [chain: import("viem").AddEthereumChainParameter];
|
|
627
|
-
ReturnType: null;
|
|
628
|
-
}, {
|
|
629
|
-
Method: "wallet_getPermissions";
|
|
630
|
-
Parameters?: undefined;
|
|
631
|
-
ReturnType: import("viem").WalletPermission[];
|
|
632
|
-
}, {
|
|
633
|
-
Method: "wallet_requestPermissions";
|
|
634
|
-
Parameters: [permissions: {
|
|
635
|
-
eth_accounts: Record<string, any>;
|
|
636
|
-
}];
|
|
637
|
-
ReturnType: import("viem").WalletPermission[];
|
|
638
|
-
}, {
|
|
639
|
-
Method: "wallet_switchEthereumChain";
|
|
640
|
-
Parameters: [chain: {
|
|
641
|
-
chainId: string;
|
|
642
|
-
}];
|
|
643
|
-
ReturnType: null;
|
|
644
|
-
}, {
|
|
645
|
-
Method: "wallet_watchAsset";
|
|
646
|
-
Parameters: import("viem").WatchAssetParams;
|
|
647
|
-
ReturnType: boolean;
|
|
648
|
-
}]>;
|
|
649
|
-
transport: ReturnType<TTransport>["config"] & ReturnType<TTransport>["value"];
|
|
650
|
-
type: string;
|
|
651
|
-
uid: string;
|
|
652
|
-
} & any) => import("viem").Narrow<TNextExtended>) => never;
|
|
653
|
-
}) => EnsSubgraphActions;
|
|
135
|
+
export declare const ensSubgraphActions: <TTransport extends Transport = Transport, TChain extends ChainWithEns = ChainWithEns, TAccount extends Account | undefined = Account | undefined>(client: Client<TTransport, TChain, TAccount>) => EnsSubgraphActions;
|
|
654
136
|
//# sourceMappingURL=subgraph.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"subgraph.d.ts","sourceRoot":"","sources":["../../../../src/clients/decorators/subgraph.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,MAAM,CAAA;AACtD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAA;AAC7D,OAAuB,EACrB,KAAK,wBAAwB,EAC7B,KAAK,wBAAwB,EAC9B,MAAM,4CAA4C,CAAA;AACnD,OAAuB,EACrB,KAAK,wBAAwB,EAC7B,KAAK,wBAAwB,EAC9B,MAAM,4CAA4C,CAAA;AACnD,OAA2B,EACzB,KAAK,4BAA4B,EACjC,KAAK,4BAA4B,EAClC,MAAM,gDAAgD,CAAA;AACvD,OAA2B,EACzB,KAAK,4BAA4B,EACjC,KAAK,4BAA4B,EAClC,MAAM,gDAAgD,CAAA;AACvD,OAA8B,EAC5B,KAAK,+BAA+B,EACpC,KAAK,+BAA+B,EACrC,MAAM,mDAAmD,CAAA;AAC1D,OAAoB,EAClB,KAAK,qBAAqB,EAC1B,KAAK,qBAAqB,EAC3B,MAAM,yCAAy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AA+B,CAAC,CAAA;IAC/E;;;;;;;;;;;;;;;OAeG;IACH,WAAW,EAAE,CAAC,EACZ,IAAI,EACJ,YAAY,EACZ,YAAY,EACZ,YAAY,EACZ,OAAO,EACP,cAAc,EACd,QAAQ,EACR,YAAY,GACb,EAAE,qBAAqB,KAAK,OAAO,CAAC,qBAAqB,CAAC,CAAA;CAC5D,CAAA;AAED;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,kBAAkB,sMAM5B,kBAQD,CAAA"}
|
|
@@ -450,8 +450,12 @@ export type EnsWalletActions<TChain extends ChainWithEns, TAccount extends Accou
|
|
|
450
450
|
export declare const ensWalletActions: <TTransport extends Transport = Transport, TChain extends ChainWithEns = ChainWithEns, TAccount extends Account | undefined = Account | undefined>(client: {
|
|
451
451
|
account: TAccount;
|
|
452
452
|
batch?: {
|
|
453
|
-
multicall?: boolean |
|
|
453
|
+
multicall?: boolean | {
|
|
454
|
+
batchSize?: number | undefined;
|
|
455
|
+
wait?: number | undefined;
|
|
456
|
+
} | undefined;
|
|
454
457
|
} | undefined;
|
|
458
|
+
cacheTime: number;
|
|
455
459
|
chain: TChain;
|
|
456
460
|
key: string;
|
|
457
461
|
name: string;
|
|
@@ -460,33 +464,6 @@ export declare const ensWalletActions: <TTransport extends Transport = Transport
|
|
|
460
464
|
transport: ReturnType<TTransport>["config"] & ReturnType<TTransport>["value"];
|
|
461
465
|
type: string;
|
|
462
466
|
uid: string;
|
|
463
|
-
extend: <TNextExtended extends {
|
|
464
|
-
account?: undefined;
|
|
465
|
-
batch?: undefined;
|
|
466
|
-
chain?: undefined;
|
|
467
|
-
key?: undefined;
|
|
468
|
-
name?: undefined;
|
|
469
|
-
pollingInterval?: undefined;
|
|
470
|
-
request?: undefined;
|
|
471
|
-
transport?: undefined;
|
|
472
|
-
type?: undefined;
|
|
473
|
-
uid?: undefined;
|
|
474
|
-
} & {
|
|
475
|
-
[key: string]: unknown;
|
|
476
|
-
} = {
|
|
477
|
-
account?: undefined;
|
|
478
|
-
batch?: undefined;
|
|
479
|
-
chain?: undefined;
|
|
480
|
-
key?: undefined;
|
|
481
|
-
name?: undefined;
|
|
482
|
-
pollingInterval?: undefined;
|
|
483
|
-
request?: undefined;
|
|
484
|
-
transport?: undefined;
|
|
485
|
-
type?: undefined;
|
|
486
|
-
uid?: undefined;
|
|
487
|
-
} & {
|
|
488
|
-
[key: string]: unknown;
|
|
489
|
-
}>(fn: (client: import("viem").Client<TTransport, TChain, TAccount, import("viem").WalletRpcSchema, import("viem").WalletActions<TChain, TAccount>>) => import("viem").Narrow<TNextExtended>) => never;
|
|
490
467
|
addChain: (args: import("viem").AddChainParameters) => Promise<void>;
|
|
491
468
|
deployContract: <TAbi extends import("viem").Abi | readonly unknown[], TChainOverride extends import("viem").Chain | undefined>(args: import("viem").DeployContractParameters<TAbi, TChain, TAccount, TChainOverride>) => Promise<`0x${string}`>;
|
|
492
469
|
getAddresses: () => Promise<import("viem").GetAddressesReturnType>;
|
|
@@ -710,5 +687,19 @@ export declare const ensWalletActions: <TTransport extends Transport = Transport
|
|
|
710
687
|
switchChain: (args: import("viem").SwitchChainParameters) => Promise<void>;
|
|
711
688
|
watchAsset: (args: import("viem").WatchAssetParams) => Promise<boolean>;
|
|
712
689
|
writeContract: <TAbi_1 extends import("viem").Abi | readonly unknown[], TFunctionName extends string, TChainOverride_2 extends import("viem").Chain | undefined>(args: import("viem").WriteContractParameters<TAbi_1, TFunctionName, TChain, TAccount, TChainOverride_2>) => Promise<`0x${string}`>;
|
|
690
|
+
extend: <const client extends {
|
|
691
|
+
[x: string]: unknown;
|
|
692
|
+
account?: undefined;
|
|
693
|
+
batch?: undefined;
|
|
694
|
+
cacheTime?: undefined;
|
|
695
|
+
chain?: undefined;
|
|
696
|
+
key?: undefined;
|
|
697
|
+
name?: undefined;
|
|
698
|
+
pollingInterval?: undefined;
|
|
699
|
+
request?: undefined;
|
|
700
|
+
transport?: undefined;
|
|
701
|
+
type?: undefined;
|
|
702
|
+
uid?: undefined;
|
|
703
|
+
}>(fn: (client: import("viem").Client<TTransport, TChain, TAccount, import("viem").WalletRpcSchema, import("viem").WalletActions<TChain, TAccount>>) => client) => import("viem").Client<TTransport, TChain, TAccount, import("viem").WalletRpcSchema, { [K in keyof client]: client[K]; } & import("viem").WalletActions<TChain, TAccount>>;
|
|
713
704
|
}) => EnsWalletActions<TChain, TAccount>;
|
|
714
705
|
//# sourceMappingURL=wallet.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wallet.d.ts","sourceRoot":"","sources":["../../../../src/clients/decorators/wallet.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,MAAM,CAAA;AAC5D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAA;AAC7D,OAAmB,EACjB,KAAK,oBAAoB,EACzB,KAAK,oBAAoB,EAC1B,MAAM,sCAAsC,CAAA;AAC7C,OAAsB,EACpB,KAAK,uBAAuB,EAC5B,KAAK,uBAAuB,EAC7B,MAAM,yCAAyC,CAAA;AAChD,OAAsB,EACpB,KAAK,uBAAuB,EAC5B,KAAK,uBAAuB,EAC7B,MAAM,yCAAyC,CAAA;AAChD,OAAqB,EACnB,KAAK,sBAAsB,EAC3B,KAAK,sBAAsB,EAC5B,MAAM,wCAAwC,CAAA;AAC/C,OAAmB,EACjB,KAAK,oBAAoB,EACzB,KAAK,oBAAoB,EAC1B,MAAM,sCAAsC,CAAA;AAC7C,OAAqB,EACnB,KAAK,sBAAsB,EAC3B,KAAK,sBAAsB,EAC5B,MAAM,wCAAwC,CAAA;AAC/C,OAAyB,EACvB,KAAK,0BAA0B,EAC/B,KAAK,0BAA0B,EAChC,MAAM,4CAA4C,CAAA;AACnD,OAAsB,EACpB,KAAK,uBAAuB,EAC5B,KAAK,uBAAuB,EAC7B,MAAM,yCAAyC,CAAA;AAChD,OAA6B,EAC3B,KAAK,8BAA8B,EACnC,KAAK,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,MAAM,CACP,KAAK,OAAO,CAAC,qBAAqB,CAAC,CAAA;IACpC;;;;;;;;;;;;;;;;;;;;;OAqBG;IACH,aAAa,EAAE,CAAC,EACd,IAAI,EACJ,GAAG,EACH,KAAK,EACL,eAAe,EACf,GAAG,MAAM,EACV,EAAE,uBAAuB,CACxB,MAAM,EACN,QAAQ,EACR,MAAM,CACP,KAAK,OAAO,CAAC,uBAAuB,CAAC,CAAA;IACtC;;;;;;;;;;;;;;;;;;;;OAoBG;IACH,YAAY,EAAE,CAAC,EACb,IAAI,EACJ,eAAe,EACf,QAAQ,EACR,OAAO,EACP,QAAQ,EACR,GAAG,MAAM,EACV,EAAE,sBAAsB,CACvB,MAAM,EACN,QAAQ,EACR,MAAM,CACP,KAAK,OAAO,CAAC,sBAAsB,CAAC,CAAA;IACrC;;;;;;;;;;;;;;;;;;;;OAoBG;IACH,UAAU,EAAE,CAAC,KAAK,SAAS,MAAM,EAAE,EACjC,IAAI,EACJ,eAAe,EACf,oBAAoB,EACpB,GAAG,MAAM,EACV,EAAE,oBAAoB,CACrB,KAAK,EACL,MAAM,EACN,QAAQ,EACR,MAAM,CACP,KAAK,OAAO,CAAC,oBAAoB,CAAC,CAAA;IACnC;;;;;;;;;;;;;;;;;;;OAmBG;IACH,QAAQ,EAAE,CAAC,KAAK,SAAS,MAAM,EAAE,EAC/B,IAAI,EACJ,eAAe,EACf,KAAK,EACL,eAAe,EACf,GAAG,MAAM,EACV,EAAE,kBAAkB,CACnB,KAAK,EACL,MAAM,EACN,QAAQ,EACR,MAAM,CACP,KAAK,OAAO,CAAC,kBAAkB,CAAC,CAAA;CAClC,CAAA;AAED;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,gBAAgB
|
|
1
|
+
{"version":3,"file":"wallet.d.ts","sourceRoot":"","sources":["../../../../src/clients/decorators/wallet.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,MAAM,CAAA;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