@ensforge/react 0.1.1 → 0.2.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 (47) hide show
  1. package/README.md +8 -1
  2. package/dist/atoms/capabilities.d.ts +10 -10
  3. package/dist/atoms/capabilities.d.ts.map +1 -1
  4. package/dist/atoms/dns.d.ts +9 -7
  5. package/dist/atoms/dns.d.ts.map +1 -1
  6. package/dist/atoms/events.d.ts +46 -46
  7. package/dist/atoms/events.d.ts.map +1 -1
  8. package/dist/atoms/generic.d.ts +3 -1
  9. package/dist/atoms/generic.d.ts.map +1 -1
  10. package/dist/atoms/generic.js.map +1 -1
  11. package/dist/atoms/migration.d.ts +1 -1
  12. package/dist/atoms/migration.d.ts.map +1 -1
  13. package/dist/atoms/name.d.ts +1 -1
  14. package/dist/atoms/records.d.ts +1 -1
  15. package/dist/atoms/records.d.ts.map +1 -1
  16. package/dist/atoms/registration.d.ts +33 -3
  17. package/dist/atoms/registration.d.ts.map +1 -1
  18. package/dist/atoms/resolution.d.ts +2 -2
  19. package/dist/atoms/resolution.d.ts.map +1 -1
  20. package/dist/atoms/wrapping.d.ts +2 -2
  21. package/dist/atoms/wrapping.d.ts.map +1 -1
  22. package/dist/hooks/capabilities.d.ts +36 -36
  23. package/dist/hooks/capabilities.d.ts.map +1 -1
  24. package/dist/hooks/dns.d.ts +17 -13
  25. package/dist/hooks/dns.d.ts.map +1 -1
  26. package/dist/hooks/events.d.ts +147 -147
  27. package/dist/hooks/events.d.ts.map +1 -1
  28. package/dist/hooks/generic.d.ts +3 -1
  29. package/dist/hooks/generic.d.ts.map +1 -1
  30. package/dist/hooks/generic.js.map +1 -1
  31. package/dist/hooks/migration.d.ts +1 -1
  32. package/dist/hooks/migration.d.ts.map +1 -1
  33. package/dist/hooks/name.d.ts +4 -4
  34. package/dist/hooks/records.d.ts +1 -1
  35. package/dist/hooks/records.d.ts.map +1 -1
  36. package/dist/hooks/registration.d.ts +63 -3
  37. package/dist/hooks/registration.d.ts.map +1 -1
  38. package/dist/hooks/resolution.d.ts +2 -2
  39. package/dist/hooks/resolution.d.ts.map +1 -1
  40. package/dist/hooks/wrapping.d.ts +4 -4
  41. package/dist/hooks/wrapping.d.ts.map +1 -1
  42. package/dist/index.d.ts +3 -3
  43. package/dist/provider/ensforge-provider.d.ts +2 -1
  44. package/dist/provider/ensforge-provider.d.ts.map +1 -1
  45. package/dist/provider/ensforge-provider.js +2 -1
  46. package/dist/provider/ensforge-provider.js.map +1 -1
  47. package/package.json +3 -3
@@ -4,272 +4,272 @@ import { EnsAtomResult } from "../query/result.js";
4
4
  import "../index.js";
5
5
  //#region src/hooks/events.d.ts
