@ensforge/react 0.0.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +10 -10
- package/dist/atoms/batch.d.ts +6 -6
- package/dist/atoms/batch.d.ts.map +1 -1
- package/dist/atoms/capabilities.d.ts +20 -20
- package/dist/atoms/capabilities.d.ts.map +1 -1
- package/dist/atoms/dns.d.ts +7 -7
- package/dist/atoms/dns.d.ts.map +1 -1
- package/dist/atoms/events.d.ts +29 -29
- package/dist/atoms/events.d.ts.map +1 -1
- package/dist/atoms/generic.d.ts +5 -4
- package/dist/atoms/generic.d.ts.map +1 -1
- package/dist/atoms/generic.js.map +1 -1
- package/dist/atoms/migration.d.ts +5 -5
- package/dist/atoms/migration.d.ts.map +1 -1
- package/dist/atoms/name.d.ts +23 -23
- package/dist/atoms/name.d.ts.map +1 -1
- package/dist/atoms/ownership.d.ts +2 -2
- package/dist/atoms/ownership.d.ts.map +1 -1
- package/dist/atoms/query.d.ts +6 -11
- package/dist/atoms/query.d.ts.map +1 -1
- package/dist/atoms/query.js +14 -11
- package/dist/atoms/query.js.map +1 -1
- package/dist/atoms/records.d.ts +12 -12
- package/dist/atoms/records.d.ts.map +1 -1
- package/dist/atoms/registration.d.ts +8 -8
- package/dist/atoms/registration.d.ts.map +1 -1
- package/dist/atoms/resolution.d.ts +8 -8
- package/dist/atoms/resolution.d.ts.map +1 -1
- package/dist/atoms/reverse.d.ts +2 -2
- package/dist/atoms/reverse.d.ts.map +1 -1
- package/dist/atoms/stream.d.ts +2 -2
- package/dist/atoms/stream.d.ts.map +1 -1
- package/dist/atoms/stream.js +6 -4
- package/dist/atoms/stream.js.map +1 -1
- package/dist/atoms/wrapping.d.ts +3 -3
- package/dist/atoms/wrapping.d.ts.map +1 -1
- package/dist/atoms.d.ts +3 -2
- package/dist/atoms.js +3 -2
- package/dist/cache/invalidation.d.ts +5 -5
- package/dist/cache/invalidation.d.ts.map +1 -1
- package/dist/cache/invalidation.js +3 -3
- package/dist/cache/invalidation.js.map +1 -1
- package/dist/cache/prefetch.d.ts +5 -4
- package/dist/cache/prefetch.d.ts.map +1 -1
- package/dist/cache/prefetch.js +3 -3
- package/dist/cache/prefetch.js.map +1 -1
- package/dist/cache/registry.d.ts +3 -3
- package/dist/cache/registry.d.ts.map +1 -1
- package/dist/cache/registry.js +2 -2
- package/dist/cache/registry.js.map +1 -1
- package/dist/cache.d.ts +4 -4
- package/dist/cache.js +4 -4
- package/dist/hooks/batch.d.ts +13 -13
- package/dist/hooks/batch.d.ts.map +1 -1
- package/dist/hooks/capabilities.d.ts +107 -107
- package/dist/hooks/capabilities.d.ts.map +1 -1
- package/dist/hooks/dns.d.ts +39 -39
- package/dist/hooks/dns.d.ts.map +1 -1
- package/dist/hooks/events.d.ts +98 -98
- package/dist/hooks/events.d.ts.map +1 -1
- package/dist/hooks/generic.d.ts +5 -5
- package/dist/hooks/generic.d.ts.map +1 -1
- package/dist/hooks/generic.js.map +1 -1
- package/dist/hooks/index.d.ts +4 -4
- package/dist/hooks/migration.d.ts +27 -27
- package/dist/hooks/migration.d.ts.map +1 -1
- package/dist/hooks/name.d.ts +73 -73
- package/dist/hooks/name.d.ts.map +1 -1
- package/dist/hooks/ownership.d.ts +5 -5
- package/dist/hooks/ownership.d.ts.map +1 -1
- package/dist/hooks/records.d.ts +69 -69
- package/dist/hooks/records.d.ts.map +1 -1
- package/dist/hooks/registration.d.ts +45 -45
- package/dist/hooks/registration.d.ts.map +1 -1
- package/dist/hooks/resolution.d.ts +33 -33
- package/dist/hooks/resolution.d.ts.map +1 -1
- package/dist/hooks/reverse.d.ts +9 -9
- package/dist/hooks/reverse.d.ts.map +1 -1
- package/dist/hooks/use-cache.d.ts +6 -6
- package/dist/hooks/use-cache.d.ts.map +1 -1
- package/dist/hooks/use-cache.js +4 -4
- package/dist/hooks/use-cache.js.map +1 -1
- package/dist/hooks/use-mutation.js +16 -31
- package/dist/hooks/use-mutation.js.map +1 -1
- package/dist/hooks/use-query.d.ts +6 -6
- package/dist/hooks/use-query.d.ts.map +1 -1
- package/dist/hooks/use-query.js +24 -52
- package/dist/hooks/use-query.js.map +1 -1
- package/dist/hooks/use-suspense-query.d.ts +9 -8
- package/dist/hooks/use-suspense-query.d.ts.map +1 -1
- package/dist/hooks/use-suspense-query.js +5 -5
- package/dist/hooks/use-suspense-query.js.map +1 -1
- package/dist/hooks/wrapping.d.ts +7 -7
- package/dist/hooks/wrapping.d.ts.map +1 -1
- package/dist/index.d.ts +11 -11
- package/dist/index.js +7 -7
- package/dist/mutation/options.d.ts +9 -7
- package/dist/mutation/options.d.ts.map +1 -1
- package/dist/mutation/result.d.ts +8 -10
- package/dist/mutation/result.d.ts.map +1 -1
- package/dist/provider/context.d.ts +4 -2
- package/dist/provider/context.d.ts.map +1 -1
- package/dist/provider/context.js.map +1 -1
- package/dist/query/options.d.ts +27 -24
- package/dist/query/options.d.ts.map +1 -1
- package/dist/query/options.js +26 -12
- package/dist/query/options.js.map +1 -1
- package/dist/query/result.d.ts +7 -13
- package/dist/query/result.d.ts.map +1 -1
- package/dist/query/result.js.map +1 -1
- package/package.json +2 -2
package/dist/hooks/records.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { UseEnsAtomParameters } from "../query/options.js";
|
|
2
|
+
import { EnsSuspenseAtomResult, UseEnsSuspenseAtomParameters } from "./use-suspense-query.js";
|
|
3
|
+
import { EnsAtomResult } from "../query/result.js";
|
|
4
4
|
import { EnsMutationOptions } from "../mutation/options.js";
|
|
5
5
|
import { EnsMutationResult } from "../mutation/result.js";
|
|
6
6
|
import "../index.js";
|
|
7
7
|
//#region src/hooks/records.d.ts
|
|
8
|
-
declare const useAbi: <
|
|
8
|
+
declare const useAbi: <Mapped = {
|
|
9
9
|
readonly contentType: "json" | "zlib-json" | "cbor";
|
|
10
10
|
readonly value: import("viem").Abi;
|
|
11
11
|
readonly raw: `0x${string}` & import("effect/Brand").Brand<"AbiRecordData">;
|
|
@@ -17,7 +17,7 @@ declare const useAbi: <Selected = {
|
|
|
17
17
|
readonly contentType: null;
|
|
18
18
|
readonly value: null;
|
|
19
19
|
readonly raw: null;
|
|
20
|
-
}>(input:
|
|
20
|
+
}>(input: UseEnsAtomParameters<import("@ensforge/core").GetAbiParameters, {
|
|
21
21
|
readonly contentType: "json" | "zlib-json" | "cbor";
|
|
22
22
|
readonly value: import("viem").Abi;
|
|
23
23
|
readonly raw: `0x${string}` & import("effect/Brand").Brand<"AbiRecordData">;
|
|
@@ -29,8 +29,8 @@ declare const useAbi: <Selected = {
|
|
|
29
29
|
readonly contentType: null;
|
|
30
30
|
readonly value: null;
|
|
31
31
|
readonly raw: null;
|
|
32
|
-
},
|
|
33
|
-
declare const useAbiSuspense: <
|
|
32
|
+
}, import("@ensforge/core").GetAbiError, Mapped>) => EnsAtomResult<Mapped, import("@ensforge/core").GetAbiError>;
|
|
33
|
+
declare const useAbiSuspense: <Mapped = {
|
|
34
34
|
readonly contentType: "json" | "zlib-json" | "cbor";
|
|
35
35
|
readonly value: import("viem").Abi;
|
|
36
36
|
readonly raw: `0x${string}` & import("effect/Brand").Brand<"AbiRecordData">;
|
|
@@ -42,7 +42,7 @@ declare const useAbiSuspense: <Selected = {
|
|
|
42
42
|
readonly contentType: null;
|
|
43
43
|
readonly value: null;
|
|
44
44
|
readonly raw: null;
|
|
45
|
-
}>(input:
|
|
45
|
+
}>(input: UseEnsSuspenseAtomParameters<import("@ensforge/core").GetAbiParameters, {
|
|
46
46
|
readonly contentType: "json" | "zlib-json" | "cbor";
|
|
47
47
|
readonly value: import("viem").Abi;
|
|
48
48
|
readonly raw: `0x${string}` & import("effect/Brand").Brand<"AbiRecordData">;
|
|
@@ -54,8 +54,8 @@ declare const useAbiSuspense: <Selected = {
|
|
|
54
54
|
readonly contentType: null;
|
|
55
55
|
readonly value: null;
|
|
56
56
|
readonly raw: null;
|
|
57
|
-
},
|
|
58
|
-
declare const useAddress: <
|
|
57
|
+
}, import("@ensforge/core").GetAbiError, Mapped>) => EnsSuspenseAtomResult<Mapped>;
|
|
58
|
+
declare const useAddress: <Mapped = {
|
|
59
59
|
readonly coinType: bigint & import("effect/Brand").Brand<"CoinType">;
|
|
60
60
|
readonly address: string;
|
|
61
61
|
readonly raw: `0x${string}` & import("effect/Brand").Brand<"AddressRecordData">;
|
|
@@ -63,7 +63,7 @@ declare const useAddress: <Selected = {
|
|
|
63
63
|
readonly coinType: bigint & import("effect/Brand").Brand<"CoinType">;
|
|
64
64
|
readonly address: null;
|
|
65
65
|
readonly raw: null;
|
|
66
|
-
}>(input:
|
|
66
|
+
}>(input: UseEnsAtomParameters<import("@ensforge/core").GetAddressParameters, {
|
|
67
67
|
readonly coinType: bigint & import("effect/Brand").Brand<"CoinType">;
|
|
68
68
|
readonly address: string;
|
|
69
69
|
readonly raw: `0x${string}` & import("effect/Brand").Brand<"AddressRecordData">;
|
|
@@ -71,8 +71,8 @@ declare const useAddress: <Selected = {
|
|
|
71
71
|
readonly coinType: bigint & import("effect/Brand").Brand<"CoinType">;
|
|
72
72
|
readonly address: null;
|
|
73
73
|
readonly raw: null;
|
|
74
|
-
},
|
|
75
|
-
declare const useAddressSuspense: <
|
|
74
|
+
}, import("@ensforge/core").GetAddressError, Mapped>) => EnsAtomResult<Mapped, import("@ensforge/core").GetAddressError>;
|
|
75
|
+
declare const useAddressSuspense: <Mapped = {
|
|
76
76
|
readonly coinType: bigint & import("effect/Brand").Brand<"CoinType">;
|
|
77
77
|
readonly address: string;
|
|
78
78
|
readonly raw: `0x${string}` & import("effect/Brand").Brand<"AddressRecordData">;
|
|
@@ -80,7 +80,7 @@ declare const useAddressSuspense: <Selected = {
|
|
|
80
80
|
readonly coinType: bigint & import("effect/Brand").Brand<"CoinType">;
|
|
81
81
|
readonly address: null;
|
|
82
82
|
readonly raw: null;
|
|
83
|
-
}>(input:
|
|
83
|
+
}>(input: UseEnsSuspenseAtomParameters<import("@ensforge/core").GetAddressParameters, {
|
|
84
84
|
readonly coinType: bigint & import("effect/Brand").Brand<"CoinType">;
|
|
85
85
|
readonly address: string;
|
|
86
86
|
readonly raw: `0x${string}` & import("effect/Brand").Brand<"AddressRecordData">;
|
|
@@ -88,8 +88,8 @@ declare const useAddressSuspense: <Selected = {
|
|
|
88
88
|
readonly coinType: bigint & import("effect/Brand").Brand<"CoinType">;
|
|
89
89
|
readonly address: null;
|
|
90
90
|
readonly raw: null;
|
|
91
|
-
},
|
|
92
|
-
declare const useAddresses: <
|
|
91
|
+
}, import("@ensforge/core").GetAddressError, Mapped>) => EnsSuspenseAtomResult<Mapped>;
|
|
92
|
+
declare const useAddresses: <Mapped = readonly ({
|
|
93
93
|
readonly coinType: bigint & import("effect/Brand").Brand<"CoinType">;
|
|
94
94
|
readonly address: string;
|
|
95
95
|
readonly raw: `0x${string}` & import("effect/Brand").Brand<"AddressRecordData">;
|
|
@@ -97,7 +97,7 @@ declare const useAddresses: <Selected = readonly ({
|
|
|
97
97
|
readonly coinType: bigint & import("effect/Brand").Brand<"CoinType">;
|
|
98
98
|
readonly address: null;
|
|
99
99
|
readonly raw: null;
|
|
100
|
-
})[]>(input:
|
|
100
|
+
})[]>(input: UseEnsAtomParameters<import("@ensforge/core").GetAddressesParameters, readonly ({
|
|
101
101
|
readonly coinType: bigint & import("effect/Brand").Brand<"CoinType">;
|
|
102
102
|
readonly address: string;
|
|
103
103
|
readonly raw: `0x${string}` & import("effect/Brand").Brand<"AddressRecordData">;
|
|
@@ -105,8 +105,8 @@ declare const useAddresses: <Selected = readonly ({
|
|
|
105
105
|
readonly coinType: bigint & import("effect/Brand").Brand<"CoinType">;
|
|
106
106
|
readonly address: null;
|
|
107
107
|
readonly raw: null;
|
|
108
|
-
})[],
|
|
109
|
-
declare const useAddressesSuspense: <
|
|
108
|
+
})[], import("@ensforge/core").GetAddressError, Mapped>) => EnsAtomResult<Mapped, import("@ensforge/core").GetAddressError>;
|
|
109
|
+
declare const useAddressesSuspense: <Mapped = readonly ({
|
|
110
110
|
readonly coinType: bigint & import("effect/Brand").Brand<"CoinType">;
|
|
111
111
|
readonly address: string;
|
|
112
112
|
readonly raw: `0x${string}` & import("effect/Brand").Brand<"AddressRecordData">;
|
|
@@ -114,7 +114,7 @@ declare const useAddressesSuspense: <Selected = readonly ({
|
|
|
114
114
|
readonly coinType: bigint & import("effect/Brand").Brand<"CoinType">;
|
|
115
115
|
readonly address: null;
|
|
116
116
|
readonly raw: null;
|
|
117
|
-
})[]>(input:
|
|
117
|
+
})[]>(input: UseEnsSuspenseAtomParameters<import("@ensforge/core").GetAddressesParameters, readonly ({
|
|
118
118
|
readonly coinType: bigint & import("effect/Brand").Brand<"CoinType">;
|
|
119
119
|
readonly address: string;
|
|
120
120
|
readonly raw: `0x${string}` & import("effect/Brand").Brand<"AddressRecordData">;
|
|
@@ -122,8 +122,8 @@ declare const useAddressesSuspense: <Selected = readonly ({
|
|
|
122
122
|
readonly coinType: bigint & import("effect/Brand").Brand<"CoinType">;
|
|
123
123
|
readonly address: null;
|
|
124
124
|
readonly raw: null;
|
|
125
|
-
})[],
|
|
126
|
-
declare const useAvatar: <
|
|
125
|
+
})[], import("@ensforge/core").GetAddressError, Mapped>) => EnsSuspenseAtomResult<Mapped>;
|
|
126
|
+
declare const useAvatar: <Mapped = {
|
|
127
127
|
readonly status: "resolved";
|
|
128
128
|
readonly record: string;
|
|
129
129
|
readonly uri: string;
|
|
@@ -131,7 +131,7 @@ declare const useAvatar: <Selected = {
|
|
|
131
131
|
readonly status: "unsupported-chain";
|
|
132
132
|
readonly record: string;
|
|
133
133
|
readonly chainId: number;
|
|
134
|
-
} | null>(input:
|
|
134
|
+
} | null>(input: UseEnsAtomParameters<import("@ensforge/core").GetAvatarParameters, {
|
|
135
135
|
readonly status: "resolved";
|
|
136
136
|
readonly record: string;
|
|
137
137
|
readonly uri: string;
|
|
@@ -139,8 +139,8 @@ declare const useAvatar: <Selected = {
|
|
|
139
139
|
readonly status: "unsupported-chain";
|
|
140
140
|
readonly record: string;
|
|
141
141
|
readonly chainId: number;
|
|
142
|
-
} | null,
|
|
143
|
-
declare const useAvatarSuspense: <
|
|
142
|
+
} | null, import("@ensforge/core").GetAvatarError, Mapped>) => EnsAtomResult<Mapped, import("@ensforge/core").GetAvatarError>;
|
|
143
|
+
declare const useAvatarSuspense: <Mapped = {
|
|
144
144
|
readonly status: "resolved";
|
|
145
145
|
readonly record: string;
|
|
146
146
|
readonly uri: string;
|
|
@@ -148,7 +148,7 @@ declare const useAvatarSuspense: <Selected = {
|
|
|
148
148
|
readonly status: "unsupported-chain";
|
|
149
149
|
readonly record: string;
|
|
150
150
|
readonly chainId: number;
|
|
151
|
-
} | null>(input:
|
|
151
|
+
} | null>(input: UseEnsSuspenseAtomParameters<import("@ensforge/core").GetAvatarParameters, {
|
|
152
152
|
readonly status: "resolved";
|
|
153
153
|
readonly record: string;
|
|
154
154
|
readonly uri: string;
|
|
@@ -156,8 +156,8 @@ declare const useAvatarSuspense: <Selected = {
|
|
|
156
156
|
readonly status: "unsupported-chain";
|
|
157
157
|
readonly record: string;
|
|
158
158
|
readonly chainId: number;
|
|
159
|
-
} | null,
|
|
160
|
-
declare const useContentHash: <
|
|
159
|
+
} | null, import("@ensforge/core").GetAvatarError, Mapped>) => EnsSuspenseAtomResult<Mapped>;
|
|
160
|
+
declare const useContentHash: <Mapped = {
|
|
161
161
|
readonly protocol: "ipfs" | "ipns" | "swarm" | "onion" | "onion3" | "skynet" | "arweave" | "adnl";
|
|
162
162
|
readonly value: string;
|
|
163
163
|
readonly raw: `0x${string}` & import("effect/Brand").Brand<"ContentHash">;
|
|
@@ -165,7 +165,7 @@ declare const useContentHash: <Selected = {
|
|
|
165
165
|
readonly protocol: null;
|
|
166
166
|
readonly value: null;
|
|
167
167
|
readonly raw: null;
|
|
168
|
-
}>(input:
|
|
168
|
+
}>(input: UseEnsAtomParameters<import("@ensforge/core").GetContentHashParameters, {
|
|
169
169
|
readonly protocol: "ipfs" | "ipns" | "swarm" | "onion" | "onion3" | "skynet" | "arweave" | "adnl";
|
|
170
170
|
readonly value: string;
|
|
171
171
|
readonly raw: `0x${string}` & import("effect/Brand").Brand<"ContentHash">;
|
|
@@ -173,8 +173,8 @@ declare const useContentHash: <Selected = {
|
|
|
173
173
|
readonly protocol: null;
|
|
174
174
|
readonly value: null;
|
|
175
175
|
readonly raw: null;
|
|
176
|
-
},
|
|
177
|
-
declare const useContentHashSuspense: <
|
|
176
|
+
}, import("@ensforge/core").GetContentHashError, Mapped>) => EnsAtomResult<Mapped, import("@ensforge/core").GetContentHashError>;
|
|
177
|
+
declare const useContentHashSuspense: <Mapped = {
|
|
178
178
|
readonly protocol: "ipfs" | "ipns" | "swarm" | "onion" | "onion3" | "skynet" | "arweave" | "adnl";
|
|
179
179
|
readonly value: string;
|
|
180
180
|
readonly raw: `0x${string}` & import("effect/Brand").Brand<"ContentHash">;
|
|
@@ -182,7 +182,7 @@ declare const useContentHashSuspense: <Selected = {
|
|
|
182
182
|
readonly protocol: null;
|
|
183
183
|
readonly value: null;
|
|
184
184
|
readonly raw: null;
|
|
185
|
-
}>(input:
|
|
185
|
+
}>(input: UseEnsSuspenseAtomParameters<import("@ensforge/core").GetContentHashParameters, {
|
|
186
186
|
readonly protocol: "ipfs" | "ipns" | "swarm" | "onion" | "onion3" | "skynet" | "arweave" | "adnl";
|
|
187
187
|
readonly value: string;
|
|
188
188
|
readonly raw: `0x${string}` & import("effect/Brand").Brand<"ContentHash">;
|
|
@@ -190,87 +190,87 @@ declare const useContentHashSuspense: <Selected = {
|
|
|
190
190
|
readonly protocol: null;
|
|
191
191
|
readonly value: null;
|
|
192
192
|
readonly raw: null;
|
|
193
|
-
},
|
|
194
|
-
declare const useData: <
|
|
193
|
+
}, import("@ensforge/core").GetContentHashError, Mapped>) => EnsSuspenseAtomResult<Mapped>;
|
|
194
|
+
declare const useData: <Mapped = {
|
|
195
195
|
readonly key: string;
|
|
196
196
|
readonly value: `0x${string}` | null;
|
|
197
|
-
}>(input:
|
|
197
|
+
}>(input: UseEnsAtomParameters<import("@ensforge/core").GetDataParameters, {
|
|
198
198
|
readonly key: string;
|
|
199
199
|
readonly value: `0x${string}` | null;
|
|
200
|
-
},
|
|
201
|
-
declare const useDataSuspense: <
|
|
200
|
+
}, import("@ensforge/core").GetDataError, Mapped>) => EnsAtomResult<Mapped, import("@ensforge/core").GetDataError>;
|
|
201
|
+
declare const useDataSuspense: <Mapped = {
|
|
202
202
|
readonly key: string;
|
|
203
203
|
readonly value: `0x${string}` | null;
|
|
204
|
-
}>(input:
|
|
204
|
+
}>(input: UseEnsSuspenseAtomParameters<import("@ensforge/core").GetDataParameters, {
|
|
205
205
|
readonly key: string;
|
|
206
206
|
readonly value: `0x${string}` | null;
|
|
207
|
-
},
|
|
208
|
-
declare const useInterface: <
|
|
207
|
+
}, import("@ensforge/core").GetDataError, Mapped>) => EnsSuspenseAtomResult<Mapped>;
|
|
208
|
+
declare const useInterface: <Mapped = {
|
|
209
209
|
readonly interfaceId: `0x${string}` & import("effect/Brand").Brand<"InterfaceId">;
|
|
210
210
|
readonly implementer: `0x${string}` | null;
|
|
211
|
-
}>(input:
|
|
211
|
+
}>(input: UseEnsAtomParameters<import("@ensforge/core").GetInterfaceParameters, {
|
|
212
212
|
readonly interfaceId: `0x${string}` & import("effect/Brand").Brand<"InterfaceId">;
|
|
213
213
|
readonly implementer: `0x${string}` | null;
|
|
214
|
-
},
|
|
215
|
-
declare const useInterfaceSuspense: <
|
|
214
|
+
}, import("@ensforge/core").GetInterfaceError, Mapped>) => EnsAtomResult<Mapped, import("@ensforge/core").GetInterfaceError>;
|
|
215
|
+
declare const useInterfaceSuspense: <Mapped = {
|
|
216
216
|
readonly interfaceId: `0x${string}` & import("effect/Brand").Brand<"InterfaceId">;
|
|
217
217
|
readonly implementer: `0x${string}` | null;
|
|
218
|
-
}>(input:
|
|
218
|
+
}>(input: UseEnsSuspenseAtomParameters<import("@ensforge/core").GetInterfaceParameters, {
|
|
219
219
|
readonly interfaceId: `0x${string}` & import("effect/Brand").Brand<"InterfaceId">;
|
|
220
220
|
readonly implementer: `0x${string}` | null;
|
|
221
|
-
},
|
|
222
|
-
declare const useNameRecord: <
|
|
221
|
+
}, import("@ensforge/core").GetInterfaceError, Mapped>) => EnsSuspenseAtomResult<Mapped>;
|
|
222
|
+
declare const useNameRecord: <Mapped = {
|
|
223
223
|
readonly name: string | null;
|
|
224
|
-
}>(input:
|
|
224
|
+
}>(input: UseEnsAtomParameters<import("@ensforge/core").GetNameParameters, {
|
|
225
225
|
readonly name: string | null;
|
|
226
|
-
},
|
|
227
|
-
declare const useNameRecordSuspense: <
|
|
226
|
+
}, import("@ensforge/core").GetNameError, Mapped>) => EnsAtomResult<Mapped, import("@ensforge/core").GetNameError>;
|
|
227
|
+
declare const useNameRecordSuspense: <Mapped = {
|
|
228
228
|
readonly name: string | null;
|
|
229
|
-
}>(input:
|
|
229
|
+
}>(input: UseEnsSuspenseAtomParameters<import("@ensforge/core").GetNameParameters, {
|
|
230
230
|
readonly name: string | null;
|
|
231
|
-
},
|
|
232
|
-
declare const usePubkey: <
|
|
231
|
+
}, import("@ensforge/core").GetNameError, Mapped>) => EnsSuspenseAtomResult<Mapped>;
|
|
232
|
+
declare const usePubkey: <Mapped = {
|
|
233
233
|
readonly x: `0x${string}`;
|
|
234
234
|
readonly y: `0x${string}`;
|
|
235
|
-
} | null>(input:
|
|
235
|
+
} | null>(input: UseEnsAtomParameters<import("@ensforge/core").GetPubkeyParameters, {
|
|
236
236
|
readonly x: `0x${string}`;
|
|
237
237
|
readonly y: `0x${string}`;
|
|
238
|
-
} | null,
|
|
239
|
-
declare const usePubkeySuspense: <
|
|
238
|
+
} | null, import("@ensforge/core").GetPubkeyError, Mapped>) => EnsAtomResult<Mapped, import("@ensforge/core").GetPubkeyError>;
|
|
239
|
+
declare const usePubkeySuspense: <Mapped = {
|
|
240
240
|
readonly x: `0x${string}`;
|
|
241
241
|
readonly y: `0x${string}`;
|
|
242
|
-
} | null>(input:
|
|
242
|
+
} | null>(input: UseEnsSuspenseAtomParameters<import("@ensforge/core").GetPubkeyParameters, {
|
|
243
243
|
readonly x: `0x${string}`;
|
|
244
244
|
readonly y: `0x${string}`;
|
|
245
|
-
} | null,
|
|
246
|
-
declare const useText: <
|
|
245
|
+
} | null, import("@ensforge/core").GetPubkeyError, Mapped>) => EnsSuspenseAtomResult<Mapped>;
|
|
246
|
+
declare const useText: <Mapped = {
|
|
247
247
|
readonly key: string;
|
|
248
248
|
readonly value: string | null;
|
|
249
|
-
}>(input:
|
|
249
|
+
}>(input: UseEnsAtomParameters<import("@ensforge/core").GetTextParameters, {
|
|
250
250
|
readonly key: string;
|
|
251
251
|
readonly value: string | null;
|
|
252
|
-
},
|
|
253
|
-
declare const useTextSuspense: <
|
|
252
|
+
}, import("@ensforge/core").GetTextError, Mapped>) => EnsAtomResult<Mapped, import("@ensforge/core").GetTextError>;
|
|
253
|
+
declare const useTextSuspense: <Mapped = {
|
|
254
254
|
readonly key: string;
|
|
255
255
|
readonly value: string | null;
|
|
256
|
-
}>(input:
|
|
256
|
+
}>(input: UseEnsSuspenseAtomParameters<import("@ensforge/core").GetTextParameters, {
|
|
257
257
|
readonly key: string;
|
|
258
258
|
readonly value: string | null;
|
|
259
|
-
},
|
|
260
|
-
declare const useTexts: <
|
|
259
|
+
}, import("@ensforge/core").GetTextError, Mapped>) => EnsSuspenseAtomResult<Mapped>;
|
|
260
|
+
declare const useTexts: <Mapped = readonly {
|
|
261
261
|
readonly key: string;
|
|
262
262
|
readonly value: string | null;
|
|
263
|
-
}[]>(input:
|
|
263
|
+
}[]>(input: UseEnsAtomParameters<import("@ensforge/core").GetTextsParameters, readonly {
|
|
264
264
|
readonly key: string;
|
|
265
265
|
readonly value: string | null;
|
|
266
|
-
}[],
|
|
267
|
-
declare const useTextsSuspense: <
|
|
266
|
+
}[], import("@ensforge/core").GetTextError, Mapped>) => EnsAtomResult<Mapped, import("@ensforge/core").GetTextError>;
|
|
267
|
+
declare const useTextsSuspense: <Mapped = readonly {
|
|
268
268
|
readonly key: string;
|
|
269
269
|
readonly value: string | null;
|
|
270
|
-
}[]>(input:
|
|
270
|
+
}[]>(input: UseEnsSuspenseAtomParameters<import("@ensforge/core").GetTextsParameters, readonly {
|
|
271
271
|
readonly key: string;
|
|
272
272
|
readonly value: string | null;
|
|
273
|
-
}[],
|
|
273
|
+
}[], import("@ensforge/core").GetTextError, Mapped>) => EnsSuspenseAtomResult<Mapped>;
|
|
274
274
|
declare const useClearAvatar: (options?: EnsMutationOptions<import("@ensforge/core").ClearAvatarParameters, import("@ensforge/core").CallExecutionResult, import("@ensforge/core").WriteError>) => EnsMutationResult<import("@ensforge/core").ClearAvatarParameters, import("@ensforge/core").CallExecutionResult, import("@ensforge/core").WriteError>;
|
|
275
275
|
declare const useClearRecords: (options?: EnsMutationOptions<import("@ensforge/core").ClearRecordsParameters, import("@ensforge/core").CallExecutionResult, import("@ensforge/core").WriteError>) => EnsMutationResult<import("@ensforge/core").ClearRecordsParameters, import("@ensforge/core").CallExecutionResult, import("@ensforge/core").WriteError>;
|
|
276
276
|
declare const useSetAbi: (options?: EnsMutationOptions<import("@ensforge/core").SetAbiParameters, import("@ensforge/core").CallExecutionResult, import("@ensforge/core").WriteError>) => EnsMutationResult<import("@ensforge/core").SetAbiParameters, import("@ensforge/core").CallExecutionResult, import("@ensforge/core").WriteError>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"records.d.ts","names":[],"sources":["../../src/hooks/records.ts"],"mappings":";;;;;;;cAkCa,SAAM;;;;;;;;;;;;UAA4B;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"records.d.ts","names":[],"sources":["../../src/hooks/records.ts"],"mappings":"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"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { UseEnsAtomParameters } from "../query/options.js";
|
|
2
|
+
import { EnsSuspenseAtomResult, UseEnsSuspenseAtomParameters } from "./use-suspense-query.js";
|
|
3
|
+
import { EnsAtomResult } from "../query/result.js";
|
|
4
4
|
import { EnsMutationOptions } from "../mutation/options.js";
|
|
5
5
|
import { EnsMutationResult } from "../mutation/result.js";
|
|
6
6
|
import "../index.js";
|
|
7
7
|
//#region src/hooks/registration.d.ts
|
|
8
|
-
declare const useCommitmentStatus: <
|
|
8
|
+
declare const useCommitmentStatus: <Mapped = {
|
|
9
9
|
readonly status: "not-found";
|
|
10
10
|
readonly protocol: "v1" | "v2";
|
|
11
11
|
} | {
|
|
@@ -28,7 +28,7 @@ declare const useCommitmentStatus: <Selected = {
|
|
|
28
28
|
readonly submittedAt: bigint;
|
|
29
29
|
readonly readyAt: bigint;
|
|
30
30
|
readonly expiresAt: bigint;
|
|
31
|
-
}>(input:
|
|
31
|
+
}>(input: UseEnsAtomParameters<import("@ensforge/core").GetCommitmentStatusParameters, {
|
|
32
32
|
readonly status: "not-found";
|
|
33
33
|
readonly protocol: "v1" | "v2";
|
|
34
34
|
} | {
|
|
@@ -51,8 +51,8 @@ declare const useCommitmentStatus: <Selected = {
|
|
|
51
51
|
readonly submittedAt: bigint;
|
|
52
52
|
readonly readyAt: bigint;
|
|
53
53
|
readonly expiresAt: bigint;
|
|
54
|
-
},
|
|
55
|
-
declare const useCommitmentStatusSuspense: <
|
|
54
|
+
}, import("@ensforge/core").GetCommitmentStatusError, Mapped>) => EnsAtomResult<Mapped, import("@ensforge/core").GetCommitmentStatusError>;
|
|
55
|
+
declare const useCommitmentStatusSuspense: <Mapped = {
|
|
56
56
|
readonly status: "not-found";
|
|
57
57
|
readonly protocol: "v1" | "v2";
|
|
58
58
|
} | {
|
|
@@ -75,7 +75,7 @@ declare const useCommitmentStatusSuspense: <Selected = {
|
|
|
75
75
|
readonly submittedAt: bigint;
|
|
76
76
|
readonly readyAt: bigint;
|
|
77
77
|
readonly expiresAt: bigint;
|
|
78
|
-
}>(input:
|
|
78
|
+
}>(input: UseEnsSuspenseAtomParameters<import("@ensforge/core").GetCommitmentStatusParameters, {
|
|
79
79
|
readonly status: "not-found";
|
|
80
80
|
readonly protocol: "v1" | "v2";
|
|
81
81
|
} | {
|
|
@@ -98,8 +98,8 @@ declare const useCommitmentStatusSuspense: <Selected = {
|
|
|
98
98
|
readonly submittedAt: bigint;
|
|
99
99
|
readonly readyAt: bigint;
|
|
100
100
|
readonly expiresAt: bigint;
|
|
101
|
-
},
|
|
102
|
-
declare const useRegistrationParameters: <
|
|
101
|
+
}, import("@ensforge/core").GetCommitmentStatusError, Mapped>) => EnsSuspenseAtomResult<Mapped>;
|
|
102
|
+
declare const useRegistrationParameters: <Mapped = {
|
|
103
103
|
readonly protocol: "v1";
|
|
104
104
|
readonly registrar: `0x${string}`;
|
|
105
105
|
readonly priceOracle: `0x${string}`;
|
|
@@ -122,7 +122,7 @@ declare const useRegistrationParameters: <Selected = {
|
|
|
122
122
|
readonly kind: "erc20";
|
|
123
123
|
readonly enumerable: false;
|
|
124
124
|
};
|
|
125
|
-
}>(input:
|
|
125
|
+
}>(input: UseEnsAtomParameters<import("@ensforge/core").BlockParameters, {
|
|
126
126
|
readonly protocol: "v1";
|
|
127
127
|
readonly registrar: `0x${string}`;
|
|
128
128
|
readonly priceOracle: `0x${string}`;
|
|
@@ -145,8 +145,8 @@ declare const useRegistrationParameters: <Selected = {
|
|
|
145
145
|
readonly kind: "erc20";
|
|
146
146
|
readonly enumerable: false;
|
|
147
147
|
};
|
|
148
|
-
},
|
|
149
|
-
declare const useRegistrationParametersSuspense: <
|
|
148
|
+
}, import("@ensforge/core").GetCommitmentStatusError, Mapped>) => EnsAtomResult<Mapped, import("@ensforge/core").GetCommitmentStatusError>;
|
|
149
|
+
declare const useRegistrationParametersSuspense: <Mapped = {
|
|
150
150
|
readonly protocol: "v1";
|
|
151
151
|
readonly registrar: `0x${string}`;
|
|
152
152
|
readonly priceOracle: `0x${string}`;
|
|
@@ -169,7 +169,7 @@ declare const useRegistrationParametersSuspense: <Selected = {
|
|
|
169
169
|
readonly kind: "erc20";
|
|
170
170
|
readonly enumerable: false;
|
|
171
171
|
};
|
|
172
|
-
}>(input:
|
|
172
|
+
}>(input: UseEnsSuspenseAtomParameters<import("@ensforge/core").BlockParameters, {
|
|
173
173
|
readonly protocol: "v1";
|
|
174
174
|
readonly registrar: `0x${string}`;
|
|
175
175
|
readonly priceOracle: `0x${string}`;
|
|
@@ -192,8 +192,8 @@ declare const useRegistrationParametersSuspense: <Selected = {
|
|
|
192
192
|
readonly kind: "erc20";
|
|
193
193
|
readonly enumerable: false;
|
|
194
194
|
};
|
|
195
|
-
},
|
|
196
|
-
declare const useRegistrationPlan: <
|
|
195
|
+
}, import("@ensforge/core").GetCommitmentStatusError, Mapped>) => EnsSuspenseAtomResult<Mapped>;
|
|
196
|
+
declare const useRegistrationPlan: <Mapped = {
|
|
197
197
|
readonly status: "unavailable";
|
|
198
198
|
readonly name: string & import("effect/Brand").Brand<"NormalizedName">;
|
|
199
199
|
} | {
|
|
@@ -294,7 +294,7 @@ declare const useRegistrationPlan: <Selected = {
|
|
|
294
294
|
readonly readyAt: bigint;
|
|
295
295
|
readonly expiresAt: bigint;
|
|
296
296
|
};
|
|
297
|
-
}>(input:
|
|
297
|
+
}>(input: UseEnsAtomParameters<import("@ensforge/core").GetRegistrationPlanParameters, {
|
|
298
298
|
readonly status: "unavailable";
|
|
299
299
|
readonly name: string & import("effect/Brand").Brand<"NormalizedName">;
|
|
300
300
|
} | {
|
|
@@ -395,8 +395,8 @@ declare const useRegistrationPlan: <Selected = {
|
|
|
395
395
|
readonly readyAt: bigint;
|
|
396
396
|
readonly expiresAt: bigint;
|
|
397
397
|
};
|
|
398
|
-
},
|
|
399
|
-
declare const useRegistrationPlanSuspense: <
|
|
398
|
+
}, import("@ensforge/core").GetCommitmentStatusError, Mapped>) => EnsAtomResult<Mapped, import("@ensforge/core").GetCommitmentStatusError>;
|
|
399
|
+
declare const useRegistrationPlanSuspense: <Mapped = {
|
|
400
400
|
readonly status: "unavailable";
|
|
401
401
|
readonly name: string & import("effect/Brand").Brand<"NormalizedName">;
|
|
402
402
|
} | {
|
|
@@ -497,7 +497,7 @@ declare const useRegistrationPlanSuspense: <Selected = {
|
|
|
497
497
|
readonly readyAt: bigint;
|
|
498
498
|
readonly expiresAt: bigint;
|
|
499
499
|
};
|
|
500
|
-
}>(input:
|
|
500
|
+
}>(input: UseEnsSuspenseAtomParameters<import("@ensforge/core").GetRegistrationPlanParameters, {
|
|
501
501
|
readonly status: "unavailable";
|
|
502
502
|
readonly name: string & import("effect/Brand").Brand<"NormalizedName">;
|
|
503
503
|
} | {
|
|
@@ -598,8 +598,8 @@ declare const useRegistrationPlanSuspense: <Selected = {
|
|
|
598
598
|
readonly readyAt: bigint;
|
|
599
599
|
readonly expiresAt: bigint;
|
|
600
600
|
};
|
|
601
|
-
},
|
|
602
|
-
declare const useRegistrationPrice: <
|
|
601
|
+
}, import("@ensforge/core").GetCommitmentStatusError, Mapped>) => EnsSuspenseAtomResult<Mapped>;
|
|
602
|
+
declare const useRegistrationPrice: <Mapped = {
|
|
603
603
|
readonly status: "available";
|
|
604
604
|
readonly name: string & import("effect/Brand").Brand<"NormalizedName">;
|
|
605
605
|
readonly protocol: "v1" | "v2";
|
|
@@ -632,7 +632,7 @@ declare const useRegistrationPrice: <Selected = {
|
|
|
632
632
|
readonly name: string & import("effect/Brand").Brand<"NormalizedName">;
|
|
633
633
|
readonly protocol: "v1" | "v2";
|
|
634
634
|
readonly paymentToken: `0x${string}`;
|
|
635
|
-
}>(input:
|
|
635
|
+
}>(input: UseEnsAtomParameters<import("@ensforge/core").GetRegistrationPriceParameters, {
|
|
636
636
|
readonly status: "available";
|
|
637
637
|
readonly name: string & import("effect/Brand").Brand<"NormalizedName">;
|
|
638
638
|
readonly protocol: "v1" | "v2";
|
|
@@ -665,8 +665,8 @@ declare const useRegistrationPrice: <Selected = {
|
|
|
665
665
|
readonly name: string & import("effect/Brand").Brand<"NormalizedName">;
|
|
666
666
|
readonly protocol: "v1" | "v2";
|
|
667
667
|
readonly paymentToken: `0x${string}`;
|
|
668
|
-
},
|
|
669
|
-
declare const useRegistrationPriceSuspense: <
|
|
668
|
+
}, import("@ensforge/core").GetCommitmentStatusError, Mapped>) => EnsAtomResult<Mapped, import("@ensforge/core").GetCommitmentStatusError>;
|
|
669
|
+
declare const useRegistrationPriceSuspense: <Mapped = {
|
|
670
670
|
readonly status: "available";
|
|
671
671
|
readonly name: string & import("effect/Brand").Brand<"NormalizedName">;
|
|
672
672
|
readonly protocol: "v1" | "v2";
|
|
@@ -699,7 +699,7 @@ declare const useRegistrationPriceSuspense: <Selected = {
|
|
|
699
699
|
readonly name: string & import("effect/Brand").Brand<"NormalizedName">;
|
|
700
700
|
readonly protocol: "v1" | "v2";
|
|
701
701
|
readonly paymentToken: `0x${string}`;
|
|
702
|
-
}>(input:
|
|
702
|
+
}>(input: UseEnsSuspenseAtomParameters<import("@ensforge/core").GetRegistrationPriceParameters, {
|
|
703
703
|
readonly status: "available";
|
|
704
704
|
readonly name: string & import("effect/Brand").Brand<"NormalizedName">;
|
|
705
705
|
readonly protocol: "v1" | "v2";
|
|
@@ -732,8 +732,8 @@ declare const useRegistrationPriceSuspense: <Selected = {
|
|
|
732
732
|
readonly name: string & import("effect/Brand").Brand<"NormalizedName">;
|
|
733
733
|
readonly protocol: "v1" | "v2";
|
|
734
734
|
readonly paymentToken: `0x${string}`;
|
|
735
|
-
},
|
|
736
|
-
declare const useRenewalPrice: <
|
|
735
|
+
}, import("@ensforge/core").GetCommitmentStatusError, Mapped>) => EnsSuspenseAtomResult<Mapped>;
|
|
736
|
+
declare const useRenewalPrice: <Mapped = {
|
|
737
737
|
readonly status: "payment-token-required";
|
|
738
738
|
readonly name: string & import("effect/Brand").Brand<"NormalizedName">;
|
|
739
739
|
readonly protocol: "v1" | "v2";
|
|
@@ -765,7 +765,7 @@ declare const useRenewalPrice: <Selected = {
|
|
|
765
765
|
readonly name: string & import("effect/Brand").Brand<"NormalizedName">;
|
|
766
766
|
readonly protocol: "v1" | "v2";
|
|
767
767
|
readonly reason: "NAME_NOT_RENEWABLE";
|
|
768
|
-
}>(input:
|
|
768
|
+
}>(input: UseEnsAtomParameters<import("@ensforge/core").GetRegistrationPriceParameters, {
|
|
769
769
|
readonly status: "payment-token-required";
|
|
770
770
|
readonly name: string & import("effect/Brand").Brand<"NormalizedName">;
|
|
771
771
|
readonly protocol: "v1" | "v2";
|
|
@@ -797,8 +797,8 @@ declare const useRenewalPrice: <Selected = {
|
|
|
797
797
|
readonly name: string & import("effect/Brand").Brand<"NormalizedName">;
|
|
798
798
|
readonly protocol: "v1" | "v2";
|
|
799
799
|
readonly reason: "NAME_NOT_RENEWABLE";
|
|
800
|
-
},
|
|
801
|
-
declare const useRenewalPriceSuspense: <
|
|
800
|
+
}, import("@ensforge/core").GetCommitmentStatusError, Mapped>) => EnsAtomResult<Mapped, import("@ensforge/core").GetCommitmentStatusError>;
|
|
801
|
+
declare const useRenewalPriceSuspense: <Mapped = {
|
|
802
802
|
readonly status: "payment-token-required";
|
|
803
803
|
readonly name: string & import("effect/Brand").Brand<"NormalizedName">;
|
|
804
804
|
readonly protocol: "v1" | "v2";
|
|
@@ -830,7 +830,7 @@ declare const useRenewalPriceSuspense: <Selected = {
|
|
|
830
830
|
readonly name: string & import("effect/Brand").Brand<"NormalizedName">;
|
|
831
831
|
readonly protocol: "v1" | "v2";
|
|
832
832
|
readonly reason: "NAME_NOT_RENEWABLE";
|
|
833
|
-
}>(input:
|
|
833
|
+
}>(input: UseEnsSuspenseAtomParameters<import("@ensforge/core").GetRegistrationPriceParameters, {
|
|
834
834
|
readonly status: "payment-token-required";
|
|
835
835
|
readonly name: string & import("effect/Brand").Brand<"NormalizedName">;
|
|
836
836
|
readonly protocol: "v1" | "v2";
|
|
@@ -862,8 +862,8 @@ declare const useRenewalPriceSuspense: <Selected = {
|
|
|
862
862
|
readonly name: string & import("effect/Brand").Brand<"NormalizedName">;
|
|
863
863
|
readonly protocol: "v1" | "v2";
|
|
864
864
|
readonly reason: "NAME_NOT_RENEWABLE";
|
|
865
|
-
},
|
|
866
|
-
declare const useIsPaymentTokenSupported: <
|
|
865
|
+
}, import("@ensforge/core").GetCommitmentStatusError, Mapped>) => EnsSuspenseAtomResult<Mapped>;
|
|
866
|
+
declare const useIsPaymentTokenSupported: <Mapped = {
|
|
867
867
|
readonly protocol: "v1";
|
|
868
868
|
readonly supported: false;
|
|
869
869
|
readonly reason: "NATIVE_PAYMENT_ONLY";
|
|
@@ -878,7 +878,7 @@ declare const useIsPaymentTokenSupported: <Selected = {
|
|
|
878
878
|
readonly token: `0x${string}`;
|
|
879
879
|
readonly symbol: string;
|
|
880
880
|
readonly decimals: number;
|
|
881
|
-
}>(input:
|
|
881
|
+
}>(input: UseEnsAtomParameters<import("@ensforge/core").IsPaymentTokenSupportedParameters, {
|
|
882
882
|
readonly protocol: "v1";
|
|
883
883
|
readonly supported: false;
|
|
884
884
|
readonly reason: "NATIVE_PAYMENT_ONLY";
|
|
@@ -893,8 +893,8 @@ declare const useIsPaymentTokenSupported: <Selected = {
|
|
|
893
893
|
readonly token: `0x${string}`;
|
|
894
894
|
readonly symbol: string;
|
|
895
895
|
readonly decimals: number;
|
|
896
|
-
},
|
|
897
|
-
declare const useIsPaymentTokenSupportedSuspense: <
|
|
896
|
+
}, import("@ensforge/core").GetCommitmentStatusError, Mapped>) => EnsAtomResult<Mapped, import("@ensforge/core").GetCommitmentStatusError>;
|
|
897
|
+
declare const useIsPaymentTokenSupportedSuspense: <Mapped = {
|
|
898
898
|
readonly protocol: "v1";
|
|
899
899
|
readonly supported: false;
|
|
900
900
|
readonly reason: "NATIVE_PAYMENT_ONLY";
|
|
@@ -909,7 +909,7 @@ declare const useIsPaymentTokenSupportedSuspense: <Selected = {
|
|
|
909
909
|
readonly token: `0x${string}`;
|
|
910
910
|
readonly symbol: string;
|
|
911
911
|
readonly decimals: number;
|
|
912
|
-
}>(input:
|
|
912
|
+
}>(input: UseEnsSuspenseAtomParameters<import("@ensforge/core").IsPaymentTokenSupportedParameters, {
|
|
913
913
|
readonly protocol: "v1";
|
|
914
914
|
readonly supported: false;
|
|
915
915
|
readonly reason: "NATIVE_PAYMENT_ONLY";
|
|
@@ -924,29 +924,29 @@ declare const useIsPaymentTokenSupportedSuspense: <Selected = {
|
|
|
924
924
|
readonly token: `0x${string}`;
|
|
925
925
|
readonly symbol: string;
|
|
926
926
|
readonly decimals: number;
|
|
927
|
-
},
|
|
928
|
-
declare const useRegistrationCommitment: <
|
|
927
|
+
}, import("@ensforge/core").GetCommitmentStatusError, Mapped>) => EnsSuspenseAtomResult<Mapped>;
|
|
928
|
+
declare const useRegistrationCommitment: <Mapped = {
|
|
929
929
|
readonly name: string & import("effect/Brand").Brand<"NormalizedName">;
|
|
930
930
|
readonly protocol: "v1" | "v2";
|
|
931
931
|
readonly registrar: `0x${string}`;
|
|
932
932
|
readonly commitment: `0x${string}`;
|
|
933
|
-
}>(input:
|
|
933
|
+
}>(input: UseEnsAtomParameters<import("@ensforge/core").MakeRegistrationCommitmentParameters, {
|
|
934
934
|
readonly name: string & import("effect/Brand").Brand<"NormalizedName">;
|
|
935
935
|
readonly protocol: "v1" | "v2";
|
|
936
936
|
readonly registrar: `0x${string}`;
|
|
937
937
|
readonly commitment: `0x${string}`;
|
|
938
|
-
},
|
|
939
|
-
declare const useRegistrationCommitmentSuspense: <
|
|
938
|
+
}, import("@ensforge/core").GetCommitmentStatusError, Mapped>) => EnsAtomResult<Mapped, import("@ensforge/core").GetCommitmentStatusError>;
|
|
939
|
+
declare const useRegistrationCommitmentSuspense: <Mapped = {
|
|
940
940
|
readonly name: string & import("effect/Brand").Brand<"NormalizedName">;
|
|
941
941
|
readonly protocol: "v1" | "v2";
|
|
942
942
|
readonly registrar: `0x${string}`;
|
|
943
943
|
readonly commitment: `0x${string}`;
|
|
944
|
-
}>(input:
|
|
944
|
+
}>(input: UseEnsSuspenseAtomParameters<import("@ensforge/core").MakeRegistrationCommitmentParameters, {
|
|
945
945
|
readonly name: string & import("effect/Brand").Brand<"NormalizedName">;
|
|
946
946
|
readonly protocol: "v1" | "v2";
|
|
947
947
|
readonly registrar: `0x${string}`;
|
|
948
948
|
readonly commitment: `0x${string}`;
|
|
949
|
-
},
|
|
949
|
+
}, import("@ensforge/core").GetCommitmentStatusError, Mapped>) => EnsSuspenseAtomResult<Mapped>;
|
|
950
950
|
declare const useApprovePaymentToken: (options?: EnsMutationOptions<import("@ensforge/core").ApprovePaymentTokenParameters, import("@ensforge/core").CallExecutionResult, import("@ensforge/core").WriteError>) => EnsMutationResult<import("@ensforge/core").ApprovePaymentTokenParameters, import("@ensforge/core").CallExecutionResult, import("@ensforge/core").WriteError>;
|
|
951
951
|
declare const useApproveRenewalPayment: (options?: EnsMutationOptions<import("@ensforge/core").ApproveRenewalPaymentParameters, import("@ensforge/core").CallExecutionResult, import("@ensforge/core").WriteError>) => EnsMutationResult<import("@ensforge/core").ApproveRenewalPaymentParameters, import("@ensforge/core").CallExecutionResult, import("@ensforge/core").WriteError>;
|
|
952
952
|
declare const useCommitName: (options?: EnsMutationOptions<import("@ensforge/core").CommitNameParameters, import("@ensforge/core").CallExecutionResult, import("@ensforge/core").WriteError>) => EnsMutationResult<import("@ensforge/core").CommitNameParameters, import("@ensforge/core").CallExecutionResult, import("@ensforge/core").WriteError>;
|