@ensforge/react 0.0.0 → 0.1.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.
- package/dist/atoms/capabilities.d.ts +5 -5
- package/dist/atoms/events.d.ts +18 -18
- package/dist/atoms/name.d.ts +2 -2
- package/dist/hooks/capabilities.d.ts +20 -20
- package/dist/hooks/events.d.ts +60 -60
- package/dist/hooks/name.d.ts +8 -8
- package/package.json +2 -2
|
@@ -24,7 +24,7 @@ declare const getNameCapabilitiesAtom: EnsQueryAtomFactory<import("@ensforge/cor
|
|
|
24
24
|
readonly inherited: boolean;
|
|
25
25
|
readonly extended: boolean;
|
|
26
26
|
readonly permissioned: boolean;
|
|
27
|
-
readonly authorization: "unknown" | "none" | "
|
|
27
|
+
readonly authorization: "unknown" | "none" | "role" | "owner-delegate";
|
|
28
28
|
readonly profiles: {
|
|
29
29
|
readonly address: boolean;
|
|
30
30
|
readonly text: boolean;
|
|
@@ -117,7 +117,7 @@ declare const getOperatorApprovalAtom: EnsQueryAtomFactory<import("@ensforge/cor
|
|
|
117
117
|
readonly owner: `0x${string}`;
|
|
118
118
|
readonly operator: `0x${string}`;
|
|
119
119
|
readonly targets: readonly {
|
|
120
|
-
readonly kind: "
|
|
120
|
+
readonly kind: "registry" | "registrar" | "resolver" | "wrapper";
|
|
121
121
|
readonly address: `0x${string}`;
|
|
122
122
|
readonly supported: boolean;
|
|
123
123
|
readonly approved: boolean;
|
|
@@ -273,7 +273,7 @@ declare const getRequiredAuthorizationAtom: EnsQueryAtomFactory<import("@ensforg
|
|
|
273
273
|
} | {
|
|
274
274
|
readonly available: true;
|
|
275
275
|
readonly protocol: "v1" | "v2";
|
|
276
|
-
readonly kind: "
|
|
276
|
+
readonly kind: "registry" | "registrar" | "resolver" | "name-wrapper" | "wrapper-registry";
|
|
277
277
|
readonly address: `0x${string}`;
|
|
278
278
|
readonly operation: {
|
|
279
279
|
readonly type: "address";
|
|
@@ -362,7 +362,7 @@ declare const getResolverCapabilitiesAtom: EnsQueryAtomFactory<import("@ensforge
|
|
|
362
362
|
readonly inherited: boolean;
|
|
363
363
|
readonly extended: boolean;
|
|
364
364
|
readonly permissioned: boolean;
|
|
365
|
-
readonly authorization: "unknown" | "none" | "
|
|
365
|
+
readonly authorization: "unknown" | "none" | "role" | "owner-delegate";
|
|
366
366
|
readonly profiles: {
|
|
367
367
|
readonly address: boolean;
|
|
368
368
|
readonly text: boolean;
|
|
@@ -451,7 +451,7 @@ declare const getWriteTargetAtom: EnsQueryAtomFactory<import("@ensforge/core").G
|
|
|
451
451
|
} | {
|
|
452
452
|
readonly available: true;
|
|
453
453
|
readonly protocol: "v1" | "v2";
|
|
454
|
-
readonly kind: "
|
|
454
|
+
readonly kind: "registry" | "registrar" | "resolver" | "name-wrapper" | "wrapper-registry";
|
|
455
455
|
readonly address: `0x${string}`;
|
|
456
456
|
readonly operation: {
|
|
457
457
|
readonly type: "address";
|
package/dist/atoms/events.d.ts
CHANGED
|
@@ -9,22 +9,22 @@ declare const getEnsEventsAtom: EnsQueryAtomFactory<import("@ensforge/core").Get
|
|
|
9
9
|
readonly data: `0x${string}`;
|
|
10
10
|
readonly args: unknown;
|
|
11
11
|
};
|
|
12
|
-
readonly kind: "
|
|
13
|
-
readonly contract: `0x${string}`;
|
|
12
|
+
readonly kind: "records" | "manager" | "resolver" | "commitment" | "registration" | "renewal" | "ownership" | "subname" | "migration" | "other";
|
|
14
13
|
readonly transactionIndex: number | null;
|
|
15
14
|
readonly logIndex: number | null;
|
|
16
|
-
readonly contractKind: "
|
|
15
|
+
readonly contractKind: "registry" | "registrar" | "resolver" | "name-wrapper" | "migration-controller";
|
|
17
16
|
readonly eventName: string;
|
|
17
|
+
readonly contract: `0x${string}`;
|
|
18
18
|
readonly removed: boolean;
|
|
19
19
|
readonly name?: (string & import("effect/Brand").Brand<"NormalizedName">) | undefined;
|
|
20
20
|
readonly to?: `0x${string}` | undefined;
|
|
21
21
|
readonly from?: `0x${string}` | undefined;
|
|
22
|
-
readonly resolver?: `0x${string}` | undefined;
|
|
23
22
|
readonly owner?: `0x${string}` | undefined;
|
|
24
|
-
readonly
|
|
25
|
-
readonly label?: string | undefined;
|
|
23
|
+
readonly resolver?: `0x${string}` | undefined;
|
|
26
24
|
readonly tokenId?: bigint | undefined;
|
|
27
25
|
readonly commitment?: `0x${string}` | undefined;
|
|
26
|
+
readonly label?: string | undefined;
|
|
27
|
+
readonly node?: `0x${string}` | undefined;
|
|
28
28
|
}[], import("@ensforge/core").GetEnsEventsError>;
|
|
29
29
|
declare const getNameHistoryAtom: EnsQueryAtomFactory<import("@ensforge/core").GetNameHistoryParameters, {
|
|
30
30
|
readonly name: string & import("effect/Brand").Brand<"NormalizedName">;
|
|
@@ -37,22 +37,22 @@ declare const getNameHistoryAtom: EnsQueryAtomFactory<import("@ensforge/core").G
|
|
|
37
37
|
readonly data: `0x${string}`;
|
|
38
38
|
readonly args: unknown;
|
|
39
39
|
};
|
|
40
|
-
readonly kind: "
|
|
41
|
-
readonly contract: `0x${string}`;
|
|
40
|
+
readonly kind: "records" | "manager" | "resolver" | "commitment" | "registration" | "renewal" | "ownership" | "subname" | "migration" | "other";
|
|
42
41
|
readonly transactionIndex: number | null;
|
|
43
42
|
readonly logIndex: number | null;
|
|
44
|
-
readonly contractKind: "
|
|
43
|
+
readonly contractKind: "registry" | "registrar" | "resolver" | "name-wrapper" | "migration-controller";
|
|
45
44
|
readonly eventName: string;
|
|
45
|
+
readonly contract: `0x${string}`;
|
|
46
46
|
readonly removed: boolean;
|
|
47
47
|
readonly name?: (string & import("effect/Brand").Brand<"NormalizedName">) | undefined;
|
|
48
48
|
readonly to?: `0x${string}` | undefined;
|
|
49
49
|
readonly from?: `0x${string}` | undefined;
|
|
50
|
-
readonly resolver?: `0x${string}` | undefined;
|
|
51
50
|
readonly owner?: `0x${string}` | undefined;
|
|
52
|
-
readonly
|
|
53
|
-
readonly label?: string | undefined;
|
|
51
|
+
readonly resolver?: `0x${string}` | undefined;
|
|
54
52
|
readonly tokenId?: bigint | undefined;
|
|
55
53
|
readonly commitment?: `0x${string}` | undefined;
|
|
54
|
+
readonly label?: string | undefined;
|
|
55
|
+
readonly node?: `0x${string}` | undefined;
|
|
56
56
|
}[];
|
|
57
57
|
}, import("@ensforge/core").GetEnsEventsError>;
|
|
58
58
|
declare const watchEnsEventsAtom: EnsQueryAtomFactory<import("@ensforge/core").WatchEnsEventsParameters, {
|
|
@@ -64,22 +64,22 @@ declare const watchEnsEventsAtom: EnsQueryAtomFactory<import("@ensforge/core").W
|
|
|
64
64
|
readonly data: `0x${string}`;
|
|
65
65
|
readonly args: unknown;
|
|
66
66
|
};
|
|
67
|
-
readonly kind: "
|
|
68
|
-
readonly contract: `0x${string}`;
|
|
67
|
+
readonly kind: "records" | "manager" | "resolver" | "commitment" | "registration" | "renewal" | "ownership" | "subname" | "migration" | "other";
|
|
69
68
|
readonly transactionIndex: number | null;
|
|
70
69
|
readonly logIndex: number | null;
|
|
71
|
-
readonly contractKind: "
|
|
70
|
+
readonly contractKind: "registry" | "registrar" | "resolver" | "name-wrapper" | "migration-controller";
|
|
72
71
|
readonly eventName: string;
|
|
72
|
+
readonly contract: `0x${string}`;
|
|
73
73
|
readonly removed: boolean;
|
|
74
74
|
readonly name?: (string & import("effect/Brand").Brand<"NormalizedName">) | undefined;
|
|
75
75
|
readonly to?: `0x${string}` | undefined;
|
|
76
76
|
readonly from?: `0x${string}` | undefined;
|
|
77
|
-
readonly resolver?: `0x${string}` | undefined;
|
|
78
77
|
readonly owner?: `0x${string}` | undefined;
|
|
79
|
-
readonly
|
|
80
|
-
readonly label?: string | undefined;
|
|
78
|
+
readonly resolver?: `0x${string}` | undefined;
|
|
81
79
|
readonly tokenId?: bigint | undefined;
|
|
82
80
|
readonly commitment?: `0x${string}` | undefined;
|
|
81
|
+
readonly label?: string | undefined;
|
|
82
|
+
readonly node?: `0x${string}` | undefined;
|
|
83
83
|
}, import("@ensforge/core").GetEnsEventsError | import("effect/Cause").NoSuchElementError>;
|
|
84
84
|
//#endregion
|
|
85
85
|
export { getEnsEventsAtom, getNameHistoryAtom, watchEnsEventsAtom };
|
package/dist/atoms/name.d.ts
CHANGED
|
@@ -7,7 +7,7 @@ declare const getExpiryAtom: EnsQueryAtomFactory<import("@ensforge/core").GetExp
|
|
|
7
7
|
readonly gracePeriod: bigint;
|
|
8
8
|
readonly gracePeriodEnd: bigint;
|
|
9
9
|
readonly protocol: "v1" | "v2";
|
|
10
|
-
readonly source: "
|
|
10
|
+
readonly source: "baseRegistrar" | "nameWrapper" | "registry";
|
|
11
11
|
} | null, import("@ensforge/core").GetExpiryError>;
|
|
12
12
|
declare const getManagerAtom: EnsQueryAtomFactory<import("@ensforge/core").GetCanonicalResourceParameters, `0x${string}` | null, import("@ensforge/core").GetCanonicalResourceError>;
|
|
13
13
|
declare const getNameStateAtom: EnsQueryAtomFactory<import("@ensforge/core").GetCanonicalResourceParameters, {
|
|
@@ -125,7 +125,7 @@ declare const getOwnerAtom: EnsQueryAtomFactory<import("@ensforge/core").GetOwne
|
|
|
125
125
|
readonly owner: `0x${string}` | null;
|
|
126
126
|
readonly registrant: `0x${string}` | null;
|
|
127
127
|
readonly protocol: "v1" | "v2";
|
|
128
|
-
readonly ownershipLevel: "
|
|
128
|
+
readonly ownershipLevel: "nameWrapper" | "registry" | "registrar";
|
|
129
129
|
} | null, import("@ensforge/core").GetOwnerError>;
|
|
130
130
|
declare const getProtocolAtom: EnsQueryAtomFactory<import("@ensforge/core").GetCanonicalResourceParameters, "v1" | "v2", import("@ensforge/core").GetCanonicalResourceError>;
|
|
131
131
|
declare const getRegistrantAtom: EnsQueryAtomFactory<import("@ensforge/core").GetCanonicalResourceParameters, `0x${string}` | null, import("@ensforge/core").GetCanonicalResourceError>;
|
|
@@ -27,7 +27,7 @@ declare const useNameCapabilities: <Selected = {
|
|
|
27
27
|
readonly inherited: boolean;
|
|
28
28
|
readonly extended: boolean;
|
|
29
29
|
readonly permissioned: boolean;
|
|
30
|
-
readonly authorization: "unknown" | "none" | "
|
|
30
|
+
readonly authorization: "unknown" | "none" | "role" | "owner-delegate";
|
|
31
31
|
readonly profiles: {
|
|
32
32
|
readonly address: boolean;
|
|
33
33
|
readonly text: boolean;
|
|
@@ -139,7 +139,7 @@ declare const useNameCapabilities: <Selected = {
|
|
|
139
139
|
readonly inherited: boolean;
|
|
140
140
|
readonly extended: boolean;
|
|
141
141
|
readonly permissioned: boolean;
|
|
142
|
-
readonly authorization: "unknown" | "none" | "
|
|
142
|
+
readonly authorization: "unknown" | "none" | "role" | "owner-delegate";
|
|
143
143
|
readonly profiles: {
|
|
144
144
|
readonly address: boolean;
|
|
145
145
|
readonly text: boolean;
|
|
@@ -252,7 +252,7 @@ declare const useNameCapabilitiesSuspense: <Selected = {
|
|
|
252
252
|
readonly inherited: boolean;
|
|
253
253
|
readonly extended: boolean;
|
|
254
254
|
readonly permissioned: boolean;
|
|
255
|
-
readonly authorization: "unknown" | "none" | "
|
|
255
|
+
readonly authorization: "unknown" | "none" | "role" | "owner-delegate";
|
|
256
256
|
readonly profiles: {
|
|
257
257
|
readonly address: boolean;
|
|
258
258
|
readonly text: boolean;
|
|
@@ -364,7 +364,7 @@ declare const useNameCapabilitiesSuspense: <Selected = {
|
|
|
364
364
|
readonly inherited: boolean;
|
|
365
365
|
readonly extended: boolean;
|
|
366
366
|
readonly permissioned: boolean;
|
|
367
|
-
readonly authorization: "unknown" | "none" | "
|
|
367
|
+
readonly authorization: "unknown" | "none" | "role" | "owner-delegate";
|
|
368
368
|
readonly profiles: {
|
|
369
369
|
readonly address: boolean;
|
|
370
370
|
readonly text: boolean;
|
|
@@ -457,7 +457,7 @@ declare const useOperatorApproval: <Selected = {
|
|
|
457
457
|
readonly owner: `0x${string}`;
|
|
458
458
|
readonly operator: `0x${string}`;
|
|
459
459
|
readonly targets: readonly {
|
|
460
|
-
readonly kind: "
|
|
460
|
+
readonly kind: "registry" | "registrar" | "resolver" | "wrapper";
|
|
461
461
|
readonly address: `0x${string}`;
|
|
462
462
|
readonly supported: boolean;
|
|
463
463
|
readonly approved: boolean;
|
|
@@ -466,7 +466,7 @@ declare const useOperatorApproval: <Selected = {
|
|
|
466
466
|
readonly owner: `0x${string}`;
|
|
467
467
|
readonly operator: `0x${string}`;
|
|
468
468
|
readonly targets: readonly {
|
|
469
|
-
readonly kind: "
|
|
469
|
+
readonly kind: "registry" | "registrar" | "resolver" | "wrapper";
|
|
470
470
|
readonly address: `0x${string}`;
|
|
471
471
|
readonly supported: boolean;
|
|
472
472
|
readonly approved: boolean;
|
|
@@ -476,7 +476,7 @@ declare const useOperatorApprovalSuspense: <Selected = {
|
|
|
476
476
|
readonly owner: `0x${string}`;
|
|
477
477
|
readonly operator: `0x${string}`;
|
|
478
478
|
readonly targets: readonly {
|
|
479
|
-
readonly kind: "
|
|
479
|
+
readonly kind: "registry" | "registrar" | "resolver" | "wrapper";
|
|
480
480
|
readonly address: `0x${string}`;
|
|
481
481
|
readonly supported: boolean;
|
|
482
482
|
readonly approved: boolean;
|
|
@@ -485,7 +485,7 @@ declare const useOperatorApprovalSuspense: <Selected = {
|
|
|
485
485
|
readonly owner: `0x${string}`;
|
|
486
486
|
readonly operator: `0x${string}`;
|
|
487
487
|
readonly targets: readonly {
|
|
488
|
-
readonly kind: "
|
|
488
|
+
readonly kind: "registry" | "registrar" | "resolver" | "wrapper";
|
|
489
489
|
readonly address: `0x${string}`;
|
|
490
490
|
readonly supported: boolean;
|
|
491
491
|
readonly approved: boolean;
|
|
@@ -932,7 +932,7 @@ declare const useRequiredAuthorization: <Selected = {
|
|
|
932
932
|
} | {
|
|
933
933
|
readonly available: true;
|
|
934
934
|
readonly protocol: "v1" | "v2";
|
|
935
|
-
readonly kind: "
|
|
935
|
+
readonly kind: "registry" | "registrar" | "resolver" | "name-wrapper" | "wrapper-registry";
|
|
936
936
|
readonly address: `0x${string}`;
|
|
937
937
|
readonly operation: {
|
|
938
938
|
readonly type: "address";
|
|
@@ -1065,7 +1065,7 @@ declare const useRequiredAuthorization: <Selected = {
|
|
|
1065
1065
|
} | {
|
|
1066
1066
|
readonly available: true;
|
|
1067
1067
|
readonly protocol: "v1" | "v2";
|
|
1068
|
-
readonly kind: "
|
|
1068
|
+
readonly kind: "registry" | "registrar" | "resolver" | "name-wrapper" | "wrapper-registry";
|
|
1069
1069
|
readonly address: `0x${string}`;
|
|
1070
1070
|
readonly operation: {
|
|
1071
1071
|
readonly type: "address";
|
|
@@ -1199,7 +1199,7 @@ declare const useRequiredAuthorizationSuspense: <Selected = {
|
|
|
1199
1199
|
} | {
|
|
1200
1200
|
readonly available: true;
|
|
1201
1201
|
readonly protocol: "v1" | "v2";
|
|
1202
|
-
readonly kind: "
|
|
1202
|
+
readonly kind: "registry" | "registrar" | "resolver" | "name-wrapper" | "wrapper-registry";
|
|
1203
1203
|
readonly address: `0x${string}`;
|
|
1204
1204
|
readonly operation: {
|
|
1205
1205
|
readonly type: "address";
|
|
@@ -1332,7 +1332,7 @@ declare const useRequiredAuthorizationSuspense: <Selected = {
|
|
|
1332
1332
|
} | {
|
|
1333
1333
|
readonly available: true;
|
|
1334
1334
|
readonly protocol: "v1" | "v2";
|
|
1335
|
-
readonly kind: "
|
|
1335
|
+
readonly kind: "registry" | "registrar" | "resolver" | "name-wrapper" | "wrapper-registry";
|
|
1336
1336
|
readonly address: `0x${string}`;
|
|
1337
1337
|
readonly operation: {
|
|
1338
1338
|
readonly type: "address";
|
|
@@ -1421,7 +1421,7 @@ declare const useResolverCapabilities: <Selected = {
|
|
|
1421
1421
|
readonly inherited: boolean;
|
|
1422
1422
|
readonly extended: boolean;
|
|
1423
1423
|
readonly permissioned: boolean;
|
|
1424
|
-
readonly authorization: "unknown" | "none" | "
|
|
1424
|
+
readonly authorization: "unknown" | "none" | "role" | "owner-delegate";
|
|
1425
1425
|
readonly profiles: {
|
|
1426
1426
|
readonly address: boolean;
|
|
1427
1427
|
readonly text: boolean;
|
|
@@ -1440,7 +1440,7 @@ declare const useResolverCapabilities: <Selected = {
|
|
|
1440
1440
|
readonly inherited: boolean;
|
|
1441
1441
|
readonly extended: boolean;
|
|
1442
1442
|
readonly permissioned: boolean;
|
|
1443
|
-
readonly authorization: "unknown" | "none" | "
|
|
1443
|
+
readonly authorization: "unknown" | "none" | "role" | "owner-delegate";
|
|
1444
1444
|
readonly profiles: {
|
|
1445
1445
|
readonly address: boolean;
|
|
1446
1446
|
readonly text: boolean;
|
|
@@ -1460,7 +1460,7 @@ declare const useResolverCapabilitiesSuspense: <Selected = {
|
|
|
1460
1460
|
readonly inherited: boolean;
|
|
1461
1461
|
readonly extended: boolean;
|
|
1462
1462
|
readonly permissioned: boolean;
|
|
1463
|
-
readonly authorization: "unknown" | "none" | "
|
|
1463
|
+
readonly authorization: "unknown" | "none" | "role" | "owner-delegate";
|
|
1464
1464
|
readonly profiles: {
|
|
1465
1465
|
readonly address: boolean;
|
|
1466
1466
|
readonly text: boolean;
|
|
@@ -1479,7 +1479,7 @@ declare const useResolverCapabilitiesSuspense: <Selected = {
|
|
|
1479
1479
|
readonly inherited: boolean;
|
|
1480
1480
|
readonly extended: boolean;
|
|
1481
1481
|
readonly permissioned: boolean;
|
|
1482
|
-
readonly authorization: "unknown" | "none" | "
|
|
1482
|
+
readonly authorization: "unknown" | "none" | "role" | "owner-delegate";
|
|
1483
1483
|
readonly profiles: {
|
|
1484
1484
|
readonly address: boolean;
|
|
1485
1485
|
readonly text: boolean;
|
|
@@ -1764,7 +1764,7 @@ declare const useWriteTarget: <Selected = {
|
|
|
1764
1764
|
} | {
|
|
1765
1765
|
readonly available: true;
|
|
1766
1766
|
readonly protocol: "v1" | "v2";
|
|
1767
|
-
readonly kind: "
|
|
1767
|
+
readonly kind: "registry" | "registrar" | "resolver" | "name-wrapper" | "wrapper-registry";
|
|
1768
1768
|
readonly address: `0x${string}`;
|
|
1769
1769
|
readonly operation: {
|
|
1770
1770
|
readonly type: "address";
|
|
@@ -1819,7 +1819,7 @@ declare const useWriteTarget: <Selected = {
|
|
|
1819
1819
|
} | {
|
|
1820
1820
|
readonly available: true;
|
|
1821
1821
|
readonly protocol: "v1" | "v2";
|
|
1822
|
-
readonly kind: "
|
|
1822
|
+
readonly kind: "registry" | "registrar" | "resolver" | "name-wrapper" | "wrapper-registry";
|
|
1823
1823
|
readonly address: `0x${string}`;
|
|
1824
1824
|
readonly operation: {
|
|
1825
1825
|
readonly type: "address";
|
|
@@ -1875,7 +1875,7 @@ declare const useWriteTargetSuspense: <Selected = {
|
|
|
1875
1875
|
} | {
|
|
1876
1876
|
readonly available: true;
|
|
1877
1877
|
readonly protocol: "v1" | "v2";
|
|
1878
|
-
readonly kind: "
|
|
1878
|
+
readonly kind: "registry" | "registrar" | "resolver" | "name-wrapper" | "wrapper-registry";
|
|
1879
1879
|
readonly address: `0x${string}`;
|
|
1880
1880
|
readonly operation: {
|
|
1881
1881
|
readonly type: "address";
|
|
@@ -1930,7 +1930,7 @@ declare const useWriteTargetSuspense: <Selected = {
|
|
|
1930
1930
|
} | {
|
|
1931
1931
|
readonly available: true;
|
|
1932
1932
|
readonly protocol: "v1" | "v2";
|
|
1933
|
-
readonly kind: "
|
|
1933
|
+
readonly kind: "registry" | "registrar" | "resolver" | "name-wrapper" | "wrapper-registry";
|
|
1934
1934
|
readonly address: `0x${string}`;
|
|
1935
1935
|
readonly operation: {
|
|
1936
1936
|
readonly type: "address";
|
package/dist/hooks/events.d.ts
CHANGED
|
@@ -12,22 +12,22 @@ declare const useEnsEvents: <Selected = readonly {
|
|
|
12
12
|
readonly data: `0x${string}`;
|
|
13
13
|
readonly args: unknown;
|
|
14
14
|
};
|
|
15
|
-
readonly kind: "
|
|
16
|
-
readonly contract: `0x${string}`;
|
|
15
|
+
readonly kind: "records" | "manager" | "resolver" | "commitment" | "registration" | "renewal" | "ownership" | "subname" | "migration" | "other";
|
|
17
16
|
readonly transactionIndex: number | null;
|
|
18
17
|
readonly logIndex: number | null;
|
|
19
|
-
readonly contractKind: "
|
|
18
|
+
readonly contractKind: "registry" | "registrar" | "resolver" | "name-wrapper" | "migration-controller";
|
|
20
19
|
readonly eventName: string;
|
|
20
|
+
readonly contract: `0x${string}`;
|
|
21
21
|
readonly removed: boolean;
|
|
22
22
|
readonly name?: (string & import("effect/Brand").Brand<"NormalizedName">) | undefined;
|
|
23
23
|
readonly to?: `0x${string}` | undefined;
|
|
24
24
|
readonly from?: `0x${string}` | undefined;
|
|
25
|
-
readonly resolver?: `0x${string}` | undefined;
|
|
26
25
|
readonly owner?: `0x${string}` | undefined;
|
|
27
|
-
readonly
|
|
28
|
-
readonly label?: string | undefined;
|
|
26
|
+
readonly resolver?: `0x${string}` | undefined;
|
|
29
27
|
readonly tokenId?: bigint | undefined;
|
|
30
28
|
readonly commitment?: `0x${string}` | undefined;
|
|
29
|
+
readonly label?: string | undefined;
|
|
30
|
+
readonly node?: `0x${string}` | undefined;
|
|
31
31
|
}[]>(input: UseEnsQueryParameters<import("@ensforge/core").GetEnsEventsParameters, readonly {
|
|
32
32
|
readonly blockNumber: bigint | null;
|
|
33
33
|
readonly transactionHash: `0x${string}` | null;
|
|
@@ -37,22 +37,22 @@ declare const useEnsEvents: <Selected = readonly {
|
|
|
37
37
|
readonly data: `0x${string}`;
|
|
38
38
|
readonly args: unknown;
|
|
39
39
|
};
|
|
40
|
-
readonly kind: "
|
|
41
|
-
readonly contract: `0x${string}`;
|
|
40
|
+
readonly kind: "records" | "manager" | "resolver" | "commitment" | "registration" | "renewal" | "ownership" | "subname" | "migration" | "other";
|
|
42
41
|
readonly transactionIndex: number | null;
|
|
43
42
|
readonly logIndex: number | null;
|
|
44
|
-
readonly contractKind: "
|
|
43
|
+
readonly contractKind: "registry" | "registrar" | "resolver" | "name-wrapper" | "migration-controller";
|
|
45
44
|
readonly eventName: string;
|
|
45
|
+
readonly contract: `0x${string}`;
|
|
46
46
|
readonly removed: boolean;
|
|
47
47
|
readonly name?: (string & import("effect/Brand").Brand<"NormalizedName">) | undefined;
|
|
48
48
|
readonly to?: `0x${string}` | undefined;
|
|
49
49
|
readonly from?: `0x${string}` | undefined;
|
|
50
|
-
readonly resolver?: `0x${string}` | undefined;
|
|
51
50
|
readonly owner?: `0x${string}` | undefined;
|
|
52
|
-
readonly
|
|
53
|
-
readonly label?: string | undefined;
|
|
51
|
+
readonly resolver?: `0x${string}` | undefined;
|
|
54
52
|
readonly tokenId?: bigint | undefined;
|
|
55
53
|
readonly commitment?: `0x${string}` | undefined;
|
|
54
|
+
readonly label?: string | undefined;
|
|
55
|
+
readonly node?: `0x${string}` | undefined;
|
|
56
56
|
}[], Selected>) => EnsQueryResult<Selected, import("@ensforge/core").GetEnsEventsError>;
|
|
57
57
|
declare const useEnsEventsSuspense: <Selected = readonly {
|
|
58
58
|
readonly blockNumber: bigint | null;
|
|
@@ -63,22 +63,22 @@ declare const useEnsEventsSuspense: <Selected = readonly {
|
|
|
63
63
|
readonly data: `0x${string}`;
|
|
64
64
|
readonly args: unknown;
|
|
65
65
|
};
|
|
66
|
-
readonly kind: "
|
|
67
|
-
readonly contract: `0x${string}`;
|
|
66
|
+
readonly kind: "records" | "manager" | "resolver" | "commitment" | "registration" | "renewal" | "ownership" | "subname" | "migration" | "other";
|
|
68
67
|
readonly transactionIndex: number | null;
|
|
69
68
|
readonly logIndex: number | null;
|
|
70
|
-
readonly contractKind: "
|
|
69
|
+
readonly contractKind: "registry" | "registrar" | "resolver" | "name-wrapper" | "migration-controller";
|
|
71
70
|
readonly eventName: string;
|
|
71
|
+
readonly contract: `0x${string}`;
|
|
72
72
|
readonly removed: boolean;
|
|
73
73
|
readonly name?: (string & import("effect/Brand").Brand<"NormalizedName">) | undefined;
|
|
74
74
|
readonly to?: `0x${string}` | undefined;
|
|
75
75
|
readonly from?: `0x${string}` | undefined;
|
|
76
|
-
readonly resolver?: `0x${string}` | undefined;
|
|
77
76
|
readonly owner?: `0x${string}` | undefined;
|
|
78
|
-
readonly
|
|
79
|
-
readonly label?: string | undefined;
|
|
77
|
+
readonly resolver?: `0x${string}` | undefined;
|
|
80
78
|
readonly tokenId?: bigint | undefined;
|
|
81
79
|
readonly commitment?: `0x${string}` | undefined;
|
|
80
|
+
readonly label?: string | undefined;
|
|
81
|
+
readonly node?: `0x${string}` | undefined;
|
|
82
82
|
}[]>(input: UseEnsSuspenseQueryParameters<import("@ensforge/core").GetEnsEventsParameters, readonly {
|
|
83
83
|
readonly blockNumber: bigint | null;
|
|
84
84
|
readonly transactionHash: `0x${string}` | null;
|
|
@@ -88,22 +88,22 @@ declare const useEnsEventsSuspense: <Selected = readonly {
|
|
|
88
88
|
readonly data: `0x${string}`;
|
|
89
89
|
readonly args: unknown;
|
|
90
90
|
};
|
|
91
|
-
readonly kind: "
|
|
92
|
-
readonly contract: `0x${string}`;
|
|
91
|
+
readonly kind: "records" | "manager" | "resolver" | "commitment" | "registration" | "renewal" | "ownership" | "subname" | "migration" | "other";
|
|
93
92
|
readonly transactionIndex: number | null;
|
|
94
93
|
readonly logIndex: number | null;
|
|
95
|
-
readonly contractKind: "
|
|
94
|
+
readonly contractKind: "registry" | "registrar" | "resolver" | "name-wrapper" | "migration-controller";
|
|
96
95
|
readonly eventName: string;
|
|
96
|
+
readonly contract: `0x${string}`;
|
|
97
97
|
readonly removed: boolean;
|
|
98
98
|
readonly name?: (string & import("effect/Brand").Brand<"NormalizedName">) | undefined;
|
|
99
99
|
readonly to?: `0x${string}` | undefined;
|
|
100
100
|
readonly from?: `0x${string}` | undefined;
|
|
101
|
-
readonly resolver?: `0x${string}` | undefined;
|
|
102
101
|
readonly owner?: `0x${string}` | undefined;
|
|
103
|
-
readonly
|
|
104
|
-
readonly label?: string | undefined;
|
|
102
|
+
readonly resolver?: `0x${string}` | undefined;
|
|
105
103
|
readonly tokenId?: bigint | undefined;
|
|
106
104
|
readonly commitment?: `0x${string}` | undefined;
|
|
105
|
+
readonly label?: string | undefined;
|
|
106
|
+
readonly node?: `0x${string}` | undefined;
|
|
107
107
|
}[], Selected>) => EnsSuspenseQueryResult<Selected>;
|
|
108
108
|
declare const useNameHistory: <Selected = {
|
|
109
109
|
readonly name: string & import("effect/Brand").Brand<"NormalizedName">;
|
|
@@ -116,22 +116,22 @@ declare const useNameHistory: <Selected = {
|
|
|
116
116
|
readonly data: `0x${string}`;
|
|
117
117
|
readonly args: unknown;
|
|
118
118
|
};
|
|
119
|
-
readonly kind: "
|
|
120
|
-
readonly contract: `0x${string}`;
|
|
119
|
+
readonly kind: "records" | "manager" | "resolver" | "commitment" | "registration" | "renewal" | "ownership" | "subname" | "migration" | "other";
|
|
121
120
|
readonly transactionIndex: number | null;
|
|
122
121
|
readonly logIndex: number | null;
|
|
123
|
-
readonly contractKind: "
|
|
122
|
+
readonly contractKind: "registry" | "registrar" | "resolver" | "name-wrapper" | "migration-controller";
|
|
124
123
|
readonly eventName: string;
|
|
124
|
+
readonly contract: `0x${string}`;
|
|
125
125
|
readonly removed: boolean;
|
|
126
126
|
readonly name?: (string & import("effect/Brand").Brand<"NormalizedName">) | undefined;
|
|
127
127
|
readonly to?: `0x${string}` | undefined;
|
|
128
128
|
readonly from?: `0x${string}` | undefined;
|
|
129
|
-
readonly resolver?: `0x${string}` | undefined;
|
|
130
129
|
readonly owner?: `0x${string}` | undefined;
|
|
131
|
-
readonly
|
|
132
|
-
readonly label?: string | undefined;
|
|
130
|
+
readonly resolver?: `0x${string}` | undefined;
|
|
133
131
|
readonly tokenId?: bigint | undefined;
|
|
134
132
|
readonly commitment?: `0x${string}` | undefined;
|
|
133
|
+
readonly label?: string | undefined;
|
|
134
|
+
readonly node?: `0x${string}` | undefined;
|
|
135
135
|
}[];
|
|
136
136
|
}>(input: UseEnsQueryParameters<import("@ensforge/core").GetNameHistoryParameters, {
|
|
137
137
|
readonly name: string & import("effect/Brand").Brand<"NormalizedName">;
|
|
@@ -144,22 +144,22 @@ declare const useNameHistory: <Selected = {
|
|
|
144
144
|
readonly data: `0x${string}`;
|
|
145
145
|
readonly args: unknown;
|
|
146
146
|
};
|
|
147
|
-
readonly kind: "
|
|
148
|
-
readonly contract: `0x${string}`;
|
|
147
|
+
readonly kind: "records" | "manager" | "resolver" | "commitment" | "registration" | "renewal" | "ownership" | "subname" | "migration" | "other";
|
|
149
148
|
readonly transactionIndex: number | null;
|
|
150
149
|
readonly logIndex: number | null;
|
|
151
|
-
readonly contractKind: "
|
|
150
|
+
readonly contractKind: "registry" | "registrar" | "resolver" | "name-wrapper" | "migration-controller";
|
|
152
151
|
readonly eventName: string;
|
|
152
|
+
readonly contract: `0x${string}`;
|
|
153
153
|
readonly removed: boolean;
|
|
154
154
|
readonly name?: (string & import("effect/Brand").Brand<"NormalizedName">) | undefined;
|
|
155
155
|
readonly to?: `0x${string}` | undefined;
|
|
156
156
|
readonly from?: `0x${string}` | undefined;
|
|
157
|
-
readonly resolver?: `0x${string}` | undefined;
|
|
158
157
|
readonly owner?: `0x${string}` | undefined;
|
|
159
|
-
readonly
|
|
160
|
-
readonly label?: string | undefined;
|
|
158
|
+
readonly resolver?: `0x${string}` | undefined;
|
|
161
159
|
readonly tokenId?: bigint | undefined;
|
|
162
160
|
readonly commitment?: `0x${string}` | undefined;
|
|
161
|
+
readonly label?: string | undefined;
|
|
162
|
+
readonly node?: `0x${string}` | undefined;
|
|
163
163
|
}[];
|
|
164
164
|
}, Selected>) => EnsQueryResult<Selected, import("@ensforge/core").GetEnsEventsError>;
|
|
165
165
|
declare const useNameHistorySuspense: <Selected = {
|
|
@@ -173,22 +173,22 @@ declare const useNameHistorySuspense: <Selected = {
|
|
|
173
173
|
readonly data: `0x${string}`;
|
|
174
174
|
readonly args: unknown;
|
|
175
175
|
};
|
|
176
|
-
readonly kind: "
|
|
177
|
-
readonly contract: `0x${string}`;
|
|
176
|
+
readonly kind: "records" | "manager" | "resolver" | "commitment" | "registration" | "renewal" | "ownership" | "subname" | "migration" | "other";
|
|
178
177
|
readonly transactionIndex: number | null;
|
|
179
178
|
readonly logIndex: number | null;
|
|
180
|
-
readonly contractKind: "
|
|
179
|
+
readonly contractKind: "registry" | "registrar" | "resolver" | "name-wrapper" | "migration-controller";
|
|
181
180
|
readonly eventName: string;
|
|
181
|
+
readonly contract: `0x${string}`;
|
|
182
182
|
readonly removed: boolean;
|
|
183
183
|
readonly name?: (string & import("effect/Brand").Brand<"NormalizedName">) | undefined;
|
|
184
184
|
readonly to?: `0x${string}` | undefined;
|
|
185
185
|
readonly from?: `0x${string}` | undefined;
|
|
186
|
-
readonly resolver?: `0x${string}` | undefined;
|
|
187
186
|
readonly owner?: `0x${string}` | undefined;
|
|
188
|
-
readonly
|
|
189
|
-
readonly label?: string | undefined;
|
|
187
|
+
readonly resolver?: `0x${string}` | undefined;
|
|
190
188
|
readonly tokenId?: bigint | undefined;
|
|
191
189
|
readonly commitment?: `0x${string}` | undefined;
|
|
190
|
+
readonly label?: string | undefined;
|
|
191
|
+
readonly node?: `0x${string}` | undefined;
|
|
192
192
|
}[];
|
|
193
193
|
}>(input: UseEnsSuspenseQueryParameters<import("@ensforge/core").GetNameHistoryParameters, {
|
|
194
194
|
readonly name: string & import("effect/Brand").Brand<"NormalizedName">;
|
|
@@ -201,22 +201,22 @@ declare const useNameHistorySuspense: <Selected = {
|
|
|
201
201
|
readonly data: `0x${string}`;
|
|
202
202
|
readonly args: unknown;
|
|
203
203
|
};
|
|
204
|
-
readonly kind: "
|
|
205
|
-
readonly contract: `0x${string}`;
|
|
204
|
+
readonly kind: "records" | "manager" | "resolver" | "commitment" | "registration" | "renewal" | "ownership" | "subname" | "migration" | "other";
|
|
206
205
|
readonly transactionIndex: number | null;
|
|
207
206
|
readonly logIndex: number | null;
|
|
208
|
-
readonly contractKind: "
|
|
207
|
+
readonly contractKind: "registry" | "registrar" | "resolver" | "name-wrapper" | "migration-controller";
|
|
209
208
|
readonly eventName: string;
|
|
209
|
+
readonly contract: `0x${string}`;
|
|
210
210
|
readonly removed: boolean;
|
|
211
211
|
readonly name?: (string & import("effect/Brand").Brand<"NormalizedName">) | undefined;
|
|
212
212
|
readonly to?: `0x${string}` | undefined;
|
|
213
213
|
readonly from?: `0x${string}` | undefined;
|
|
214
|
-
readonly resolver?: `0x${string}` | undefined;
|
|
215
214
|
readonly owner?: `0x${string}` | undefined;
|
|
216
|
-
readonly
|
|
217
|
-
readonly label?: string | undefined;
|
|
215
|
+
readonly resolver?: `0x${string}` | undefined;
|
|
218
216
|
readonly tokenId?: bigint | undefined;
|
|
219
217
|
readonly commitment?: `0x${string}` | undefined;
|
|
218
|
+
readonly label?: string | undefined;
|
|
219
|
+
readonly node?: `0x${string}` | undefined;
|
|
220
220
|
}[];
|
|
221
221
|
}, Selected>) => EnsSuspenseQueryResult<Selected>;
|
|
222
222
|
declare const useWatchEnsEvents: <Selected = {
|
|
@@ -228,22 +228,22 @@ declare const useWatchEnsEvents: <Selected = {
|
|
|
228
228
|
readonly data: `0x${string}`;
|
|
229
229
|
readonly args: unknown;
|
|
230
230
|
};
|
|
231
|
-
readonly kind: "
|
|
232
|
-
readonly contract: `0x${string}`;
|
|
231
|
+
readonly kind: "records" | "manager" | "resolver" | "commitment" | "registration" | "renewal" | "ownership" | "subname" | "migration" | "other";
|
|
233
232
|
readonly transactionIndex: number | null;
|
|
234
233
|
readonly logIndex: number | null;
|
|
235
|
-
readonly contractKind: "
|
|
234
|
+
readonly contractKind: "registry" | "registrar" | "resolver" | "name-wrapper" | "migration-controller";
|
|
236
235
|
readonly eventName: string;
|
|
236
|
+
readonly contract: `0x${string}`;
|
|
237
237
|
readonly removed: boolean;
|
|
238
238
|
readonly name?: (string & import("effect/Brand").Brand<"NormalizedName">) | undefined;
|
|
239
239
|
readonly to?: `0x${string}` | undefined;
|
|
240
240
|
readonly from?: `0x${string}` | undefined;
|
|
241
|
-
readonly resolver?: `0x${string}` | undefined;
|
|
242
241
|
readonly owner?: `0x${string}` | undefined;
|
|
243
|
-
readonly
|
|
244
|
-
readonly label?: string | undefined;
|
|
242
|
+
readonly resolver?: `0x${string}` | undefined;
|
|
245
243
|
readonly tokenId?: bigint | undefined;
|
|
246
244
|
readonly commitment?: `0x${string}` | undefined;
|
|
245
|
+
readonly label?: string | undefined;
|
|
246
|
+
readonly node?: `0x${string}` | undefined;
|
|
247
247
|
}>(input: UseEnsQueryParameters<import("@ensforge/core").WatchEnsEventsParameters, {
|
|
248
248
|
readonly blockNumber: bigint | null;
|
|
249
249
|
readonly transactionHash: `0x${string}` | null;
|
|
@@ -253,22 +253,22 @@ declare const useWatchEnsEvents: <Selected = {
|
|
|
253
253
|
readonly data: `0x${string}`;
|
|
254
254
|
readonly args: unknown;
|
|
255
255
|
};
|
|
256
|
-
readonly kind: "
|
|
257
|
-
readonly contract: `0x${string}`;
|
|
256
|
+
readonly kind: "records" | "manager" | "resolver" | "commitment" | "registration" | "renewal" | "ownership" | "subname" | "migration" | "other";
|
|
258
257
|
readonly transactionIndex: number | null;
|
|
259
258
|
readonly logIndex: number | null;
|
|
260
|
-
readonly contractKind: "
|
|
259
|
+
readonly contractKind: "registry" | "registrar" | "resolver" | "name-wrapper" | "migration-controller";
|
|
261
260
|
readonly eventName: string;
|
|
261
|
+
readonly contract: `0x${string}`;
|
|
262
262
|
readonly removed: boolean;
|
|
263
263
|
readonly name?: (string & import("effect/Brand").Brand<"NormalizedName">) | undefined;
|
|
264
264
|
readonly to?: `0x${string}` | undefined;
|
|
265
265
|
readonly from?: `0x${string}` | undefined;
|
|
266
|
-
readonly resolver?: `0x${string}` | undefined;
|
|
267
266
|
readonly owner?: `0x${string}` | undefined;
|
|
268
|
-
readonly
|
|
269
|
-
readonly label?: string | undefined;
|
|
267
|
+
readonly resolver?: `0x${string}` | undefined;
|
|
270
268
|
readonly tokenId?: bigint | undefined;
|
|
271
269
|
readonly commitment?: `0x${string}` | undefined;
|
|
270
|
+
readonly label?: string | undefined;
|
|
271
|
+
readonly node?: `0x${string}` | undefined;
|
|
272
272
|
}, Selected>) => EnsQueryResult<Selected, import("@ensforge/core").GetEnsEventsError | import("effect/Cause").NoSuchElementError>;
|
|
273
273
|
//#endregion
|
|
274
274
|
export { useEnsEvents, useEnsEventsSuspense, useNameHistory, useNameHistorySuspense, useWatchEnsEvents };
|
package/dist/hooks/name.d.ts
CHANGED
|
@@ -11,14 +11,14 @@ declare const useExpiry: <Selected = {
|
|
|
11
11
|
readonly gracePeriod: bigint;
|
|
12
12
|
readonly gracePeriodEnd: bigint;
|
|
13
13
|
readonly protocol: "v1" | "v2";
|
|
14
|
-
readonly source: "
|
|
14
|
+
readonly source: "baseRegistrar" | "nameWrapper" | "registry";
|
|
15
15
|
} | null>(input: UseEnsQueryParameters<import("@ensforge/core").GetExpiryParameters, {
|
|
16
16
|
readonly name: string & import("effect/Brand").Brand<"NormalizedName">;
|
|
17
17
|
readonly expiry: bigint;
|
|
18
18
|
readonly gracePeriod: bigint;
|
|
19
19
|
readonly gracePeriodEnd: bigint;
|
|
20
20
|
readonly protocol: "v1" | "v2";
|
|
21
|
-
readonly source: "
|
|
21
|
+
readonly source: "baseRegistrar" | "nameWrapper" | "registry";
|
|
22
22
|
} | null, Selected>) => EnsQueryResult<Selected, import("@ensforge/core").GetExpiryError>;
|
|
23
23
|
declare const useExpirySuspense: <Selected = {
|
|
24
24
|
readonly name: string & import("effect/Brand").Brand<"NormalizedName">;
|
|
@@ -26,14 +26,14 @@ declare const useExpirySuspense: <Selected = {
|
|
|
26
26
|
readonly gracePeriod: bigint;
|
|
27
27
|
readonly gracePeriodEnd: bigint;
|
|
28
28
|
readonly protocol: "v1" | "v2";
|
|
29
|
-
readonly source: "
|
|
29
|
+
readonly source: "baseRegistrar" | "nameWrapper" | "registry";
|
|
30
30
|
} | null>(input: UseEnsSuspenseQueryParameters<import("@ensforge/core").GetExpiryParameters, {
|
|
31
31
|
readonly name: string & import("effect/Brand").Brand<"NormalizedName">;
|
|
32
32
|
readonly expiry: bigint;
|
|
33
33
|
readonly gracePeriod: bigint;
|
|
34
34
|
readonly gracePeriodEnd: bigint;
|
|
35
35
|
readonly protocol: "v1" | "v2";
|
|
36
|
-
readonly source: "
|
|
36
|
+
readonly source: "baseRegistrar" | "nameWrapper" | "registry";
|
|
37
37
|
} | null, Selected>) => EnsSuspenseQueryResult<Selected>;
|
|
38
38
|
declare const useManager: <Selected = `0x${string}` | null>(input: UseEnsQueryParameters<import("@ensforge/core").GetCanonicalResourceParameters, `0x${string}` | null, Selected>) => EnsQueryResult<Selected, import("@ensforge/core").GetCanonicalResourceError>;
|
|
39
39
|
declare const useManagerSuspense: <Selected = `0x${string}` | null>(input: UseEnsSuspenseQueryParameters<import("@ensforge/core").GetCanonicalResourceParameters, `0x${string}` | null, Selected>) => EnsSuspenseQueryResult<Selected>;
|
|
@@ -478,26 +478,26 @@ declare const useOwner: <Selected = {
|
|
|
478
478
|
readonly owner: `0x${string}` | null;
|
|
479
479
|
readonly registrant: `0x${string}` | null;
|
|
480
480
|
readonly protocol: "v1" | "v2";
|
|
481
|
-
readonly ownershipLevel: "
|
|
481
|
+
readonly ownershipLevel: "nameWrapper" | "registry" | "registrar";
|
|
482
482
|
} | null>(input: UseEnsQueryParameters<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: "
|
|
487
|
+
readonly ownershipLevel: "nameWrapper" | "registry" | "registrar";
|
|
488
488
|
} | null, Selected>) => EnsQueryResult<Selected, import("@ensforge/core").GetOwnerError>;
|
|
489
489
|
declare const useOwnerSuspense: <Selected = {
|
|
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: "
|
|
494
|
+
readonly ownershipLevel: "nameWrapper" | "registry" | "registrar";
|
|
495
495
|
} | null>(input: UseEnsSuspenseQueryParameters<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: "
|
|
500
|
+
readonly ownershipLevel: "nameWrapper" | "registry" | "registrar";
|
|
501
501
|
} | null, Selected>) => EnsSuspenseQueryResult<Selected>;
|
|
502
502
|
declare const useProtocol: <Selected = "v1" | "v2">(input: UseEnsQueryParameters<import("@ensforge/core").GetCanonicalResourceParameters, "v1" | "v2", Selected>) => EnsQueryResult<Selected, import("@ensforge/core").GetCanonicalResourceError>;
|
|
503
503
|
declare const useProtocolSuspense: <Selected = "v1" | "v2">(input: UseEnsSuspenseQueryParameters<import("@ensforge/core").GetCanonicalResourceParameters, "v1" | "v2", Selected>) => EnsSuspenseQueryResult<Selected>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ensforge/react",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.1.0",
|
|
4
4
|
"description": "Reactive React hooks for ENS",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ens",
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
42
|
"@effect/atom-react": "4.0.0-rc.112",
|
|
43
|
-
"@ensforge/sdk": "0.
|
|
43
|
+
"@ensforge/sdk": "0.1.0"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
46
|
"@testing-library/react": "16.3.0",
|