@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.
Files changed (88) hide show
  1. package/dist/cjs/dns.js.map +1 -1
  2. package/dist/cjs/errors/utils.js +13 -1
  3. package/dist/cjs/errors/utils.js.map +1 -1
  4. package/dist/cjs/errors/version.js +1 -1
  5. package/dist/cjs/utils/encoders/encodeAbi.js +31 -1
  6. package/dist/cjs/utils/encoders/encodeAbi.js.map +1 -1
  7. package/dist/cjs/utils/index.js +21 -1
  8. package/dist/cjs/utils/index.js.map +1 -1
  9. package/dist/cjs/wallet.js.map +1 -1
  10. package/dist/esm/dns.js.map +1 -1
  11. package/dist/esm/errors/utils.js +11 -0
  12. package/dist/esm/errors/utils.js.map +1 -1
  13. package/dist/esm/errors/version.js +1 -1
  14. package/dist/esm/utils/encoders/encodeAbi.js +28 -0
  15. package/dist/esm/utils/encoders/encodeAbi.js.map +1 -1
  16. package/dist/esm/utils/index.js +2 -1
  17. package/dist/esm/utils/index.js.map +1 -1
  18. package/dist/esm/wallet.js.map +1 -1
  19. package/dist/types/clients/decorators/public.d.ts +1 -519
  20. package/dist/types/clients/decorators/public.d.ts.map +1 -1
  21. package/dist/types/clients/decorators/subgraph.d.ts +1 -519
  22. package/dist/types/clients/decorators/subgraph.d.ts.map +1 -1
  23. package/dist/types/clients/decorators/wallet.d.ts +19 -28
  24. package/dist/types/clients/decorators/wallet.d.ts.map +1 -1
  25. package/dist/types/clients/public.d.ts +21 -30
  26. package/dist/types/clients/public.d.ts.map +1 -1
  27. package/dist/types/clients/subgraph.d.ts +17 -26
  28. package/dist/types/clients/subgraph.d.ts.map +1 -1
  29. package/dist/types/clients/wallet.d.ts +46 -55
  30. package/dist/types/clients/wallet.d.ts.map +1 -1
  31. package/dist/types/dns.d.ts +1 -1
  32. package/dist/types/dns.d.ts.map +1 -1
  33. package/dist/types/errors/utils.d.ts +6 -0
  34. package/dist/types/errors/utils.d.ts.map +1 -1
  35. package/dist/types/errors/version.d.ts +1 -1
  36. package/dist/types/functions/dns/importDnsName.d.ts +38 -56
  37. package/dist/types/functions/dns/importDnsName.d.ts.map +1 -1
  38. package/dist/types/functions/wallet/commitName.d.ts +38 -56
  39. package/dist/types/functions/wallet/commitName.d.ts.map +1 -1
  40. package/dist/types/functions/wallet/createSubname.d.ts +38 -56
  41. package/dist/types/functions/wallet/createSubname.d.ts.map +1 -1
  42. package/dist/types/functions/wallet/deleteSubname.d.ts +38 -56
  43. package/dist/types/functions/wallet/deleteSubname.d.ts.map +1 -1
  44. package/dist/types/functions/wallet/registerName.d.ts +38 -56
  45. package/dist/types/functions/wallet/registerName.d.ts.map +1 -1
  46. package/dist/types/functions/wallet/renewNames.d.ts +38 -56
  47. package/dist/types/functions/wallet/renewNames.d.ts.map +1 -1
  48. package/dist/types/functions/wallet/setAbiRecord.d.ts +38 -56
  49. package/dist/types/functions/wallet/setAbiRecord.d.ts.map +1 -1
  50. package/dist/types/functions/wallet/setAddressRecord.d.ts +38 -56
  51. package/dist/types/functions/wallet/setAddressRecord.d.ts.map +1 -1
  52. package/dist/types/functions/wallet/setChildFuses.d.ts +38 -56
  53. package/dist/types/functions/wallet/setChildFuses.d.ts.map +1 -1
  54. package/dist/types/functions/wallet/setContentHashRecord.d.ts +38 -56
  55. package/dist/types/functions/wallet/setContentHashRecord.d.ts.map +1 -1
  56. package/dist/types/functions/wallet/setFuses.d.ts +38 -56
  57. package/dist/types/functions/wallet/setFuses.d.ts.map +1 -1
  58. package/dist/types/functions/wallet/setPrimaryName.d.ts +38 -56
  59. package/dist/types/functions/wallet/setPrimaryName.d.ts.map +1 -1
  60. package/dist/types/functions/wallet/setRecords.d.ts +38 -56
  61. package/dist/types/functions/wallet/setRecords.d.ts.map +1 -1
  62. package/dist/types/functions/wallet/setResolver.d.ts +38 -56
  63. package/dist/types/functions/wallet/setResolver.d.ts.map +1 -1
  64. package/dist/types/functions/wallet/setTextRecord.d.ts +38 -56
  65. package/dist/types/functions/wallet/setTextRecord.d.ts.map +1 -1
  66. package/dist/types/functions/wallet/transferName.d.ts +39 -57
  67. package/dist/types/functions/wallet/transferName.d.ts.map +1 -1
  68. package/dist/types/functions/wallet/unwrapName.d.ts +38 -56
  69. package/dist/types/functions/wallet/unwrapName.d.ts.map +1 -1
  70. package/dist/types/functions/wallet/wrapName.d.ts +38 -56
  71. package/dist/types/functions/wallet/wrapName.d.ts.map +1 -1
  72. package/dist/types/utils/encoders/encodeAbi.d.ts +8 -5
  73. package/dist/types/utils/encoders/encodeAbi.d.ts.map +1 -1
  74. package/dist/types/utils/index.d.ts +2 -1
  75. package/dist/types/utils/index.d.ts.map +1 -1
  76. package/dist/types/wallet.d.ts +17 -17
  77. package/dist/types/wallet.d.ts.map +1 -1
  78. package/package.json +2 -2
  79. package/src/clients/public.ts +1 -1
  80. package/src/clients/subgraph.ts +1 -1
  81. package/src/clients/wallet.ts +1 -1
  82. package/src/dns.ts +2 -0
  83. package/src/errors/utils.ts +8 -0
  84. package/src/errors/version.ts +1 -1
  85. package/src/functions/wallet/transferName.ts +1 -1
  86. package/src/utils/encoders/encodeAbi.ts +35 -6
  87. package/src/utils/index.ts +24 -0
  88. package/src/wallet.ts +34 -0