6
6
  declare const useEnsEvents: <Mapped = readonly {
7
- readonly protocol: "v1" | "v2";
7
+ readonly blockNumber: bigint | null;
8
+ readonly transactionHash: `0x${string}` | null;
9
+ readonly transactionIndex: number | null;
10
+ readonly logIndex: number | null;
8
11
  readonly raw: {
9
12
  readonly topics: readonly `0x${string}`[];
10
13
  readonly data: `0x${string}`;
11
14
  readonly args: unknown;
12
15
  };
13
- readonly blockNumber: bigint | null;
14
- readonly kind: "migration" | "resolver" | "manager" | "commitment" | "records" | "ownership" | "registration" | "renewal" | "subname" | "other";
15
- readonly transactionHash: `0x${string}` | null;
16
- readonly contract: `0x${string}`;
17
- readonly transactionIndex: number | null;
18
- readonly logIndex: number | null;
19
- readonly contractKind: "registry" | "resolver" | "registrar" | "name-wrapper" | "migration-controller";
16
+ readonly kind: "commitment" | "registration" | "renewal" | "ownership" | "manager" | "resolver" | "records" | "subname" | "migration" | "other";
17
+ readonly protocol: "v1" | "v2";
18
+ readonly contractKind: "resolver" | "registrar" | "registry" | "name-wrapper" | "migration-controller";
20
19
  readonly eventName: string;
20
+ readonly contract: `0x${string}`;
21
21
  readonly removed: boolean;
22
- readonly to?: `0x${string}` | undefined;
22
+ readonly commitment?: `0x${string}` | undefined;
23
+ readonly resolver?: `0x${string}` | undefined;
23
24
  readonly name?: (string & import("effect/Brand").Brand<"NormalizedName">) | undefined;
24
- readonly tokenId?: bigint | undefined;
25
- readonly owner?: `0x${string}` | undefined;
26
- readonly from?: `0x${string}` | undefined;
27
25
  readonly label?: string | undefined;
28
- readonly resolver?: `0x${string}` | undefined;
29
26
  readonly node?: `0x${string}` | undefined;
30
- readonly commitment?: `0x${string}` | undefined;
27
+ readonly owner?: `0x${string}` | undefined;
28
+ readonly from?: `0x${string}` | undefined;
29
+ readonly to?: `0x${string}` | undefined;
30
+ readonly tokenId?: bigint | undefined;
31
31
  }[]>(input: UseEnsAtomParameters<import("@ensforge/core").GetEnsEventsParameters, readonly {
32
- readonly protocol: "v1" | "v2";
32
+ readonly blockNumber: bigint | null;
33
+ readonly transactionHash: `0x${string}` | null;
34
+ readonly transactionIndex: number | null;
35
+ readonly logIndex: number | null;
33
36
  readonly raw: {
34
37
  readonly topics: readonly `0x${string}`[];
35
38
  readonly data: `0x${string}`;
36
39
  readonly args: unknown;
37
40
  };
38
- readonly blockNumber: bigint | null;
39
- readonly kind: "migration" | "resolver" | "manager" | "commitment" | "records" | "ownership" | "registration" | "renewal" | "subname" | "other";
40
- readonly transactionHash: `0x${string}` | null;
41
- readonly contract: `0x${string}`;
42
- readonly transactionIndex: number | null;
43
- readonly logIndex: number | null;
44
- readonly contractKind: "registry" | "resolver" | "registrar" | "name-wrapper" | "migration-controller";
41
+ readonly kind: "commitment" | "registration" | "renewal" | "ownership" | "manager" | "resolver" | "records" | "subname" | "migration" | "other";
42
+ readonly protocol: "v1" | "v2";
43
+ readonly contractKind: "resolver" | "registrar" | "registry" | "name-wrapper" | "migration-controller";
45
44
  readonly eventName: string;
45
+ readonly contract: `0x${string}`;
46
46
  readonly removed: boolean;
47
- readonly to?: `0x${string}` | undefined;
47
+ readonly commitment?: `0x${string}` | undefined;
48
+ readonly resolver?: `0x${string}` | undefined;
48
49
  readonly name?: (string & import("effect/Brand").Brand<"NormalizedName">) | undefined;
49
- readonly tokenId?: bigint | undefined;
50
- readonly owner?: `0x${string}` | undefined;
51
- readonly from?: `0x${string}` | undefined;
52
50
  readonly label?: string | undefined;
53
- readonly resolver?: `0x${string}` | undefined;
54
51
  readonly node?: `0x${string}` | undefined;
55
- readonly commitment?: `0x${string}` | undefined;
56
- }[], import("@ensforge/core").GetEnsEventsError, Mapped>) => EnsAtomResult<Mapped, import("@ensforge/core").GetEnsEventsError>;
52
+ readonly owner?: `0x${string}` | undefined;
53
+ readonly from?: `0x${string}` | undefined;
54
+ readonly to?: `0x${string}` | undefined;
55
+ readonly tokenId?: bigint | undefined;
56
+ }[], import("@ensforge/core").EnsEventError, Mapped>) => EnsAtomResult<Mapped, import("@ensforge/core").EnsEventError>;
57
57
  declare const useEnsEventsSuspense: <Mapped = readonly {
58
- readonly protocol: "v1" | "v2";
58
+ readonly blockNumber: bigint | null;
59
+ readonly transactionHash: `0x${string}` | null;
60
+ readonly transactionIndex: number | null;
61
+ readonly logIndex: number | null;
59
62
  readonly raw: {
60
63
  readonly topics: readonly `0x${string}`[];
61
64
  readonly data: `0x${string}`;
62
65
  readonly args: unknown;
63
66
  };
64
- readonly blockNumber: bigint | null;
65
- readonly kind: "migration" | "resolver" | "manager" | "commitment" | "records" | "ownership" | "registration" | "renewal" | "subname" | "other";
66
- readonly transactionHash: `0x${string}` | null;
67
- readonly contract: `0x${string}`;
68
- readonly transactionIndex: number | null;
69
- readonly logIndex: number | null;
70
- readonly contractKind: "registry" | "resolver" | "registrar" | "name-wrapper" | "migration-controller";
67
+ readonly kind: "commitment" | "registration" | "renewal" | "ownership" | "manager" | "resolver" | "records" | "subname" | "migration" | "other";
68
+ readonly protocol: "v1" | "v2";
69
+ readonly contractKind: "resolver" | "registrar" | "registry" | "name-wrapper" | "migration-controller";
71
70
  readonly eventName: string;
71
+ readonly contract: `0x${string}`;
72
72
  readonly removed: boolean;
73
- readonly to?: `0x${string}` | undefined;
73
+ readonly commitment?: `0x${string}` | undefined;
74
+ readonly resolver?: `0x${string}` | undefined;
74
75
  readonly name?: (string & import("effect/Brand").Brand<"NormalizedName">) | undefined;
75
- readonly tokenId?: bigint | undefined;
76
- readonly owner?: `0x${string}` | undefined;
77
- readonly from?: `0x${string}` | undefined;
78
76
  readonly label?: string | undefined;
79
- readonly resolver?: `0x${string}` | undefined;
80
77
  readonly node?: `0x${string}` | undefined;
81
- readonly commitment?: `0x${string}` | undefined;
78
+ readonly owner?: `0x${string}` | undefined;
79
+ readonly from?: `0x${string}` | undefined;
80
+ readonly to?: `0x${string}` | undefined;
81
+ readonly tokenId?: bigint | undefined;
82
82
  }[]>(input: UseEnsSuspenseAtomParameters<import("@ensforge/core").GetEnsEventsParameters, readonly {
83
- readonly protocol: "v1" | "v2";
83
+ readonly blockNumber: bigint | null;
84
+ readonly transactionHash: `0x${string}` | null;
85
+ readonly transactionIndex: number | null;
86
+ readonly logIndex: number | null;
84
87
  readonly raw: {
85
88
  readonly topics: readonly `0x${string}`[];
86
89
  readonly data: `0x${string}`;
87
90
  readonly args: unknown;
88
91
  };
89
- readonly blockNumber: bigint | null;
90
- readonly kind: "migration" | "resolver" | "manager" | "commitment" | "records" | "ownership" | "registration" | "renewal" | "subname" | "other";
91
- readonly transactionHash: `0x${string}` | null;
92
- readonly contract: `0x${string}`;
93
- readonly transactionIndex: number | null;
94
- readonly logIndex: number | null;
95
- readonly contractKind: "registry" | "resolver" | "registrar" | "name-wrapper" | "migration-controller";
92
+ readonly kind: "commitment" | "registration" | "renewal" | "ownership" | "manager" | "resolver" | "records" | "subname" | "migration" | "other";
93
+ readonly protocol: "v1" | "v2";
94
+ readonly contractKind: "resolver" | "registrar" | "registry" | "name-wrapper" | "migration-controller";
96
95
  readonly eventName: string;
96
+ readonly contract: `0x${string}`;
97
97
  readonly removed: boolean;
98
- readonly to?: `0x${string}` | undefined;
98
+ readonly commitment?: `0x${string}` | undefined;
99
+ readonly resolver?: `0x${string}` | undefined;
99
100
  readonly name?: (string & import("effect/Brand").Brand<"NormalizedName">) | undefined;
100
- readonly tokenId?: bigint | undefined;
101
- readonly owner?: `0x${string}` | undefined;
102
- readonly from?: `0x${string}` | undefined;
103
101
  readonly label?: string | undefined;
104
- readonly resolver?: `0x${string}` | undefined;
105
102
  readonly node?: `0x${string}` | undefined;
106
- readonly commitment?: `0x${string}` | undefined;
107
- }[], import("@ensforge/core").GetEnsEventsError, Mapped>) => EnsSuspenseAtomResult<Mapped>;
103
+ readonly owner?: `0x${string}` | undefined;
104
+ readonly from?: `0x${string}` | undefined;
105
+ readonly to?: `0x${string}` | undefined;
106
+ readonly tokenId?: bigint | undefined;
107
+ }[], import("@ensforge/core").EnsEventError, Mapped>) => EnsSuspenseAtomResult<Mapped>;
108
108
  declare const useNameHistory: <Mapped = {
109
109
  readonly name: string & import("effect/Brand").Brand<"NormalizedName">;
110
110
  readonly events: readonly {
111
- readonly protocol: "v1" | "v2";
111
+ readonly blockNumber: bigint | null;
112
+ readonly transactionHash: `0x${string}` | null;
113
+ readonly transactionIndex: number | null;
114
+ readonly logIndex: number | null;
112
115
  readonly raw: {
113
116
  readonly topics: readonly `0x${string}`[];
114
117
  readonly data: `0x${string}`;
115
118
  readonly args: unknown;
116
119
  };
117
- readonly blockNumber: bigint | null;
118
- readonly kind: "migration" | "resolver" | "manager" | "commitment" | "records" | "ownership" | "registration" | "renewal" | "subname" | "other";
119
- readonly transactionHash: `0x${string}` | null;
120
- readonly contract: `0x${string}`;
121
- readonly transactionIndex: number | null;
122
- readonly logIndex: number | null;
123
- readonly contractKind: "registry" | "resolver" | "registrar" | "name-wrapper" | "migration-controller";
120
+ readonly kind: "commitment" | "registration" | "renewal" | "ownership" | "manager" | "resolver" | "records" | "subname" | "migration" | "other";
121
+ readonly protocol: "v1" | "v2";
122
+ readonly contractKind: "resolver" | "registrar" | "registry" | "name-wrapper" | "migration-controller";
124
123
  readonly eventName: string;
124
+ readonly contract: `0x${string}`;
125
125
  readonly removed: boolean;
126
- readonly to?: `0x${string}` | undefined;
126
+ readonly commitment?: `0x${string}` | undefined;
127
+ readonly resolver?: `0x${string}` | undefined;
127
128
  readonly name?: (string & import("effect/Brand").Brand<"NormalizedName">) | undefined;
128
- readonly tokenId?: bigint | undefined;
129
- readonly owner?: `0x${string}` | undefined;
130
- readonly from?: `0x${string}` | undefined;
131
129
  readonly label?: string | undefined;
132
- readonly resolver?: `0x${string}` | undefined;
133
130
  readonly node?: `0x${string}` | undefined;
134
- readonly commitment?: `0x${string}` | undefined;
131
+ readonly owner?: `0x${string}` | undefined;
132
+ readonly from?: `0x${string}` | undefined;
133
+ readonly to?: `0x${string}` | undefined;
134
+ readonly tokenId?: bigint | undefined;
135
135
  }[];
136
136
  }>(input: UseEnsAtomParameters<import("@ensforge/core").GetNameHistoryParameters, {
137
137
  readonly name: string & import("effect/Brand").Brand<"NormalizedName">;
138
138
  readonly events: readonly {
139
- readonly protocol: "v1" | "v2";
139
+ readonly blockNumber: bigint | null;
140
+ readonly transactionHash: `0x${string}` | null;
141
+ readonly transactionIndex: number | null;
142
+ readonly logIndex: number | null;
140
143
  readonly raw: {
141
144
  readonly topics: readonly `0x${string}`[];
142
145
  readonly data: `0x${string}`;
143
146
  readonly args: unknown;
144
147
  };
145
- readonly blockNumber: bigint | null;
146
- readonly kind: "migration" | "resolver" | "manager" | "commitment" | "records" | "ownership" | "registration" | "renewal" | "subname" | "other";
147
- readonly transactionHash: `0x${string}` | null;
148
- readonly contract: `0x${string}`;
149
- readonly transactionIndex: number | null;
150
- readonly logIndex: number | null;
151
- readonly contractKind: "registry" | "resolver" | "registrar" | "name-wrapper" | "migration-controller";
148
+ readonly kind: "commitment" | "registration" | "renewal" | "ownership" | "manager" | "resolver" | "records" | "subname" | "migration" | "other";
149
+ readonly protocol: "v1" | "v2";
150
+ readonly contractKind: "resolver" | "registrar" | "registry" | "name-wrapper" | "migration-controller";
152
151
  readonly eventName: string;
152
+ readonly contract: `0x${string}`;
153
153
  readonly removed: boolean;
154
- readonly to?: `0x${string}` | undefined;
154
+ readonly commitment?: `0x${string}` | undefined;
155
+ readonly resolver?: `0x${string}` | undefined;
155
156
  readonly name?: (string & import("effect/Brand").Brand<"NormalizedName">) | undefined;
156
- readonly tokenId?: bigint | undefined;
157
- readonly owner?: `0x${string}` | undefined;
158
- readonly from?: `0x${string}` | undefined;
159
157
  readonly label?: string | undefined;
160
- readonly resolver?: `0x${string}` | undefined;
161
158
  readonly node?: `0x${string}` | undefined;
162
- readonly commitment?: `0x${string}` | undefined;
159
+ readonly owner?: `0x${string}` | undefined;
160
+ readonly from?: `0x${string}` | undefined;
161
+ readonly to?: `0x${string}` | undefined;
162
+ readonly tokenId?: bigint | undefined;
163
163
  }[];
164
- }, import("@ensforge/core").GetEnsEventsError, Mapped>) => EnsAtomResult<Mapped, import("@ensforge/core").GetEnsEventsError>;
164
+ }, import("@ensforge/core").EnsEventError, Mapped>) => EnsAtomResult<Mapped, import("@ensforge/core").EnsEventError>;
165
165
  declare const useNameHistorySuspense: <Mapped = {
166
166
  readonly name: string & import("effect/Brand").Brand<"NormalizedName">;
167
167
  readonly events: readonly {
168
- readonly protocol: "v1" | "v2";
168
+ readonly blockNumber: bigint | null;
169
+ readonly transactionHash: `0x${string}` | null;
170
+ readonly transactionIndex: number | null;
171
+ readonly logIndex: number | null;
169
172
  readonly raw: {
170
173
  readonly topics: readonly `0x${string}`[];
171
174
  readonly data: `0x${string}`;
172
175
  readonly args: unknown;
173
176
  };
174
- readonly blockNumber: bigint | null;
175
- readonly kind: "migration" | "resolver" | "manager" | "commitment" | "records" | "ownership" | "registration" | "renewal" | "subname" | "other";
176
- readonly transactionHash: `0x${string}` | null;
177
- readonly contract: `0x${string}`;
178
- readonly transactionIndex: number | null;
179
- readonly logIndex: number | null;
180
- readonly contractKind: "registry" | "resolver" | "registrar" | "name-wrapper" | "migration-controller";
177
+ readonly kind: "commitment" | "registration" | "renewal" | "ownership" | "manager" | "resolver" | "records" | "subname" | "migration" | "other";
178
+ readonly protocol: "v1" | "v2";
179
+ readonly contractKind: "resolver" | "registrar" | "registry" | "name-wrapper" | "migration-controller";
181
180
  readonly eventName: string;
181
+ readonly contract: `0x${string}`;
182
182
  readonly removed: boolean;
183
- readonly to?: `0x${string}` | undefined;
183
+ readonly commitment?: `0x${string}` | undefined;
184
+ readonly resolver?: `0x${string}` | undefined;
184
185
  readonly name?: (string & import("effect/Brand").Brand<"NormalizedName">) | undefined;
185
- readonly tokenId?: bigint | undefined;
186
- readonly owner?: `0x${string}` | undefined;
187
- readonly from?: `0x${string}` | undefined;
188
186
  readonly label?: string | undefined;
189
- readonly resolver?: `0x${string}` | undefined;
190
187
  readonly node?: `0x${string}` | undefined;
191
- readonly commitment?: `0x${string}` | undefined;
188
+ readonly owner?: `0x${string}` | undefined;
189
+ readonly from?: `0x${string}` | undefined;
190
+ readonly to?: `0x${string}` | undefined;
191
+ readonly tokenId?: bigint | undefined;
192
192
  }[];
193
193
  }>(input: UseEnsSuspenseAtomParameters<import("@ensforge/core").GetNameHistoryParameters, {
194
194
  readonly name: string & import("effect/Brand").Brand<"NormalizedName">;
195
195
  readonly events: readonly {
196
- readonly protocol: "v1" | "v2";
196
+ readonly blockNumber: bigint | null;
197
+ readonly transactionHash: `0x${string}` | null;
198
+ readonly transactionIndex: number | null;
199
+ readonly logIndex: number | null;
197
200
  readonly raw: {
198
201
  readonly topics: readonly `0x${string}`[];
199
202
  readonly data: `0x${string}`;
200
203
  readonly args: unknown;
201
204
  };
202
- readonly blockNumber: bigint | null;
203
- readonly kind: "migration" | "resolver" | "manager" | "commitment" | "records" | "ownership" | "registration" | "renewal" | "subname" | "other";
204
- readonly transactionHash: `0x${string}` | null;
205
- readonly contract: `0x${string}`;
206
- readonly transactionIndex: number | null;
207
- readonly logIndex: number | null;
208
- readonly contractKind: "registry" | "resolver" | "registrar" | "name-wrapper" | "migration-controller";
205
+ readonly kind: "commitment" | "registration" | "renewal" | "ownership" | "manager" | "resolver" | "records" | "subname" | "migration" | "other";
206
+ readonly protocol: "v1" | "v2";
207
+ readonly contractKind: "resolver" | "registrar" | "registry" | "name-wrapper" | "migration-controller";
209
208
  readonly eventName: string;
209
+ readonly contract: `0x${string}`;
210
210
  readonly removed: boolean;
211
- readonly to?: `0x${string}` | undefined;
211
+ readonly commitment?: `0x${string}` | undefined;
212
+ readonly resolver?: `0x${string}` | undefined;
212
213
  readonly name?: (string & import("effect/Brand").Brand<"NormalizedName">) | undefined;
213
- readonly tokenId?: bigint | undefined;
214
- readonly owner?: `0x${string}` | undefined;
215
- readonly from?: `0x${string}` | undefined;
216
214
  readonly label?: string | undefined;
217
- readonly resolver?: `0x${string}` | undefined;
218
215
  readonly node?: `0x${string}` | undefined;
219
- readonly commitment?: `0x${string}` | undefined;
216
+ readonly owner?: `0x${string}` | undefined;
217
+ readonly from?: `0x${string}` | undefined;
218
+ readonly to?: `0x${string}` | undefined;
219
+ readonly tokenId?: bigint | undefined;
220
220
  }[];
221
- }, import("@ensforge/core").GetEnsEventsError, Mapped>) => EnsSuspenseAtomResult<Mapped>;
221
+ }, import("@ensforge/core").EnsEventError, Mapped>) => EnsSuspenseAtomResult<Mapped>;
222
222
  declare const useWatchEnsEvents: <Mapped = {
223
+ readonly kind: "resolver" | "commitment" | "registration" | "renewal" | "ownership" | "manager" | "records" | "subname" | "migration" | "other";
223
224
  readonly protocol: "v1" | "v2";
224
- readonly raw: {
225
- readonly topics: readonly `0x${string}`[];
226
- readonly data: `0x${string}`;
227
- readonly args: unknown;
228
- };
225
+ readonly contractKind: "registry" | "name-wrapper" | "registrar" | "resolver" | "migration-controller";
226
+ readonly eventName: string;
227
+ readonly contract: `0x${string}`;
229
228
  readonly blockNumber: bigint | null;
230
- readonly kind: "migration" | "resolver" | "manager" | "commitment" | "records" | "ownership" | "registration" | "renewal" | "subname" | "other";
231
229
  readonly transactionHash: `0x${string}` | null;
232
- readonly contract: `0x${string}`;
233
230
  readonly transactionIndex: number | null;
234
231
  readonly logIndex: number | null;
235
- readonly contractKind: "registry" | "resolver" | "registrar" | "name-wrapper" | "migration-controller";
236
- readonly eventName: string;
237
232
  readonly removed: boolean;
238
- readonly to?: `0x${string}` | undefined;
239
- readonly name?: (string & import("effect/Brand").Brand<"NormalizedName">) | undefined;
240
- readonly tokenId?: bigint | undefined;
241
- readonly owner?: `0x${string}` | undefined;
242
- readonly from?: `0x${string}` | undefined;
243
- readonly label?: string | undefined;
244
- readonly resolver?: `0x${string}` | undefined;
245
- readonly node?: `0x${string}` | undefined;
246
- readonly commitment?: `0x${string}` | undefined;
247
- }>(input: UseEnsAtomParameters<import("@ensforge/core").WatchEnsEventsParameters, {
248
- readonly protocol: "v1" | "v2";
249
233
  readonly raw: {
250
234
  readonly topics: readonly `0x${string}`[];
251
235
  readonly data: `0x${string}`;
252
236
  readonly args: unknown;
253
237
  };
238
+ readonly resolver?: `0x${string}` | undefined;
239
+ readonly name?: (string & import("effect/Brand").Brand<"NormalizedName">) | undefined;
240
+ readonly commitment?: `0x${string}` | undefined;
241
+ readonly label?: string | undefined;
242
+ readonly node?: `0x${string}` | undefined;
243
+ readonly owner?: `0x${string}` | undefined;
244
+ readonly from?: `0x${string}` | undefined;
245
+ readonly to?: `0x${string}` | undefined;
246
+ readonly tokenId?: bigint | undefined;
247
+ }>(input: UseEnsAtomParameters<import("@ensforge/core").WatchEnsEventsParameters, {
248
+ readonly kind: "resolver" | "commitment" | "registration" | "renewal" | "ownership" | "manager" | "records" | "subname" | "migration" | "other";
249
+ readonly protocol: "v1" | "v2";
250
+ readonly contractKind: "registry" | "name-wrapper" | "registrar" | "resolver" | "migration-controller";
251
+ readonly eventName: string;
252
+ readonly contract: `0x${string}`;
254
253
  readonly blockNumber: bigint | null;
255
- readonly kind: "migration" | "resolver" | "manager" | "commitment" | "records" | "ownership" | "registration" | "renewal" | "subname" | "other";
256
254
  readonly transactionHash: `0x${string}` | null;
257
- readonly contract: `0x${string}`;
258
255
  readonly transactionIndex: number | null;
259
256
  readonly logIndex: number | null;
260
- readonly contractKind: "registry" | "resolver" | "registrar" | "name-wrapper" | "migration-controller";
261
- readonly eventName: string;
262
257
  readonly removed: boolean;
263
- readonly to?: `0x${string}` | undefined;
258
+ readonly raw: {
259
+ readonly topics: readonly `0x${string}`[];
260
+ readonly data: `0x${string}`;
261
+ readonly args: unknown;
262
+ };
263
+ readonly resolver?: `0x${string}` | undefined;
264
264
  readonly name?: (string & import("effect/Brand").Brand<"NormalizedName">) | undefined;
265
- readonly tokenId?: bigint | undefined;
266
- readonly owner?: `0x${string}` | undefined;
267
- readonly from?: `0x${string}` | undefined;
265
+ readonly commitment?: `0x${string}` | undefined;
268
266
  readonly label?: string | undefined;
269
- readonly resolver?: `0x${string}` | undefined;
270
267
  readonly node?: `0x${string}` | undefined;
271
- readonly commitment?: `0x${string}` | undefined;
272
- }, import("effect/Cause").NoSuchElementError | import("@ensforge/core").GetEnsEventsError, Mapped>) => EnsAtomResult<Mapped, import("effect/Cause").NoSuchElementError | import("@ensforge/core").GetEnsEventsError>;
268
+ readonly owner?: `0x${string}` | undefined;
269
+ readonly from?: `0x${string}` | undefined;
270
+ readonly to?: `0x${string}` | undefined;
271
+ readonly tokenId?: bigint | undefined;
272
+ }, import("@ensforge/core").EnsEventError | import("effect/Cause").NoSuchElementError, Mapped>) => EnsAtomResult<Mapped, import("@ensforge/core").EnsEventError | import("effect/Cause").NoSuchElementError>;
273
273
  //#endregion
