@ensdomains/ensjs-query-core 0.0.1 → 5.0.0

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 (288) hide show
  1. package/dist/esm/actions/public/getAbiRecord.js +11 -0
  2. package/dist/esm/actions/public/getAbiRecord.js.map +1 -0
  3. package/dist/esm/actions/public/getAddressRecord.js +11 -0
  4. package/dist/esm/actions/public/getAddressRecord.js.map +1 -0
  5. package/dist/esm/actions/public/getAvailable.js +11 -0
  6. package/dist/esm/actions/public/getAvailable.js.map +1 -0
  7. package/dist/esm/actions/public/getContentHashRecord.js +11 -0
  8. package/dist/esm/actions/public/getContentHashRecord.js.map +1 -0
  9. package/dist/esm/actions/public/getCredentials.js +11 -0
  10. package/dist/esm/actions/public/getCredentials.js.map +1 -0
  11. package/dist/esm/actions/public/getExpiry.js +11 -0
  12. package/dist/esm/actions/public/getExpiry.js.map +1 -0
  13. package/dist/esm/actions/public/getName.js +11 -0
  14. package/dist/esm/actions/public/getName.js.map +1 -0
  15. package/dist/esm/actions/public/getOwner.js +11 -0
  16. package/dist/esm/actions/public/getOwner.js.map +1 -0
  17. package/dist/esm/actions/public/getPrice.js +11 -0
  18. package/dist/esm/actions/public/getPrice.js.map +1 -0
  19. package/dist/esm/actions/public/getRecords.js +11 -0
  20. package/dist/esm/actions/public/getRecords.js.map +1 -0
  21. package/dist/esm/actions/public/getResolver.js +11 -0
  22. package/dist/esm/actions/public/getResolver.js.map +1 -0
  23. package/dist/esm/actions/public/getSupportedInterfaces.js +13 -0
  24. package/dist/esm/actions/public/getSupportedInterfaces.js.map +1 -0
  25. package/dist/esm/actions/public/getTextRecord.js +11 -0
  26. package/dist/esm/actions/public/getTextRecord.js.map +1 -0
  27. package/dist/esm/actions/public/getWrapperData.js +11 -0
  28. package/dist/esm/actions/public/getWrapperData.js.map +1 -0
  29. package/dist/esm/actions/public/getWrapperName.js +11 -0
  30. package/dist/esm/actions/public/getWrapperName.js.map +1 -0
  31. package/dist/esm/actions/public/resolveNameData.js +13 -0
  32. package/dist/esm/actions/public/resolveNameData.js.map +1 -0
  33. package/dist/esm/actions/wallet/clearRecords.js +24 -0
  34. package/dist/esm/actions/wallet/clearRecords.js.map +1 -0
  35. package/dist/esm/actions/wallet/commitName.js +24 -0
  36. package/dist/esm/actions/wallet/commitName.js.map +1 -0
  37. package/dist/esm/actions/wallet/createSubname.js +24 -0
  38. package/dist/esm/actions/wallet/createSubname.js.map +1 -0
  39. package/dist/esm/actions/wallet/deleteSubname.js +24 -0
  40. package/dist/esm/actions/wallet/deleteSubname.js.map +1 -0
  41. package/dist/esm/actions/wallet/index.js +15 -0
  42. package/dist/esm/actions/wallet/index.js.map +1 -0
  43. package/dist/esm/actions/wallet/registerName.js +24 -0
  44. package/dist/esm/actions/wallet/registerName.js.map +1 -0
  45. package/dist/esm/actions/wallet/renewName.js +24 -0
  46. package/dist/esm/actions/wallet/renewName.js.map +1 -0
  47. package/dist/esm/actions/wallet/setAbiRecord.js +22 -0
  48. package/dist/esm/actions/wallet/setAbiRecord.js.map +1 -0
  49. package/dist/esm/actions/wallet/setAddressRecord.js +22 -0
  50. package/dist/esm/actions/wallet/setAddressRecord.js.map +1 -0
  51. package/dist/esm/actions/wallet/setContentHashRecord.js +22 -0
  52. package/dist/esm/actions/wallet/setContentHashRecord.js.map +1 -0
  53. package/dist/esm/actions/wallet/setPrimaryName.js +24 -0
  54. package/dist/esm/actions/wallet/setPrimaryName.js.map +1 -0
  55. package/dist/esm/actions/wallet/setRecords.js +24 -0
  56. package/dist/esm/actions/wallet/setRecords.js.map +1 -0
  57. package/dist/esm/actions/wallet/setResolver.js +24 -0
  58. package/dist/esm/actions/wallet/setResolver.js.map +1 -0
  59. package/dist/esm/actions/wallet/setTextRecord.js +22 -0
  60. package/dist/esm/actions/wallet/setTextRecord.js.map +1 -0
  61. package/dist/esm/actions/wallet/transferName.js +24 -0
  62. package/dist/esm/actions/wallet/transferName.js.map +1 -0
  63. package/dist/esm/example.js +32 -0
  64. package/dist/esm/example.js.map +1 -0
  65. package/dist/esm/query/public/getAbiRecord.js +19 -0
  66. package/dist/esm/query/public/getAbiRecord.js.map +1 -0
  67. package/dist/esm/query/public/getAddressRecord.js +19 -0
  68. package/dist/esm/query/public/getAddressRecord.js.map +1 -0
  69. package/dist/esm/query/public/getAvailable.js +19 -0
  70. package/dist/esm/query/public/getAvailable.js.map +1 -0
  71. package/dist/esm/query/public/getContentHashRecord.js +19 -0
  72. package/dist/esm/query/public/getContentHashRecord.js.map +1 -0
  73. package/dist/esm/query/public/getCredentials.js +19 -0
  74. package/dist/esm/query/public/getCredentials.js.map +1 -0
  75. package/dist/esm/query/public/getExpiry.js +19 -0
  76. package/dist/esm/query/public/getExpiry.js.map +1 -0
  77. package/dist/esm/query/public/getName.js +19 -0
  78. package/dist/esm/query/public/getName.js.map +1 -0
  79. package/dist/esm/query/public/getOwner.js +19 -0
  80. package/dist/esm/query/public/getOwner.js.map +1 -0
  81. package/dist/esm/query/public/getPrice.js +21 -0
  82. package/dist/esm/query/public/getPrice.js.map +1 -0
  83. package/dist/esm/query/public/getRecords.js +22 -0
  84. package/dist/esm/query/public/getRecords.js.map +1 -0
  85. package/dist/esm/query/public/getResolver.js +19 -0
  86. package/dist/esm/query/public/getResolver.js.map +1 -0
  87. package/dist/esm/query/public/getSupportedInterfaces.js +25 -0
  88. package/dist/esm/query/public/getSupportedInterfaces.js.map +1 -0
  89. package/dist/esm/query/public/getTextRecord.js +21 -0
  90. package/dist/esm/query/public/getTextRecord.js.map +1 -0
  91. package/dist/esm/query/public/getWrapperData.js +19 -0
  92. package/dist/esm/query/public/getWrapperData.js.map +1 -0
  93. package/dist/esm/query/public/getWrapperName.js +19 -0
  94. package/dist/esm/query/public/getWrapperName.js.map +1 -0
  95. package/dist/esm/query/public/index.js +16 -0
  96. package/dist/esm/query/public/index.js.map +1 -0
  97. package/dist/esm/query/utils.js +18 -0
  98. package/dist/esm/query/utils.js.map +1 -0
  99. package/dist/esm/query/wallet/clearRecords.js +16 -0
  100. package/dist/esm/query/wallet/clearRecords.js.map +1 -0
  101. package/dist/esm/query/wallet/commitName.js +16 -0
  102. package/dist/esm/query/wallet/commitName.js.map +1 -0
  103. package/dist/esm/query/wallet/createSubname.js +16 -0
  104. package/dist/esm/query/wallet/createSubname.js.map +1 -0
  105. package/dist/esm/query/wallet/deleteSubname.js +16 -0
  106. package/dist/esm/query/wallet/deleteSubname.js.map +1 -0
  107. package/dist/esm/query/wallet/index.js +15 -0
  108. package/dist/esm/query/wallet/index.js.map +1 -0
  109. package/dist/esm/query/wallet/registerName.js +16 -0
  110. package/dist/esm/query/wallet/registerName.js.map +1 -0
  111. package/dist/esm/query/wallet/renewName.js +16 -0
  112. package/dist/esm/query/wallet/renewName.js.map +1 -0
  113. package/dist/esm/query/wallet/setAbiRecord.js +16 -0
  114. package/dist/esm/query/wallet/setAbiRecord.js.map +1 -0
  115. package/dist/esm/query/wallet/setAddressRecord.js +16 -0
  116. package/dist/esm/query/wallet/setAddressRecord.js.map +1 -0
  117. package/dist/esm/query/wallet/setContentHashRecord.js +16 -0
  118. package/dist/esm/query/wallet/setContentHashRecord.js.map +1 -0
  119. package/dist/esm/query/wallet/setPrimaryName.js +16 -0
  120. package/dist/esm/query/wallet/setPrimaryName.js.map +1 -0
  121. package/dist/esm/query/wallet/setRecords.js +16 -0
  122. package/dist/esm/query/wallet/setRecords.js.map +1 -0
  123. package/dist/esm/query/wallet/setResolver.js +16 -0
  124. package/dist/esm/query/wallet/setResolver.js.map +1 -0
  125. package/dist/esm/query/wallet/setTextRecord.js +16 -0
  126. package/dist/esm/query/wallet/setTextRecord.js.map +1 -0
  127. package/dist/esm/query/wallet/transferName.js +16 -0
  128. package/dist/esm/query/wallet/transferName.js.map +1 -0
  129. package/dist/esm/tsconfig.build.tsbuildinfo +1 -0
  130. package/dist/esm/utils/chain.js +2 -0
  131. package/dist/esm/utils/chain.js.map +1 -0
  132. package/dist/esm/utils/getAction.js +22 -0
  133. package/dist/esm/utils/getAction.js.map +1 -0
  134. package/dist/types/actions/public/getAbiRecord.d.ts +11 -0
  135. package/dist/types/actions/public/getAbiRecord.d.ts.map +1 -0
  136. package/dist/types/actions/public/getAddressRecord.d.ts +11 -0
  137. package/dist/types/actions/public/getAddressRecord.d.ts.map +1 -0
  138. package/dist/types/actions/public/getAvailable.d.ts +11 -0
  139. package/dist/types/actions/public/getAvailable.d.ts.map +1 -0
  140. package/dist/types/actions/public/getContentHashRecord.d.ts +11 -0
  141. package/dist/types/actions/public/getContentHashRecord.d.ts.map +1 -0
  142. package/dist/types/actions/public/getCredentials.d.ts +11 -0
  143. package/dist/types/actions/public/getCredentials.d.ts.map +1 -0
  144. package/dist/types/actions/public/getExpiry.d.ts +11 -0
  145. package/dist/types/actions/public/getExpiry.d.ts.map +1 -0
  146. package/dist/types/actions/public/getName.d.ts +11 -0
  147. package/dist/types/actions/public/getName.d.ts.map +1 -0
  148. package/dist/types/actions/public/getOwner.d.ts +11 -0
  149. package/dist/types/actions/public/getOwner.d.ts.map +1 -0
  150. package/dist/types/actions/public/getPrice.d.ts +11 -0
  151. package/dist/types/actions/public/getPrice.d.ts.map +1 -0
  152. package/dist/types/actions/public/getRecords.d.ts +11 -0
  153. package/dist/types/actions/public/getRecords.d.ts.map +1 -0
  154. package/dist/types/actions/public/getResolver.d.ts +11 -0
  155. package/dist/types/actions/public/getResolver.d.ts.map +1 -0
  156. package/dist/types/actions/public/getSupportedInterfaces.d.ts +11 -0
  157. package/dist/types/actions/public/getSupportedInterfaces.d.ts.map +1 -0
  158. package/dist/types/actions/public/getTextRecord.d.ts +11 -0
  159. package/dist/types/actions/public/getTextRecord.d.ts.map +1 -0
  160. package/dist/types/actions/public/getWrapperData.d.ts +11 -0
  161. package/dist/types/actions/public/getWrapperData.d.ts.map +1 -0
  162. package/dist/types/actions/public/getWrapperName.d.ts +11 -0
  163. package/dist/types/actions/public/getWrapperName.d.ts.map +1 -0
  164. package/dist/types/actions/public/resolveNameData.d.ts +11 -0
  165. package/dist/types/actions/public/resolveNameData.d.ts.map +1 -0
  166. package/dist/types/actions/wallet/clearRecords.d.ts +13 -0
  167. package/dist/types/actions/wallet/clearRecords.d.ts.map +1 -0
  168. package/dist/types/actions/wallet/commitName.d.ts +13 -0
  169. package/dist/types/actions/wallet/commitName.d.ts.map +1 -0
  170. package/dist/types/actions/wallet/createSubname.d.ts +13 -0
  171. package/dist/types/actions/wallet/createSubname.d.ts.map +1 -0
  172. package/dist/types/actions/wallet/deleteSubname.d.ts +13 -0
  173. package/dist/types/actions/wallet/deleteSubname.d.ts.map +1 -0
  174. package/dist/types/actions/wallet/index.d.ts +15 -0
  175. package/dist/types/actions/wallet/index.d.ts.map +1 -0
  176. package/dist/types/actions/wallet/registerName.d.ts +13 -0
  177. package/dist/types/actions/wallet/registerName.d.ts.map +1 -0
  178. package/dist/types/actions/wallet/renewName.d.ts +13 -0
  179. package/dist/types/actions/wallet/renewName.d.ts.map +1 -0
  180. package/dist/types/actions/wallet/setAbiRecord.d.ts +12 -0
  181. package/dist/types/actions/wallet/setAbiRecord.d.ts.map +1 -0
  182. package/dist/types/actions/wallet/setAddressRecord.d.ts +11 -0
  183. package/dist/types/actions/wallet/setAddressRecord.d.ts.map +1 -0
  184. package/dist/types/actions/wallet/setContentHashRecord.d.ts +11 -0
  185. package/dist/types/actions/wallet/setContentHashRecord.d.ts.map +1 -0
  186. package/dist/types/actions/wallet/setPrimaryName.d.ts +13 -0
  187. package/dist/types/actions/wallet/setPrimaryName.d.ts.map +1 -0
  188. package/dist/types/actions/wallet/setRecords.d.ts +13 -0
  189. package/dist/types/actions/wallet/setRecords.d.ts.map +1 -0
  190. package/dist/types/actions/wallet/setResolver.d.ts +13 -0
  191. package/dist/types/actions/wallet/setResolver.d.ts.map +1 -0
  192. package/dist/types/actions/wallet/setTextRecord.d.ts +11 -0
  193. package/dist/types/actions/wallet/setTextRecord.d.ts.map +1 -0
  194. package/dist/types/actions/wallet/transferName.d.ts +13 -0
  195. package/dist/types/actions/wallet/transferName.d.ts.map +1 -0
  196. package/dist/types/example.d.ts +2 -0
  197. package/dist/types/example.d.ts.map +1 -0
  198. package/dist/types/query/public/getAbiRecord.d.ts +44 -0
  199. package/dist/types/query/public/getAbiRecord.d.ts.map +1 -0
  200. package/dist/types/query/public/getAddressRecord.d.ts +50 -0
  201. package/dist/types/query/public/getAddressRecord.d.ts.map +1 -0
  202. package/dist/types/query/public/getAvailable.d.ts +35 -0
  203. package/dist/types/query/public/getAvailable.d.ts.map +1 -0
  204. package/dist/types/query/public/getContentHashRecord.d.ts +41 -0
  205. package/dist/types/query/public/getContentHashRecord.d.ts.map +1 -0
  206. package/dist/types/query/public/getCredentials.d.ts +41 -0
  207. package/dist/types/query/public/getCredentials.d.ts.map +1 -0
  208. package/dist/types/query/public/getExpiry.d.ts +38 -0
  209. package/dist/types/query/public/getExpiry.d.ts.map +1 -0
  210. package/dist/types/query/public/getName.d.ts +23 -0
  211. package/dist/types/query/public/getName.d.ts.map +1 -0
  212. package/dist/types/query/public/getOwner.d.ts +38 -0
  213. package/dist/types/query/public/getOwner.d.ts.map +1 -0
  214. package/dist/types/query/public/getPrice.d.ts +38 -0
  215. package/dist/types/query/public/getPrice.d.ts.map +1 -0
  216. package/dist/types/query/public/getRecords.d.ts +30 -0
  217. package/dist/types/query/public/getRecords.d.ts.map +1 -0
  218. package/dist/types/query/public/getResolver.d.ts +35 -0
  219. package/dist/types/query/public/getResolver.d.ts.map +1 -0
  220. package/dist/types/query/public/getSupportedInterfaces.d.ts +38 -0
  221. package/dist/types/query/public/getSupportedInterfaces.d.ts.map +1 -0
  222. package/dist/types/query/public/getTextRecord.d.ts +44 -0
  223. package/dist/types/query/public/getTextRecord.d.ts.map +1 -0
  224. package/dist/types/query/public/getWrapperData.d.ts +35 -0
  225. package/dist/types/query/public/getWrapperData.d.ts.map +1 -0
  226. package/dist/types/query/public/getWrapperName.d.ts +35 -0
  227. package/dist/types/query/public/getWrapperName.d.ts.map +1 -0
  228. package/dist/types/query/public/index.d.ts +16 -0
  229. package/dist/types/query/public/index.d.ts.map +1 -0
  230. package/dist/types/query/utils.d.ts +2 -0
  231. package/dist/types/query/utils.d.ts.map +1 -0
  232. package/dist/types/query/wallet/clearRecords.d.ts +14 -0
  233. package/dist/types/query/wallet/clearRecords.d.ts.map +1 -0
  234. package/dist/types/query/wallet/commitName.d.ts +14 -0
  235. package/dist/types/query/wallet/commitName.d.ts.map +1 -0
  236. package/dist/types/query/wallet/createSubname.d.ts +14 -0
  237. package/dist/types/query/wallet/createSubname.d.ts.map +1 -0
  238. package/dist/types/query/wallet/deleteSubname.d.ts +14 -0
  239. package/dist/types/query/wallet/deleteSubname.d.ts.map +1 -0
  240. package/dist/types/query/wallet/index.d.ts +15 -0
  241. package/dist/types/query/wallet/index.d.ts.map +1 -0
  242. package/dist/types/query/wallet/registerName.d.ts +14 -0
  243. package/dist/types/query/wallet/registerName.d.ts.map +1 -0
  244. package/dist/types/query/wallet/renewName.d.ts +14 -0
  245. package/dist/types/query/wallet/renewName.d.ts.map +1 -0
  246. package/dist/types/query/wallet/setAbiRecord.d.ts +12 -0
  247. package/dist/types/query/wallet/setAbiRecord.d.ts.map +1 -0
  248. package/dist/types/query/wallet/setAddressRecord.d.ts +12 -0
  249. package/dist/types/query/wallet/setAddressRecord.d.ts.map +1 -0
  250. package/dist/types/query/wallet/setContentHashRecord.d.ts +12 -0
  251. package/dist/types/query/wallet/setContentHashRecord.d.ts.map +1 -0
  252. package/dist/types/query/wallet/setPrimaryName.d.ts +14 -0
  253. package/dist/types/query/wallet/setPrimaryName.d.ts.map +1 -0
  254. package/dist/types/query/wallet/setRecords.d.ts +14 -0
  255. package/dist/types/query/wallet/setRecords.d.ts.map +1 -0
  256. package/dist/types/query/wallet/setResolver.d.ts +14 -0
  257. package/dist/types/query/wallet/setResolver.d.ts.map +1 -0
  258. package/dist/types/query/wallet/setTextRecord.d.ts +12 -0
  259. package/dist/types/query/wallet/setTextRecord.d.ts.map +1 -0
  260. package/dist/types/query/wallet/transferName.d.ts +15 -0
  261. package/dist/types/query/wallet/transferName.d.ts.map +1 -0
  262. package/dist/types/utils/chain.d.ts +21 -0
  263. package/dist/types/utils/chain.d.ts.map +1 -0
  264. package/dist/types/utils/getAction.d.ts +12 -0
  265. package/dist/types/utils/getAction.d.ts.map +1 -0
  266. package/package.json +5 -4
  267. package/src/actions/public/getAvailable.ts +1 -1
  268. package/src/actions/public/getExpiry.ts +1 -1
  269. package/src/actions/public/getOwner.ts +1 -1
  270. package/src/actions/public/getSupportedInterfaces.ts +0 -1
  271. package/src/actions/public/getWrapperData.ts +1 -1
  272. package/src/actions/public/getWrapperName.ts +1 -1
  273. package/src/actions/public/resolveNameData.ts +0 -1
  274. package/src/actions/wallet/clearRecords.ts +1 -1
  275. package/src/actions/wallet/createSubname.ts +1 -1
  276. package/src/actions/wallet/deleteSubname.ts +1 -1
  277. package/src/actions/wallet/index.ts +5 -5
  278. package/src/actions/wallet/{renewNames.ts → renewName.ts} +13 -16
  279. package/src/actions/wallet/setPrimaryName.ts +1 -1
  280. package/src/actions/wallet/setRecords.ts +1 -1
  281. package/src/actions/wallet/setResolver.ts +1 -1
  282. package/src/actions/wallet/transferName.ts +1 -1
  283. package/src/query/public/getRecords.ts +7 -2
  284. package/src/query/wallet/index.ts +5 -5
  285. package/src/query/wallet/renewName.ts +54 -0
  286. package/src/query/wallet/transferName.ts +1 -1
  287. package/src/utils/getAction.ts +2 -20
  288. package/src/query/wallet/renewNames.ts +0 -57
