@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.
- package/README.md +8 -1
- package/dist/atoms/capabilities.d.ts +10 -10
- package/dist/atoms/capabilities.d.ts.map +1 -1
- package/dist/atoms/dns.d.ts +9 -7
- package/dist/atoms/dns.d.ts.map +1 -1
- package/dist/atoms/events.d.ts +46 -46
- package/dist/atoms/events.d.ts.map +1 -1
- package/dist/atoms/generic.d.ts +3 -1
- package/dist/atoms/generic.d.ts.map +1 -1
- package/dist/atoms/generic.js.map +1 -1
- package/dist/atoms/migration.d.ts +1 -1
- package/dist/atoms/migration.d.ts.map +1 -1
- package/dist/atoms/name.d.ts +1 -1
- package/dist/atoms/records.d.ts +1 -1
- package/dist/atoms/records.d.ts.map +1 -1
- package/dist/atoms/registration.d.ts +33 -3
- package/dist/atoms/registration.d.ts.map +1 -1
- package/dist/atoms/resolution.d.ts +2 -2
- package/dist/atoms/resolution.d.ts.map +1 -1
- package/dist/atoms/wrapping.d.ts +2 -2
- package/dist/atoms/wrapping.d.ts.map +1 -1
- package/dist/hooks/capabilities.d.ts +36 -36
- package/dist/hooks/capabilities.d.ts.map +1 -1
- package/dist/hooks/dns.d.ts +17 -13
- package/dist/hooks/dns.d.ts.map +1 -1
- package/dist/hooks/events.d.ts +147 -147
- package/dist/hooks/events.d.ts.map +1 -1
- package/dist/hooks/generic.d.ts +3 -1
- package/dist/hooks/generic.d.ts.map +1 -1
- package/dist/hooks/generic.js.map +1 -1
- package/dist/hooks/migration.d.ts +1 -1
- package/dist/hooks/migration.d.ts.map +1 -1
- package/dist/hooks/name.d.ts +4 -4
- package/dist/hooks/records.d.ts +1 -1
- package/dist/hooks/records.d.ts.map +1 -1
- package/dist/hooks/registration.d.ts +63 -3
- package/dist/hooks/registration.d.ts.map +1 -1
- package/dist/hooks/resolution.d.ts +2 -2
- package/dist/hooks/resolution.d.ts.map +1 -1
- package/dist/hooks/wrapping.d.ts +4 -4
- package/dist/hooks/wrapping.d.ts.map +1 -1
- package/dist/index.d.ts +3 -3
- package/dist/provider/ensforge-provider.d.ts +2 -1
- package/dist/provider/ensforge-provider.d.ts.map +1 -1
- package/dist/provider/ensforge-provider.js +2 -1
- package/dist/provider/ensforge-provider.js.map +1 -1
- package/package.json +3 -3
|
@@ -27,7 +27,7 @@ declare const useNameCapabilities: <Mapped = {
|
|
|
27
27
|
readonly inherited: boolean;
|
|
28
28
|
readonly extended: boolean;
|
|
29
29
|
readonly permissioned: boolean;
|
|
30
|
-
readonly authorization: "
|
|
30
|
+
readonly authorization: "none" | "unknown" | "role" | "owner-delegate";
|
|
31
31
|
readonly profiles: {
|
|
32
32
|
readonly address: boolean;
|
|
33
33
|
readonly text: boolean;
|
|
@@ -139,7 +139,7 @@ declare const useNameCapabilities: <Mapped = {
|
|
|
139
139
|
readonly inherited: boolean;
|
|
140
140
|
readonly extended: boolean;
|
|
141
141
|
readonly permissioned: boolean;
|
|
142
|
-
readonly authorization: "
|
|
142
|
+
readonly authorization: "none" | "unknown" | "role" | "owner-delegate";
|
|
143
143
|
readonly profiles: {
|
|
144
144
|
readonly address: boolean;
|
|
145
145
|
readonly text: boolean;
|
|
@@ -252,7 +252,7 @@ declare const useNameCapabilitiesSuspense: <Mapped = {
|
|
|
252
252
|
readonly inherited: boolean;
|
|
253
253
|
readonly extended: boolean;
|
|
254
254
|
readonly permissioned: boolean;
|
|
255
|
-
readonly authorization: "
|
|
255
|
+
readonly authorization: "none" | "unknown" | "role" | "owner-delegate";
|
|
256
256
|
readonly profiles: {
|
|
257
257
|
readonly address: boolean;
|
|
258
258
|
readonly text: boolean;
|
|
@@ -364,7 +364,7 @@ declare const useNameCapabilitiesSuspense: <Mapped = {
|
|
|
364
364
|
readonly inherited: boolean;
|
|
365
365
|
readonly extended: boolean;
|
|
366
366
|
readonly permissioned: boolean;
|
|
367
|
-
readonly authorization: "
|
|
367
|
+
readonly authorization: "none" | "unknown" | "role" | "owner-delegate";
|
|
368
368
|
readonly profiles: {
|
|
369
369
|
readonly address: boolean;
|
|
370
370
|
readonly text: boolean;
|
|
@@ -457,7 +457,7 @@ declare const useOperatorApproval: <Mapped = {
|
|
|
457
457
|
readonly owner: `0x${string}`;
|
|
458
458
|
readonly operator: `0x${string}`;
|
|
459
459
|
readonly targets: readonly {
|
|
460
|
-
readonly kind: "
|
|
460
|
+
readonly kind: "resolver" | "registrar" | "registry" | "wrapper";
|
|
461
461
|
readonly address: `0x${string}`;
|
|
462
462
|
readonly supported: boolean;
|
|
463
463
|
readonly approved: boolean;
|
|
@@ -466,7 +466,7 @@ declare const useOperatorApproval: <Mapped = {
|
|
|
466
466
|
readonly owner: `0x${string}`;
|
|
467
467
|
readonly operator: `0x${string}`;
|
|
468
468
|
readonly targets: readonly {
|
|
469
|
-
readonly kind: "
|
|
469
|
+
readonly kind: "resolver" | "registrar" | "registry" | "wrapper";
|
|
470
470
|
readonly address: `0x${string}`;
|
|
471
471
|
readonly supported: boolean;
|
|
472
472
|
readonly approved: boolean;
|
|
@@ -476,7 +476,7 @@ declare const useOperatorApprovalSuspense: <Mapped = {
|
|
|
476
476
|
readonly owner: `0x${string}`;
|
|
477
477
|
readonly operator: `0x${string}`;
|
|
478
478
|
readonly targets: readonly {
|
|
479
|
-
readonly kind: "
|
|
479
|
+
readonly kind: "resolver" | "registrar" | "registry" | "wrapper";
|
|
480
480
|
readonly address: `0x${string}`;
|
|
481
481
|
readonly supported: boolean;
|
|
482
482
|
readonly approved: boolean;
|
|
@@ -485,7 +485,7 @@ declare const useOperatorApprovalSuspense: <Mapped = {
|
|
|
485
485
|
readonly owner: `0x${string}`;
|
|
486
486
|
readonly operator: `0x${string}`;
|
|
487
487
|
readonly targets: readonly {
|
|
488
|
-
readonly kind: "
|
|
488
|
+
readonly kind: "resolver" | "registrar" | "registry" | "wrapper";
|
|
489
489
|
readonly address: `0x${string}`;
|
|
490
490
|
readonly supported: boolean;
|
|
491
491
|
readonly approved: boolean;
|
|
@@ -846,7 +846,7 @@ declare const useRegistryRoles: <Mapped = {
|
|
|
846
846
|
readonly resource: bigint;
|
|
847
847
|
readonly account: `0x${string}`;
|
|
848
848
|
readonly roles: bigint;
|
|
849
|
-
}>(input: UseEnsAtomParameters<import("@ensforge/core").
|
|
849
|
+
}>(input: UseEnsAtomParameters<import("@ensforge/core").AccountCapabilityParameters, {
|
|
850
850
|
readonly supported: false;
|
|
851
851
|
readonly protocol: "v1" | "v2";
|
|
852
852
|
readonly reason: "RESOLVER_NOT_FOUND" | "ROLE_BASED_PERMISSIONS_UNSUPPORTED";
|
|
@@ -869,7 +869,7 @@ declare const useRegistryRolesSuspense: <Mapped = {
|
|
|
869
869
|
readonly resource: bigint;
|
|
870
870
|
readonly account: `0x${string}`;
|
|
871
871
|
readonly roles: bigint;
|
|
872
|
-
}>(input: UseEnsSuspenseAtomParameters<import("@ensforge/core").
|
|
872
|
+
}>(input: UseEnsSuspenseAtomParameters<import("@ensforge/core").AccountCapabilityParameters, {
|
|
873
873
|
readonly supported: false;
|
|
874
874
|
readonly protocol: "v1" | "v2";
|
|
875
875
|
readonly reason: "RESOLVER_NOT_FOUND" | "ROLE_BASED_PERMISSIONS_UNSUPPORTED";
|
|
@@ -928,11 +928,11 @@ declare const useRequiredAuthorization: <Mapped = {
|
|
|
928
928
|
readonly target: {
|
|
929
929
|
readonly available: false;
|
|
930
930
|
readonly protocol: "v1" | "v2";
|
|
931
|
-
readonly reason: "
|
|
931
|
+
readonly reason: "RESOLVER_NOT_FOUND" | "NAME_NOT_REGISTERED" | "OPERATION_UNSUPPORTED";
|
|
932
932
|
} | {
|
|
933
933
|
readonly available: true;
|
|
934
934
|
readonly protocol: "v1" | "v2";
|
|
935
|
-
readonly kind: "
|
|
935
|
+
readonly kind: "resolver" | "registrar" | "registry" | "name-wrapper" | "wrapper-registry";
|
|
936
936
|
readonly address: `0x${string}`;
|
|
937
937
|
readonly operation: {
|
|
938
938
|
readonly type: "address";
|
|
@@ -1013,7 +1013,7 @@ declare const useRequiredAuthorization: <Mapped = {
|
|
|
1013
1013
|
readonly status: "unknown";
|
|
1014
1014
|
readonly reason: "CUSTOM_RESOLVER";
|
|
1015
1015
|
};
|
|
1016
|
-
readonly blockers: readonly ("
|
|
1016
|
+
readonly blockers: readonly ("RESOLVER_NOT_FOUND" | "NAME_NOT_REGISTERED" | "OPERATION_UNSUPPORTED" | "WRAPPER_FUSE" | "TRANSFER_ROLE")[];
|
|
1017
1017
|
}>(input: UseEnsAtomParameters<import("@ensforge/core").GetRequiredAuthorizationParameters, {
|
|
1018
1018
|
readonly account: `0x${string}`;
|
|
1019
1019
|
readonly operation: {
|
|
@@ -1061,11 +1061,11 @@ declare const useRequiredAuthorization: <Mapped = {
|
|
|
1061
1061
|
readonly target: {
|
|
1062
1062
|
readonly available: false;
|
|
1063
1063
|
readonly protocol: "v1" | "v2";
|
|
1064
|
-
readonly reason: "
|
|
1064
|
+
readonly reason: "RESOLVER_NOT_FOUND" | "NAME_NOT_REGISTERED" | "OPERATION_UNSUPPORTED";
|
|
1065
1065
|
} | {
|
|
1066
1066
|
readonly available: true;
|
|
1067
1067
|
readonly protocol: "v1" | "v2";
|
|
1068
|
-
readonly kind: "
|
|
1068
|
+
readonly kind: "resolver" | "registrar" | "registry" | "name-wrapper" | "wrapper-registry";
|
|
1069
1069
|
readonly address: `0x${string}`;
|
|
1070
1070
|
readonly operation: {
|
|
1071
1071
|
readonly type: "address";
|
|
@@ -1146,7 +1146,7 @@ declare const useRequiredAuthorization: <Mapped = {
|
|
|
1146
1146
|
readonly status: "unknown";
|
|
1147
1147
|
readonly reason: "CUSTOM_RESOLVER";
|
|
1148
1148
|
};
|
|
1149
|
-
readonly blockers: readonly ("
|
|
1149
|
+
readonly blockers: readonly ("RESOLVER_NOT_FOUND" | "NAME_NOT_REGISTERED" | "OPERATION_UNSUPPORTED" | "WRAPPER_FUSE" | "TRANSFER_ROLE")[];
|
|
1150
1150
|
}, import("@ensforge/core").GetCanonicalResourceError, Mapped>) => EnsAtomResult<Mapped, import("@ensforge/core").GetCanonicalResourceError>;
|
|
1151
1151
|
declare const useRequiredAuthorizationSuspense: <Mapped = {
|
|
1152
1152
|
readonly account: `0x${string}`;
|
|
@@ -1195,11 +1195,11 @@ declare const useRequiredAuthorizationSuspense: <Mapped = {
|
|
|
1195
1195
|
readonly target: {
|
|
1196
1196
|
readonly available: false;
|
|
1197
1197
|
readonly protocol: "v1" | "v2";
|
|
1198
|
-
readonly reason: "
|
|
1198
|
+
readonly reason: "RESOLVER_NOT_FOUND" | "NAME_NOT_REGISTERED" | "OPERATION_UNSUPPORTED";
|
|
1199
1199
|
} | {
|
|
1200
1200
|
readonly available: true;
|
|
1201
1201
|
readonly protocol: "v1" | "v2";
|
|
1202
|
-
readonly kind: "
|
|
1202
|
+
readonly kind: "resolver" | "registrar" | "registry" | "name-wrapper" | "wrapper-registry";
|
|
1203
1203
|
readonly address: `0x${string}`;
|
|
1204
1204
|
readonly operation: {
|
|
1205
1205
|
readonly type: "address";
|
|
@@ -1280,7 +1280,7 @@ declare const useRequiredAuthorizationSuspense: <Mapped = {
|
|
|
1280
1280
|
readonly status: "unknown";
|
|
1281
1281
|
readonly reason: "CUSTOM_RESOLVER";
|
|
1282
1282
|
};
|
|
1283
|
-
readonly blockers: readonly ("
|
|
1283
|
+
readonly blockers: readonly ("RESOLVER_NOT_FOUND" | "NAME_NOT_REGISTERED" | "OPERATION_UNSUPPORTED" | "WRAPPER_FUSE" | "TRANSFER_ROLE")[];
|
|
1284
1284
|
}>(input: UseEnsSuspenseAtomParameters<import("@ensforge/core").GetRequiredAuthorizationParameters, {
|
|
1285
1285
|
readonly account: `0x${string}`;
|
|
1286
1286
|
readonly operation: {
|
|
@@ -1328,11 +1328,11 @@ declare const useRequiredAuthorizationSuspense: <Mapped = {
|
|
|
1328
1328
|
readonly target: {
|
|
1329
1329
|
readonly available: false;
|
|
1330
1330
|
readonly protocol: "v1" | "v2";
|
|
1331
|
-
readonly reason: "
|
|
1331
|
+
readonly reason: "RESOLVER_NOT_FOUND" | "NAME_NOT_REGISTERED" | "OPERATION_UNSUPPORTED";
|
|
1332
1332
|
} | {
|
|
1333
1333
|
readonly available: true;
|
|
1334
1334
|
readonly protocol: "v1" | "v2";
|
|
1335
|
-
readonly kind: "
|
|
1335
|
+
readonly kind: "resolver" | "registrar" | "registry" | "name-wrapper" | "wrapper-registry";
|
|
1336
1336
|
readonly address: `0x${string}`;
|
|
1337
1337
|
readonly operation: {
|
|
1338
1338
|
readonly type: "address";
|
|
@@ -1413,7 +1413,7 @@ declare const useRequiredAuthorizationSuspense: <Mapped = {
|
|
|
1413
1413
|
readonly status: "unknown";
|
|
1414
1414
|
readonly reason: "CUSTOM_RESOLVER";
|
|
1415
1415
|
};
|
|
1416
|
-
readonly blockers: readonly ("
|
|
1416
|
+
readonly blockers: readonly ("RESOLVER_NOT_FOUND" | "NAME_NOT_REGISTERED" | "OPERATION_UNSUPPORTED" | "WRAPPER_FUSE" | "TRANSFER_ROLE")[];
|
|
1417
1417
|
}, import("@ensforge/core").GetCanonicalResourceError, Mapped>) => EnsSuspenseAtomResult<Mapped>;
|
|
1418
1418
|
declare const useResolverCapabilities: <Mapped = {
|
|
1419
1419
|
readonly address: `0x${string}` | null;
|
|
@@ -1421,7 +1421,7 @@ declare const useResolverCapabilities: <Mapped = {
|
|
|
1421
1421
|
readonly inherited: boolean;
|
|
1422
1422
|
readonly extended: boolean;
|
|
1423
1423
|
readonly permissioned: boolean;
|
|
1424
|
-
readonly authorization: "
|
|
1424
|
+
readonly authorization: "none" | "unknown" | "role" | "owner-delegate";
|
|
1425
1425
|
readonly profiles: {
|
|
1426
1426
|
readonly address: boolean;
|
|
1427
1427
|
readonly text: boolean;
|
|
@@ -1440,7 +1440,7 @@ declare const useResolverCapabilities: <Mapped = {
|
|
|
1440
1440
|
readonly inherited: boolean;
|
|
1441
1441
|
readonly extended: boolean;
|
|
1442
1442
|
readonly permissioned: boolean;
|
|
1443
|
-
readonly authorization: "
|
|
1443
|
+
readonly authorization: "none" | "unknown" | "role" | "owner-delegate";
|
|
1444
1444
|
readonly profiles: {
|
|
1445
1445
|
readonly address: boolean;
|
|
1446
1446
|
readonly text: boolean;
|
|
@@ -1460,7 +1460,7 @@ declare const useResolverCapabilitiesSuspense: <Mapped = {
|
|
|
1460
1460
|
readonly inherited: boolean;
|
|
1461
1461
|
readonly extended: boolean;
|
|
1462
1462
|
readonly permissioned: boolean;
|
|
1463
|
-
readonly authorization: "
|
|
1463
|
+
readonly authorization: "none" | "unknown" | "role" | "owner-delegate";
|
|
1464
1464
|
readonly profiles: {
|
|
1465
1465
|
readonly address: boolean;
|
|
1466
1466
|
readonly text: boolean;
|
|
@@ -1479,7 +1479,7 @@ declare const useResolverCapabilitiesSuspense: <Mapped = {
|
|
|
1479
1479
|
readonly inherited: boolean;
|
|
1480
1480
|
readonly extended: boolean;
|
|
1481
1481
|
readonly permissioned: boolean;
|
|
1482
|
-
readonly authorization: "
|
|
1482
|
+
readonly authorization: "none" | "unknown" | "role" | "owner-delegate";
|
|
1483
1483
|
readonly profiles: {
|
|
1484
1484
|
readonly address: boolean;
|
|
1485
1485
|
readonly text: boolean;
|
|
@@ -1662,7 +1662,7 @@ declare const useWrapperPermissions: <Mapped = {
|
|
|
1662
1662
|
readonly resource: bigint;
|
|
1663
1663
|
readonly roles: bigint;
|
|
1664
1664
|
readonly operatorApproved: boolean;
|
|
1665
|
-
}>(input: UseEnsAtomParameters<import("@ensforge/core").
|
|
1665
|
+
}>(input: UseEnsAtomParameters<import("@ensforge/core").AccountCapabilityParameters, {
|
|
1666
1666
|
readonly supported: false;
|
|
1667
1667
|
readonly protocol: "v1" | "v2";
|
|
1668
1668
|
readonly reason: "NAME_NOT_WRAPPED";
|
|
@@ -1725,7 +1725,7 @@ declare const useWrapperPermissionsSuspense: <Mapped = {
|
|
|
1725
1725
|
readonly resource: bigint;
|
|
1726
1726
|
readonly roles: bigint;
|
|
1727
1727
|
readonly operatorApproved: boolean;
|
|
1728
|
-
}>(input: UseEnsSuspenseAtomParameters<import("@ensforge/core").
|
|
1728
|
+
}>(input: UseEnsSuspenseAtomParameters<import("@ensforge/core").AccountCapabilityParameters, {
|
|
1729
1729
|
readonly supported: false;
|
|
1730
1730
|
readonly protocol: "v1" | "v2";
|
|
1731
1731
|
readonly reason: "NAME_NOT_WRAPPED";
|
|
@@ -1760,11 +1760,11 @@ declare const useWrapperPermissionsSuspense: <Mapped = {
|
|
|
1760
1760
|
declare const useWriteTarget: <Mapped = {
|
|
1761
1761
|
readonly available: false;
|
|
1762
1762
|
readonly protocol: "v1" | "v2";
|
|
1763
|
-
readonly reason: "
|
|
1763
|
+
readonly reason: "RESOLVER_NOT_FOUND" | "NAME_NOT_REGISTERED" | "OPERATION_UNSUPPORTED";
|
|
1764
1764
|
} | {
|
|
1765
1765
|
readonly available: true;
|
|
1766
1766
|
readonly protocol: "v1" | "v2";
|
|
1767
|
-
readonly kind: "
|
|
1767
|
+
readonly kind: "resolver" | "registrar" | "registry" | "name-wrapper" | "wrapper-registry";
|
|
1768
1768
|
readonly address: `0x${string}`;
|
|
1769
1769
|
readonly operation: {
|
|
1770
1770
|
readonly type: "address";
|
|
@@ -1815,11 +1815,11 @@ declare const useWriteTarget: <Mapped = {
|
|
|
1815
1815
|
}>(input: UseEnsAtomParameters<import("@ensforge/core").GetWriteTargetParameters, {
|
|
1816
1816
|
readonly available: false;
|
|
1817
1817
|
readonly protocol: "v1" | "v2";
|
|
1818
|
-
readonly reason: "
|
|
1818
|
+
readonly reason: "RESOLVER_NOT_FOUND" | "NAME_NOT_REGISTERED" | "OPERATION_UNSUPPORTED";
|
|
1819
1819
|
} | {
|
|
1820
1820
|
readonly available: true;
|
|
1821
1821
|
readonly protocol: "v1" | "v2";
|
|
1822
|
-
readonly kind: "
|
|
1822
|
+
readonly kind: "resolver" | "registrar" | "registry" | "name-wrapper" | "wrapper-registry";
|
|
1823
1823
|
readonly address: `0x${string}`;
|
|
1824
1824
|
readonly operation: {
|
|
1825
1825
|
readonly type: "address";
|
|
@@ -1871,11 +1871,11 @@ declare const useWriteTarget: <Mapped = {
|
|
|
1871
1871
|
declare const useWriteTargetSuspense: <Mapped = {
|
|
1872
1872
|
readonly available: false;
|
|
1873
1873
|
readonly protocol: "v1" | "v2";
|
|
1874
|
-
readonly reason: "
|
|
1874
|
+
readonly reason: "RESOLVER_NOT_FOUND" | "NAME_NOT_REGISTERED" | "OPERATION_UNSUPPORTED";
|
|
1875
1875
|
} | {
|
|
1876
1876
|
readonly available: true;
|
|
1877
1877
|
readonly protocol: "v1" | "v2";
|
|
1878
|
-
readonly kind: "
|
|
1878
|
+
readonly kind: "resolver" | "registrar" | "registry" | "name-wrapper" | "wrapper-registry";
|
|
1879
1879
|
readonly address: `0x${string}`;
|
|
1880
1880
|
readonly operation: {
|
|
1881
1881
|
readonly type: "address";
|
|
@@ -1926,11 +1926,11 @@ declare const useWriteTargetSuspense: <Mapped = {
|
|
|
1926
1926
|
}>(input: UseEnsSuspenseAtomParameters<import("@ensforge/core").GetWriteTargetParameters, {
|
|
1927
1927
|
readonly available: false;
|
|
1928
1928
|
readonly protocol: "v1" | "v2";
|
|
1929
|
-
readonly reason: "
|
|
1929
|
+
readonly reason: "RESOLVER_NOT_FOUND" | "NAME_NOT_REGISTERED" | "OPERATION_UNSUPPORTED";
|
|
1930
1930
|
} | {
|
|
1931
1931
|
readonly available: true;
|
|
1932
1932
|
readonly protocol: "v1" | "v2";
|
|
1933
|
-
readonly kind: "
|
|
1933
|
+
readonly kind: "resolver" | "registrar" | "registry" | "name-wrapper" | "wrapper-registry";
|
|
1934
1934
|
readonly address: `0x${string}`;
|
|
1935
1935
|
readonly operation: {
|
|
1936
1936
|
readonly type: "address";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"capabilities.d.ts","names":[],"sources":["../../src/hooks/capabilities.ts"],"mappings":";;;;;cAqBa,sBAAmB
|
|
1
|
+
{"version":3,"file":"capabilities.d.ts","names":[],"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;;;;;;;4BAgBmD,2BAAA,YAAA,cAAA,iCAAA;cAClD,yBAAsB;;;;;;;;;;;;;;;;;;;;;aAlBZ;;;aACZ,sDAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;UAiBmE;;;;;;;;;;;;;;;;;;;;;aAlBxD;;;aACZ,sDAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4BAiBmE,2BAAA,YAAA,sBAAA;cAClE,sBAAmB;;;;;;;;;;;;UAAsC;;;;;;;;;;;;4BAAA,2BAAA,YAAA,cAAA,iCAAA;cACzD,8BAA2B;;;;;;;;;;;;UAA8C;;;;;;;;;;;;4BAAA,2BAAA,YAAA,sBAAA;cACzE,sBAAmB;;;;;;;;;;;;UAAsC;;;;;;;;;;;;4BAAA,2BAAA,YAAA,cAAA,iCAAA;cACzD,8BAA2B;;;;;;;;;;;;UAA8C;;;;;;;;;;;;4BAAA,2BAAA,YAAA,sBAAA"}
|
package/dist/hooks/dns.d.ts
CHANGED
|
@@ -33,7 +33,7 @@ declare const useDnsClaimStatus: <Mapped = {
|
|
|
33
33
|
readonly status: "proof-required";
|
|
34
34
|
readonly name: string & import("effect/Brand").Brand<"NormalizedName">;
|
|
35
35
|
readonly previousInception: bigint;
|
|
36
|
-
}, import("@ensforge/core").
|
|
36
|
+
}, import("@ensforge/core").DnsReadError, Mapped>) => EnsAtomResult<Mapped, import("@ensforge/core").DnsReadError>;
|
|
37
37
|
declare const useDnsClaimStatusSuspense: <Mapped = {
|
|
38
38
|
readonly status: "unsupported";
|
|
39
39
|
readonly name: string & import("effect/Brand").Brand<"NormalizedName">;
|
|
@@ -62,7 +62,7 @@ declare const useDnsClaimStatusSuspense: <Mapped = {
|
|
|
62
62
|
readonly status: "proof-required";
|
|
63
63
|
readonly name: string & import("effect/Brand").Brand<"NormalizedName">;
|
|
64
64
|
readonly previousInception: bigint;
|
|
65
|
-
}, import("@ensforge/core").
|
|
65
|
+
}, import("@ensforge/core").DnsReadError, Mapped>) => EnsSuspenseAtomResult<Mapped>;
|
|
66
66
|
declare const useDnsImportPlan: <Mapped = {
|
|
67
67
|
readonly status: "unsupported";
|
|
68
68
|
readonly name: string & import("effect/Brand").Brand<"NormalizedName">;
|
|
@@ -103,7 +103,7 @@ declare const useDnsImportPlan: <Mapped = {
|
|
|
103
103
|
readonly name: `0x${string}` & import("effect/Brand").Brand<"DnsEncodedName">;
|
|
104
104
|
readonly previousInception: bigint;
|
|
105
105
|
};
|
|
106
|
-
}, import("@ensforge/core").
|
|
106
|
+
}, import("@ensforge/core").DnsReadError, Mapped>) => EnsAtomResult<Mapped, import("@ensforge/core").DnsReadError>;
|
|
107
107
|
declare const useDnsImportPlanSuspense: <Mapped = {
|
|
108
108
|
readonly status: "unsupported";
|
|
109
109
|
readonly name: string & import("effect/Brand").Brand<"NormalizedName">;
|
|
@@ -144,7 +144,7 @@ declare const useDnsImportPlanSuspense: <Mapped = {
|
|
|
144
144
|
readonly name: `0x${string}` & import("effect/Brand").Brand<"DnsEncodedName">;
|
|
145
145
|
readonly previousInception: bigint;
|
|
146
146
|
};
|
|
147
|
-
}, import("@ensforge/core").
|
|
147
|
+
}, import("@ensforge/core").DnsReadError, Mapped>) => EnsSuspenseAtomResult<Mapped>;
|
|
148
148
|
declare const useDnsRecord: <Mapped = {
|
|
149
149
|
readonly name: string & import("effect/Brand").Brand<"NormalizedName">;
|
|
150
150
|
readonly recordName: string & import("effect/Brand").Brand<"NormalizedName">;
|
|
@@ -157,7 +157,7 @@ declare const useDnsRecord: <Mapped = {
|
|
|
157
157
|
readonly resource: number;
|
|
158
158
|
readonly resolver: `0x${string}` | null;
|
|
159
159
|
readonly value: `0x${string}` | null;
|
|
160
|
-
}, import("@ensforge/core").
|
|
160
|
+
}, import("@ensforge/core").DnsReadError, Mapped>) => EnsAtomResult<Mapped, import("@ensforge/core").DnsReadError>;
|
|
161
161
|
declare const useDnsRecordSuspense: <Mapped = {
|
|
162
162
|
readonly name: string & import("effect/Brand").Brand<"NormalizedName">;
|
|
163
163
|
readonly recordName: string & import("effect/Brand").Brand<"NormalizedName">;
|
|
@@ -170,7 +170,7 @@ declare const useDnsRecordSuspense: <Mapped = {
|
|
|
170
170
|
readonly resource: number;
|
|
171
171
|
readonly resolver: `0x${string}` | null;
|
|
172
172
|
readonly value: `0x${string}` | null;
|
|
173
|
-
}, import("@ensforge/core").
|
|
173
|
+
}, import("@ensforge/core").DnsReadError, Mapped>) => EnsSuspenseAtomResult<Mapped>;
|
|
174
174
|
declare const useDnsRecords: <Mapped = {
|
|
175
175
|
readonly name: string & import("effect/Brand").Brand<"NormalizedName">;
|
|
176
176
|
readonly resolver: `0x${string}` | null;
|
|
@@ -191,7 +191,7 @@ declare const useDnsRecords: <Mapped = {
|
|
|
191
191
|
readonly resolver: `0x${string}` | null;
|
|
192
192
|
readonly value: `0x${string}` | null;
|
|
193
193
|
}[];
|
|
194
|
-
}, import("@ensforge/core").
|
|
194
|
+
}, import("@ensforge/core").DnsReadError, Mapped>) => EnsAtomResult<Mapped, import("@ensforge/core").DnsReadError>;
|
|
195
195
|
declare const useDnsRecordsSuspense: <Mapped = {
|
|
196
196
|
readonly name: string & import("effect/Brand").Brand<"NormalizedName">;
|
|
197
197
|
readonly resolver: `0x${string}` | null;
|
|
@@ -212,7 +212,7 @@ declare const useDnsRecordsSuspense: <Mapped = {
|
|
|
212
212
|
readonly resolver: `0x${string}` | null;
|
|
213
213
|
readonly value: `0x${string}` | null;
|
|
214
214
|
}[];
|
|
215
|
-
}, import("@ensforge/core").
|
|
215
|
+
}, import("@ensforge/core").DnsReadError, Mapped>) => EnsSuspenseAtomResult<Mapped>;
|
|
216
216
|
declare const useZoneHash: <Mapped = {
|
|
217
217
|
readonly name: string & import("effect/Brand").Brand<"NormalizedName">;
|
|
218
218
|
readonly resolver: `0x${string}` | null;
|
|
@@ -221,7 +221,7 @@ declare const useZoneHash: <Mapped = {
|
|
|
221
221
|
readonly name: string & import("effect/Brand").Brand<"NormalizedName">;
|
|
222
222
|
readonly resolver: `0x${string}` | null;
|
|
223
223
|
readonly value: `0x${string}` | null;
|
|
224
|
-
}, import("@ensforge/core").
|
|
224
|
+
}, import("@ensforge/core").DnsReadError, Mapped>) => EnsAtomResult<Mapped, import("@ensforge/core").DnsReadError>;
|
|
225
225
|
declare const useZoneHashSuspense: <Mapped = {
|
|
226
226
|
readonly name: string & import("effect/Brand").Brand<"NormalizedName">;
|
|
227
227
|
readonly resolver: `0x${string}` | null;
|
|
@@ -230,7 +230,7 @@ declare const useZoneHashSuspense: <Mapped = {
|
|
|
230
230
|
readonly name: string & import("effect/Brand").Brand<"NormalizedName">;
|
|
231
231
|
readonly resolver: `0x${string}` | null;
|
|
232
232
|
readonly value: `0x${string}` | null;
|
|
233
|
-
}, import("@ensforge/core").
|
|
233
|
+
}, import("@ensforge/core").DnsReadError, Mapped>) => EnsSuspenseAtomResult<Mapped>;
|
|
234
234
|
declare const useHasDnsRecords: <Mapped = {
|
|
235
235
|
readonly name: string & import("effect/Brand").Brand<"NormalizedName">;
|
|
236
236
|
readonly recordName: string & import("effect/Brand").Brand<"NormalizedName">;
|
|
@@ -241,7 +241,7 @@ declare const useHasDnsRecords: <Mapped = {
|
|
|
241
241
|
readonly recordName: string & import("effect/Brand").Brand<"NormalizedName">;
|
|
242
242
|
readonly resolver: `0x${string}` | null;
|
|
243
243
|
readonly exists: boolean;
|
|
244
|
-
}, import("@ensforge/core").
|
|
244
|
+
}, import("@ensforge/core").DnsReadError, Mapped>) => EnsAtomResult<Mapped, import("@ensforge/core").DnsReadError>;
|
|
245
245
|
declare const useHasDnsRecordsSuspense: <Mapped = {
|
|
246
246
|
readonly name: string & import("effect/Brand").Brand<"NormalizedName">;
|
|
247
247
|
readonly recordName: string & import("effect/Brand").Brand<"NormalizedName">;
|
|
@@ -252,9 +252,13 @@ declare const useHasDnsRecordsSuspense: <Mapped = {
|
|
|
252
252
|
readonly recordName: string & import("effect/Brand").Brand<"NormalizedName">;
|
|
253
253
|
readonly resolver: `0x${string}` | null;
|
|
254
254
|
readonly exists: boolean;
|
|
255
|
-
}, import("@ensforge/core").
|
|
255
|
+
}, import("@ensforge/core").DnsReadError, Mapped>) => EnsSuspenseAtomResult<Mapped>;
|
|
256
256
|
declare const useClaimDnsName: (options?: EnsMutationOptions<import("@ensforge/core").ClaimDnsNameParameters, import("@ensforge/core").CallExecutionResult, import("@ensforge/core").WriteError>) => EnsMutationResult<import("@ensforge/core").ClaimDnsNameParameters, import("@ensforge/core").CallExecutionResult, import("@ensforge/core").WriteError>;
|
|
257
|
-
declare const useImportDnsName: (options?: EnsMutationOptions<import("@ensforge/core").
|
|
257
|
+
declare const useImportDnsName: (options?: EnsMutationOptions<import("@ensforge/core").ClaimDnsNameParameters & import("@ensforge/core").DnsWriteWalletParameters & {
|
|
258
|
+
readonly resume?: import("@ensforge/core").ImportDnsNameResult;
|
|
259
|
+
}, import("@ensforge/core").ImportDnsNameResult, import("@ensforge/core").WriteError>) => EnsMutationResult<import("@ensforge/core").ClaimDnsNameParameters & import("@ensforge/core").DnsWriteWalletParameters & {
|
|
260
|
+
readonly resume?: import("@ensforge/core").ImportDnsNameResult;
|
|
261
|
+
}, import("@ensforge/core").ImportDnsNameResult, import("@ensforge/core").WriteError>;
|
|
258
262
|
declare const useSetDnsRecords: (options?: EnsMutationOptions<import("@ensforge/core").SetDnsRecordsParameters, import("@ensforge/core").CallExecutionResult, import("@ensforge/core").WriteError>) => EnsMutationResult<import("@ensforge/core").SetDnsRecordsParameters, import("@ensforge/core").CallExecutionResult, import("@ensforge/core").WriteError>;
|
|
259
263
|
declare const useSetZoneHash: (options?: EnsMutationOptions<import("@ensforge/core").SetZoneHashParameters, import("@ensforge/core").CallExecutionResult, import("@ensforge/core").WriteError>) => EnsMutationResult<import("@ensforge/core").SetZoneHashParameters, import("@ensforge/core").CallExecutionResult, import("@ensforge/core").WriteError>;
|
|
260
264
|
//#endregion
|
package/dist/hooks/dns.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version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