274
274
  export { useEnsEvents, useEnsEventsSuspense, useNameHistory, useNameHistorySuspense, useWatchEnsEvents };
275
275
  //# sourceMappingURL=events.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"events.d.ts","names":[],"sources":["../../src/hooks/events.ts"],"mappings":";;;;;cAMa,eAAY;;;;;;;;;;;;;;;;;;;;;;;;;YAAkC;;;;;;;;;;;;;;;;;;;;;;;;;8BAAA,mBAAA,YAAA,cAAA,iCAAA;cAC9C,uBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;YAA0C;;;;;;;;;;;;;;;;;;;;;;;;;8BAAA,mBAAA,YAAA,sBAAA;cAC9D,iBAAc;;;;;;;;;;;;;;;;;;;;;;;;;;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@@
1
1
  import { UseEnsAtomParameters } from "../query/options.js";
2
2
  import { ReadBatchAtomParameters } from "../atoms/generic.js";
3
3
  import { EnsAtomResult } from "../query/result.js";
4
- import { EnsReadRequest, GetRecordsError, GetRecordsParameters, GetRecordsResult, GetRecordsSelection, ReadBatchError, ReadBatchResult, ReadBatchSettledResult, RpcError } from "@ensforge/sdk";
4
+ import { EnsReadRequest, RpcError } from "@ensforge/sdk";
5
+ import { ReadBatchError, ReadBatchResult, ReadBatchSettledResult } from "@ensforge/sdk/batch";
6
+ import { GetRecordsError, GetRecordsParameters, GetRecordsResult, GetRecordsSelection } from "@ensforge/sdk/records";
5
7
  //#region src/hooks/generic.d.ts