@@ -4,7 +4,7 @@ import type { Prettify } from '../types.js';
4
4
  import { type EnsPublicActions } from './decorators/public.js';
5
5
  import { type EnsSubgraphActions } from './decorators/subgraph.js';
6
6
  export type EnsPublicClientConfig<TTransport extends Transport = Transport, TChain extends Chain = Chain> = Pick<ClientConfig<TTransport, TChain>, 'batch' | 'key' | 'name' | 'pollingInterval' | 'transport'> & {
7
- chain: Exclude<ClientConfig<TTransport, TChain>['chain'], undefined>;
7
+ chain: TChain;
8
8
  };
9
9
  export type EnsPublicClient<TTransport extends Transport = Transport, TChain extends ChainWithEns = ChainWithEns> = Prettify<Client<TTransport, TChain, undefined, undefined, EnsPublicActions & EnsSubgraphActions>>;
10
10
  /**
@@ -26,8 +26,12 @@ export type EnsPublicClient<TTransport extends Transport = Transport, TChain ext
26
26
  export declare const createEnsPublicClient: <TTransport extends Transport, TChain extends Chain>({ batch, chain, key, name, transport, pollingInterval, }: EnsPublicClientConfig<TTransport, TChain>) => {
27
27
  account: undefined;
28
28
  batch?: {
29
- multicall?: boolean | import("viem").MulticallBatchOptions | undefined;
29
+ multicall?: boolean | {
30
+ batchSize?: number | undefined;
31
+ wait?: number | undefined;
32
+ } | undefined;
30
33
  } | undefined;
34
+ cacheTime: number;
31
35
  chain: ChainWithEns<TChain>;
32
36
  key: string;
33
37
  name: string;
@@ -107,7 +111,7 @@ export declare const createEnsPublicClient: <TTransport extends Transport, TChai
107
111
  }, {
108
112
  Method: "eth_getFilterChanges";
109
113
  Parameters: [filterId: `0x${string}`];
110
- ReturnType: import("viem").RpcLog[] | `0x${string}`[];
114
+ ReturnType: `0x${string}`[] | import("viem").RpcLog[];
111
115
  }, {
112
116
  Method: "eth_getFilterLogs";
113
117
  Parameters: [filterId: `0x${string}`];
@@ -268,33 +272,6 @@ export declare const createEnsPublicClient: <TTransport extends Transport, TChai
268
272
  transport: ReturnType<TTransport>["config"] & ReturnType<TTransport>["value"];
269
273
  type: string;
270
274
  uid: string;
271
- extend: <TNextExtended extends {
272
- account?: undefined;
273
- batch?: undefined;
274
- chain?: undefined;
275
- key?: undefined;
276
- name?: undefined;
277
- pollingInterval?: undefined;
278
- request?: undefined;
279
- transport?: undefined;
280
- type?: undefined;
281
- uid?: undefined;
282
- } & {
283
- [key: string]: unknown;
284
- } = {
285
- account?: undefined;
286
- batch?: undefined;
287
- chain?: undefined;
288
- key?: undefined;
289
- name?: undefined;
290
- pollingInterval?: undefined;
291
- request?: undefined;
292
- transport?: undefined;
293
- type?: undefined;
294
- uid?: undefined;
295
- } & {
296
- [key: string]: unknown;
297
- }>(fn: (client: Client<TTransport, ChainWithEns<TChain>, undefined, undefined, EnsPublicActions & EnsSubgraphActions>) => import("viem").Narrow<TNextExtended>) => never;
298
275
  ensBatch: <TBatchFunctions extends import("../public.js").BatchParameters>(...parameters: TBatchFunctions) => Promise<import("../public.js").BatchReturnType<TBatchFunctions>>;
299
276
  getAbiRecord: ({ name, }: {
300
277
  name: string;
@@ -331,5 +308,19 @@ export declare const createEnsPublicClient: <TTransport extends Transport, TChai
331
308
  getSubgraphRecords: ({ name, resolverAddress, }: import("../subgraph.js").GetSubgraphRecordsParameters) => Promise<import("../subgraph.js").GetSubgraphRecordsReturnType>;
332
309
  getSubgraphRegistrant: ({ name, }: import("../subgraph.js").GetSubgraphRegistrantParameters) => Promise<import("../subgraph.js").GetSubgraphRegistrantReturnType>;
333
310
  getSubnames: ({ name, searchString, allowExpired, allowDeleted, orderBy, orderDirection, pageSize, previousPage, }: import("../subgraph.js").GetSubnamesParameters) => Promise<import("../subgraph.js").GetSubnamesReturnType>;
311
+ extend: <const client extends {
312
+ [x: string]: unknown;
313
+ account?: undefined;
314
+ batch?: undefined;
315
+ cacheTime?: undefined;
316
+ chain?: undefined;
317
+ key?: undefined;
318
+ name?: undefined;
319
+ pollingInterval?: undefined;
320
+ request?: undefined;
321
+ transport?: undefined;
322
+ type?: undefined;
323
+ uid?: undefined;
324
+ }>(fn: (client: Client<TTransport, ChainWithEns<TChain>, undefined, undefined, EnsPublicActions & EnsSubgraphActions>) => client) => Client<TTransport, ChainWithEns<TChain>, undefined, undefined, { [K in keyof client]: client[K]; } & EnsPublicActions & EnsSubgraphActions>;
334
325
  };
335
326
  //# sourceMappingURL=public.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"public.d.ts","sourceRoot":"","sources":["../../../src/clients/public.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,KAAK,EACV,KAAK,MAAM,EACX,KAAK,YAAY,EACjB,KAAK,SAAS,EACf,MAAM,MAAM,CAAA;AAEb,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAA;AAC1D,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAA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Ens } from '../contracts/consts.js';
3
3
  import type { Prettify } from '../types.js';
4
4
  import { type EnsSubgraphActions } from './decorators/subgraph.js';
5
5
  export type EnsSubgraphClientConfig<TTransport extends Transport = Transport, TChain extends Chain = Chain> = Pick<ClientConfig<TTransport, TChain>, 'batch' | 'key' | 'name' | 'pollingInterval' | 'transport'> & {
6
- chain: Exclude<ClientConfig<TTransport, TChain>['chain'], undefined>;
6
+ chain: TChain;
7
7
  };
8
8
  export type EnsSubgraphClient<TTransport extends Transport = Transport, TChain extends ChainWithEns = ChainWithEns> = Prettify<Client<TTransport, TChain, undefined, undefined, EnsSubgraphActions>>;
9
9
  /**
@@ -25,8 +25,12 @@ export type EnsSubgraphClient<TTransport extends Transport = Transport, TChain e
25
25
  export declare const createEnsSubgraphClient: <TTransport extends Transport, TChain extends Chain>({ batch, chain, key, name, transport, pollingInterval, }: EnsSubgraphClientConfig<TTransport, TChain>) => {
26
26
  account: undefined;
27
27
  batch?: {
28
- multicall?: boolean | import("viem").MulticallBatchOptions | undefined;
28
+ multicall?: boolean | {
29
+ batchSize?: number | undefined;
30
+ wait?: number | undefined;
31
+ } | undefined;
29
32
  } | undefined;
33
+ cacheTime: number;
30
34
  chain: ChainWithEns<TChain>;
31
35
  key: string;
32
36
  name: string;
@@ -106,7 +110,7 @@ export declare const createEnsSubgraphClient: <TTransport extends Transport, TCh
106
110
  }, {
107
111
  Method: "eth_getFilterChanges";
108
112
  Parameters: [filterId: `0x${string}`];
109
- ReturnType: import("viem").RpcLog[] | `0x${string}`[];
113
+ ReturnType: `0x${string}`[] | import("viem").RpcLog[];
110
114
  }, {
111
115
  Method: "eth_getFilterLogs";
112
116
  Parameters: [filterId: `0x${string}`];
@@ -267,22 +271,17 @@ export declare const createEnsSubgraphClient: <TTransport extends Transport, TCh
267
271
  transport: ReturnType<TTransport>["config"] & ReturnType<TTransport>["value"];
268
272
  type: string;
269
273
  uid: string;
270
- extend: <TNextExtended extends {
271
- account?: undefined;
272
- batch?: undefined;
273
- chain?: undefined;
274
- key?: undefined;
275
- name?: undefined;
276
- pollingInterval?: undefined;
277
- request?: undefined;
278
- transport?: undefined;
279
- type?: undefined;
280
- uid?: undefined;
281
- } & {
282
- [key: string]: unknown;
283
- } = {
274
+ getDecodedName: ({ name, allowIncomplete, }: import("../subgraph.js").GetDecodedNameParameters) => Promise<import("../subgraph.js").GetDecodedNameReturnType>;
275
+ getNameHistory: ({ name, }: import("../subgraph.js").GetNameHistoryParameters) => Promise<import("../subgraph.js").GetNameHistoryReturnType>;
276
+ getNamesForAddress: ({ address, filter, orderBy, orderDirection, pageSize, previousPage, }: import("../subgraph.js").GetNamesForAddressParameters) => Promise<import("../subgraph.js").GetNamesForAddressReturnType>;
277
+ getSubgraphRecords: ({ name, resolverAddress, }: import("../subgraph.js").GetSubgraphRecordsParameters) => Promise<import("../subgraph.js").GetSubgraphRecordsReturnType>;
278
+ getSubgraphRegistrant: ({ name, }: import("../subgraph.js").GetSubgraphRegistrantParameters) => Promise<import("../subgraph.js").GetSubgraphRegistrantReturnType>;
279
+ getSubnames: ({ name, searchString, allowExpired, allowDeleted, orderBy, orderDirection, pageSize, previousPage, }: import("../subgraph.js").GetSubnamesParameters) => Promise<import("../subgraph.js").GetSubnamesReturnType>;
280
+ extend: <const client extends {
281
+ [x: string]: unknown;
284
282
  account?: undefined;
285
283
  batch?: undefined;
284
+ cacheTime?: undefined;
286
285
  chain?: undefined;
287
286
  key?: undefined;
288
287
  name?: undefined;
@@ -291,14 +290,6 @@ export declare const createEnsSubgraphClient: <TTransport extends Transport, TCh
291
290
  transport?: undefined;
292
291
  type?: undefined;
293
292
  uid?: undefined;
294
- } & {
295
- [key: string]: unknown;
296
- }>(fn: (client: Client<TTransport, ChainWithEns<TChain>, undefined, undefined, EnsSubgraphActions>) => import("viem").Narrow<TNextExtended>) => never;
297
- getDecodedName: ({ name, allowIncomplete, }: import("../subgraph.js").GetDecodedNameParameters) => Promise<import("../subgraph.js").GetDecodedNameReturnType>;
298
- getNameHistory: ({ name, }: import("../subgraph.js").GetNameHistoryParameters) => Promise<import("../subgraph.js").GetNameHistoryReturnType>;
299
- getNamesForAddress: ({ address, filter, orderBy, orderDirection, pageSize, previousPage, }: import("../subgraph.js").GetNamesForAddressParameters) => Promise<import("../subgraph.js").GetNamesForAddressReturnType>;
300
- getSubgraphRecords: ({ name, resolverAddress, }: import("../subgraph.js").GetSubgraphRecordsParameters) => Promise<import("../subgraph.js").GetSubgraphRecordsReturnType>;
301
- getSubgraphRegistrant: ({ name, }: import("../subgraph.js").GetSubgraphRegistrantParameters) => Promise<import("../subgraph.js").GetSubgraphRegistrantReturnType>;
302
- getSubnames: ({ name, searchString, allowExpired, allowDeleted, orderBy, orderDirection, pageSize, previousPage, }: import("../subgraph.js").GetSubnamesParameters) => Promise<import("../subgraph.js").GetSubnamesReturnType>;
293
+ }>(fn: (client: Client<TTransport, ChainWithEns<TChain>, undefined, undefined, EnsSubgraphActions>) => client) => Client<TTransport, ChainWithEns<TChain>, undefined, undefined, { [K in keyof client]: client[K]; } & EnsSubgraphActions>;
303
294
  };
304
295
  //# sourceMappingURL=subgraph.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"subgraph.d.ts","sourceRoot":"","sources":["../../../src/clients/subgraph.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,KAAK,EACV,KAAK,MAAM,EACX,KAAK,YAAY,EACjB,KAAK,SAAS,EACf,MAAM,MAAM,CAAA;AAEb,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAA;AAC1D,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAA;AAC3C,OAAO,EAEL,KAAK,kBAAkB,EACxB,MAAM,0BAA0B,CAAA;AAEjC,MAAM,MAAM,uBAAuB,CACjC,UAAU,SAAS,SAAS,GAAG,SAAS,EACxC,MAAM,SAAS,KAAK,GAAG,KAAK,IAC1B,IAAI,CACN,YAAY,CAAC,UAAU,EAAE,MAAM,CAAC,EAChC,OAA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AK,GAAG,KAAK,IAC1B,IAAI,CACN,YAAY,CAAC,UAAU,EAAE,MAAM,CAAC,EAChC,OAAO,GAAG,KAAK,GAAG,MAAM,GAAG,iBAAiB,GAAG,WAAW,CAC3D,GAAG;IACF,KAAK,EAAE,MAAM,CAAA;CACd,CAAA;AAED,MAAM,MAAM,iBAAiB,CAC3B,UAAU,SAAS,SAAS,GAAG,SAAS,EACxC,MAAM,SAAS,YAAY,GAAG,YAAY,IACxC,QAAQ,CACV,MAAM,CAAC,UAAU,EAAE,MAAM,EAAE,SAAS,EAAE,SAAS,EAAE,kBAAkB,CAAC,CACrE,CAAA;AAED;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuBnC,CAAA"}
@@ -3,7 +3,7 @@ import type { ChainWithEns } from '../contracts/consts.js';
3
3
  import type { Prettify } from '../types.js';
4
4
  import { type EnsWalletActions } from './decorators/wallet.js';
5
5
  export type EnsWalletClientConfig<TTransport extends Transport, TChain extends Chain, TAccountOrAddress extends Account | Address | undefined = Account | Address | undefined> = Pick<ClientConfig<TTransport, TChain, TAccountOrAddress>, 'account' | 'chain' | 'key' | 'name' | 'pollingInterval' | 'transport'> & {
6
- chain: Exclude<ClientConfig<TTransport, TChain>['chain'], undefined>;
6
+ chain: TChain;
7
7
  };
8
8
  export type EnsWalletClient<TTransport extends Transport = Transport, TChain extends ChainWithEns = ChainWithEns, TAccount extends Account | undefined = Account | undefined> = Prettify<Client<TTransport, TChain, TAccount, WalletRpcSchema, WalletActions<TChain, TAccount> & EnsWalletActions<TChain, TAccount>>>;
9
9
  /**
@@ -25,8 +25,12 @@ export type EnsWalletClient<TTransport extends Transport = Transport, TChain ext
25
25
  export declare const createEnsWalletClient: <TTransport extends Transport, TChain extends Chain, TAccountOrAddress extends `0x${string}` | Account | undefined = undefined>({ account, chain, key, name, transport, pollingInterval, }: EnsWalletClientConfig<TTransport, TChain, TAccountOrAddress>) => {
26
26
  account: ParseAccount<TAccountOrAddress>;
27
27
  batch?: {
28
- multicall?: boolean | import("viem").MulticallBatchOptions | undefined;
28
+ multicall?: boolean | {
29
+ batchSize?: number | undefined;
30
+ wait?: number | undefined;
31
+ } | undefined;
29
32
  } | undefined;
33
+ cacheTime: number;
30
34
  chain: ChainWithEns<TChain>;
31
35
  key: string;
32
36
  name: string;
@@ -35,33 +39,6 @@ export declare const createEnsWalletClient: <TTransport extends Transport, TChai
35
39
  transport: ReturnType<TTransport>["config"] & ReturnType<TTransport>["value"];
36
40
  type: string;
37
41
  uid: string;
38
- extend: <TNextExtended extends {
39
- account?: undefined;
40
- batch?: undefined;
41
- chain?: undefined;
42
- key?: undefined;
43
- name?: undefined;
44
- pollingInterval?: undefined;
45
- request?: undefined;
46
- transport?: undefined;
47
- type?: undefined;
48
- uid?: undefined;
49
- } & {
50
- [key: string]: unknown;
51
- } = {
52
- account?: undefined;
53
- batch?: undefined;
54
- chain?: undefined;
55
- key?: undefined;
56
- name?: undefined;
57
- pollingInterval?: undefined;
58
- request?: undefined;
59
- transport?: undefined;
60
- type?: undefined;
61
- uid?: undefined;
62
- } & {
63
- [key: string]: unknown;
64
- }>(fn: (client: Client<TTransport, ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, WalletRpcSchema, WalletActions<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>> & EnsWalletActions<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>>>) => import("viem").Narrow<TNextExtended>) => never;
65
42
  addChain: (args: import("viem").AddChainParameters) => Promise<void>;
66
43
  deployContract: <TAbi extends import("viem").Abi | readonly unknown[], TChainOverride extends Chain | undefined>(args: import("viem").DeployContractParameters<TAbi, ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, TChainOverride>) => Promise<`0x${string}`>;
67
44
  getAddresses: () => Promise<import("viem").GetAddressesReturnType>;
@@ -301,11 +278,11 @@ export declare const createEnsWalletClient: <TTransport extends Transport, TChai
301
278
  reverseRecord?: boolean | undefined;
302
279
  fuses?: import("../utils/fuses.js").EncodeChildFusesInputObject | undefined;
303
280
  account?: import("viem").SendTransactionParameters<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, ChainWithEns<TChain>>["account"] | undefined;
304
- gas?: import("viem").SendTransactionParameters<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, ChainWithEns<TChain>>["gas"] | undefined;
305
- nonce?: import("viem").SendTransactionParameters<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, ChainWithEns<TChain>>["nonce"] | undefined;
306
281
  gasPrice?: import("viem").SendTransactionParameters<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, ChainWithEns<TChain>>["gasPrice"] | undefined;
307
282
  maxFeePerGas?: import("viem").SendTransactionParameters<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, ChainWithEns<TChain>>["maxFeePerGas"] | undefined;
308
283
  maxPriorityFeePerGas?: import("viem").SendTransactionParameters<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, ChainWithEns<TChain>>["maxPriorityFeePerGas"] | undefined;
284
+ gas?: import("viem").SendTransactionParameters<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, ChainWithEns<TChain>>["gas"] | undefined;
285
+ nonce?: import("viem").SendTransactionParameters<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, ChainWithEns<TChain>>["nonce"] | undefined;
309
286
  }) => Promise<`0x${string}`>;
310
287
  createSubname: ({ name, contract, owner, resolverAddress, expiry, fuses, ...txArgs }: import("../wallet.js").CreateSubnameParameters<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, ChainWithEns<TChain>>) => Promise<`0x${string}`>;
311
288
  deleteSubname: ({ name, contract, asOwner, ...txArgs }: {
@@ -313,11 +290,11 @@ export declare const createEnsWalletClient: <TTransport extends Transport, TChai
313
290
  contract: "nameWrapper" | "registry";
314
291
  asOwner?: boolean | undefined;
315
292
  account?: import("viem").SendTransactionParameters<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, ChainWithEns<TChain>>["account"] | undefined;
316
- gas?: import("viem").SendTransactionParameters<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, ChainWithEns<TChain>>["gas"] | undefined;
317
- nonce?: import("viem").SendTransactionParameters<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, ChainWithEns<TChain>>["nonce"] | undefined;
318
293
  gasPrice?: import("viem").SendTransactionParameters<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, ChainWithEns<TChain>>["gasPrice"] | undefined;
319
294
  maxFeePerGas?: import("viem").SendTransactionParameters<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, ChainWithEns<TChain>>["maxFeePerGas"] | undefined;
320
295
  maxPriorityFeePerGas?: import("viem").SendTransactionParameters<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, ChainWithEns<TChain>>["maxPriorityFeePerGas"] | undefined;
296
+ gas?: import("viem").SendTransactionParameters<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, ChainWithEns<TChain>>["gas"] | undefined;
297
+ nonce?: import("viem").SendTransactionParameters<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, ChainWithEns<TChain>>["nonce"] | undefined;
321
298
  }) => Promise<`0x${string}`>;
322
299
  registerName: ({ name, owner, duration, secret, resolverAddress, records, reverseRecord, fuses, value, ...txArgs }: {
323
300
  name: string;
@@ -336,33 +313,33 @@ export declare const createEnsWalletClient: <TTransport extends Transport, TChai
336
313
  fuses?: import("../utils/fuses.js").EncodeChildFusesInputObject | undefined;
337
314
  value: bigint;
338
315
  account?: import("viem").SendTransactionParameters<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, ChainWithEns<TChain>>["account"] | undefined;
339
- gas?: import("viem").SendTransactionParameters<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, ChainWithEns<TChain>>["gas"] | undefined;
340
- nonce?: import("viem").SendTransactionParameters<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, ChainWithEns<TChain>>["nonce"] | undefined;
341
316
  gasPrice?: import("viem").SendTransactionParameters<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, ChainWithEns<TChain>>["gasPrice"] | undefined;
342
317
  maxFeePerGas?: import("viem").SendTransactionParameters<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, ChainWithEns<TChain>>["maxFeePerGas"] | undefined;
343
318
  maxPriorityFeePerGas?: import("viem").SendTransactionParameters<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, ChainWithEns<TChain>>["maxPriorityFeePerGas"] | undefined;
319
+ gas?: import("viem").SendTransactionParameters<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, ChainWithEns<TChain>>["gas"] | undefined;
320
+ nonce?: import("viem").SendTransactionParameters<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, ChainWithEns<TChain>>["nonce"] | undefined;
344
321
  }) => Promise<`0x${string}`>;
345
322
  renewNames: ({ nameOrNames, duration, value, ...txArgs }: {
346
323
  nameOrNames: string | string[];
347
324
  duration: number | bigint;
348
325
  value: bigint;
349
326
  account?: import("viem").SendTransactionParameters<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, ChainWithEns<TChain>>["account"] | undefined;
350
- gas?: import("viem").SendTransactionParameters<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, ChainWithEns<TChain>>["gas"] | undefined;
351
- nonce?: import("viem").SendTransactionParameters<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, ChainWithEns<TChain>>["nonce"] | undefined;
352
327
  gasPrice?: import("viem").SendTransactionParameters<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, ChainWithEns<TChain>>["gasPrice"] | undefined;
353
328
  maxFeePerGas?: import("viem").SendTransactionParameters<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, ChainWithEns<TChain>>["maxFeePerGas"] | undefined;
354
329
  maxPriorityFeePerGas?: import("viem").SendTransactionParameters<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, ChainWithEns<TChain>>["maxPriorityFeePerGas"] | undefined;
330
+ gas?: import("viem").SendTransactionParameters<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, ChainWithEns<TChain>>["gas"] | undefined;
331
+ nonce?: import("viem").SendTransactionParameters<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, ChainWithEns<TChain>>["nonce"] | undefined;
355
332
  }) => Promise<`0x${string}`>;
356
333
  setAbiRecord: ({ name, encodedAbi, resolverAddress, ...txArgs }: {
357
334
  name: string;
358
335
  encodedAbi: import("../utils/index.js").EncodedAbi | null;
359
336
  resolverAddress: `0x${string}`;
360
337
  account?: import("viem").SendTransactionParameters<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, ChainWithEns<TChain>>["account"] | undefined;
361
- gas?: import("viem").SendTransactionParameters<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, ChainWithEns<TChain>>["gas"] | undefined;
362
- nonce?: import("viem").SendTransactionParameters<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, ChainWithEns<TChain>>["nonce"] | undefined;
363
338
  gasPrice?: import("viem").SendTransactionParameters<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, ChainWithEns<TChain>>["gasPrice"] | undefined;
364
339
  maxFeePerGas?: import("viem").SendTransactionParameters<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, ChainWithEns<TChain>>["maxFeePerGas"] | undefined;
365
340
  maxPriorityFeePerGas?: import("viem").SendTransactionParameters<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, ChainWithEns<TChain>>["maxPriorityFeePerGas"] | undefined;
341
+ gas?: import("viem").SendTransactionParameters<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, ChainWithEns<TChain>>["gas"] | undefined;
342
+ nonce?: import("viem").SendTransactionParameters<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, ChainWithEns<TChain>>["nonce"] | undefined;
366
343
  }) => Promise<`0x${string}`>;
367
344
  setAddressRecord: ({ name, coin, value, resolverAddress, ...txArgs }: {
368
345
  name: string;
@@ -370,43 +347,43 @@ export declare const createEnsWalletClient: <TTransport extends Transport, TChai
370
347
  value: string | null;
371
348
  resolverAddress: `0x${string}`;
372
349
  account?: import("viem").SendTransactionParameters<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, ChainWithEns<TChain>>["account"] | undefined;
373
- gas?: import("viem").SendTransactionParameters<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, ChainWithEns<TChain>>["gas"] | undefined;
374
- nonce?: import("viem").SendTransactionParameters<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, ChainWithEns<TChain>>["nonce"] | undefined;
375
350
  gasPrice?: import("viem").SendTransactionParameters<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, ChainWithEns<TChain>>["gasPrice"] | undefined;
376
351
  maxFeePerGas?: import("viem").SendTransactionParameters<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, ChainWithEns<TChain>>["maxFeePerGas"] | undefined;
377
352
  maxPriorityFeePerGas?: import("viem").SendTransactionParameters<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, ChainWithEns<TChain>>["maxPriorityFeePerGas"] | undefined;
353
+ gas?: import("viem").SendTransactionParameters<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, ChainWithEns<TChain>>["gas"] | undefined;
354
+ nonce?: import("viem").SendTransactionParameters<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, ChainWithEns<TChain>>["nonce"] | undefined;
378
355
  }) => Promise<`0x${string}`>;
379
356
  setChildFuses: ({ name, fuses, expiry, ...txArgs }: {
380
357
  name: string;
381
358
  fuses: import("../utils/fuses.js").EncodeFusesInputObject;
382
359
  expiry?: number | bigint | undefined;
383
360
  account?: import("viem").SendTransactionParameters<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, ChainWithEns<TChain>>["account"] | undefined;
384
- gas?: import("viem").SendTransactionParameters<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, ChainWithEns<TChain>>["gas"] | undefined;
385
- nonce?: import("viem").SendTransactionParameters<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, ChainWithEns<TChain>>["nonce"] | undefined;
386
361
  gasPrice?: import("viem").SendTransactionParameters<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, ChainWithEns<TChain>>["gasPrice"] | undefined;
387
362
  maxFeePerGas?: import("viem").SendTransactionParameters<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, ChainWithEns<TChain>>["maxFeePerGas"] | undefined;
388
363
  maxPriorityFeePerGas?: import("viem").SendTransactionParameters<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, ChainWithEns<TChain>>["maxPriorityFeePerGas"] | undefined;
364
+ gas?: import("viem").SendTransactionParameters<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, ChainWithEns<TChain>>["gas"] | undefined;
365
+ nonce?: import("viem").SendTransactionParameters<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, ChainWithEns<TChain>>["nonce"] | undefined;
389
366
  }) => Promise<`0x${string}`>;
390
367
  setContentHashRecord: ({ name, contentHash, resolverAddress, ...txArgs }: {
391
368
  name: string;
392
369
  contentHash: string | null;
393
370
  resolverAddress: `0x${string}`;
394
371
  account?: import("viem").SendTransactionParameters<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, ChainWithEns<TChain>>["account"] | undefined;
395
- gas?: import("viem").SendTransactionParameters<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, ChainWithEns<TChain>>["gas"] | undefined;
396
- nonce?: import("viem").SendTransactionParameters<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, ChainWithEns<TChain>>["nonce"] | undefined;
397
372
  gasPrice?: import("viem").SendTransactionParameters<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, ChainWithEns<TChain>>["gasPrice"] | undefined;
398
373
  maxFeePerGas?: import("viem").SendTransactionParameters<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, ChainWithEns<TChain>>["maxFeePerGas"] | undefined;
399
374
  maxPriorityFeePerGas?: import("viem").SendTransactionParameters<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, ChainWithEns<TChain>>["maxPriorityFeePerGas"] | undefined;
375
+ gas?: import("viem").SendTransactionParameters<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, ChainWithEns<TChain>>["gas"] | undefined;
376
+ nonce?: import("viem").SendTransactionParameters<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, ChainWithEns<TChain>>["nonce"] | undefined;
400
377
  }) => Promise<`0x${string}`>;
401
378
  setFuses: ({ name, fuses, ...txArgs }: {
402
379
  name: string;
403
380
  fuses: import("../utils/fuses.js").EncodeChildFusesInputObject;
404
381
  account?: import("viem").SendTransactionParameters<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, ChainWithEns<TChain>>["account"] | undefined;
405
- gas?: import("viem").SendTransactionParameters<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, ChainWithEns<TChain>>["gas"] | undefined;
406
- nonce?: import("viem").SendTransactionParameters<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, ChainWithEns<TChain>>["nonce"] | undefined;
407
382
  gasPrice?: import("viem").SendTransactionParameters<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, ChainWithEns<TChain>>["gasPrice"] | undefined;
408
383
  maxFeePerGas?: import("viem").SendTransactionParameters<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, ChainWithEns<TChain>>["maxFeePerGas"] | undefined;
409
384
  maxPriorityFeePerGas?: import("viem").SendTransactionParameters<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, ChainWithEns<TChain>>["maxPriorityFeePerGas"] | undefined;
385
+ gas?: import("viem").SendTransactionParameters<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, ChainWithEns<TChain>>["gas"] | undefined;
386
+ nonce?: import("viem").SendTransactionParameters<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, ChainWithEns<TChain>>["nonce"] | undefined;
410
387
  }) => Promise<`0x${string}`>;
411
388
  setPrimaryName: ({ name, address, resolverAddress, ...txArgs }: import("../wallet.js").SetPrimaryNameParameters<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, ChainWithEns<TChain>>) => Promise<`0x${string}`>;
412
389
  setRecords: ({ name, resolverAddress, clearRecords, contentHash, texts, coins, abi, ...txArgs }: {
@@ -418,22 +395,22 @@ export declare const createEnsWalletClient: <TTransport extends Transport, TChai
418
395
  coins?: Omit<import("../utils/index.js").EncodeSetAddrParameters, "namehash">[] | undefined;
419
396
  abi?: Omit<import("../utils/index.js").EncodeSetAbiParameters, "namehash"> | undefined;
420
397
  account?: import("viem").SendTransactionParameters<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, ChainWithEns<TChain>>["account"] | undefined;
421
- gas?: import("viem").SendTransactionParameters<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, ChainWithEns<TChain>>["gas"] | undefined;
422
- nonce?: import("viem").SendTransactionParameters<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, ChainWithEns<TChain>>["nonce"] | undefined;
423
398
  gasPrice?: import("viem").SendTransactionParameters<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, ChainWithEns<TChain>>["gasPrice"] | undefined;
424
399
  maxFeePerGas?: import("viem").SendTransactionParameters<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, ChainWithEns<TChain>>["maxFeePerGas"] | undefined;
425
400
  maxPriorityFeePerGas?: import("viem").SendTransactionParameters<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, ChainWithEns<TChain>>["maxPriorityFeePerGas"] | undefined;
401
+ gas?: import("viem").SendTransactionParameters<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, ChainWithEns<TChain>>["gas"] | undefined;
402
+ nonce?: import("viem").SendTransactionParameters<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, ChainWithEns<TChain>>["nonce"] | undefined;
426
403
  }) => Promise<`0x${string}`>;
427
404
  setResolver: ({ name, contract, resolverAddress, ...txArgs }: {
428
405
  name: string;
429
406
  contract: "nameWrapper" | "registry";
430
407
  resolverAddress: `0x${string}`;
431
408
  account?: import("viem").SendTransactionParameters<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, ChainWithEns<TChain>>["account"] | undefined;
432
- gas?: import("viem").SendTransactionParameters<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, ChainWithEns<TChain>>["gas"] | undefined;
433
- nonce?: import("viem").SendTransactionParameters<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, ChainWithEns<TChain>>["nonce"] | undefined;
434
409
  gasPrice?: import("viem").SendTransactionParameters<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, ChainWithEns<TChain>>["gasPrice"] | undefined;
435
410
  maxFeePerGas?: import("viem").SendTransactionParameters<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, ChainWithEns<TChain>>["maxFeePerGas"] | undefined;
436
411
  maxPriorityFeePerGas?: import("viem").SendTransactionParameters<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, ChainWithEns<TChain>>["maxPriorityFeePerGas"] | undefined;
412
+ gas?: import("viem").SendTransactionParameters<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, ChainWithEns<TChain>>["gas"] | undefined;
413
+ nonce?: import("viem").SendTransactionParameters<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, ChainWithEns<TChain>>["nonce"] | undefined;
437
414
  }) => Promise<`0x${string}`>;
438
415
  setTextRecord: ({ name, key, value, resolverAddress, ...txArgs }: {
439
416
  name: string;
@@ -441,11 +418,11 @@ export declare const createEnsWalletClient: <TTransport extends Transport, TChai
441
418
  value: string | null;
442
419
  resolverAddress: `0x${string}`;
443
420
  account?: import("viem").SendTransactionParameters<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, ChainWithEns<TChain>>["account"] | undefined;
444
- gas?: import("viem").SendTransactionParameters<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, ChainWithEns<TChain>>["gas"] | undefined;
445
- nonce?: import("viem").SendTransactionParameters<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, ChainWithEns<TChain>>["nonce"] | undefined;
446
421
  gasPrice?: import("viem").SendTransactionParameters<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, ChainWithEns<TChain>>["gasPrice"] | undefined;
447
422
  maxFeePerGas?: import("viem").SendTransactionParameters<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, ChainWithEns<TChain>>["maxFeePerGas"] | undefined;
448
423
  maxPriorityFeePerGas?: import("viem").SendTransactionParameters<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, ChainWithEns<TChain>>["maxPriorityFeePerGas"] | undefined;
424
+ gas?: import("viem").SendTransactionParameters<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, ChainWithEns<TChain>>["gas"] | undefined;
425
+ nonce?: import("viem").SendTransactionParameters<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, ChainWithEns<TChain>>["nonce"] | undefined;
449
426
  }) => Promise<`0x${string}`>;
450
427
  transferName: ({ name, newOwnerAddress, contract, reclaim, asParent, ...txArgs }: import("../wallet.js").TransferNameParameters<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, ChainWithEns<TChain>>) => Promise<`0x${string}`>;
451
428
  unwrapName: <TName extends string>({ name, newOwnerAddress, newRegistrantAddress, ...txArgs }: import("../wallet.js").UnwrapNameParameters<TName, ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, ChainWithEns<TChain>>) => Promise<`0x${string}`>;
@@ -455,11 +432,25 @@ export declare const createEnsWalletClient: <TTransport extends Transport, TChai
455
432
  fuses?: (import("../types.js").GetNameType<TName_1> extends infer T ? T extends import("../types.js").GetNameType<TName_1> ? T extends "eth-2ld" ? import("../utils/fuses.js").EncodeChildFusesInputObject : never : never : never) | undefined;
456
433
  resolverAddress?: `0x${string}` | undefined;
457
434
  account?: import("viem").SendTransactionParameters<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, ChainWithEns<TChain>>["account"] | undefined;
458
- gas?: import("viem").SendTransactionParameters<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, ChainWithEns<TChain>>["gas"] | undefined;
459
- nonce?: import("viem").SendTransactionParameters<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, ChainWithEns<TChain>>["nonce"] | undefined;
460
435
  gasPrice?: import("viem").SendTransactionParameters<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, ChainWithEns<TChain>>["gasPrice"] | undefined;
461
436
  maxFeePerGas?: import("viem").SendTransactionParameters<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, ChainWithEns<TChain>>["maxFeePerGas"] | undefined;
462
437
  maxPriorityFeePerGas?: import("viem").SendTransactionParameters<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, ChainWithEns<TChain>>["maxPriorityFeePerGas"] | undefined;
438
+ gas?: import("viem").SendTransactionParameters<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, ChainWithEns<TChain>>["gas"] | undefined;
439
+ nonce?: import("viem").SendTransactionParameters<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, ChainWithEns<TChain>>["nonce"] | undefined;
463
440
  }) => Promise<`0x${string}`>;
441
+ extend: <const client extends {
442
+ [x: string]: unknown;
443
+ account?: undefined;
444
+ batch?: undefined;
445
+ cacheTime?: undefined;
446
+ chain?: undefined;
447
+ key?: undefined;
448
+ name?: undefined;
449
+ pollingInterval?: undefined;
450
+ request?: undefined;
451
+ transport?: undefined;
452
+ type?: undefined;
453
+ uid?: undefined;
454
+ }>(fn: (client: Client<TTransport, ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, WalletRpcSchema, WalletActions<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>> & EnsWalletActions<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>>>) => client) => Client<TTransport, ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, WalletRpcSchema, { [K in keyof client]: client[K]; } & WalletActions<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>> & EnsWalletActions<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>>>;
464
455
  };
465
456
  //# sourceMappingURL=wallet.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"wallet.d.ts","sourceRoot":"","sources":["../../../src/clients/wallet.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,OAAO,EACZ,KAAK,OAAO,EACZ,KAAK,KAAK,EACV,KAAK,MAAM,EACX,KAAK,YAAY,EACjB,KAAK,YAAY,EACjB,KAAK,SAAS,EACd,KAAK,aAAa,EAClB,KAAK,eAAe,EACrB,MAAM,MAAM,CAAA;AAEb,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAA;AAC1D,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAA;AAC3C,OAAO,EAAoB,KAAK,gBAAgB,EAAE,MAAM,wBAAwB,CAAA;AAEhF,MAAM,MAAM,qBAAqB,CAC/B,UAAU,SAAS,SAAS,EAC5B,MAAM,SAAS,KAAK,EACpB,iBAAiB,SAAS,OAAO,GAAG,OAAO,GAAG,SAAS,GACnD,OAAO,GACP,OAAO,GACP,SAAS,IACX,IAAI,CACN,YAAY,CAAC,UAAU,EAAE,MAAM,EAAE,iBAAiB,CAAC,EACnD,SAAS,GAAG,OAAO,GAAG,KAAK,GAAG,MAAM,GA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4BjC,CAAA"}
@@ -1,5 +1,5 @@
1
1
  export { default as getDnsImportData, type GetDnsImportDataParameters, type GetDnsImportDataReturnType, } from './functions/dns/getDnsImportData.js';
2
2
  export { default as getDnsOwner, type GetDnsOwnerParameters, type GetDnsOwnerReturnType, } from './functions/dns/getDnsOwner.js';
3
- export { default as importDnsName, type ImportDnsNameParameters, type ImportDnsNameReturnType, } from './functions/dns/importDnsName.js';
3
+ export { default as importDnsName, type ImportDnsNameDataParameters, type ImportDnsNameDataReturnType, type ImportDnsNameParameters, type ImportDnsNameReturnType, } from './functions/dns/importDnsName.js';
4
4
  export type { Endpoint } from './functions/dns/types.js';
5
5
  //# sourceMappingURL=dns.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"dns.d.ts","sourceRoot":"","sources":["../../src/dns.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,OAAO,IAAI,gBAAgB,EAC3B,KAAK,0BAA0B,EAC/B,KAAK,0BAA0B,GAChC,MAAM,qCAAqC,CAAA;AAC5C,OAAO,EACL,OAAO,IAAI,WAAW,EACtB,KAAK,qBAAqB,EAC1B,KAAK,qBAAqB,GAC3B,MAAM,gCAAgC,CAAA;AACvC,OAAO,EACL,OAAO,IAAI,aAAa,EACxB,KAAK,uBAAuB,EAC5B,KAAK,uBAAuB,GAC7B,MAAM,kCAAkC,CAAA;AACzC,YAAY,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAA"}
1
+ {"version":3,"file":"dns.d.ts","sourceRoot":"","sources":["../../src/dns.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,OAAO,IAAI,gBAAgB,EAC3B,KAAK,0BAA0B,EAC/B,KAAK,0BAA0B,GAChC,MAAM,qCAAqC,CAAA;AAC5C,OAAO,EACL,OAAO,IAAI,WAAW,EACtB,KAAK,qBAAqB,EAC1B,KAAK,qBAAqB,GAC3B,MAAM,gCAAgC,CAAA;AACvC,OAAO,EACL,OAAO,IAAI,aAAa,EACxB,KAAK,2BAA2B,EAChC,KAAK,2BAA2B,EAChC,KAAK,uBAAuB,EAC5B,KAAK,uBAAuB,GAC7B,MAAM,kCAAkC,CAAA;AACzC,YAAY,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAA"}
@@ -88,4 +88,10 @@ export declare class InvalidContentHashError extends BaseError {
88
88
  name: string;
89
89
  constructor();
90
90
  }
91
+ export declare class UnknownContentTypeError extends BaseError {
92
+ name: string;
93
+ constructor({ contentType }: {
94
+ contentType: string;
95
+ });
96
+ }
91
97
  //# sourceMappingURL=utils.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../src/errors/utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,WAAW,CAAA;AAErC,qBAAa,oBAAqB,SAAQ,SAAS;IACxC,IAAI,SAAyB;gBAE1B,EACV,KAAK,EACL,OAAY,EACZ,OAAmB,EACnB,OAAO,GACR,EAAE;QACD,KAAK,EAAE,MAAM,CAAA;QACb,OAAO,CAAC,EAAE,MAAM,CAAA;QAChB,OAAO,CAAC,EAAE,MAAM,CAAA;QAChB,OAAO,CAAC,EAAE,MAAM,CAAA;KACjB;CASF;AAED,qBAAa,+BAAgC,SAAQ,SAAS;IACnD,IAAI,SAA+B;gBAEhC,EACV,KAAK,EACL,OAAO,GACR,EAAE;QACD,KAAK,EAAE,MAAM,GAAG,MAAM,CAAA;QACtB,OAAO,CAAC,EAAE,MAAM,CAAA;K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