@@ -0,0 +1,35 @@
1
+ import { type ExcludeTE } from '@ensdomains/ensjs/internal';
2
+ import type { Config } from '@wagmi/core';
3
+ import type { Compute, ExactPartial, ScopeKeyParameter } from '@wagmi/core/internal';
4
+ import type { Chain } from 'viem';
5
+ import { type GetResolverParameters, type GetResolverReturnType } from '../../actions/public/getResolver.js';
6
+ import type { RequireConfigContracts } from '../../utils/chain.js';
7
+ export type GetResolverOptions<config extends Config> = Compute<ExactPartial<GetResolverParameters<config>> & ScopeKeyParameter>;
8
+ export declare function getResolverQueryOptions<chains extends readonly [Chain, ...Chain[]]>(config: RequireConfigContracts<chains, 'ensRegistry'>, options?: GetResolverOptions<ExcludeTE<typeof config>>): {
9
+ readonly queryFn: ({ queryKey }: {
10
+ client: import("@tanstack/query-core").QueryClient;
11
+ queryKey: readonly ["ensjs_resolver", {
12
+ name?: string | undefined;
13
+ chainId?: Exclude<RequireConfigContracts<chains, "ensRegistry">, import("@ensdomains/ensjs/internal").TypeError<string>>["chains"][number]["id"] | (Exclude<RequireConfigContracts<chains, "ensRegistry">, import("@ensdomains/ensjs/internal").TypeError<string>>["chains"][number]["id"] extends infer T ? T extends Exclude<RequireConfigContracts<chains, "ensRegistry">, import("@ensdomains/ensjs/internal").TypeError<string>>["chains"][number]["id"] ? T extends Exclude<RequireConfigContracts<chains, "ensRegistry">, import("@ensdomains/ensjs/internal").TypeError<string>>["chains"][number]["id"] ? T : undefined : never : never) | undefined;
14
+ scopeKey?: string | undefined | undefined;
15
+ }];
16
+ signal: AbortSignal;
17
+ meta: import("@tanstack/query-core").QueryMeta | undefined;
18
+ pageParam?: unknown;
19
+ direction?: unknown;
20
+ }) => Promise<import("@ensdomains/ensjs/public").GetResolverReturnType>;
21
+ readonly queryKey: readonly ["ensjs_resolver", {
22
+ name?: string | undefined;
23
+ chainId?: ExcludeTE<RequireConfigContracts<chains, "ensRegistry">>["chains"][number]["id"] | (ExcludeTE<RequireConfigContracts<chains, "ensRegistry">>["chains"][number]["id"] extends infer T ? T extends ExcludeTE<RequireConfigContracts<chains, "ensRegistry">>["chains"][number]["id"] ? T extends ExcludeTE<RequireConfigContracts<chains, "ensRegistry">>["chains"][number]["id"] ? T : undefined : never : never) | undefined;
24
+ scopeKey?: string | undefined | undefined;
25
+ }];
26
+ };
27
+ export type GetResolverQueryFnData = GetResolverReturnType;
28
+ export type GetResolverData = GetResolverQueryFnData;
29
+ export declare function getResolverQueryKey<config extends Config>(options?: GetResolverOptions<config>): readonly ["ensjs_resolver", {
30
+ name?: string | undefined;
31
+ chainId?: config["chains"][number]["id"] | (config["chains"][number]["id"] extends infer T ? T extends config["chains"][number]["id"] ? T extends config["chains"][number]["id"] ? T : undefined : never : never) | undefined;
32
+ scopeKey?: string | undefined | undefined;
33
+ }];
34
+ export type GetResolverQueryKey<config extends Config> = ReturnType<typeof getResolverQueryKey<config>>;
35
+ //# sourceMappingURL=getResolver.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getResolver.d.ts","sourceRoot":"","sources":["../../../../src/query/public/getResolver.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,SAAS,EACf,MAAM,4BAA4B,CAAA;AAEnC,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,aAAa,CAAA;AACzC,OAAO,KAAK,EACV,OAAO,EACP,YAAY,EACZ,iBAAiB,EAClB,MAAM,sBAAsB,CAAA;AAC7B,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,MAAM,CAAA;AACjC,OAAO,EAEL,KAAK,qBAAqB,EAC1B,KAAK,qBAAqB,EAE3B,MAAM,qCAAqC,CAAA;AAC5C,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,sBAAsB,CAAA;AAGlE,MAAM,MAAM,kBAAkB,CAAC,MAAM,SAAS,MAAM,IAAI,OAAO,CAC7D,YAAY,CAAC,qBAAqB,CAAC,MAAM,CAAC,CAAC,GAAG,iBAAiB,CAChE,CAAA;AAED,wBAAgB,uBAAuB,CACrC,MAAM,SAAS,SAAS,CAAC,KAAK,EAAE,GAAG,KAAK,EAAE,CAAC,EAE3C,MAAM,EAAE,sBAAsB,CAAC,MAAM,EAAE,aAAa,CAAC,EACrD,OAAO,GAAE,kBAAkB,CAAC,SAAS,CAAC,OAAO,MAAM,CAAC,CAAM;;;;;;;;;;;;;;;;;;EAiB3D;AAED,MAAM,MAAM,sBAAsB,GAAG,qBAAqB,CAAA;AAE1D,MAAM,MAAM,eAAe,GAAG,sBAAsB,CAAA;AAEpD,wBAAgB,mBAAmB,CAAC,MAAM,SAAS,MAAM,EACvD,OAAO,GAAE,kBAAkB,CAAC,MAAM,CAAM;;;;GAGzC;AAED,MAAM,MAAM,mBAAmB,CAAC,MAAM,SAAS,MAAM,IAAI,UAAU,CACjE,OAAO,mBAAmB,CAAC,MAAM,CAAC,CACnC,CAAA"}
@@ -0,0 +1,38 @@
1
+ import { type ExcludeTE } from '@ensdomains/ensjs/internal';
2
+ import type { Config } from '@wagmi/core';
3
+ import type { Compute, ExactPartial, ScopeKeyParameter } from '@wagmi/core/internal';
4
+ import type { Chain, Hex } from 'viem';
5
+ import { type GetSupportedInterfacesParameters, type GetSupportedInterfacesReturnType } from '../../actions/public/getSupportedInterfaces.js';
6
+ import type { RequireConfigContracts } from '../../utils/chain.js';
7
+ export type GetSupportedInterfacesOptions<config extends Config, interfaces extends readonly Hex[] = readonly Hex[]> = Compute<ExactPartial<GetSupportedInterfacesParameters<config, interfaces>> & ScopeKeyParameter>;
8
+ export declare function getSupportedInterfacesQueryOptions<chains extends readonly [Chain, ...Chain[]], const interfaces extends readonly Hex[]>(config: RequireConfigContracts<chains, 'multicall3'>, options?: GetSupportedInterfacesOptions<ExcludeTE<typeof config>, interfaces>): {
9
+ readonly queryFn: ({ queryKey }: {
10
+ client: import("@tanstack/query-core").QueryClient;
11
+ queryKey: readonly ["ensjs_supportedInterfaces", {
12
+ address?: `0x${string}` | undefined;
13
+ interfaces?: interfaces | undefined;
14
+ chainId?: Exclude<RequireConfigContracts<chains, "multicall3">, import("@ensdomains/ensjs/internal").TypeError<string>>["chains"][number]["id"] | (Exclude<RequireConfigContracts<chains, "multicall3">, import("@ensdomains/ensjs/internal").TypeError<string>>["chains"][number]["id"] extends infer T ? T extends Exclude<RequireConfigContracts<chains, "multicall3">, import("@ensdomains/ensjs/internal").TypeError<string>>["chains"][number]["id"] ? T extends Exclude<RequireConfigContracts<chains, "multicall3">, import("@ensdomains/ensjs/internal").TypeError<string>>["chains"][number]["id"] ? T : undefined : never : never) | undefined;
15
+ scopeKey?: string | undefined | undefined;
16
+ }];
17
+ signal: AbortSignal;
18
+ meta: import("@tanstack/query-core").QueryMeta | undefined;
19
+ pageParam?: unknown;
20
+ direction?: unknown;
21
+ }) => Promise<import("@ensdomains/ensjs/public").GetSupportedInterfacesReturnType<interfaces>>;
22
+ readonly queryKey: readonly ["ensjs_supportedInterfaces", {
23
+ address?: `0x${string}` | undefined;
24
+ interfaces?: interfaces | undefined;
25
+ chainId?: ExcludeTE<RequireConfigContracts<chains, "multicall3">>["chains"][number]["id"] | (ExcludeTE<RequireConfigContracts<chains, "multicall3">>["chains"][number]["id"] extends infer T ? T extends ExcludeTE<RequireConfigContracts<chains, "multicall3">>["chains"][number]["id"] ? T extends ExcludeTE<RequireConfigContracts<chains, "multicall3">>["chains"][number]["id"] ? T : undefined : never : never) | undefined;
26
+ scopeKey?: string | undefined | undefined;
27
+ }];
28
+ };
29
+ export type GetSupportedInterfacesQueryFnData<interfaces extends readonly Hex[] = readonly Hex[]> = GetSupportedInterfacesReturnType<interfaces>;
30
+ export type GetSupportedInterfacesData<interfaces extends readonly Hex[] = readonly Hex[]> = GetSupportedInterfacesQueryFnData<interfaces>;
31
+ export declare function getSupportedInterfacesQueryKey<config extends Config, interfaces extends readonly Hex[] = readonly Hex[]>(options?: GetSupportedInterfacesOptions<config, interfaces>): readonly ["ensjs_supportedInterfaces", {
32
+ address?: `0x${string}` | undefined;
33
+ interfaces?: interfaces | undefined;
34
+ chainId?: config["chains"][number]["id"] | (config["chains"][number]["id"] extends infer T ? T extends config["chains"][number]["id"] ? T extends config["chains"][number]["id"] ? T : undefined : never : never) | undefined;
35
+ scopeKey?: string | undefined | undefined;
36
+ }];
37
+ export type GetSupportedInterfacesQueryKey<config extends Config, interfaces extends readonly Hex[] = readonly Hex[]> = ReturnType<typeof getSupportedInterfacesQueryKey<config, interfaces>>;
38
+ //# sourceMappingURL=getSupportedInterfaces.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getSupportedInterfaces.d.ts","sourceRoot":"","sources":["../../../../src/query/public/getSupportedInterfaces.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,SAAS,EACf,MAAM,4BAA4B,CAAA;AAEnC,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,aAAa,CAAA;AACzC,OAAO,KAAK,EACV,OAAO,EACP,YAAY,EACZ,iBAAiB,EAClB,MAAM,sBAAsB,CAAA;AAC7B,OAAO,KAAK,EAAE,KAAK,EAAE,GAAG,EAAE,MAAM,MAAM,CAAA;AACtC,OAAO,EAEL,KAAK,gCAAgC,EACrC,KAAK,gCAAgC,EAEtC,MAAM,gDAAgD,CAAA;AACvD,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,sBAAsB,CAAA;AAGlE,MAAM,MAAM,6BAA6B,CACvC,MAAM,SAAS,MAAM,EACrB,UAAU,SAAS,SAAS,GAAG,EAAE,GAAG,SAAS,GAAG,EAAE,IAChD,OAAO,CACT,YAAY,CAAC,gCAAgC,CAAC,MAAM,EAAE,UAAU,CAAC,CAAC,GAChE,iBAAiB,CACpB,CAAA;AAED,wBAAgB,kCAAkC,CAChD,MAAM,SAAS,SAAS,CAAC,KAAK,EAAE,GAAG,KAAK,EAAE,CAAC,EAC3C,KAAK,CAAC,UAAU,SAAS,SAAS,GAAG,EAAE,EAEvC,MAAM,EAAE,sBAAsB,CAAC,MAAM,EAAE,YAAY,CAAC,EACpD,OAAO,GAAE,6BAA6B,CACpC,SAAS,CAAC,OAAO,MAAM,CAAC,EACxB,UAAU,CACN;;;;;;;;;;;;;;;;;;;;EAsBP;AAED,MAAM,MAAM,iCAAiC,CAC3C,UAAU,SAAS,SAAS,GAAG,EAAE,GAAG,SAAS,GAAG,EAAE,IAChD,gCAAgC,CAAC,UAAU,CAAC,CAAA;AAEhD,MAAM,MAAM,0BAA0B,CACpC,UAAU,SAAS,SAAS,GAAG,EAAE,GAAG,SAAS,GAAG,EAAE,IAChD,iCAAiC,CAAC,UAAU,CAAC,CAAA;AAEjD,wBAAgB,8BAA8B,CAC5C,MAAM,SAAS,MAAM,EACrB,UAAU,SAAS,SAAS,GAAG,EAAE,GAAG,SAAS,GAAG,EAAE,EAClD,OAAO,GAAE,6BAA6B,CAAC,MAAM,EAAE,UAAU,CAAM;;;;;GAEhE;AAED,MAAM,MAAM,8BAA8B,CACxC,MAAM,SAAS,MAAM,EACrB,UAAU,SAAS,SAAS,GAAG,EAAE,GAAG,SAAS,GAAG,EAAE,IAChD,UAAU,CAAC,OAAO,8BAA8B,CAAC,MAAM,EAAE,UAAU,CAAC,CAAC,CAAA"}
@@ -0,0 +1,44 @@
1
+ import { type ExcludeTE } from '@ensdomains/ensjs/internal';
2
+ import type { Config } from '@wagmi/core';
3
+ import type { Compute, ExactPartial, ScopeKeyParameter } from '@wagmi/core/internal';
4
+ import type { Chain } from 'viem';
5
+ import { type GetTextRecordParameters, type GetTextRecordReturnType } from '../../actions/public/getTextRecord.js';
6
+ import type { RequireConfigContracts } from '../../utils/chain.js';
7
+ export type GetTextRecordOptions<config extends Config> = Compute<ExactPartial<GetTextRecordParameters<config>> & ScopeKeyParameter>;
8
+ export declare function getTextRecordQueryOptions<chains extends readonly [Chain, ...Chain[]]>(config: RequireConfigContracts<chains, 'ensUniversalResolver'>, options?: GetTextRecordOptions<ExcludeTE<typeof config>>): {
9
+ readonly queryFn: ({ queryKey }: {
10
+ client: import("@tanstack/query-core").QueryClient;
11
+ queryKey: readonly ["ensjs_textRecord", {
12
+ name?: string | undefined;
13
+ key?: string | undefined;
14
+ strict?: boolean | undefined;
15
+ gatewayUrls?: string[] | undefined;
16
+ chainId?: Exclude<RequireConfigContracts<chains, "ensUniversalResolver">, import("@ensdomains/ensjs/internal").TypeError<string>>["chains"][number]["id"] | (Exclude<RequireConfigContracts<chains, "ensUniversalResolver">, import("@ensdomains/ensjs/internal").TypeError<string>>["chains"][number]["id"] extends infer T ? T extends Exclude<RequireConfigContracts<chains, "ensUniversalResolver">, import("@ensdomains/ensjs/internal").TypeError<string>>["chains"][number]["id"] ? T extends Exclude<RequireConfigContracts<chains, "ensUniversalResolver">, import("@ensdomains/ensjs/internal").TypeError<string>>["chains"][number]["id"] ? T : undefined : never : never) | undefined;
17
+ scopeKey?: string | undefined | undefined;
18
+ }];
19
+ signal: AbortSignal;
20
+ meta: import("@tanstack/query-core").QueryMeta | undefined;
21
+ pageParam?: unknown;
22
+ direction?: unknown;
23
+ }) => Promise<import("@ensdomains/ensjs/utils").DecodeTextResultReturnType>;
24
+ readonly queryKey: readonly ["ensjs_textRecord", {
25
+ name?: string | undefined;
26
+ key?: string | undefined;
27
+ strict?: boolean | undefined;
28
+ gatewayUrls?: string[] | undefined;
29
+ chainId?: ExcludeTE<RequireConfigContracts<chains, "ensUniversalResolver">>["chains"][number]["id"] | (ExcludeTE<RequireConfigContracts<chains, "ensUniversalResolver">>["chains"][number]["id"] extends infer T ? T extends ExcludeTE<RequireConfigContracts<chains, "ensUniversalResolver">>["chains"][number]["id"] ? T extends ExcludeTE<RequireConfigContracts<chains, "ensUniversalResolver">>["chains"][number]["id"] ? T : undefined : never : never) | undefined;
30
+ scopeKey?: string | undefined | undefined;
31
+ }];
32
+ };
33
+ export type GetTextRecordQueryFnData = GetTextRecordReturnType;
34
+ export type GetTextRecordData = GetTextRecordQueryFnData;
35
+ export declare function getTextRecordQueryKey<config extends Config>(options?: GetTextRecordOptions<config>): readonly ["ensjs_textRecord", {
36
+ name?: string | undefined;
37
+ key?: string | undefined;
38
+ strict?: boolean | undefined;
39
+ gatewayUrls?: string[] | undefined;
40
+ chainId?: config["chains"][number]["id"] | (config["chains"][number]["id"] extends infer T ? T extends config["chains"][number]["id"] ? T extends config["chains"][number]["id"] ? T : undefined : never : never) | undefined;
41
+ scopeKey?: string | undefined | undefined;
42
+ }];
43
+ export type GetTextRecordQueryKey<config extends Config> = ReturnType<typeof getTextRecordQueryKey<config>>;
44
+ //# sourceMappingURL=getTextRecord.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getTextRecord.d.ts","sourceRoot":"","sources":["../../../../src/query/public/getTextRecord.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,SAAS,EACf,MAAM,4BAA4B,CAAA;AAEnC,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,aAAa,CAAA;AACzC,OAAO,KAAK,EACV,OAAO,EACP,YAAY,EACZ,iBAAiB,EAClB,MAAM,sBAAsB,CAAA;AAC7B,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,MAAM,CAAA;AACjC,OAAO,EAEL,KAAK,uBAAuB,EAC5B,KAAK,uBAAuB,EAE7B,MAAM,uCAAuC,CAAA;AAC9C,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,sBAAsB,CAAA;AAGlE,MAAM,MAAM,oBAAoB,CAAC,MAAM,SAAS,MAAM,IAAI,OAAO,CAC/D,YAAY,CAAC,uBAAuB,CAAC,MAAM,CAAC,CAAC,GAAG,iBAAiB,CAClE,CAAA;AAED,wBAAgB,yBAAyB,CACvC,MAAM,SAAS,SAAS,CAAC,KAAK,EAAE,GAAG,KAAK,EAAE,CAAC,EAE3C,MAAM,EAAE,sBAAsB,CAAC,MAAM,EAAE,sBAAsB,CAAC,EAC9D,OAAO,GAAE,oBAAoB,CAAC,SAAS,CAAC,OAAO,MAAM,CAAC,CAAM;;;;;;;;;;;;;;;;;;;;;;;;EAkB7D;AAED,MAAM,MAAM,wBAAwB,GAAG,uBAAuB,CAAA;AAE9D,MAAM,MAAM,iBAAiB,GAAG,wBAAwB,CAAA;AAExD,wBAAgB,qBAAqB,CAAC,MAAM,SAAS,MAAM,EACzD,OAAO,GAAE,oBAAoB,CAAC,MAAM,CAAM;;;;;;;GAG3C;AAED,MAAM,MAAM,qBAAqB,CAAC,MAAM,SAAS,MAAM,IAAI,UAAU,CACnE,OAAO,qBAAqB,CAAC,MAAM,CAAC,CACrC,CAAA"}
@@ -0,0 +1,35 @@
1
+ import { type ExcludeTE } from '@ensdomains/ensjs/internal';
2
+ import type { Config } from '@wagmi/core';
3
+ import type { Compute, ExactPartial, ScopeKeyParameter } from '@wagmi/core/internal';
4
+ import type { Chain } from 'viem';
5
+ import { type GetWrapperDataParameters, type GetWrapperDataReturnType } from '../../actions/public/getWrapperData.js';
6
+ import type { RequireConfigContracts } from '../../utils/chain.js';
7
+ export type GetWrapperDataOptions<config extends Config> = Compute<ExactPartial<GetWrapperDataParameters<config>> & ScopeKeyParameter>;
8
+ export declare function getWrapperDataQueryOptions<chains extends readonly [Chain, ...Chain[]]>(config: RequireConfigContracts<chains, 'ensNameWrapper' | 'multicall3'>, options?: GetWrapperDataOptions<ExcludeTE<typeof config>>): {
9
+ readonly queryFn: ({ queryKey }: {
10
+ client: import("@tanstack/query-core").QueryClient;
11
+ queryKey: readonly ["ensjs_wrapperData", {
12
+ name?: string | undefined;
13
+ chainId?: Exclude<RequireConfigContracts<chains, "multicall3" | "ensNameWrapper">, import("@ensdomains/ensjs/internal").TypeError<string>>["chains"][number]["id"] | (Exclude<RequireConfigContracts<chains, "multicall3" | "ensNameWrapper">, import("@ensdomains/ensjs/internal").TypeError<string>>["chains"][number]["id"] extends infer T ? T extends Exclude<RequireConfigContracts<chains, "multicall3" | "ensNameWrapper">, import("@ensdomains/ensjs/internal").TypeError<string>>["chains"][number]["id"] ? T extends Exclude<RequireConfigContracts<chains, "multicall3" | "ensNameWrapper">, import("@ensdomains/ensjs/internal").TypeError<string>>["chains"][number]["id"] ? T : undefined : never : never) | undefined;
14
+ scopeKey?: string | undefined | undefined;
15
+ }];
16
+ signal: AbortSignal;
17
+ meta: import("@tanstack/query-core").QueryMeta | undefined;
18
+ pageParam?: unknown;
19
+ direction?: unknown;
20
+ }) => Promise<import("@ensdomains/ensjs/public/v1").GetWrapperDataReturnType>;
21
+ readonly queryKey: readonly ["ensjs_wrapperData", {
22
+ name?: string | undefined;
23
+ chainId?: ExcludeTE<RequireConfigContracts<chains, "multicall3" | "ensNameWrapper">>["chains"][number]["id"] | (ExcludeTE<RequireConfigContracts<chains, "multicall3" | "ensNameWrapper">>["chains"][number]["id"] extends infer T ? T extends ExcludeTE<RequireConfigContracts<chains, "multicall3" | "ensNameWrapper">>["chains"][number]["id"] ? T extends ExcludeTE<RequireConfigContracts<chains, "multicall3" | "ensNameWrapper">>["chains"][number]["id"] ? T : undefined : never : never) | undefined;
24
+ scopeKey?: string | undefined | undefined;
25
+ }];
26
+ };
27
+ export type GetWrapperDataQueryFnData = GetWrapperDataReturnType;
28
+ export type GetWrapperDataData = GetWrapperDataQueryFnData;
29
+ export declare function getWrapperDataQueryKey<config extends Config>(options?: GetWrapperDataOptions<config>): readonly ["ensjs_wrapperData", {
30
+ name?: string | undefined;
31
+ chainId?: config["chains"][number]["id"] | (config["chains"][number]["id"] extends infer T ? T extends config["chains"][number]["id"] ? T extends config["chains"][number]["id"] ? T : undefined : never : never) | undefined;
32
+ scopeKey?: string | undefined | undefined;
33
+ }];
34
+ export type GetWrapperDataQueryKey<config extends Config> = ReturnType<typeof getWrapperDataQueryKey<config>>;
35
+ //# sourceMappingURL=getWrapperData.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getWrapperData.d.ts","sourceRoot":"","sources":["../../../../src/query/public/getWrapperData.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,SAAS,EACf,MAAM,4BAA4B,CAAA;AAEnC,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,aAAa,CAAA;AACzC,OAAO,KAAK,EACV,OAAO,EACP,YAAY,EACZ,iBAAiB,EAClB,MAAM,sBAAsB,CAAA;AAC7B,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,MAAM,CAAA;AACjC,OAAO,EAEL,KAAK,wBAAwB,EAC7B,KAAK,wBAAwB,EAE9B,MAAM,wCAAwC,CAAA;AAC/C,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,sBAAsB,CAAA;AAGlE,MAAM,MAAM,qBAAqB,CAAC,MAAM,SAAS,MAAM,IAAI,OAAO,CAChE,YAAY,CAAC,wBAAwB,CAAC,MAAM,CAAC,CAAC,GAAG,iBAAiB,CACnE,CAAA;AAED,wBAAgB,0BAA0B,CACxC,MAAM,SAAS,SAAS,CAAC,KAAK,EAAE,GAAG,KAAK,EAAE,CAAC,EAE3C,MAAM,EAAE,sBAAsB,CAAC,MAAM,EAAE,gBAAgB,GAAG,YAAY,CAAC,EACvE,OAAO,GAAE,qBAAqB,CAAC,SAAS,CAAC,OAAO,MAAM,CAAC,CAAM;;;;;;;;;;;;;;;;;;EAiB9D;AAED,MAAM,MAAM,yBAAyB,GAAG,wBAAwB,CAAA;AAEhE,MAAM,MAAM,kBAAkB,GAAG,yBAAyB,CAAA;AAE1D,wBAAgB,sBAAsB,CAAC,MAAM,SAAS,MAAM,EAC1D,OAAO,GAAE,qBAAqB,CAAC,MAAM,CAAM;;;;GAG5C;AAED,MAAM,MAAM,sBAAsB,CAAC,MAAM,SAAS,MAAM,IAAI,UAAU,CACpE,OAAO,sBAAsB,CAAC,MAAM,CAAC,CACtC,CAAA"}
@@ -0,0 +1,35 @@
1
+ import { type ExcludeTE } from '@ensdomains/ensjs/internal';
2
+ import type { Config } from '@wagmi/core';
3
+ import type { Compute, ExactPartial, ScopeKeyParameter } from '@wagmi/core/internal';
4
+ import type { Chain } from 'viem';
5
+ import { type GetWrapperNameParameters, type GetWrapperNameReturnType } from '../../actions/public/getWrapperName.js';
6
+ import type { RequireConfigContracts } from '../../utils/chain.js';
7
+ export type GetWrapperNameOptions<config extends Config> = Compute<ExactPartial<GetWrapperNameParameters<config>> & ScopeKeyParameter>;
8
+ export declare function getWrapperNameQueryOptions<chains extends readonly [Chain, ...Chain[]]>(config: RequireConfigContracts<chains, 'ensNameWrapper'>, options?: GetWrapperNameOptions<ExcludeTE<typeof config>>): {
9
+ readonly queryFn: ({ queryKey }: {
10
+ client: import("@tanstack/query-core").QueryClient;
11
+ queryKey: readonly ["ensjs_wrapperName", {
12
+ name?: string | undefined;
13
+ chainId?: Exclude<RequireConfigContracts<chains, "ensNameWrapper">, import("@ensdomains/ensjs/internal").TypeError<string>>["chains"][number]["id"] | (Exclude<RequireConfigContracts<chains, "ensNameWrapper">, import("@ensdomains/ensjs/internal").TypeError<string>>["chains"][number]["id"] extends infer T ? T extends Exclude<RequireConfigContracts<chains, "ensNameWrapper">, import("@ensdomains/ensjs/internal").TypeError<string>>["chains"][number]["id"] ? T extends Exclude<RequireConfigContracts<chains, "ensNameWrapper">, import("@ensdomains/ensjs/internal").TypeError<string>>["chains"][number]["id"] ? T : undefined : never : never) | undefined;
14
+ scopeKey?: string | undefined | undefined;
15
+ }];
16
+ signal: AbortSignal;
17
+ meta: import("@tanstack/query-core").QueryMeta | undefined;
18
+ pageParam?: unknown;
19
+ direction?: unknown;
20
+ }) => Promise<import("@ensdomains/ensjs/public/v1").GetWrapperNameReturnType>;
21
+ readonly queryKey: readonly ["ensjs_wrapperName", {
22
+ name?: string | undefined;
23
+ chainId?: ExcludeTE<RequireConfigContracts<chains, "ensNameWrapper">>["chains"][number]["id"] | (ExcludeTE<RequireConfigContracts<chains, "ensNameWrapper">>["chains"][number]["id"] extends infer T ? T extends ExcludeTE<RequireConfigContracts<chains, "ensNameWrapper">>["chains"][number]["id"] ? T extends ExcludeTE<RequireConfigContracts<chains, "ensNameWrapper">>["chains"][number]["id"] ? T : undefined : never : never) | undefined;
24
+ scopeKey?: string | undefined | undefined;
25
+ }];
26
+ };
27
+ export type GetWrapperNameQueryFnData = GetWrapperNameReturnType;
28
+ export type GetWrapperNameData = GetWrapperNameQueryFnData;
29
+ export declare function getWrapperNameQueryKey<config extends Config>(options?: GetWrapperNameOptions<config>): readonly ["ensjs_wrapperName", {
30
+ name?: string | undefined;
31
+ chainId?: config["chains"][number]["id"] | (config["chains"][number]["id"] extends infer T ? T extends config["chains"][number]["id"] ? T extends config["chains"][number]["id"] ? T : undefined : never : never) | undefined;
32
+ scopeKey?: string | undefined | undefined;
33
+ }];
34
+ export type GetWrapperNameQueryKey<config extends Config> = ReturnType<typeof getWrapperNameQueryKey<config>>;
35
+ //# sourceMappingURL=getWrapperName.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getWrapperName.d.ts","sourceRoot":"","sources":["../../../../src/query/public/getWrapperName.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,SAAS,EACf,MAAM,4BAA4B,CAAA;AAEnC,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,aAAa,CAAA;AACzC,OAAO,KAAK,EACV,OAAO,EACP,YAAY,EACZ,iBAAiB,EAClB,MAAM,sBAAsB,CAAA;AAC7B,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,MAAM,CAAA;AACjC,OAAO,EAEL,KAAK,wBAAwB,EAC7B,KAAK,wBAAwB,EAE9B,MAAM,wCAAwC,CAAA;AAC/C,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,sBAAsB,CAAA;AAGlE,MAAM,MAAM,qBAAqB,CAAC,MAAM,SAAS,MAAM,IAAI,OAAO,CAChE,YAAY,CAAC,wBAAwB,CAAC,MAAM,CAAC,CAAC,GAAG,iBAAiB,CACnE,CAAA;AAED,wBAAgB,0BAA0B,CACxC,MAAM,SAAS,SAAS,CAAC,KAAK,EAAE,GAAG,KAAK,EAAE,CAAC,EAE3C,MAAM,EAAE,sBAAsB,CAAC,MAAM,EAAE,gBAAgB,CAAC,EACxD,OAAO,GAAE,qBAAqB,CAAC,SAAS,CAAC,OAAO,MAAM,CAAC,CAAM;;;;;;;;;;;;;;;;;;EAiB9D;AAED,MAAM,MAAM,yBAAyB,GAAG,wBAAwB,CAAA;AAEhE,MAAM,MAAM,kBAAkB,GAAG,yBAAyB,CAAA;AAE1D,wBAAgB,sBAAsB,CAAC,MAAM,SAAS,MAAM,EAC1D,OAAO,GAAE,qBAAqB,CAAC,MAAM,CAAM;;;;GAG5C;AAED,MAAM,MAAM,sBAAsB,CAAC,MAAM,SAAS,MAAM,IAAI,UAAU,CACpE,OAAO,sBAAsB,CAAC,MAAM,CAAC,CACtC,CAAA"}
@@ -0,0 +1,16 @@
1
+ export { type GetAbiRecordData, type GetAbiRecordOptions, type GetAbiRecordQueryFnData, type GetAbiRecordQueryKey, getAbiRecordQueryKey, getAbiRecordQueryOptions, } from './getAbiRecord.js';
2
+ export { type GetAddressRecordData, type GetAddressRecordOptions, type GetAddressRecordQueryFnData, type GetAddressRecordQueryKey, getAddressRecordQueryKey, getAddressRecordQueryOptions, } from './getAddressRecord.js';
3
+ export { type GetAvailableData, type GetAvailableOptions, type GetAvailableQueryFnData, type GetAvailableQueryKey, getAvailableQueryKey, getAvailableQueryOptions, } from './getAvailable.js';
4
+ export { type GetContentHashRecordData, type GetContentHashRecordOptions, type GetContentHashRecordQueryFnData, type GetContentHashRecordQueryKey, getContentHashRecordQueryKey, getContentHashRecordQueryOptions, } from './getContentHashRecord.js';
5
+ export { type GetCredentialsData, type GetCredentialsOptions, type GetCredentialsQueryFnData, type GetCredentialsQueryKey, getCredentialsQueryKey, getCredentialsQueryOptions, } from './getCredentials.js';
6
+ export { type GetExpiryData, type GetExpiryOptions, type GetExpiryQueryFnData, type GetExpiryQueryKey, getExpiryQueryKey, getExpiryQueryOptions, } from './getExpiry.js';
7
+ export { type GetNameData, type GetNameOptions, type GetNameQueryFnData, type GetNameQueryKey, getNameQueryKey, getNameQueryOptions, } from './getName.js';
8
+ export { type GetOwnerData, type GetOwnerOptions, type GetOwnerQueryFnData, type GetOwnerQueryKey, getOwnerQueryKey, getOwnerQueryOptions, } from './getOwner.js';
9
+ export { type GetPriceData, type GetPriceOptions, type GetPriceQueryFnData, type GetPriceQueryKey, getPriceQueryKey, getPriceQueryOptions, } from './getPrice.js';
10
+ export { type GetRecordsData, type GetRecordsOptions, type GetRecordsQueryFnData, type GetRecordsQueryKey, getRecordsQueryKey, getRecordsQueryOptions, } from './getRecords.js';
11
+ export { type GetResolverData, type GetResolverOptions, type GetResolverQueryFnData, type GetResolverQueryKey, getResolverQueryKey, getResolverQueryOptions, } from './getResolver.js';
12
+ export { type GetSupportedInterfacesData, type GetSupportedInterfacesOptions, type GetSupportedInterfacesQueryFnData, type GetSupportedInterfacesQueryKey, getSupportedInterfacesQueryKey, getSupportedInterfacesQueryOptions, } from './getSupportedInterfaces.js';
13
+ export { type GetTextRecordData, type GetTextRecordOptions, type GetTextRecordQueryFnData, type GetTextRecordQueryKey, getTextRecordQueryKey, getTextRecordQueryOptions, } from './getTextRecord.js';
14
+ export { type GetWrapperDataData, type GetWrapperDataOptions, type GetWrapperDataQueryFnData, type GetWrapperDataQueryKey, getWrapperDataQueryKey, getWrapperDataQueryOptions, } from './getWrapperData.js';
15
+ export { type GetWrapperNameData, type GetWrapperNameOptions, type GetWrapperNameQueryFnData, type GetWrapperNameQueryKey, getWrapperNameQueryKey, getWrapperNameQueryOptions, } from './getWrapperName.js';
16
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/query/public/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,gBAAgB,EACrB,KAAK,mBAAmB,EACxB,KAAK,uBAAuB,EAC5B,KAAK,oBAAoB,EACzB,oBAAoB,EACpB,wBAAwB,GACzB,MAAM,mBAAmB,CAAA;AAE1B,OAAO,EACL,KAAK,oBAAoB,EACzB,KAAK,uBAAuB,EAC5B,KAAK,2BAA2B,EAChC,KAAK,wBAAwB,EAC7B,wBAAwB,EACxB,4BAA4B,GAC7B,MAAM,uBAAuB,CAAA;AAE9B,OAAO,EACL,KAAK,gBAAgB,EACrB,KAAK,mBAAmB,EACxB,KAAK,uBAAuB,EAC5B,KAAK,oBAAoB,EACzB,oBAAoB,EACpB,wBAAwB,GACzB,MAAM,mBAAmB,CAAA;AAE1B,OAAO,EACL,KAAK,wBAAwB,EAC7B,KAAK,2BAA2B,EAChC,KAAK,+BAA+B,EACpC,KAAK,4BAA4B,EACjC,4BAA4B,EAC5B,gCAAgC,GACjC,MAAM,2BAA2B,CAAA;AAElC,OAAO,EACL,KAAK,kBAAkB,EACvB,KAAK,qBAAqB,EAC1B,KAAK,yBAAyB,EAC9B,KAAK,sBAAsB,EAC3B,sBAAsB,EACtB,0BAA0B,GAC3B,MAAM,qBAAqB,CAAA;AAE5B,OAAO,EACL,KAAK,aAAa,EAClB,KAAK,gBAAgB,EACrB,KAAK,oBAAoB,EACzB,KAAK,iBAAiB,EACtB,iBAAiB,EACjB,qBAAqB,GACtB,MAAM,gBAAgB,CAAA;AAEvB,OAAO,EACL,KAAK,WAAW,EAChB,KAAK,cAAc,EACnB,KAAK,kBAAkB,EACvB,KAAK,eAAe,EACpB,eAAe,EACf,mBAAmB,GACpB,MAAM,cAAc,CAAA;AAErB,OAAO,EACL,KAAK,YAAY,EACjB,KAAK,eAAe,EACpB,KAAK,mBAAmB,EACxB,KAAK,gBAAgB,EACrB,gBAAgB,EAChB,oBAAoB,GACrB,MAAM,eAAe,CAAA;AAEtB,OAAO,EACL,KAAK,YAAY,EACjB,KAAK,eAAe,EACpB,KAAK,mBAAmB,EACxB,KAAK,gBAAgB,EACrB,gBAAgB,EAChB,oBAAoB,GACrB,MAAM,eAAe,CAAA;AAEtB,OAAO,EACL,KAAK,cAAc,EACnB,KAAK,iBAAiB,EACtB,KAAK,qBAAqB,EAC1B,KAAK,kBAAkB,EACvB,kBAAkB,EAClB,sBAAsB,GACvB,MAAM,iBAAiB,CAAA;AAExB,OAAO,EACL,KAAK,eAAe,EACpB,KAAK,kBAAkB,EACvB,KAAK,sBAAsB,EAC3B,KAAK,mBAAmB,EACxB,mBAAmB,EACnB,uBAAuB,GACxB,MAAM,kBAAkB,CAAA;AAEzB,OAAO,EACL,KAAK,0BAA0B,EAC/B,KAAK,6BAA6B,EAClC,KAAK,iCAAiC,EACtC,KAAK,8BAA8B,EACnC,8BAA8B,EAC9B,kCAAkC,GACnC,MAAM,6BAA6B,CAAA;AAEpC,OAAO,EACL,KAAK,iBAAiB,EACtB,KAAK,oBAAoB,EACzB,KAAK,wBAAwB,EAC7B,KAAK,qBAAqB,EAC1B,qBAAqB,EACrB,yBAAyB,GAC1B,MAAM,oBAAoB,CAAA;AAE3B,OAAO,EACL,KAAK,kBAAkB,EACvB,KAAK,qBAAqB,EAC1B,KAAK,yBAAyB,EAC9B,KAAK,sBAAsB,EAC3B,sBAAsB,EACtB,0BAA0B,GAC3B,MAAM,qBAAqB,CAAA;AAE5B,OAAO,EACL,KAAK,kBAAkB,EACvB,KAAK,qBAAqB,EAC1B,KAAK,yBAAyB,EAC9B,KAAK,sBAAsB,EAC3B,sBAAsB,EACtB,0BAA0B,GAC3B,MAAM,qBAAqB,CAAA"}
@@ -0,0 +1,2 @@
1
+ export declare function filterQueryOptions<type extends Record<string, unknown>>(options: type): type;
2
+ //# sourceMappingURL=utils.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../src/query/utils.ts"],"names":[],"mappings":"AAEA,wBAAgB,kBAAkB,CAAC,IAAI,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EACrE,OAAO,EAAE,IAAI,GACZ,IAAI,CAqBN"}
@@ -0,0 +1,14 @@
1
+ import { type ExcludeTE } from '@ensdomains/ensjs/internal';
2
+ import type { Config } from '@wagmi/core';
3
+ import type { Compute, ExactPartial, ScopeKeyParameter } from '@wagmi/core/internal';
4
+ import type { Chain } from 'viem';
5
+ import { type ClearRecordsParameters } from '../../actions/wallet/clearRecords.js';
6
+ import type { RequireConfigContracts } from '../../utils/chain.js';
7
+ export type ClearRecordsOptions<config extends Config> = Compute<ExactPartial<ClearRecordsParameters<config>> & ScopeKeyParameter>;
8
+ export declare function clearRecordsMutationOptions<chains extends readonly [Chain, ...Chain[]]>(config: RequireConfigContracts<chains, 'ensUniversalResolver'>, options: ClearRecordsOptions<ExcludeTE<typeof config>>): {
9
+ readonly mutationFn: (variables: ClearRecordsParameters<typeof config>) => Promise<`0x${string}`>;
10
+ readonly mutationKey: readonly ["ensjs_clearRecords", ExactPartial<ClearRecordsParameters<ExcludeTE<RequireConfigContracts<chains, "ensUniversalResolver">>>> & ScopeKeyParameter extends infer T ? { [key in keyof T]: T[key]; } : never];
11
+ };
12
+ export declare function clearRecordsMutationKey<config extends Config>(options: ClearRecordsOptions<config>): readonly ["ensjs_clearRecords", ExactPartial<ClearRecordsParameters<config>> & ScopeKeyParameter extends infer T ? { [key in keyof T]: T[key]; } : never];
13
+ export type ClearRecordsMutationKey<config extends Config> = ReturnType<typeof clearRecordsMutationKey<config>>;
14
+ //# sourceMappingURL=clearRecords.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"clearRecords.d.ts","sourceRoot":"","sources":["../../../../src/query/wallet/clearRecords.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,SAAS,EACf,MAAM,4BAA4B,CAAA;AAEnC,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,aAAa,CAAA;AACzC,OAAO,KAAK,EACV,OAAO,EACP,YAAY,EACZ,iBAAiB,EAClB,MAAM,sBAAsB,CAAA;AAC7B,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,MAAM,CAAA;AACjC,OAAO,EAEL,KAAK,sBAAsB,EAG5B,MAAM,sCAAsC,CAAA;AAC7C,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,sBAAsB,CAAA;AAGlE,MAAM,MAAM,mBAAmB,CAAC,MAAM,SAAS,MAAM,IAAI,OAAO,CAC9D,YAAY,CAAC,sBAAsB,CAAC,MAAM,CAAC,CAAC,GAAG,iBAAiB,CACjE,CAAA;AAED,wBAAgB,2BAA2B,CACzC,MAAM,SAAS,SAAS,CAAC,KAAK,EAAE,GAAG,KAAK,EAAE,CAAC,EAE3C,MAAM,EAAE,sBAAsB,CAAC,MAAM,EAAE,sBAAsB,CAAC,EAC9D,OAAO,EAAE,mBAAmB,CAAC,SAAS,CAAC,OAAO,MAAM,CAAC,CAAC;qCAKtB,sBAAsB,CAAC,OAAO,MAAM,CAAC;;EAStE;AAED,wBAAgB,uBAAuB,CAAC,MAAM,SAAS,MAAM,EAC3D,OAAO,EAAE,mBAAmB,CAAC,MAAM,CAAC,6JAGrC;AAED,MAAM,MAAM,uBAAuB,CAAC,MAAM,SAAS,MAAM,IAAI,UAAU,CACrE,OAAO,uBAAuB,CAAC,MAAM,CAAC,CACvC,CAAA"}
@@ -0,0 +1,14 @@
1
+ import { type ExcludeTE } from '@ensdomains/ensjs/internal';
2
+ import type { Config } from '@wagmi/core';
3
+ import type { Compute, ExactPartial, ScopeKeyParameter } from '@wagmi/core/internal';
4
+ import type { Chain } from 'viem';
5
+ import { type CommitNameParameters } from '../../actions/wallet/commitName.js';
6
+ import type { RequireConfigContracts } from '../../utils/chain.js';
7
+ export type CommitNameOptions<config extends Config> = Compute<ExactPartial<CommitNameParameters<config>> & ScopeKeyParameter>;
8
+ export declare function commitNameMutationOptions<chains extends readonly [Chain, ...Chain[]]>(config: RequireConfigContracts<chains, 'ensEthRegistrarController'>, options: CommitNameOptions<ExcludeTE<typeof config>>): {
9
+ readonly mutationFn: (variables: CommitNameParameters<typeof config>) => Promise<`0x${string}`>;
10
+ readonly mutationKey: readonly ["ensjs_commitName", ExactPartial<CommitNameParameters<ExcludeTE<RequireConfigContracts<chains, "ensEthRegistrarController">>>> & ScopeKeyParameter extends infer T ? { [key in keyof T]: T[key]; } : never];
11
+ };
12
+ export declare function commitNameMutationKey<config extends Config>(options: CommitNameOptions<config>): readonly ["ensjs_commitName", ExactPartial<CommitNameParameters<config>> & ScopeKeyParameter extends infer T ? { [key in keyof T]: T[key]; } : never];
13
+ export type CommitNameMutationKey<config extends Config> = ReturnType<typeof commitNameMutationKey<config>>;
14
+ //# sourceMappingURL=commitName.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"commitName.d.ts","sourceRoot":"","sources":["../../../../src/query/wallet/commitName.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,SAAS,EACf,MAAM,4BAA4B,CAAA;AAEnC,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,aAAa,CAAA;AACzC,OAAO,KAAK,EACV,OAAO,EACP,YAAY,EACZ,iBAAiB,EAClB,MAAM,sBAAsB,CAAA;AAC7B,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,MAAM,CAAA;AACjC,OAAO,EAEL,KAAK,oBAAoB,EAG1B,MAAM,oCAAoC,CAAA;AAC3C,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,sBAAsB,CAAA;AAGlE,MAAM,MAAM,iBAAiB,CAAC,MAAM,SAAS,MAAM,IAAI,OAAO,CAC5D,YAAY,CAAC,oBAAoB,CAAC,MAAM,CAAC,CAAC,GAAG,iBAAiB,CAC/D,CAAA;AAED,wBAAgB,yBAAyB,CACvC,MAAM,SAAS,SAAS,CAAC,KAAK,EAAE,GAAG,KAAK,EAAE,CAAC,EAE3C,MAAM,EAAE,sBAAsB,CAAC,MAAM,EAAE,2BAA2B,CAAC,EACnE,OAAO,EAAE,iBAAiB,CAAC,SAAS,CAAC,OAAO,MAAM,CAAC,CAAC;qCAKpB,oBAAoB,CAAC,OAAO,MAAM,CAAC;;EASpE;AAED,wBAAgB,qBAAqB,CAAC,MAAM,SAAS,MAAM,EACzD,OAAO,EAAE,iBAAiB,CAAC,MAAM,CAAC,yJAGnC;AAED,MAAM,MAAM,qBAAqB,CAAC,MAAM,SAAS,MAAM,IAAI,UAAU,CACnE,OAAO,qBAAqB,CAAC,MAAM,CAAC,CACrC,CAAA"}
@@ -0,0 +1,14 @@
1
+ import { type ExcludeTE } from '@ensdomains/ensjs/internal';
2
+ import type { Config } from '@wagmi/core';
3
+ import type { Compute, ExactPartial, ScopeKeyParameter } from '@wagmi/core/internal';
4
+ import type { Chain } from 'viem';
5
+ import { type CreateSubnameParameters } from '../../actions/wallet/createSubname.js';
6
+ import type { RequireConfigContracts } from '../../utils/chain.js';
7
+ export type CreateSubnameOptions<config extends Config> = Compute<ExactPartial<CreateSubnameParameters<config>> & ScopeKeyParameter>;
8
+ export declare function createSubnameMutationOptions<chains extends readonly [Chain, ...Chain[]]>(config: RequireConfigContracts<chains, 'ensNameWrapper' | 'ensPublicResolver'>, options: CreateSubnameOptions<ExcludeTE<typeof config>>): {
9
+ readonly mutationFn: (variables: CreateSubnameParameters<typeof config>) => Promise<`0x${string}`>;
10
+ readonly mutationKey: readonly ["ensjs_createSubname", ExactPartial<CreateSubnameParameters<ExcludeTE<RequireConfigContracts<chains, "ensNameWrapper" | "ensPublicResolver">>>> & ScopeKeyParameter extends infer T ? { [key in keyof T]: T[key]; } : never];
11
+ };
12
+ export declare function createSubnameMutationKey<config extends Config>(options: CreateSubnameOptions<config>): readonly ["ensjs_createSubname", ExactPartial<CreateSubnameParameters<config>> & ScopeKeyParameter extends infer T ? { [key in keyof T]: T[key]; } : never];
13
+ export type CreateSubnameMutationKey<config extends Config> = ReturnType<typeof createSubnameMutationKey<config>>;
14
+ //# sourceMappingURL=createSubname.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"createSubname.d.ts","sourceRoot":"","sources":["../../../../src/query/wallet/createSubname.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,SAAS,EACf,MAAM,4BAA4B,CAAA;AAEnC,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,aAAa,CAAA;AACzC,OAAO,KAAK,EACV,OAAO,EACP,YAAY,EACZ,iBAAiB,EAClB,MAAM,sBAAsB,CAAA;AAC7B,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,MAAM,CAAA;AACjC,OAAO,EAEL,KAAK,uBAAuB,EAG7B,MAAM,uCAAuC,CAAA;AAC9C,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,sBAAsB,CAAA;AAGlE,MAAM,MAAM,oBAAoB,CAAC,MAAM,SAAS,MAAM,IAAI,OAAO,CAC/D,YAAY,CAAC,uBAAuB,CAAC,MAAM,CAAC,CAAC,GAAG,iBAAiB,CAClE,CAAA;AAED,wBAAgB,4BAA4B,CAC1C,MAAM,SAAS,SAAS,CAAC,KAAK,EAAE,GAAG,KAAK,EAAE,CAAC,EAE3C,MAAM,EAAE,sBAAsB,CAC5B,MAAM,EACN,gBAAgB,GAAG,mBAAmB,CACvC,EACD,OAAO,EAAE,oBAAoB,CAAC,SAAS,CAAC,OAAO,MAAM,CAAC,CAAC;qCAKvB,uBAAuB,CAAC,OAAO,MAAM,CAAC;;EASvE;AAED,wBAAgB,wBAAwB,CAAC,MAAM,SAAS,MAAM,EAC5D,OAAO,EAAE,oBAAoB,CAAC,MAAM,CAAC,+JAGtC;AAED,MAAM,MAAM,wBAAwB,CAAC,MAAM,SAAS,MAAM,IAAI,UAAU,CACtE,OAAO,wBAAwB,CAAC,MAAM,CAAC,CACxC,CAAA"}
@@ -0,0 +1,14 @@
1
+ import { type ExcludeTE } from '@ensdomains/ensjs/internal';
2
+ import type { Config } from '@wagmi/core';
3
+ import type { Compute, ExactPartial, ScopeKeyParameter } from '@wagmi/core/internal';
4
+ import type { Chain } from 'viem';
5
+ import { type DeleteSubnameParameters } from '../../actions/wallet/deleteSubname.js';
6
+ import type { RequireConfigContracts } from '../../utils/chain.js';
7
+ export type DeleteSubnameOptions<config extends Config> = Compute<ExactPartial<DeleteSubnameParameters<config>> & ScopeKeyParameter>;
8
+ export declare function deleteSubnameMutationOptions<chains extends readonly [Chain, ...Chain[]]>(config: RequireConfigContracts<chains, 'ensRegistry' | 'ensNameWrapper'>, options: DeleteSubnameOptions<ExcludeTE<typeof config>>): {
9
+ readonly mutationFn: (variables: DeleteSubnameParameters<typeof config>) => Promise<`0x${string}`>;
10
+ readonly mutationKey: readonly ["ensjs_deleteSubname", ExactPartial<DeleteSubnameParameters<ExcludeTE<RequireConfigContracts<chains, "ensRegistry" | "ensNameWrapper">>>> & ScopeKeyParameter extends infer T ? { [key in keyof T]: T[key]; } : never];
11
+ };
12
+ export declare function deleteSubnameMutationKey<config extends Config>(options: DeleteSubnameOptions<config>): readonly ["ensjs_deleteSubname", ExactPartial<DeleteSubnameParameters<config>> & ScopeKeyParameter extends infer T ? { [key in keyof T]: T[key]; } : never];
13
+ export type DeleteSubnameMutationKey<config extends Config> = ReturnType<typeof deleteSubnameMutationKey<config>>;
14
+ //# sourceMappingURL=deleteSubname.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"deleteSubname.d.ts","sourceRoot":"","sources":["../../../../src/query/wallet/deleteSubname.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,SAAS,EACf,MAAM,4BAA4B,CAAA;AAEnC,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,aAAa,CAAA;AACzC,OAAO,KAAK,EACV,OAAO,EACP,YAAY,EACZ,iBAAiB,EAClB,MAAM,sBAAsB,CAAA;AAC7B,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,MAAM,CAAA;AACjC,OAAO,EAEL,KAAK,uBAAuB,EAG7B,MAAM,uCAAuC,CAAA;AAC9C,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,sBAAsB,CAAA;AAGlE,MAAM,MAAM,oBAAoB,CAAC,MAAM,SAAS,MAAM,IAAI,OAAO,CAC/D,YAAY,CAAC,uBAAuB,CAAC,MAAM,CAAC,CAAC,GAAG,iBAAiB,CAClE,CAAA;AAED,wBAAgB,4BAA4B,CAC1C,MAAM,SAAS,SAAS,CAAC,KAAK,EAAE,GAAG,KAAK,EAAE,CAAC,EAE3C,MAAM,EAAE,sBAAsB,CAAC,MAAM,EAAE,aAAa,GAAG,gBAAgB,CAAC,EACxE,OAAO,EAAE,oBAAoB,CAAC,SAAS,CAAC,OAAO,MAAM,CAAC,CAAC;qCAKvB,uBAAuB,CAAC,OAAO,MAAM,CAAC;;EASvE;AAED,wBAAgB,wBAAwB,CAAC,MAAM,SAAS,MAAM,EAC5D,OAAO,EAAE,oBAAoB,CAAC,MAAM,CAAC,+JAGtC;AAED,MAAM,MAAM,wBAAwB,CAAC,MAAM,SAAS,MAAM,IAAI,UAAU,CACtE,OAAO,wBAAwB,CAAC,MAAM,CAAC,CACxC,CAAA"}
@@ -0,0 +1,15 @@
1
+ export { type ClearRecordsMutationKey, type ClearRecordsOptions, clearRecordsMutationKey, clearRecordsMutationOptions, } from './clearRecords.js';
2
+ export { type CommitNameMutationKey, type CommitNameOptions, commitNameMutationKey, commitNameMutationOptions, } from './commitName.js';
3
+ export { type CreateSubnameMutationKey, type CreateSubnameOptions, createSubnameMutationKey, createSubnameMutationOptions, } from './createSubname.js';
4
+ export { type DeleteSubnameMutationKey, type DeleteSubnameOptions, deleteSubnameMutationKey, deleteSubnameMutationOptions, } from './deleteSubname.js';
5
+ export { type RegisterNameMutationKey, type RegisterNameOptions, registerNameMutationKey, registerNameMutationOptions, } from './registerName.js';
6
+ export { type RenewNameMutationKey, type RenewNameOptions, renewNameMutationKey, renewNameMutationOptions, } from './renewName.js';
7
+ export { type SetAbiRecordMutationKey, type SetAbiRecordOptions, setAbiRecordMutationKey, setAbiRecordMutationOptions, } from './setAbiRecord.js';
8
+ export { type SetAddressRecordMutationKey, type SetAddressRecordOptions, setAddressRecordMutationKey, setAddressRecordMutationOptions, } from './setAddressRecord.js';
9
+ export { type SetContentHashRecordMutationKey, type SetContentHashRecordOptions, setContentHashRecordMutationKey, setContentHashRecordMutationOptions, } from './setContentHashRecord.js';
10
+ export { type SetPrimaryNameMutationKey, type SetPrimaryNameOptions, setPrimaryNameMutationKey, setPrimaryNameMutationOptions, } from './setPrimaryName.js';
11
+ export { type SetRecordsMutationKey, type SetRecordsOptions, setRecordsMutationKey, setRecordsMutationOptions, } from './setRecords.js';
12
+ export { type SetResolverMutationKey, type SetResolverOptions, setResolverMutationKey, setResolverMutationOptions, } from './setResolver.js';
13
+ export { type SetTextRecordMutationKey, type SetTextRecordOptions, setTextRecordMutationKey, setTextRecordMutationOptions, } from './setTextRecord.js';
14
+ export { type TransferNameMutationKey, type TransferNameOptions, transferNameMutationKey, transferNameMutationOptions, } from './transferName.js';
15
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/query/wallet/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,uBAAuB,EAC5B,KAAK,mBAAmB,EACxB,uBAAuB,EACvB,2BAA2B,GAC5B,MAAM,mBAAmB,CAAA;AAC1B,OAAO,EACL,KAAK,qBAAqB,EAC1B,KAAK,iBAAiB,EACtB,qBAAqB,EACrB,yBAAyB,GAC1B,MAAM,iBAAiB,CAAA;AACxB,OAAO,EACL,KAAK,wBAAwB,EAC7B,KAAK,oBAAoB,EACzB,wBAAwB,EACxB,4BAA4B,GAC7B,MAAM,oBAAoB,CAAA;AAC3B,OAAO,EACL,KAAK,wBAAwB,EAC7B,KAAK,oBAAoB,EACzB,wBAAwB,EACxB,4BAA4B,GAC7B,MAAM,oBAAoB,CAAA;AAC3B,OAAO,EACL,KAAK,uBAAuB,EAC5B,KAAK,mBAAmB,EACxB,uBAAuB,EACvB,2BAA2B,GAC5B,MAAM,mBAAmB,CAAA;AAC1B,OAAO,EACL,KAAK,oBAAoB,EACzB,KAAK,gBAAgB,EACrB,oBAAoB,EACpB,wBAAwB,GACzB,MAAM,gBAAgB,CAAA;AACvB,OAAO,EACL,KAAK,uBAAuB,EAC5B,KAAK,mBAAmB,EACxB,uBAAuB,EACvB,2BAA2B,GAC5B,MAAM,mBAAmB,CAAA;AAC1B,OAAO,EACL,KAAK,2BAA2B,EAChC,KAAK,uBAAuB,EAC5B,2BAA2B,EAC3B,+BAA+B,GAChC,MAAM,uBAAuB,CAAA;AAC9B,OAAO,EACL,KAAK,+BAA+B,EACpC,KAAK,2BAA2B,EAChC,+BAA+B,EAC/B,mCAAmC,GACpC,MAAM,2BAA2B,CAAA;AAClC,OAAO,EACL,KAAK,yBAAyB,EAC9B,KAAK,qBAAqB,EAC1B,yBAAyB,EACzB,6BAA6B,GAC9B,MAAM,qBAAqB,CAAA;AAC5B,OAAO,EACL,KAAK,qBAAqB,EAC1B,KAAK,iBAAiB,EACtB,qBAAqB,EACrB,yBAAyB,GAC1B,MAAM,iBAAiB,CAAA;AACxB,OAAO,EACL,KAAK,sBAAsB,EAC3B,KAAK,kBAAkB,EACvB,sBAAsB,EACtB,0BAA0B,GAC3B,MAAM,kBAAkB,CAAA;AACzB,OAAO,EACL,KAAK,wBAAwB,EAC7B,KAAK,oBAAoB,EACzB,wBAAwB,EACxB,4BAA4B,GAC7B,MAAM,oBAAoB,CAAA;AAE3B,OAAO,EACL,KAAK,uBAAuB,EAC5B,KAAK,mBAAmB,EACxB,uBAAuB,EACvB,2BAA2B,GAC5B,MAAM,mBAAmB,CAAA"}
@@ -0,0 +1,14 @@
1
+ import { type ExcludeTE } from '@ensdomains/ensjs/internal';
2
+ import type { Config } from '@wagmi/core';
3
+ import type { Compute, ExactPartial, ScopeKeyParameter } from '@wagmi/core/internal';
4
+ import type { Chain } from 'viem';
5
+ import { type RegisterNameParameters } from '../../actions/wallet/registerName.js';
6
+ import type { RequireConfigContracts } from '../../utils/chain.js';
7
+ export type RegisterNameOptions<config extends Config> = Compute<ExactPartial<RegisterNameParameters<config>> & ScopeKeyParameter>;
8
+ export declare function registerNameMutationOptions<chains extends readonly [Chain, ...Chain[]]>(config: RequireConfigContracts<chains, 'ensEthRegistrarController'>, options: RegisterNameOptions<ExcludeTE<typeof config>>): {
9
+ readonly mutationFn: (variables: RegisterNameParameters<typeof config>) => Promise<`0x${string}`>;
10
+ readonly mutationKey: readonly ["ensjs_registerName", ExactPartial<RegisterNameParameters<ExcludeTE<RequireConfigContracts<chains, "ensEthRegistrarController">>>> & ScopeKeyParameter extends infer T ? { [key in keyof T]: T[key]; } : never];
11
+ };
12
+ export declare function registerNameMutationKey<config extends Config>(options: RegisterNameOptions<config>): readonly ["ensjs_registerName", ExactPartial<RegisterNameParameters<config>> & ScopeKeyParameter extends infer T ? { [key in keyof T]: T[key]; } : never];
13
+ export type RegisterNameMutationKey<config extends Config> = ReturnType<typeof registerNameMutationKey<config>>;
14
+ //# sourceMappingURL=registerName.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"registerName.d.ts","sourceRoot":"","sources":["../../../../src/query/wallet/registerName.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,SAAS,EACf,MAAM,4BAA4B,CAAA;AAEnC,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,aAAa,CAAA;AACzC,OAAO,KAAK,EACV,OAAO,EACP,YAAY,EACZ,iBAAiB,EAClB,MAAM,sBAAsB,CAAA;AAC7B,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,MAAM,CAAA;AACjC,OAAO,EAEL,KAAK,sBAAsB,EAG5B,MAAM,sCAAsC,CAAA;AAC7C,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,sBAAsB,CAAA;AAGlE,MAAM,MAAM,mBAAmB,CAAC,MAAM,SAAS,MAAM,IAAI,OAAO,CAC9D,YAAY,CAAC,sBAAsB,CAAC,MAAM,CAAC,CAAC,GAAG,iBAAiB,CACjE,CAAA;AAED,wBAAgB,2BAA2B,CACzC,MAAM,SAAS,SAAS,CAAC,KAAK,EAAE,GAAG,KAAK,EAAE,CAAC,EAE3C,MAAM,EAAE,sBAAsB,CAAC,MAAM,EAAE,2BAA2B,CAAC,EACnE,OAAO,EAAE,mBAAmB,CAAC,SAAS,CAAC,OAAO,MAAM,CAAC,CAAC;qCAKtB,sBAAsB,CAAC,OAAO,MAAM,CAAC;;EAStE;AAED,wBAAgB,uBAAuB,CAAC,MAAM,SAAS,MAAM,EAC3D,OAAO,EAAE,mBAAmB,CAAC,MAAM,CAAC,6JAGrC;AAED,MAAM,MAAM,uBAAuB,CAAC,MAAM,SAAS,MAAM,IAAI,UAAU,CACrE,OAAO,uBAAuB,CAAC,MAAM,CAAC,CACvC,CAAA"}
@@ -0,0 +1,14 @@
1
+ import { type ExcludeTE } from '@ensdomains/ensjs/internal';
2
+ import type { Config } from '@wagmi/core';
3
+ import type { Compute, ExactPartial, ScopeKeyParameter } from '@wagmi/core/internal';
4
+ import type { Chain } from 'viem';
5
+ import { type RenewNameParameters } from '../../actions/wallet/renewName.js';
6
+ import type { RequireConfigContracts } from '../../utils/chain.js';
7
+ export type RenewNameOptions<config extends Config> = Compute<ExactPartial<RenewNameParameters<config>> & ScopeKeyParameter>;
8
+ export declare function renewNameMutationOptions<chains extends readonly [Chain, ...Chain[]]>(config: RequireConfigContracts<chains, 'ensEthRenewerV1'>, options: RenewNameOptions<ExcludeTE<typeof config>>): {
9
+ readonly mutationFn: (variables: RenewNameParameters<typeof config>) => Promise<`0x${string}`>;
10
+ readonly mutationKey: readonly ["ensjs_renewName", ExactPartial<RenewNameParameters<ExcludeTE<RequireConfigContracts<chains, "ensEthRenewerV1">>>> & ScopeKeyParameter extends infer T ? { [key in keyof T]: T[key]; } : never];
11
+ };
12
+ export declare function renewNameMutationKey<config extends Config>(options: RenewNameOptions<config>): readonly ["ensjs_renewName", ExactPartial<RenewNameParameters<config>> & ScopeKeyParameter extends infer T ? { [key in keyof T]: T[key]; } : never];
13
+ export type RenewNameMutationKey<config extends Config> = ReturnType<typeof renewNameMutationKey<config>>;
14
+ //# sourceMappingURL=renewName.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"renewName.d.ts","sourceRoot":"","sources":["../../../../src/query/wallet/renewName.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,SAAS,EACf,MAAM,4BAA4B,CAAA;AAEnC,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,aAAa,CAAA;AACzC,OAAO,KAAK,EACV,OAAO,EACP,YAAY,EACZ,iBAAiB,EAClB,MAAM,sBAAsB,CAAA;AAC7B,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,MAAM,CAAA;AACjC,OAAO,EAEL,KAAK,mBAAmB,EAGzB,MAAM,mCAAmC,CAAA;AAC1C,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,sBAAsB,CAAA;AAGlE,MAAM,MAAM,gBAAgB,CAAC,MAAM,SAAS,MAAM,IAAI,OAAO,CAC3D,YAAY,CAAC,mBAAmB,CAAC,MAAM,CAAC,CAAC,GAAG,iBAAiB,CAC9D,CAAA;AAED,wBAAgB,wBAAwB,CACtC,MAAM,SAAS,SAAS,CAAC,KAAK,EAAE,GAAG,KAAK,EAAE,CAAC,EAE3C,MAAM,EAAE,sBAAsB,CAAC,MAAM,EAAE,iBAAiB,CAAC,EACzD,OAAO,EAAE,gBAAgB,CAAC,SAAS,CAAC,OAAO,MAAM,CAAC,CAAC;qCAKnB,mBAAmB,CAAC,OAAO,MAAM,CAAC;;EASnE;AAED,wBAAgB,oBAAoB,CAAC,MAAM,SAAS,MAAM,EACxD,OAAO,EAAE,gBAAgB,CAAC,MAAM,CAAC,uJAGlC;AAED,MAAM,MAAM,oBAAoB,CAAC,MAAM,SAAS,MAAM,IAAI,UAAU,CAClE,OAAO,oBAAoB,CAAC,MAAM,CAAC,CACpC,CAAA"}
@@ -0,0 +1,12 @@
1
+ import type { AbiEncodeAs } from '@ensdomains/ensjs/utils';
2
+ import type { Config } from '@wagmi/core';
3
+ import type { Compute, ExactPartial, ScopeKeyParameter } from '@wagmi/core/internal';
4
+ import { type SetAbiRecordParameters } from '../../actions/wallet/setAbiRecord.js';
5
+ export type SetAbiRecordOptions<encodeAs extends AbiEncodeAs, config extends Config> = Compute<ExactPartial<SetAbiRecordParameters<encodeAs, config>> & ScopeKeyParameter>;
6
+ export declare function setAbiRecordMutationOptions<encodeAs extends AbiEncodeAs, config extends Config>(config: config, options: SetAbiRecordOptions<encodeAs, config>): {
7
+ readonly mutationFn: (variables: SetAbiRecordParameters<encodeAs, config>) => Promise<`0x${string}`>;
8
+ readonly mutationKey: readonly ["ensjs_setAbiRecord", ExactPartial<SetAbiRecordParameters<encodeAs, config>> & ScopeKeyParameter extends infer T ? { [key in keyof T]: T[key]; } : never];
9
+ };
10
+ export declare function setAbiRecordMutationKey<encodeAs extends AbiEncodeAs, config extends Config>(options: SetAbiRecordOptions<encodeAs, config>): readonly ["ensjs_setAbiRecord", ExactPartial<SetAbiRecordParameters<encodeAs, config>> & ScopeKeyParameter extends infer T ? { [key in keyof T]: T[key]; } : never];
11
+ export type SetAbiRecordMutationKey<encodeAs extends AbiEncodeAs, config extends Config> = ReturnType<typeof setAbiRecordMutationKey<encodeAs, config>>;
12
+ //# sourceMappingURL=setAbiRecord.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"setAbiRecord.d.ts","sourceRoot":"","sources":["../../../../src/query/wallet/setAbiRecord.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAA;AAE1D,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,aAAa,CAAA;AACzC,OAAO,KAAK,EACV,OAAO,EACP,YAAY,EACZ,iBAAiB,EAClB,MAAM,sBAAsB,CAAA;AAC7B,OAAO,EAEL,KAAK,sBAAsB,EAG5B,MAAM,sCAAsC,CAAA;AAG7C,MAAM,MAAM,mBAAmB,CAC7B,QAAQ,SAAS,WAAW,EAC5B,MAAM,SAAS,MAAM,IACnB,OAAO,CACT,YAAY,CAAC,sBAAsB,CAAC,QAAQ,EAAE,MAAM,CAAC,CAAC,GAAG,iBAAiB,CAC3E,CAAA;AAED,wBAAgB,2BAA2B,CACzC,QAAQ,SAAS,WAAW,EAC5B,MAAM,SAAS,MAAM,EACrB,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,mBAAmB,CAAC,QAAQ,EAAE,MAAM,CAAC;qCAI9B,sBAAsB,CAAC,QAAQ,EAAE,MAAM,CAAC;;EASzE;AAED,wBAAgB,uBAAuB,CACrC,QAAQ,SAAS,WAAW,EAC5B,MAAM,SAAS,MAAM,EACrB,OAAO,EAAE,mBAAmB,CAAC,QAAQ,EAAE,MAAM,CAAC,uKAE/C;AAED,MAAM,MAAM,uBAAuB,CACjC,QAAQ,SAAS,WAAW,EAC5B,MAAM,SAAS,MAAM,IACnB,UAAU,CAAC,OAAO,uBAAuB,CAAC,QAAQ,EAAE,MAAM,CAAC,CAAC,CAAA"}
@@ -0,0 +1,12 @@
1
+ import { type ExcludeTE } from '@ensdomains/ensjs/internal';
2
+ import type { Config } from '@wagmi/core';
3
+ import type { Compute, ExactPartial, ScopeKeyParameter } from '@wagmi/core/internal';
4
+ import { type SetAddressRecordParameters } from '../../actions/wallet/setAddressRecord.js';
5
+ export type SetAddressRecordOptions<config extends Config> = Compute<ExactPartial<SetAddressRecordParameters<config>> & ScopeKeyParameter>;
6
+ export declare function setAddressRecordMutationOptions<config extends Config>(config: config, options: SetAddressRecordOptions<ExcludeTE<typeof config>>): {
7
+ readonly mutationFn: (variables: SetAddressRecordParameters<config>) => Promise<`0x${string}`>;
8
+ readonly mutationKey: readonly ["ensjs_setAddressRecord", ExactPartial<SetAddressRecordParameters<ExcludeTE<config>>> & ScopeKeyParameter extends infer T ? { [key in keyof T]: T[key]; } : never];
9
+ };
10
+ export declare function setAddressRecordMutationKey<config extends Config>(options: SetAddressRecordOptions<config>): readonly ["ensjs_setAddressRecord", ExactPartial<SetAddressRecordParameters<config>> & ScopeKeyParameter extends infer T ? { [key in keyof T]: T[key]; } : never];
11
+ export type SetAddressRecordMutationKey<config extends Config> = ReturnType<typeof setAddressRecordMutationKey<config>>;
12
+ //# sourceMappingURL=setAddressRecord.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"setAddressRecord.d.ts","sourceRoot":"","sources":["../../../../src/query/wallet/setAddressRecord.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,SAAS,EACf,MAAM,4BAA4B,CAAA;AAEnC,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,aAAa,CAAA;AACzC,OAAO,KAAK,EACV,OAAO,EACP,YAAY,EACZ,iBAAiB,EAClB,MAAM,sBAAsB,CAAA;AAC7B,OAAO,EAEL,KAAK,0BAA0B,EAGhC,MAAM,0CAA0C,CAAA;AAGjD,MAAM,MAAM,uBAAuB,CAAC,MAAM,SAAS,MAAM,IAAI,OAAO,CAClE,YAAY,CAAC,0BAA0B,CAAC,MAAM,CAAC,CAAC,GAAG,iBAAiB,CACrE,CAAA;AAED,wBAAgB,+BAA+B,CAAC,MAAM,SAAS,MAAM,EACnE,MAAM,EAAE,MAAM,EACd,OAAO,EAAE,uBAAuB,CAAC,SAAS,CAAC,OAAO,MAAM,CAAC,CAAC;qCAK1B,0BAA0B,CAAC,MAAM,CAAC;;EASnE;AAED,wBAAgB,2BAA2B,CAAC,MAAM,SAAS,MAAM,EAC/D,OAAO,EAAE,uBAAuB,CAAC,MAAM,CAAC,qKAGzC;AAED,MAAM,MAAM,2BAA2B,CAAC,MAAM,SAAS,MAAM,IAAI,UAAU,CACzE,OAAO,2BAA2B,CAAC,MAAM,CAAC,CAC3C,CAAA"}
@@ -0,0 +1,12 @@
1
+ import { type ExcludeTE } from '@ensdomains/ensjs/internal';
2
+ import type { Config } from '@wagmi/core';
3
+ import type { Compute, ExactPartial, ScopeKeyParameter } from '@wagmi/core/internal';
4
+ import { type SetContentHashRecordParameters } from '../../actions/wallet/setContentHashRecord.js';
5
+ export type SetContentHashRecordOptions<config extends Config> = Compute<ExactPartial<SetContentHashRecordParameters<config>> & ScopeKeyParameter>;
6
+ export declare function setContentHashRecordMutationOptions<config extends Config>(config: config, options: SetContentHashRecordOptions<ExcludeTE<typeof config>>): {
7
+ readonly mutationFn: (variables: SetContentHashRecordParameters<config>) => Promise<`0x${string}`>;
8
+ readonly mutationKey: readonly ["ensjs_setContentHashRecord", ExactPartial<SetContentHashRecordParameters<ExcludeTE<config>>> & ScopeKeyParameter extends infer T ? { [key in keyof T]: T[key]; } : never];
9
+ };
10
+ export declare function setContentHashRecordMutationKey<config extends Config>(options: SetContentHashRecordOptions<config>): readonly ["ensjs_setContentHashRecord", ExactPartial<SetContentHashRecordParameters<config>> & ScopeKeyParameter extends infer T ? { [key in keyof T]: T[key]; } : never];
11
+ export type SetContentHashRecordMutationKey<config extends Config> = ReturnType<typeof setContentHashRecordMutationKey<config>>;
12
+ //# sourceMappingURL=setContentHashRecord.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"setContentHashRecord.d.ts","sourceRoot":"","sources":["../../../../src/query/wallet/setContentHashRecord.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,SAAS,EACf,MAAM,4BAA4B,CAAA;AAEnC,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,aAAa,CAAA;AACzC,OAAO,KAAK,EACV,OAAO,EACP,YAAY,EACZ,iBAAiB,EAClB,MAAM,sBAAsB,CAAA;AAC7B,OAAO,EAEL,KAAK,8BAA8B,EAGpC,MAAM,8CAA8C,CAAA;AAGrD,MAAM,MAAM,2BAA2B,CAAC,MAAM,SAAS,MAAM,IAAI,OAAO,CACtE,YAAY,CAAC,8BAA8B,CAAC,MAAM,CAAC,CAAC,GAAG,iBAAiB,CACzE,CAAA;AAED,wBAAgB,mCAAmC,CAAC,MAAM,SAAS,MAAM,EACvE,MAAM,EAAE,MAAM,EACd,OAAO,EAAE,2BAA2B,CAAC,SAAS,CAAC,OAAO,MAAM,CAAC,CAAC;qCAK9B,8BAA8B,CAAC,MAAM,CAAC;;EASvE;AAED,wBAAgB,+BAA+B,CAAC,MAAM,SAAS,MAAM,EACnE,OAAO,EAAE,2BAA2B,CAAC,MAAM,CAAC,6KAG7C;AAED,MAAM,MAAM,+BAA+B,CAAC,MAAM,SAAS,MAAM,IAAI,UAAU,CAC7E,OAAO,+BAA+B,CAAC,MAAM,CAAC,CAC/C,CAAA"}
@@ -0,0 +1,14 @@
1
+ import { type ExcludeTE } from '@ensdomains/ensjs/internal';
2
+ import type { Config } from '@wagmi/core';
3
+ import type { Compute, ExactPartial, ScopeKeyParameter } from '@wagmi/core/internal';
4
+ import type { Chain } from 'viem';
5
+ import { type SetPrimaryNameParameters } from '../../actions/wallet/setPrimaryName.js';
6
+ import type { RequireConfigContracts } from '../../utils/chain.js';
7
+ export type SetPrimaryNameOptions<config extends Config> = Compute<ExactPartial<SetPrimaryNameParameters<config>> & ScopeKeyParameter>;
8
+ export declare function setPrimaryNameMutationOptions<chains extends readonly [Chain, ...Chain[]]>(config: RequireConfigContracts<chains, 'ensPublicResolver' | 'ensReverseRegistrar'>, options: SetPrimaryNameOptions<ExcludeTE<typeof config>>): {
9
+ readonly mutationFn: (variables: SetPrimaryNameParameters<typeof config>) => Promise<`0x${string}`>;
10
+ readonly mutationKey: readonly ["ensjs_setPrimaryName", ExactPartial<SetPrimaryNameParameters<ExcludeTE<RequireConfigContracts<chains, "ensPublicResolver" | "ensReverseRegistrar">>>> & ScopeKeyParameter extends infer T ? { [key in keyof T]: T[key]; } : never];
11
+ };
12
+ export declare function setPrimaryNameMutationKey<config extends Config>(options: SetPrimaryNameOptions<config>): readonly ["ensjs_setPrimaryName", ExactPartial<SetPrimaryNameParameters<config>> & ScopeKeyParameter extends infer T ? { [key in keyof T]: T[key]; } : never];
13
+ export type SetPrimaryNameMutationKey<config extends Config> = ReturnType<typeof setPrimaryNameMutationKey<config>>;
14
+ //# sourceMappingURL=setPrimaryName.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"setPrimaryName.d.ts","sourceRoot":"","sources":["../../../../src/query/wallet/setPrimaryName.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,SAAS,EACf,MAAM,4BAA4B,CAAA;AAEnC,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,aAAa,CAAA;AACzC,OAAO,KAAK,EACV,OAAO,EACP,YAAY,EACZ,iBAAiB,EAClB,MAAM,sBAAsB,CAAA;AAC7B,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,MAAM,CAAA;AACjC,OAAO,EAEL,KAAK,wBAAwB,EAG9B,MAAM,wCAAwC,CAAA;AAC/C,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,sBAAsB,CAAA;AAGlE,MAAM,MAAM,qBAAqB,CAAC,MAAM,SAAS,MAAM,IAAI,OAAO,CAChE,YAAY,CAAC,wBAAwB,CAAC,MAAM,CAAC,CAAC,GAAG,iBAAiB,CACnE,CAAA;AAED,wBAAgB,6BAA6B,CAC3C,MAAM,SAAS,SAAS,CAAC,KAAK,EAAE,GAAG,KAAK,EAAE,CAAC,EAE3C,MAAM,EAAE,sBAAsB,CAC5B,MAAM,EACN,mBAAmB,GAAG,qBAAqB,CAC5C,EACD,OAAO,EAAE,qBAAqB,CAAC,SAAS,CAAC,OAAO,MAAM,CAAC,CAAC;qCAKxB,wBAAwB,CAAC,OAAO,MAAM,CAAC;;EASxE;AAED,wBAAgB,yBAAyB,CAAC,MAAM,SAAS,MAAM,EAC7D,OAAO,EAAE,qBAAqB,CAAC,MAAM,CAAC,iKAGvC;AAED,MAAM,MAAM,yBAAyB,CAAC,MAAM,SAAS,MAAM,IAAI,UAAU,CACvE,OAAO,yBAAyB,CAAC,MAAM,CAAC,CACzC,CAAA"}
@@ -0,0 +1,14 @@
1
+ import { type ExcludeTE } from '@ensdomains/ensjs/internal';
2
+ import type { Config } from '@wagmi/core';
3
+ import type { Compute, ExactPartial, ScopeKeyParameter } from '@wagmi/core/internal';
4
+ import type { Chain } from 'viem';
5
+ import { type SetRecordsParameters } from '../../actions/wallet/setRecords.js';
6
+ import type { RequireConfigContracts } from '../../utils/chain.js';
7
+ export type SetRecordsOptions<config extends Config> = Compute<ExactPartial<SetRecordsParameters<config>> & ScopeKeyParameter>;
8
+ export declare function setRecordsMutationOptions<chains extends readonly [Chain, ...Chain[]]>(config: RequireConfigContracts<chains, 'ensPublicResolver'>, options: SetRecordsOptions<ExcludeTE<typeof config>>): {
9
+ readonly mutationFn: (variables: SetRecordsParameters<typeof config>) => Promise<`0x${string}`>;
10
+ readonly mutationKey: readonly ["ensjs_setRecords", ExactPartial<SetRecordsParameters<ExcludeTE<RequireConfigContracts<chains, "ensPublicResolver">>>> & ScopeKeyParameter extends infer T ? { [key in keyof T]: T[key]; } : never];
11
+ };
12
+ export declare function setRecordsMutationKey<config extends Config>(options: SetRecordsOptions<config>): readonly ["ensjs_setRecords", ExactPartial<SetRecordsParameters<config>> & ScopeKeyParameter extends infer T ? { [key in keyof T]: T[key]; } : never];
13
+ export type SetRecordsMutationKey<config extends Config> = ReturnType<typeof setRecordsMutationKey<config>>;
14
+ //# sourceMappingURL=setRecords.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"setRecords.d.ts","sourceRoot":"","sources":["../../../../src/query/wallet/setRecords.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,SAAS,EACf,MAAM,4BAA4B,CAAA;AAEnC,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,aAAa,CAAA;AACzC,OAAO,KAAK,EACV,OAAO,EACP,YAAY,EACZ,iBAAiB,EAClB,MAAM,sBAAsB,CAAA;AAC7B,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,MAAM,CAAA;AACjC,OAAO,EAEL,KAAK,oBAAoB,EAG1B,MAAM,oCAAoC,CAAA;AAC3C,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,sBAAsB,CAAA;AAGlE,MAAM,MAAM,iBAAiB,CAAC,MAAM,SAAS,MAAM,IAAI,OAAO,CAC5D,YAAY,CAAC,oBAAoB,CAAC,MAAM,CAAC,CAAC,GAAG,iBAAiB,CAC/D,CAAA;AAED,wBAAgB,yBAAyB,CACvC,MAAM,SAAS,SAAS,CAAC,KAAK,EAAE,GAAG,KAAK,EAAE,CAAC,EAE3C,MAAM,EAAE,sBAAsB,CAAC,MAAM,EAAE,mBAAmB,CAAC,EAC3D,OAAO,EAAE,iBAAiB,CAAC,SAAS,CAAC,OAAO,MAAM,CAAC,CAAC;qCAKpB,oBAAoB,CAAC,OAAO,MAAM,CAAC;;EASpE;AAED,wBAAgB,qBAAqB,CAAC,MAAM,SAAS,MAAM,EACzD,OAAO,EAAE,iBAAiB,CAAC,MAAM,CAAC,yJAGnC;AAED,MAAM,MAAM,qBAAqB,CAAC,MAAM,SAAS,MAAM,IAAI,UAAU,CACnE,OAAO,qBAAqB,CAAC,MAAM,CAAC,CACrC,CAAA"}
@@ -0,0 +1,14 @@
1
+ import { type ExcludeTE } from '@ensdomains/ensjs/internal';
2
+ import type { Config } from '@wagmi/core';
3
+ import type { Compute, ExactPartial, ScopeKeyParameter } from '@wagmi/core/internal';
4
+ import type { Chain } from 'viem';
5
+ import { type SetResolverParameters } from '../../actions/wallet/setResolver.js';
6
+ import type { RequireConfigContracts } from '../../utils/chain.js';
7
+ export type SetResolverOptions<config extends Config> = Compute<ExactPartial<SetResolverParameters<config>> & ScopeKeyParameter>;
8
+ export declare function setResolverMutationOptions<chains extends readonly [Chain, ...Chain[]]>(config: RequireConfigContracts<chains, 'ensRegistry' | 'ensNameWrapper'>, options: SetResolverOptions<ExcludeTE<typeof config>>): {
9
+ readonly mutationFn: (variables: SetResolverParameters<typeof config>) => Promise<`0x${string}`>;
10
+ readonly mutationKey: readonly ["ensjs_setResolver", ExactPartial<SetResolverParameters<ExcludeTE<RequireConfigContracts<chains, "ensRegistry" | "ensNameWrapper">>>> & ScopeKeyParameter extends infer T ? { [key in keyof T]: T[key]; } : never];
11
+ };
12
+ export declare function setResolverMutationKey<config extends Config>(options: SetResolverOptions<config>): readonly ["ensjs_setResolver", ExactPartial<SetResolverParameters<config>> & ScopeKeyParameter extends infer T ? { [key in keyof T]: T[key]; } : never];
13
+ export type SetResolverMutationKey<config extends Config> = ReturnType<typeof setResolverMutationKey<config>>;
14
+ //# sourceMappingURL=setResolver.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"setResolver.d.ts","sourceRoot":"","sources":["../../../../src/query/wallet/setResolver.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,SAAS,EACf,MAAM,4BAA4B,CAAA;AAEnC,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,aAAa,CAAA;AACzC,OAAO,KAAK,EACV,OAAO,EACP,YAAY,EACZ,iBAAiB,EAClB,MAAM,sBAAsB,CAAA;AAC7B,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,MAAM,CAAA;AACjC,OAAO,EAEL,KAAK,qBAAqB,EAG3B,MAAM,qCAAqC,CAAA;AAC5C,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,sBAAsB,CAAA;AAGlE,MAAM,MAAM,kBAAkB,CAAC,MAAM,SAAS,MAAM,IAAI,OAAO,CAC7D,YAAY,CAAC,qBAAqB,CAAC,MAAM,CAAC,CAAC,GAAG,iBAAiB,CAChE,CAAA;AAED,wBAAgB,0BAA0B,CACxC,MAAM,SAAS,SAAS,CAAC,KAAK,EAAE,GAAG,KAAK,EAAE,CAAC,EAE3C,MAAM,EAAE,sBAAsB,CAAC,MAAM,EAAE,aAAa,GAAG,gBAAgB,CAAC,EACxE,OAAO,EAAE,kBAAkB,CAAC,SAAS,CAAC,OAAO,MAAM,CAAC,CAAC;qCAKrB,qBAAqB,CAAC,OAAO,MAAM,CAAC;;EASrE;AAED,wBAAgB,sBAAsB,CAAC,MAAM,SAAS,MAAM,EAC1D,OAAO,EAAE,kBAAkB,CAAC,MAAM,CAAC,2JAGpC;AAED,MAAM,MAAM,sBAAsB,CAAC,MAAM,SAAS,MAAM,IAAI,UAAU,CACpE,OAAO,sBAAsB,CAAC,MAAM,CAAC,CACtC,CAAA"}
@@ -0,0 +1,12 @@
1
+ import { type ExcludeTE } from '@ensdomains/ensjs/internal';
2
+ import type { Config } from '@wagmi/core';
3
+ import type { Compute, ExactPartial, ScopeKeyParameter } from '@wagmi/core/internal';
4
+ import { type SetTextRecordParameters } from '../../actions/wallet/setTextRecord.js';
5
+ export type SetTextRecordOptions<config extends Config> = Compute<ExactPartial<SetTextRecordParameters<config>> & ScopeKeyParameter>;
6
+ export declare function setTextRecordMutationOptions<config extends Config>(config: config, options: SetTextRecordOptions<ExcludeTE<typeof config>>): {
7
+ readonly mutationFn: (variables: SetTextRecordParameters<config>) => Promise<`0x${string}`>;
8
+ readonly mutationKey: readonly ["ensjs_setTextRecord", ExactPartial<SetTextRecordParameters<ExcludeTE<config>>> & ScopeKeyParameter extends infer T ? { [key in keyof T]: T[key]; } : never];
9
+ };
10
+ export declare function setTextRecordMutationKey<config extends Config>(options: SetTextRecordOptions<config>): readonly ["ensjs_setTextRecord", ExactPartial<SetTextRecordParameters<config>> & ScopeKeyParameter extends infer T ? { [key in keyof T]: T[key]; } : never];
11
+ export type SetTextRecordMutationKey<config extends Config> = ReturnType<typeof setTextRecordMutationKey<config>>;
12
+ //# sourceMappingURL=setTextRecord.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"setTextRecord.d.ts","sourceRoot":"","sources":["../../../../src/query/wallet/setTextRecord.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,SAAS,EACf,MAAM,4BAA4B,CAAA;AAEnC,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,aAAa,CAAA;AACzC,OAAO,KAAK,EACV,OAAO,EACP,YAAY,EACZ,iBAAiB,EAClB,MAAM,sBAAsB,CAAA;AAC7B,OAAO,EAEL,KAAK,uBAAuB,EAG7B,MAAM,uCAAuC,CAAA;AAG9C,MAAM,MAAM,oBAAoB,CAAC,MAAM,SAAS,MAAM,IAAI,OAAO,CAC/D,YAAY,CAAC,uBAAuB,CAAC,MAAM,CAAC,CAAC,GAAG,iBAAiB,CAClE,CAAA;AAED,wBAAgB,4BAA4B,CAAC,MAAM,SAAS,MAAM,EAChE,MAAM,EAAE,MAAM,EACd,OAAO,EAAE,oBAAoB,CAAC,SAAS,CAAC,OAAO,MAAM,CAAC,CAAC;qCAKvB,uBAAuB,CAAC,MAAM,CAAC;;EAShE;AAED,wBAAgB,wBAAwB,CAAC,MAAM,SAAS,MAAM,EAC5D,OAAO,EAAE,oBAAoB,CAAC,MAAM,CAAC,+JAGtC;AAED,MAAM,MAAM,wBAAwB,CAAC,MAAM,SAAS,MAAM,IAAI,UAAU,CACtE,OAAO,wBAAwB,CAAC,MAAM,CAAC,CACxC,CAAA"}