6
8
  type ReadRequests = Readonly<Record<string, EnsReadRequest<unknown, unknown>>>;
7
9
  declare const useRecords: <const Selection extends GetRecordsSelection, Selected = GetRecordsResult<Selection>>(input: UseEnsAtomParameters<GetRecordsParameters<Selection>, GetRecordsResult<Selection>, GetRecordsError, Selected>) => EnsAtomResult<Selected, GetRecordsError>;
@@ -1 +1 @@
1
- {"version":3,"file":"generic.d.ts","names":[],"sources":["../../src/hooks/generic.ts"],"mappings":";;;;;KAwBK,eAAe,SAAS,eAAe;cAE/B,mBACL,kBAAkB,qBACxB,WAAW,iBAAiB,YAE5B,OAAO,qBACL,qBAAqB,YACrB,iBAAiB,YACjB,iBACA,cAED,cAAc,UAAU;cAEd,qBACL,iBAAiB,cACvB,WAAW,gBAAgB,WAE3B,OAAO,qBACL,wBAAwB,WACxB,gBAAgB,WAChB,eAAe,WACf,cAED,cAAc,UAAU,eAAe;cAE7B,4BACL,iBAAiB,cACvB,WAAW,uBAAuB,WAElC,OAAO,qBACL,wBAAwB,WACxB,uBAAuB,WACvB,UACA,cAED,cAAc,UAAU"}
1
+ {"version":3,"file":"generic.d.ts","names":[],"sources":["../../src/hooks/generic.ts"],"mappings":";;;;;;;KAqBK,eAAe,SAAS,eAAe;cAE/B,mBACL,kBAAkB,qBACxB,WAAW,iBAAiB,YAE5B,OAAO,qBACL,qBAAqB,YACrB,iBAAiB,YACjB,iBACA,cAED,cAAc,UAAU;cAEd,qBACL,iBAAiB,cACvB,WAAW,gBAAgB,WAE3B,OAAO,qBACL,wBAAwB,WACxB,gBAAgB,WAChB,eAAe,WACf,cAED,cAAc,UAAU,eAAe;cAE7B,4BACL,iBAAiB,cACvB,WAAW,uBAAuB,WAElC,OAAO,qBACL,wBAAwB,WACxB,uBAAuB,WACvB,UACA,cAED,cAAc,UAAU"}
@@ -1 +1 @@
1
- {"version":3,"file":"generic.js","names":[],"sources":["../../src/hooks/generic.ts"],"sourcesContent":["\"use client\";\n\nimport type {\n EnsReadRequest,\n GetRecordsError,\n GetRecordsParameters,\n GetRecordsResult,\n GetRecordsSelection,\n ReadBatchError,\n ReadBatchResult,\n ReadBatchSettledResult,\n RpcError,\n} from \"@ensforge/sdk\";\n\nimport {\n getRecordsAtom,\n readBatchAtom,\n readBatchSettledAtom,\n type ReadBatchAtomParameters,\n} from \"../atoms/generic.js\";\nimport type { UseEnsAtomParameters } from \"../query/options.js\";\nimport type { EnsAtomResult } from \"../query/result.js\";\nimport { useQueryAtom } from \"./use-query.js\";\n\ntype ReadRequests = Readonly<Record<string, EnsReadRequest<unknown, unknown>>>;\n\nexport const useRecords = <\n const Selection extends GetRecordsSelection,\n Selected = GetRecordsResult<Selection>,\n>(\n input: UseEnsAtomParameters<\n GetRecordsParameters<Selection>,\n GetRecordsResult<Selection>,\n GetRecordsError,\n Selected\n >,\n): EnsAtomResult<Selected, GetRecordsError> => useQueryAtom(getRecordsAtom, input);\n\nexport const useReadBatch = <\n const Requests extends ReadRequests,\n Selected = ReadBatchResult<Requests>,\n>(\n input: UseEnsAtomParameters<\n ReadBatchAtomParameters<Requests>,\n ReadBatchResult<Requests>,\n ReadBatchError<Requests>,\n Selected\n >,\n): EnsAtomResult<Selected, ReadBatchError<Requests>> => useQueryAtom(readBatchAtom, input);\n\nexport const useReadBatchSettled = <\n const Requests extends ReadRequests,\n Selected = ReadBatchSettledResult<Requests>,\n>(\n input: UseEnsAtomParameters<\n ReadBatchAtomParameters<Requests>,\n ReadBatchSettledResult<Requests>,\n RpcError,\n Selected\n >,\n): EnsAtomResult<Selected, RpcError> => useQueryAtom(readBatchSettledAtom, input);\n"],"mappings":";;;;;;AA0BA,MAAa,cAIX,UAM6C,aAAa,gBAAgB,KAAK;AAEjF,MAAa,gBAIX,UAMsD,aAAa,eAAe,KAAK;AAEzF,MAAa,uBAIX,UAMsC,aAAa,sBAAsB,KAAK"}
1
+ {"version":3,"file":"generic.js","names":[],"sources":["../../src/hooks/generic.ts"],"sourcesContent":["\"use client\";\n\nimport type { EnsReadRequest, RpcError } from \"@ensforge/sdk\";\nimport type { ReadBatchError, ReadBatchResult, ReadBatchSettledResult } from \"@ensforge/sdk/batch\";\nimport type {\n GetRecordsError,\n GetRecordsParameters,\n GetRecordsResult,\n GetRecordsSelection,\n} from \"@ensforge/sdk/records\";\n\nimport {\n getRecordsAtom,\n readBatchAtom,\n readBatchSettledAtom,\n type ReadBatchAtomParameters,\n} from \"../atoms/generic.js\";\nimport type { UseEnsAtomParameters } from \"../query/options.js\";\nimport type { EnsAtomResult } from \"../query/result.js\";\nimport { useQueryAtom } from \"./use-query.js\";\n\ntype ReadRequests = Readonly<Record<string, EnsReadRequest<unknown, unknown>>>;\n\nexport const useRecords = <\n const Selection extends GetRecordsSelection,\n Selected = GetRecordsResult<Selection>,\n>(\n input: UseEnsAtomParameters<\n GetRecordsParameters<Selection>,\n GetRecordsResult<Selection>,\n GetRecordsError,\n Selected\n >,\n): EnsAtomResult<Selected, GetRecordsError> => useQueryAtom(getRecordsAtom, input);\n\nexport const useReadBatch = <\n const Requests extends ReadRequests,\n Selected = ReadBatchResult<Requests>,\n>(\n input: UseEnsAtomParameters<\n ReadBatchAtomParameters<Requests>,\n ReadBatchResult<Requests>,\n ReadBatchError<Requests>,\n Selected\n >,\n): EnsAtomResult<Selected, ReadBatchError<Requests>> => useQueryAtom(readBatchAtom, input);\n\nexport const useReadBatchSettled = <\n const Requests extends ReadRequests,\n Selected = ReadBatchSettledResult<Requests>,\n>(\n input: UseEnsAtomParameters<\n ReadBatchAtomParameters<Requests>,\n ReadBatchSettledResult<Requests>,\n RpcError,\n Selected\n >,\n): EnsAtomResult<Selected, RpcError> => useQueryAtom(readBatchSettledAtom, input);\n"],"mappings":";;;;;;AAuBA,MAAa,cAIX,UAM6C,aAAa,gBAAgB,KAAK;AAEjF,MAAa,gBAIX,UAMsD,aAAa,eAAe,KAAK;AAEzF,MAAa,uBAIX,UAMsC,aAAa,sBAAsB,KAAK"}
@@ -646,7 +646,7 @@ declare const useMigrationTargetSuspense: <Mapped = {
646
646
  readonly receiver: `0x${string}`;
647
647
  }, import("@ensforge/core").GetCanonicalResourceError, Mapped>) => EnsSuspenseAtomResult<Mapped>;
