@ensforge/react 0.1.0 → 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 +17 -10
- package/dist/atoms/batch.d.ts +6 -6
- package/dist/atoms/batch.d.ts.map +1 -1
- package/dist/atoms/capabilities.d.ts +23 -23
- package/dist/atoms/capabilities.d.ts.map +1 -1
- package/dist/atoms/dns.d.ts +16 -14
- package/dist/atoms/dns.d.ts.map +1 -1
- package/dist/atoms/events.d.ts +42 -42
- package/dist/atoms/events.d.ts.map +1 -1
- package/dist/atoms/generic.d.ts +8 -5
- package/dist/atoms/generic.d.ts.map +1 -1
- package/dist/atoms/generic.js.map +1 -1
- package/dist/atoms/migration.d.ts +6 -6
- package/dist/atoms/migration.d.ts.map +1 -1
- package/dist/atoms/name.d.ts +24 -24
- 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 +13 -13
- package/dist/atoms/records.d.ts.map +1 -1
- package/dist/atoms/registration.d.ts +41 -11
- package/dist/atoms/registration.d.ts.map +1 -1
- package/dist/atoms/resolution.d.ts +10 -10
- 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 +119 -119
- package/dist/hooks/capabilities.d.ts.map +1 -1
- package/dist/hooks/dns.d.ts +44 -40
- package/dist/hooks/dns.d.ts.map +1 -1
- package/dist/hooks/events.d.ts +132 -132
- package/dist/hooks/events.d.ts.map +1 -1
- package/dist/hooks/generic.d.ts +8 -6
- 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 +28 -28
- package/dist/hooks/migration.d.ts.map +1 -1
- package/dist/hooks/name.d.ts +77 -77
- 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 +70 -70
- package/dist/hooks/records.d.ts.map +1 -1
- package/dist/hooks/registration.d.ts +108 -48
- package/dist/hooks/registration.d.ts.map +1 -1
- package/dist/hooks/resolution.d.ts +35 -35
- 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 +13 -13
- 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/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/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 +3 -3
package/dist/hooks/name.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"name.d.ts","names":[],"sources":["../../src/hooks/name.ts"],"mappings":";;;;;cAsBa,uBAAoB,
|
|
1
|
+
{"version":3,"file":"name.d.ts","names":[],"sources":["../../src/hooks/name.ts"],"mappings":";;;;;cAsBa,uBAAoB,wBAAA,OAAA,8CAAA,wEAAA,2BAAA,YAAA,cAAA,iCAAA;cACpB,+BAA4B,wBAAA,OAAA,sDAAA,wEAAA,2BAAA,YAAA,sBAAA;cAC5B,YAAS;;;;;;;iBAA+B;;;;;;;mCAAA,g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a,+BAAA,OAAA,8CAAA,+EAAA,2BAAA,YAAA,cAAA,iCAAA;cACb,wBAAqB,+BAAA,OAAA,sDAAA,+EAAA,2BAAA,YAAA,sBAAA;cACrB,cAAW,wBAAA,OAAA,8CAAA,wEAAA,2BAAA,YAAA,cAAA,iCAAA;cACX,sBAAmB,wBAAA,OAAA,sDAAA,wEAAA,2BAAA,YAAA,sBAAA;cACnB,aAAU,wBAAA,OAAA,8CAAA,wEAAA,2BAAA,YAAA,cAAA,iCAAA;cACV,qBAAkB,wBAAA,OAAA,sDAAA,wEAAA,2BAAA,YAAA,sBAAA;cAClB,iBAAc,kBAAA,OAAA,8CAAA,kEAAA,2BAAA,YAAA,cAAA,iCAAA;cACd,yBAAsB,kBAAA,OAAA,sDAAA,kEAAA,2BAAA,YAAA,sBAAA;cACtB,gBAAa,kBAAA,OAAA,8CAAA,kEAAA,2BAAA,YAAA,cAAA,iCAAA;cACb,wBAAqB,kBAAA,OAAA,sDAAA,kEAAA,2BAAA,YAAA,sBAAA;cACrB,iBAAc,kBAAA,OAAA,8CAAA,kEAAA,2BAAA,YAAA,cAAA,iCAAA;cACd,yBAAsB,kBAAA,OAAA,sDAAA,kEAAA,2BAAA,YAAA,sBAAA;cACtB,gBAAa,kBAAA,OAAA,8CAAA,kEAAA,2BAAA,YAAA,cAAA,iCAAA;cACb,wBAAqB,kBAAA,OAAA,sDAAA,kEAAA,2BAAA,YAAA,sBAAA;cACrB,eAAY,kBAAA,OAAA,8CAAA,kEAAA,2BAAA,YAAA,cAAA,iCAAA;cACZ,uBAAoB,kBAAA,OAAA,sDAAA,kEAAA,2BAAA,YAAA,sBAAA"}
|
|
@@ -1,12 +1,12 @@
|
|
|
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/ownership.d.ts
|
|
8
|
-
declare const useTtl: <
|
|
9
|
-
declare const useTtlSuspense: <
|
|
8
|
+
declare const useTtl: <Mapped = import("@ensforge/core").GetTtlResult>(input: UseEnsAtomParameters<import("@ensforge/core").GetCanonicalResourceParameters, import("@ensforge/core").GetTtlResult, import("@ensforge/core").GetCanonicalResourceError, Mapped>) => EnsAtomResult<Mapped, import("@ensforge/core").GetCanonicalResourceError>;
|
|
9
|
+
declare const useTtlSuspense: <Mapped = import("@ensforge/core").GetTtlResult>(input: UseEnsSuspenseAtomParameters<import("@ensforge/core").GetCanonicalResourceParameters, import("@ensforge/core").GetTtlResult, import("@ensforge/core").GetCanonicalResourceError, Mapped>) => EnsSuspenseAtomResult<Mapped>;
|
|
10
10
|
declare const useReclaimName: (options?: EnsMutationOptions<import("@ensforge/core").ReclaimNameParameters, import("@ensforge/core").CallExecutionResult, import("@ensforge/core").WriteError>) => EnsMutationResult<import("@ensforge/core").ReclaimNameParameters, import("@ensforge/core").CallExecutionResult, import("@ensforge/core").WriteError>;
|
|
11
11
|
declare const useSetManager: (options?: EnsMutationOptions<import("@ensforge/core").SetManagerParameters, import("@ensforge/core").CallExecutionResult, import("@ensforge/core").WriteError>) => EnsMutationResult<import("@ensforge/core").SetManagerParameters, import("@ensforge/core").CallExecutionResult, import("@ensforge/core").WriteError>;
|
|
12
12
|
declare const useSetTtl: (options?: EnsMutationOptions<import("@ensforge/core").SetTtlParameters, import("@ensforge/core").CallExecutionResult, import("@ensforge/core").WriteError>) => EnsMutationResult<import("@ensforge/core").SetTtlParameters, import("@ensforge/core").CallExecutionResult, import("@ensforge/core").WriteError>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ownership.d.ts","names":[],"sources":["../../src/hooks/ownership.ts"],"mappings":";;;;;;;cAca,SAAM,
|
|
1
|
+
{"version":3,"file":"ownership.d.ts","names":[],"sources":["../../src/hooks/ownership.ts"],"mappings":";;;;;;;cAca,SAAM,kCAAA,cAAA,OAAA,8CAAA,yDAAA,uCAAA,2BAAA,YAAA,cAAA,iCAAA;cACN,iBAAc,kCAAA,cAAA,OAAA,sDAAA,yDAAA,uCAAA,2BAAA,YAAA,sBAAA;cAEd,iBAAc,UAAd,4CAAc,gDAAA,8CAAA,gBAAA,2CAAA,gDAAA,8CAAA;cACd,gBAAa,UAAb,4CAAa,+CAAA,8CAAA,gBAAA,2CAAA,+CAAA,8CAAA;cACb,YAAS,UAAT,4CAAS,2CAAA,8CAAA,gBAAA,2CAAA,2CAAA,8CAAA;cACT,kBAAe,UAAf,4CAAe,iDAAA,+CAAA,gBAAA,2CAAA,iDAAA,+CAAA;cACf,wBAAqB,UAArB,4CAAqB,uDAAA,8CAAA,gBAAA,2CAAA,uDAAA,8CAAA"}
|
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>;
|
|
@@ -283,7 +283,7 @@ declare const useSetData: (options?: EnsMutationOptions<import("@ensforge/core")
|
|
|
283
283
|
declare const useSetInterface: (options?: EnsMutationOptions<import("@ensforge/core").SetInterfaceParameters, import("@ensforge/core").CallExecutionResult, import("@ensforge/core").WriteError>) => EnsMutationResult<import("@ensforge/core").SetInterfaceParameters, import("@ensforge/core").CallExecutionResult, import("@ensforge/core").WriteError>;
|
|
284
284
|
declare const useSetName: (options?: EnsMutationOptions<import("@ensforge/core").SetNameParameters, import("@ensforge/core").CallExecutionResult, import("@ensforge/core").WriteError>) => EnsMutationResult<import("@ensforge/core").SetNameParameters, import("@ensforge/core").CallExecutionResult, import("@ensforge/core").WriteError>;
|
|
285
285
|
declare const useSetPubkey: (options?: EnsMutationOptions<import("@ensforge/core").SetPubkeyParameters, import("@ensforge/core").CallExecutionResult, import("@ensforge/core").WriteError>) => EnsMutationResult<import("@ensforge/core").SetPubkeyParameters, import("@ensforge/core").CallExecutionResult, import("@ensforge/core").WriteError>;
|
|
286
|
-
declare const useSetRecords: (options?: EnsMutationOptions<import("@ensforge/core").SetRecordsParameters, import("@ensforge/core").SetRecordsResult, import("@ensforge/core").WriteError>) => EnsMutationResult<import("@ensforge/core").SetRecordsParameters, import("@ensforge/core").SetRecordsResult, import("@ensforge/core").WriteError>;
|
|
286
|
+
declare const useSetRecords: (options?: EnsMutationOptions<import("@ensforge/core").SetRecordsParameters, import("@ensforge/core").CallExecutionResult | import("@ensforge/core").SetRecordsResult, import("@ensforge/core").WriteError>) => EnsMutationResult<import("@ensforge/core").SetRecordsParameters, import("@ensforge/core").CallExecutionResult | import("@ensforge/core").SetRecordsResult, import("@ensforge/core").WriteError>;
|
|
287
287
|
declare const useSetText: (options?: EnsMutationOptions<import("@ensforge/core").SetTextParameters, import("@ensforge/core").CallExecutionResult, import("@ensforge/core").WriteError>) => EnsMutationResult<import("@ensforge/core").SetTextParameters, import("@ensforge/core").CallExecutionResult, import("@ensforge/core").WriteError>;
|
|
288
288
|
declare const useSetTexts: (options?: EnsMutationOptions<import("@ensforge/core").SetTextsParameters, import("@ensforge/core").CallExecutionResult, import("@ensforge/core").WriteError>) => EnsMutationResult<import("@ensforge/core").SetTextsParameters, import("@ensforge/core").CallExecutionResult, import("@ensforge/core").WriteError>;
|
|
289
289
|
//#endregion
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"records.d.ts","names":[],"sources":["../../src/hooks/records.ts"],"mappings":";;;;;;;cAkCa,SAAM;;;;;;;;;;;;UAA4B;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"records.d.ts","names":[],"sources":["../../src/hooks/records.ts"],"mappings":";;;;;;;cAkCa,SAAM;;;;;;;;;;;;UAA4B;;;;;;;;;;;;4BAAA,a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