648
648
  declare const useApproveMigration: (options?: EnsMutationOptions<import("@ensforge/core").ApproveMigrationParameters, import("@ensforge/core").CallExecutionResult, import("@ensforge/core").WriteError>) => EnsMutationResult<import("@ensforge/core").ApproveMigrationParameters, import("@ensforge/core").CallExecutionResult, import("@ensforge/core").WriteError>;
649
- declare const useMigrateName: (options?: EnsMutationOptions<import("@ensforge/core").MigrateNameParameters, import("@ensforge/core").MigrateNameResult, import("@ensforge/core").WriteError>) => EnsMutationResult<import("@ensforge/core").MigrateNameParameters, import("@ensforge/core").MigrateNameResult, import("@ensforge/core").WriteError>;
649
+ declare const useMigrateName: (options?: EnsMutationOptions<import("@ensforge/core").MigrateNameCallParameters & import("@ensforge/core").MigrateNameParameters, import("@ensforge/core").CallExecutionResult | import("@ensforge/core").MigrateNameResult, import("@ensforge/core").WriteError>) => EnsMutationResult<import("@ensforge/core").MigrateNameCallParameters & import("@ensforge/core").MigrateNameParameters, import("@ensforge/core").CallExecutionResult | import("@ensforge/core").MigrateNameResult, import("@ensforge/core").WriteError>;
650
650
  declare const useMigrateNames: (options?: EnsMutationOptions<import("@ensforge/core").MigrateNamesParameters, import("@ensforge/core").MigrationBatchProgress, import("@ensforge/core").WriteError>) => EnsMutationResult<import("@ensforge/core").MigrateNamesParameters, import("@ensforge/core").MigrationBatchProgress, import("@ensforge/core").WriteError>;
651
651
  //#endregion
652
652
  export { useApproveMigration, useMigrateName, useMigrateNames, useMigrationEligibility, useMigrationEligibilitySuspense, useMigrationPlan, useMigrationPlanSuspense, useMigrationStatus, useMigrationStatusSuspense, useMigrationTarget, useMigrationTargetSuspense };
@@ -1 +1 @@
1
- {"version":3,"file":"migration.d.ts","names":[],"sources":["../../src/hooks/migration.ts"],"mappings":";;;;;;;cAea,0BAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;UAA6C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4BAAA,2BAAA,YAAA,cAAA,iCAAA;cACpE,kCAA+B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;UAAqD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4BAAA,2BAAA,YAAA,sBAAA;cACpF,mBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;UAAsC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4BAAA,2BAAA,YAAA,cAAA,iCAAA;cACtD,2BAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;UAA8C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4BAAA,2BAAA,YAAA,sBAAA;cACtE,qBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;UAAwC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4BAAA,2BAAA,YAAA,cAAA,iCAAA;cAC1D,6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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4BAAA,2BAAA,YAAA,sBAAA;cACtE,qBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;UAAwC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4BAAA,2BAAA,YAAA,cAAA,iCAAA;cAC1D,6BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;UAAgD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4BAAA,2BAAA,YAAA,sBAAA;cAC1E,qBAAkB;;;;;;;;;;;;UAAwC;;;;;;;;;;;;4BAAA,2BAAA,YAAA,cAAA,iCAAA;cAC1D,6BAA0B;;;;;;;;;;;;UAAgD;;;;;;;;;;;;4BAAA,2BAAA,YAAA,sBAAA;cAE1E,sBAAmB,UAAnB,4CAAmB,qDAAA,8CAAA,gBAAA,2CAAA,qDAAA,8CAAA;cACnB,iBAAc,UAAd,4CAAc,qDAAA,gDAAA,+CAAA,4CAAA,gBAAA,2CAAA,qDAAA,gDAAA,+CAAA,4CAAA;cACd,kBAAe,UAAf,4CAAe,iDAAA,iDAAA,gBAAA,2CAAA,iDAAA,iDAAA"}
@@ -478,26 +478,26 @@ declare const useOwner: <Mapped = {
478
478
  readonly owner: `0x${string}` | null;
479
479
  readonly registrant: `0x${string}` | null;
480
480
  readonly protocol: "v1" | "v2";
481
- readonly ownershipLevel: "registry" | "registrar" | "nameWrapper";
481
+ readonly ownershipLevel: "registrar" | "registry" | "nameWrapper";
482
482
  } | null>(input: UseEnsAtomParameters<import("@ensforge/core").GetOwnerParameters, {
483
483
  readonly name: string & import("effect/Brand").Brand<"NormalizedName">;
484
484
  readonly owner: `0x${string}` | null;
485
485
  readonly registrant: `0x${string}` | null;
486
486
  readonly protocol: "v1" | "v2";
487
- readonly ownershipLevel: "registry" | "registrar" | "nameWrapper";
487
+ readonly ownershipLevel: "registrar" | "registry" | "nameWrapper";
488
488
  } | null, import("@ensforge/core").GetOwnerError, Mapped>) => EnsAtomResult<Mapped, import("@ensforge/core").GetOwnerError>;
489
489
  declare const useOwnerSuspense: <Mapped = {
490
490
  readonly name: string & import("effect/Brand").Brand<"NormalizedName">;
491
491
  readonly owner: `0x${string}` | null;
492
492
  readonly registrant: `0x${string}` | null;
493
493
  readonly protocol: "v1" | "v2";
494
- readonly ownershipLevel: "registry" | "registrar" | "nameWrapper";
494
+ readonly ownershipLevel: "registrar" | "registry" | "nameWrapper";
495
495
  } | null>(input: UseEnsSuspenseAtomParameters<import("@ensforge/core").GetOwnerParameters, {
496
496
  readonly name: string & import("effect/Brand").Brand<"NormalizedName">;
497
497
  readonly owner: `0x${string}` | null;
498
498
  readonly registrant: `0x${string}` | null;
499
499
  readonly protocol: "v1" | "v2";
500
- readonly ownershipLevel: "registry" | "registrar" | "nameWrapper";
500
+ readonly ownershipLevel: "registrar" | "registry" | "nameWrapper";
501
501
  } | null, import("@ensforge/core").GetOwnerError, Mapped>) => EnsSuspenseAtomResult<Mapped>;
502
502
  declare const useProtocol: <Mapped = "v1" | "v2">(input: UseEnsAtomParameters<import("@ensforge/core").GetCanonicalResourceParameters, "v1" | "v2", import("@ensforge/core").GetCanonicalResourceError, Mapped>) => EnsAtomResult<Mapped, import("@ensforge/core").GetCanonicalResourceError>;
503
503
  declare const useProtocolSuspense: <Mapped = "v1" | "v2">(input: UseEnsSuspenseAtomParameters<import("@ensforge/core").GetCanonicalResourceParameters, "v1" | "v2", import("@ensforge/core").GetCanonicalResourceError, Mapped>) => EnsSuspenseAtomResult<Mapped>;
@@ -283,7 +283,7 @@ declare const useSetData: (options?: EnsMutationOptions<import("@ensforge/core")
283
283
  declare const useSetInterface: (options?: EnsMutationOptions<import("@ensforge/core").SetInterfaceParameters, import("@ensforge/core").CallExecutionResult, import("@ensforge/core").WriteError>) => EnsMutationResult<import("@ensforge/core").SetInterfaceParameters, import("@ensforge/core").CallExecutionResult, import("@ensforge/core").WriteError>;
284
284
  declare const useSetName: (options?: EnsMutationOptions<import("@ensforge/core").SetNameParameters, import("@ensforge/core").CallExecutionResult, import("@ensforge/core").WriteError>) => EnsMutationResult<import("@ensforge/core").SetNameParameters, import("@ensforge/core").CallExecutionResult, import("@ensforge/core").WriteError>;
285
285
  declare const useSetPubkey: (options?: EnsMutationOptions<import("@ensforge/core").SetPubkeyParameters, import("@ensforge/core").CallExecutionResult, import("@ensforge/core").WriteError>) => EnsMutationResult<import("@ensforge/core").SetPubkeyParameters, import("@ensforge/core").CallExecutionResult, import("@ensforge/core").WriteError>;
286
- declare const useSetRecords: (options?: EnsMutationOptions<import("@ensforge/core").SetRecordsParameters, import("@ensforge/core").SetRecordsResult, import("@ensforge/core").WriteError>) => EnsMutationResult<import("@ensforge/core").SetRecordsParameters, import("@ensforge/core").SetRecordsResult, import("@ensforge/core").WriteError>;
286
+ declare const useSetRecords: (options?: EnsMutationOptions<import("@ensforge/core").SetRecordsParameters, import("@ensforge/core").CallExecutionResult | import("@ensforge/core").SetRecordsResult, import("@ensforge/core").WriteError>) => EnsMutationResult<import("@ensforge/core").SetRecordsParameters, import("@ensforge/core").CallExecutionResult | import("@ensforge/core").SetRecordsResult, import("@ensforge/core").WriteError>;
287
287
  declare const useSetText: (options?: EnsMutationOptions<import("@ensforge/core").SetTextParameters, import("@ensforge/core").CallExecutionResult, import("@ensforge/core").WriteError>) => EnsMutationResult<import("@ensforge/core").SetTextParameters, import("@ensforge/core").CallExecutionResult, import("@ensforge/core").WriteError>;
288
288
  declare const useSetTexts: (options?: EnsMutationOptions<import("@ensforge/core").SetTextsParameters, import("@ensforge/core").CallExecutionResult, import("@ensforge/core").WriteError>) => EnsMutationResult<import("@ensforge/core").SetTextsParameters, import("@ensforge/core").CallExecutionResult, import("@ensforge/core").WriteError>;
289
289
  //#endregion
@@ -1 +1 @@
1
- {"version":3,"file":"records.d.ts","names":[],"sources":["../../src/hooks/records.ts"],"mappings":";;;;;;;cAkCa,SAAM;;;;;;;;;;;;UAA4B;;;;;;;;;;;;4BA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