@xyo-network/xns-record-payload-plugins 4.1.0 → 4.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/browser/DNS/Witness/Payload/Request.d.ts +2 -2
- package/dist/browser/DNS/Witness/Payload/Response.d.ts +2 -2
- package/dist/browser/Domain/Domain.d.ts +2 -2
- package/dist/browser/Domain/DomainLease.d.ts +2 -2
- package/dist/browser/DomainRegistration/DomainRegistration.d.ts +2 -2
- package/dist/browser/DomainRegistration/DomainRegistrationLease.d.ts +2 -2
- package/dist/browser/index.d.ts +13 -13
- package/dist/neutral/DNS/Witness/Payload/Request.d.ts +2 -2
- package/dist/neutral/DNS/Witness/Payload/Response.d.ts +2 -2
- package/dist/neutral/Domain/Domain.d.ts +2 -2
- package/dist/neutral/Domain/DomainLease.d.ts +2 -2
- package/dist/neutral/DomainRegistration/DomainRegistration.d.ts +2 -2
- package/dist/neutral/DomainRegistration/DomainRegistrationLease.d.ts +2 -2
- package/dist/neutral/index.d.ts +13 -13
- package/dist/node/DNS/Witness/Payload/Request.d.ts +2 -2
- package/dist/node/DNS/Witness/Payload/Response.d.ts +2 -2
- package/dist/node/Domain/Domain.d.ts +2 -2
- package/dist/node/Domain/DomainLease.d.ts +2 -2
- package/dist/node/DomainRegistration/DomainRegistration.d.ts +2 -2
- package/dist/node/DomainRegistration/DomainRegistrationLease.d.ts +2 -2
- package/dist/node/index.d.ts +13 -13
- package/package.json +18 -18
|
@@ -10,13 +10,13 @@ export type DNSRequest = Payload<DNSRequestFields, DNSSchema>;
|
|
|
10
10
|
*/
|
|
11
11
|
export declare const isDNSRequest: (x?: unknown | null) => x is DNSRequest;
|
|
12
12
|
export declare const asDNSRequest: import("@xylabs/object").AsTypeFunction<DNSRequest>;
|
|
13
|
-
export declare const asOptionalDNSRequest: (value: import(".store/@xylabs-promise-npm-4.13.
|
|
13
|
+
export declare const asOptionalDNSRequest: (value: import(".store/@xylabs-promise-npm-4.13.23-cc6fbb2faf/package").AnyNonPromise) => DNSRequest | undefined;
|
|
14
14
|
/**
|
|
15
15
|
* Identity function for determining if an object is a DNSRequest payload with sources
|
|
16
16
|
*/
|
|
17
17
|
export declare const isDNSRequestWithSources: (x?: unknown | null) => x is WithSources<WithSources<DNSRequest>>;
|
|
18
18
|
export declare const asDNSRequestWithSources: import("@xylabs/object").AsTypeFunction<WithSources<DNSRequest>>;
|
|
19
|
-
export declare const asOptionalDNSRequestWithSources: (value: import(".store/@xylabs-promise-npm-4.13.
|
|
19
|
+
export declare const asOptionalDNSRequestWithSources: (value: import(".store/@xylabs-promise-npm-4.13.23-cc6fbb2faf/package").AnyNonPromise) => WithSources<DNSRequest> | undefined;
|
|
20
20
|
/**
|
|
21
21
|
* Helper for generating a DNSRequest payload for a given domain and record type
|
|
22
22
|
* @param domain The domain to query
|
|
@@ -10,11 +10,11 @@ export type DNSResponse = PayloadWithSources<DNSResponseFields, DNSSchema>;
|
|
|
10
10
|
*/
|
|
11
11
|
export declare const isDNSResponse: (x?: unknown | null) => x is DNSResponse;
|
|
12
12
|
export declare const asDNSResponse: import("@xylabs/object").AsTypeFunction<DNSResponse>;
|
|
13
|
-
export declare const asOptionalDNSResponse: (value: import(".store/@xylabs-promise-npm-4.13.
|
|
13
|
+
export declare const asOptionalDNSResponse: (value: import(".store/@xylabs-promise-npm-4.13.23-cc6fbb2faf/package").AnyNonPromise) => DNSResponse | undefined;
|
|
14
14
|
/**
|
|
15
15
|
* Identity function for determining if an object is a DNSResponse payload with sources
|
|
16
16
|
*/
|
|
17
17
|
export declare const isDNSResponseWithSources: (x?: unknown | null) => x is WithSources<DNSResponse>;
|
|
18
18
|
export declare const asDNSResponseWithSources: import("@xylabs/object").AsTypeFunction<WithSources<DNSResponse>>;
|
|
19
|
-
export declare const asOptionalDNSResponseWithSources: (value: import(".store/@xylabs-promise-npm-4.13.
|
|
19
|
+
export declare const asOptionalDNSResponseWithSources: (value: import(".store/@xylabs-promise-npm-4.13.23-cc6fbb2faf/package").AnyNonPromise) => WithSources<DNSResponse> | undefined;
|
|
20
20
|
//# sourceMappingURL=Response.d.ts.map
|
|
@@ -27,11 +27,11 @@ export type Domain = Payload<DomainFields, DomainSchema>;
|
|
|
27
27
|
*/
|
|
28
28
|
export declare const isDomain: (x?: unknown | null) => x is Domain;
|
|
29
29
|
export declare const asDomain: import("@xylabs/object").AsTypeFunction<Domain>;
|
|
30
|
-
export declare const asOptionalDomain: (value: import(".store/@xylabs-promise-npm-4.13.
|
|
30
|
+
export declare const asOptionalDomain: (value: import(".store/@xylabs-promise-npm-4.13.23-cc6fbb2faf/package").AnyNonPromise) => Domain | undefined;
|
|
31
31
|
/**
|
|
32
32
|
* Identity function for Domain payload with sources
|
|
33
33
|
*/
|
|
34
34
|
export declare const isDomainWithSources: (x?: unknown | null) => x is WithSources<WithSources<Domain>>;
|
|
35
35
|
export declare const asDomainWithSources: import("@xylabs/object").AsTypeFunction<WithSources<Domain>>;
|
|
36
|
-
export declare const asOptionalDomainWithSources: (value: import(".store/@xylabs-promise-npm-4.13.
|
|
36
|
+
export declare const asOptionalDomainWithSources: (value: import(".store/@xylabs-promise-npm-4.13.23-cc6fbb2faf/package").AnyNonPromise) => WithSources<Domain> | undefined;
|
|
37
37
|
//# sourceMappingURL=Domain.d.ts.map
|
|
@@ -17,11 +17,11 @@ export type DomainLease = Payload<DomainLeaseFields, DomainLeaseSchema>;
|
|
|
17
17
|
*/
|
|
18
18
|
export declare const isDomainLease: (x?: unknown | null) => x is DomainLease;
|
|
19
19
|
export declare const asDomainLease: import("@xylabs/object").AsTypeFunction<DomainLease>;
|
|
20
|
-
export declare const asOptionalDomainLease: (value: import(".store/@xylabs-promise-npm-4.13.
|
|
20
|
+
export declare const asOptionalDomainLease: (value: import(".store/@xylabs-promise-npm-4.13.23-cc6fbb2faf/package").AnyNonPromise) => DomainLease | undefined;
|
|
21
21
|
/**
|
|
22
22
|
* Identity function for DomainLease payload with sources
|
|
23
23
|
*/
|
|
24
24
|
export declare const isDomainLeaseWithSources: (x?: unknown | null) => x is WithSources<WithSources<DomainLease>>;
|
|
25
25
|
export declare const asDomainLeaseWithSources: import("@xylabs/object").AsTypeFunction<WithSources<DomainLease>>;
|
|
26
|
-
export declare const asOptionalDomainLeaseWithSources: (value: import(".store/@xylabs-promise-npm-4.13.
|
|
26
|
+
export declare const asOptionalDomainLeaseWithSources: (value: import(".store/@xylabs-promise-npm-4.13.23-cc6fbb2faf/package").AnyNonPromise) => WithSources<DomainLease> | undefined;
|
|
27
27
|
//# sourceMappingURL=DomainLease.d.ts.map
|
|
@@ -22,11 +22,11 @@ export type DomainRegistration = Payload<DomainRegistrationFields, DomainRegistr
|
|
|
22
22
|
*/
|
|
23
23
|
export declare const isDomainRegistration: (x?: unknown | null) => x is DomainRegistration;
|
|
24
24
|
export declare const asDomainRegistration: import("@xylabs/object").AsTypeFunction<DomainRegistration>;
|
|
25
|
-
export declare const asOptionalDomainRegistration: (value: import(".store/@xylabs-promise-npm-4.13.
|
|
25
|
+
export declare const asOptionalDomainRegistration: (value: import(".store/@xylabs-promise-npm-4.13.23-cc6fbb2faf/package").AnyNonPromise) => DomainRegistration | undefined;
|
|
26
26
|
/**
|
|
27
27
|
* Identity function for DomainRegistration payload with sources
|
|
28
28
|
*/
|
|
29
29
|
export declare const isDomainRegistrationWithSources: (x?: unknown | null) => x is WithSources<WithSources<DomainRegistration>>;
|
|
30
30
|
export declare const asDomainRegistrationWithSources: import("@xylabs/object").AsTypeFunction<WithSources<DomainRegistration>>;
|
|
31
|
-
export declare const asOptionalDomainRegistrationWithSources: (value: import(".store/@xylabs-promise-npm-4.13.
|
|
31
|
+
export declare const asOptionalDomainRegistrationWithSources: (value: import(".store/@xylabs-promise-npm-4.13.23-cc6fbb2faf/package").AnyNonPromise) => WithSources<DomainRegistration> | undefined;
|
|
32
32
|
//# sourceMappingURL=DomainRegistration.d.ts.map
|
|
@@ -14,13 +14,13 @@ export type DomainRegistrationLease = Payload<DomainRegistrationLeaseFields, Dom
|
|
|
14
14
|
*/
|
|
15
15
|
export declare const isDomainRegistrationLease: (x?: unknown | null) => x is DomainRegistrationLease;
|
|
16
16
|
export declare const asDomainRegistrationLease: import("@xylabs/object").AsTypeFunction<DomainRegistrationLease>;
|
|
17
|
-
export declare const asOptionalDomainRegistrationLease: (value: import(".store/@xylabs-promise-npm-4.13.
|
|
17
|
+
export declare const asOptionalDomainRegistrationLease: (value: import(".store/@xylabs-promise-npm-4.13.23-cc6fbb2faf/package").AnyNonPromise) => DomainRegistrationLease | undefined;
|
|
18
18
|
/**
|
|
19
19
|
* Identity function for DomainRegistrationLease payload with sources
|
|
20
20
|
*/
|
|
21
21
|
export declare const isDomainRegistrationLeaseWithSources: (x?: unknown | null) => x is WithSources<WithSources<DomainRegistrationLease>>;
|
|
22
22
|
export declare const asDomainRegistrationLeaseWithSources: import("@xylabs/object").AsTypeFunction<WithSources<DomainRegistrationLease>>;
|
|
23
|
-
export declare const asOptionalDomainRegistrationLeaseWithSources: (value: import(".store/@xylabs-promise-npm-4.13.
|
|
23
|
+
export declare const asOptionalDomainRegistrationLeaseWithSources: (value: import(".store/@xylabs-promise-npm-4.13.23-cc6fbb2faf/package").AnyNonPromise) => WithSources<DomainRegistrationLease> | undefined;
|
|
24
24
|
/**
|
|
25
25
|
* @deprecated Use isDomainRegistrationLeaseWithSources instead
|
|
26
26
|
*/
|
package/dist/browser/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Address, Hash } from '@xylabs/hex';
|
|
2
2
|
import * as _xyo_network_payload_model from '@xyo-network/payload-model';
|
|
3
3
|
import { Payload, WithSources, PayloadWithSources } from '@xyo-network/payload-model';
|
|
4
|
-
import * as
|
|
4
|
+
import * as _store__xylabs_promise_npm_4_13_23_cc6fbb2faf_package from '.store/@xylabs-promise-npm-4.13.23-cc6fbb2faf/package';
|
|
5
5
|
import * as _xylabs_object from '@xylabs/object';
|
|
6
6
|
import { BoundWitness } from '@xyo-network/boundwitness-model';
|
|
7
7
|
import { HashLeaseEstimate } from '@xyo-network/diviner-hash-lease';
|
|
@@ -36,13 +36,13 @@ type Domain = Payload<DomainFields, DomainSchema>;
|
|
|
36
36
|
*/
|
|
37
37
|
declare const isDomain: (x?: unknown | null) => x is Domain;
|
|
38
38
|
declare const asDomain: _xylabs_object.AsTypeFunction<Domain>;
|
|
39
|
-
declare const asOptionalDomain: (value:
|
|
39
|
+
declare const asOptionalDomain: (value: _store__xylabs_promise_npm_4_13_23_cc6fbb2faf_package.AnyNonPromise) => Domain | undefined;
|
|
40
40
|
/**
|
|
41
41
|
* Identity function for Domain payload with sources
|
|
42
42
|
*/
|
|
43
43
|
declare const isDomainWithSources: (x?: unknown | null) => x is WithSources<WithSources<Domain>>;
|
|
44
44
|
declare const asDomainWithSources: _xylabs_object.AsTypeFunction<WithSources<Domain>>;
|
|
45
|
-
declare const asOptionalDomainWithSources: (value:
|
|
45
|
+
declare const asOptionalDomainWithSources: (value: _store__xylabs_promise_npm_4_13_23_cc6fbb2faf_package.AnyNonPromise) => WithSources<Domain> | undefined;
|
|
46
46
|
|
|
47
47
|
interface DurationFields {
|
|
48
48
|
/**
|
|
@@ -76,13 +76,13 @@ type DomainLease = Payload<DomainLeaseFields, DomainLeaseSchema>;
|
|
|
76
76
|
*/
|
|
77
77
|
declare const isDomainLease: (x?: unknown | null) => x is DomainLease;
|
|
78
78
|
declare const asDomainLease: _xylabs_object.AsTypeFunction<DomainLease>;
|
|
79
|
-
declare const asOptionalDomainLease: (value:
|
|
79
|
+
declare const asOptionalDomainLease: (value: _store__xylabs_promise_npm_4_13_23_cc6fbb2faf_package.AnyNonPromise) => DomainLease | undefined;
|
|
80
80
|
/**
|
|
81
81
|
* Identity function for DomainLease payload with sources
|
|
82
82
|
*/
|
|
83
83
|
declare const isDomainLeaseWithSources: (x?: unknown | null) => x is WithSources<WithSources<DomainLease>>;
|
|
84
84
|
declare const asDomainLeaseWithSources: _xylabs_object.AsTypeFunction<WithSources<DomainLease>>;
|
|
85
|
-
declare const asOptionalDomainLeaseWithSources: (value:
|
|
85
|
+
declare const asOptionalDomainLeaseWithSources: (value: _store__xylabs_promise_npm_4_13_23_cc6fbb2faf_package.AnyNonPromise) => WithSources<DomainLease> | undefined;
|
|
86
86
|
|
|
87
87
|
type AddressRecordSchema = 'network.xyo.ns.record.address';
|
|
88
88
|
declare const AddressRecordSchema: AddressRecordSchema;
|
|
@@ -156,13 +156,13 @@ type DomainRegistration = Payload<DomainRegistrationFields, DomainRegistrationSc
|
|
|
156
156
|
*/
|
|
157
157
|
declare const isDomainRegistration: (x?: unknown | null) => x is DomainRegistration;
|
|
158
158
|
declare const asDomainRegistration: _xylabs_object.AsTypeFunction<DomainRegistration>;
|
|
159
|
-
declare const asOptionalDomainRegistration: (value:
|
|
159
|
+
declare const asOptionalDomainRegistration: (value: _store__xylabs_promise_npm_4_13_23_cc6fbb2faf_package.AnyNonPromise) => DomainRegistration | undefined;
|
|
160
160
|
/**
|
|
161
161
|
* Identity function for DomainRegistration payload with sources
|
|
162
162
|
*/
|
|
163
163
|
declare const isDomainRegistrationWithSources: (x?: unknown | null) => x is WithSources<WithSources<DomainRegistration>>;
|
|
164
164
|
declare const asDomainRegistrationWithSources: _xylabs_object.AsTypeFunction<WithSources<DomainRegistration>>;
|
|
165
|
-
declare const asOptionalDomainRegistrationWithSources: (value:
|
|
165
|
+
declare const asOptionalDomainRegistrationWithSources: (value: _store__xylabs_promise_npm_4_13_23_cc6fbb2faf_package.AnyNonPromise) => WithSources<DomainRegistration> | undefined;
|
|
166
166
|
|
|
167
167
|
declare const DomainRegistrationLeaseSchema: "network.xyo.ns.domain.registration.lease";
|
|
168
168
|
type DomainRegistrationLeaseSchema = typeof DomainRegistrationLeaseSchema;
|
|
@@ -177,13 +177,13 @@ type DomainRegistrationLease = Payload<DomainRegistrationLeaseFields, DomainRegi
|
|
|
177
177
|
*/
|
|
178
178
|
declare const isDomainRegistrationLease: (x?: unknown | null) => x is DomainRegistrationLease;
|
|
179
179
|
declare const asDomainRegistrationLease: _xylabs_object.AsTypeFunction<DomainRegistrationLease>;
|
|
180
|
-
declare const asOptionalDomainRegistrationLease: (value:
|
|
180
|
+
declare const asOptionalDomainRegistrationLease: (value: _store__xylabs_promise_npm_4_13_23_cc6fbb2faf_package.AnyNonPromise) => DomainRegistrationLease | undefined;
|
|
181
181
|
/**
|
|
182
182
|
* Identity function for DomainRegistrationLease payload with sources
|
|
183
183
|
*/
|
|
184
184
|
declare const isDomainRegistrationLeaseWithSources: (x?: unknown | null) => x is WithSources<WithSources<DomainRegistrationLease>>;
|
|
185
185
|
declare const asDomainRegistrationLeaseWithSources: _xylabs_object.AsTypeFunction<WithSources<DomainRegistrationLease>>;
|
|
186
|
-
declare const asOptionalDomainRegistrationLeaseWithSources: (value:
|
|
186
|
+
declare const asOptionalDomainRegistrationLeaseWithSources: (value: _store__xylabs_promise_npm_4_13_23_cc6fbb2faf_package.AnyNonPromise) => WithSources<DomainRegistrationLease> | undefined;
|
|
187
187
|
/**
|
|
188
188
|
* @deprecated Use isDomainRegistrationLeaseWithSources instead
|
|
189
189
|
*/
|
|
@@ -356,13 +356,13 @@ type DNSRequest = Payload<DNSRequestFields, DNSSchema>;
|
|
|
356
356
|
*/
|
|
357
357
|
declare const isDNSRequest: (x?: unknown | null) => x is DNSRequest;
|
|
358
358
|
declare const asDNSRequest: _xylabs_object.AsTypeFunction<DNSRequest>;
|
|
359
|
-
declare const asOptionalDNSRequest: (value:
|
|
359
|
+
declare const asOptionalDNSRequest: (value: _store__xylabs_promise_npm_4_13_23_cc6fbb2faf_package.AnyNonPromise) => DNSRequest | undefined;
|
|
360
360
|
/**
|
|
361
361
|
* Identity function for determining if an object is a DNSRequest payload with sources
|
|
362
362
|
*/
|
|
363
363
|
declare const isDNSRequestWithSources: (x?: unknown | null) => x is WithSources<WithSources<DNSRequest>>;
|
|
364
364
|
declare const asDNSRequestWithSources: _xylabs_object.AsTypeFunction<WithSources<DNSRequest>>;
|
|
365
|
-
declare const asOptionalDNSRequestWithSources: (value:
|
|
365
|
+
declare const asOptionalDNSRequestWithSources: (value: _store__xylabs_promise_npm_4_13_23_cc6fbb2faf_package.AnyNonPromise) => WithSources<DNSRequest> | undefined;
|
|
366
366
|
/**
|
|
367
367
|
* Helper for generating a DNSRequest payload for a given domain and record type
|
|
368
368
|
* @param domain The domain to query
|
|
@@ -380,13 +380,13 @@ type DNSResponse = PayloadWithSources<DNSResponseFields, DNSSchema>;
|
|
|
380
380
|
*/
|
|
381
381
|
declare const isDNSResponse: (x?: unknown | null) => x is DNSResponse;
|
|
382
382
|
declare const asDNSResponse: _xylabs_object.AsTypeFunction<DNSResponse>;
|
|
383
|
-
declare const asOptionalDNSResponse: (value:
|
|
383
|
+
declare const asOptionalDNSResponse: (value: _store__xylabs_promise_npm_4_13_23_cc6fbb2faf_package.AnyNonPromise) => DNSResponse | undefined;
|
|
384
384
|
/**
|
|
385
385
|
* Identity function for determining if an object is a DNSResponse payload with sources
|
|
386
386
|
*/
|
|
387
387
|
declare const isDNSResponseWithSources: (x?: unknown | null) => x is WithSources<DNSResponse>;
|
|
388
388
|
declare const asDNSResponseWithSources: _xylabs_object.AsTypeFunction<WithSources<DNSResponse>>;
|
|
389
|
-
declare const asOptionalDNSResponseWithSources: (value:
|
|
389
|
+
declare const asOptionalDNSResponseWithSources: (value: _store__xylabs_promise_npm_4_13_23_cc6fbb2faf_package.AnyNonPromise) => WithSources<DNSResponse> | undefined;
|
|
390
390
|
|
|
391
391
|
type DNS = DNSRequest | DNSResponse;
|
|
392
392
|
|
|
@@ -10,13 +10,13 @@ export type DNSRequest = Payload<DNSRequestFields, DNSSchema>;
|
|
|
10
10
|
*/
|
|
11
11
|
export declare const isDNSRequest: (x?: unknown | null) => x is DNSRequest;
|
|
12
12
|
export declare const asDNSRequest: import("@xylabs/object").AsTypeFunction<DNSRequest>;
|
|
13
|
-
export declare const asOptionalDNSRequest: (value: import(".store/@xylabs-promise-npm-4.13.
|
|
13
|
+
export declare const asOptionalDNSRequest: (value: import(".store/@xylabs-promise-npm-4.13.23-cc6fbb2faf/package").AnyNonPromise) => DNSRequest | undefined;
|
|
14
14
|
/**
|
|
15
15
|
* Identity function for determining if an object is a DNSRequest payload with sources
|
|
16
16
|
*/
|
|
17
17
|
export declare const isDNSRequestWithSources: (x?: unknown | null) => x is WithSources<WithSources<DNSRequest>>;
|
|
18
18
|
export declare const asDNSRequestWithSources: import("@xylabs/object").AsTypeFunction<WithSources<DNSRequest>>;
|
|
19
|
-
export declare const asOptionalDNSRequestWithSources: (value: import(".store/@xylabs-promise-npm-4.13.
|
|
19
|
+
export declare const asOptionalDNSRequestWithSources: (value: import(".store/@xylabs-promise-npm-4.13.23-cc6fbb2faf/package").AnyNonPromise) => WithSources<DNSRequest> | undefined;
|
|
20
20
|
/**
|
|
21
21
|
* Helper for generating a DNSRequest payload for a given domain and record type
|
|
22
22
|
* @param domain The domain to query
|
|
@@ -10,11 +10,11 @@ export type DNSResponse = PayloadWithSources<DNSResponseFields, DNSSchema>;
|
|
|
10
10
|
*/
|
|
11
11
|
export declare const isDNSResponse: (x?: unknown | null) => x is DNSResponse;
|
|
12
12
|
export declare const asDNSResponse: import("@xylabs/object").AsTypeFunction<DNSResponse>;
|
|
13
|
-
export declare const asOptionalDNSResponse: (value: import(".store/@xylabs-promise-npm-4.13.
|
|
13
|
+
export declare const asOptionalDNSResponse: (value: import(".store/@xylabs-promise-npm-4.13.23-cc6fbb2faf/package").AnyNonPromise) => DNSResponse | undefined;
|
|
14
14
|
/**
|
|
15
15
|
* Identity function for determining if an object is a DNSResponse payload with sources
|
|
16
16
|
*/
|
|
17
17
|
export declare const isDNSResponseWithSources: (x?: unknown | null) => x is WithSources<DNSResponse>;
|
|
18
18
|
export declare const asDNSResponseWithSources: import("@xylabs/object").AsTypeFunction<WithSources<DNSResponse>>;
|
|
19
|
-
export declare const asOptionalDNSResponseWithSources: (value: import(".store/@xylabs-promise-npm-4.13.
|
|
19
|
+
export declare const asOptionalDNSResponseWithSources: (value: import(".store/@xylabs-promise-npm-4.13.23-cc6fbb2faf/package").AnyNonPromise) => WithSources<DNSResponse> | undefined;
|
|
20
20
|
//# sourceMappingURL=Response.d.ts.map
|
|
@@ -27,11 +27,11 @@ export type Domain = Payload<DomainFields, DomainSchema>;
|
|
|
27
27
|
*/
|
|
28
28
|
export declare const isDomain: (x?: unknown | null) => x is Domain;
|
|
29
29
|
export declare const asDomain: import("@xylabs/object").AsTypeFunction<Domain>;
|
|
30
|
-
export declare const asOptionalDomain: (value: import(".store/@xylabs-promise-npm-4.13.
|
|
30
|
+
export declare const asOptionalDomain: (value: import(".store/@xylabs-promise-npm-4.13.23-cc6fbb2faf/package").AnyNonPromise) => Domain | undefined;
|
|
31
31
|
/**
|
|
32
32
|
* Identity function for Domain payload with sources
|
|
33
33
|
*/
|
|
34
34
|
export declare const isDomainWithSources: (x?: unknown | null) => x is WithSources<WithSources<Domain>>;
|
|
35
35
|
export declare const asDomainWithSources: import("@xylabs/object").AsTypeFunction<WithSources<Domain>>;
|
|
36
|
-
export declare const asOptionalDomainWithSources: (value: import(".store/@xylabs-promise-npm-4.13.
|
|
36
|
+
export declare const asOptionalDomainWithSources: (value: import(".store/@xylabs-promise-npm-4.13.23-cc6fbb2faf/package").AnyNonPromise) => WithSources<Domain> | undefined;
|
|
37
37
|
//# sourceMappingURL=Domain.d.ts.map
|
|
@@ -17,11 +17,11 @@ export type DomainLease = Payload<DomainLeaseFields, DomainLeaseSchema>;
|
|
|
17
17
|
*/
|
|
18
18
|
export declare const isDomainLease: (x?: unknown | null) => x is DomainLease;
|
|
19
19
|
export declare const asDomainLease: import("@xylabs/object").AsTypeFunction<DomainLease>;
|
|
20
|
-
export declare const asOptionalDomainLease: (value: import(".store/@xylabs-promise-npm-4.13.
|
|
20
|
+
export declare const asOptionalDomainLease: (value: import(".store/@xylabs-promise-npm-4.13.23-cc6fbb2faf/package").AnyNonPromise) => DomainLease | undefined;
|
|
21
21
|
/**
|
|
22
22
|
* Identity function for DomainLease payload with sources
|
|
23
23
|
*/
|
|
24
24
|
export declare const isDomainLeaseWithSources: (x?: unknown | null) => x is WithSources<WithSources<DomainLease>>;
|
|
25
25
|
export declare const asDomainLeaseWithSources: import("@xylabs/object").AsTypeFunction<WithSources<DomainLease>>;
|
|
26
|
-
export declare const asOptionalDomainLeaseWithSources: (value: import(".store/@xylabs-promise-npm-4.13.
|
|
26
|
+
export declare const asOptionalDomainLeaseWithSources: (value: import(".store/@xylabs-promise-npm-4.13.23-cc6fbb2faf/package").AnyNonPromise) => WithSources<DomainLease> | undefined;
|
|
27
27
|
//# sourceMappingURL=DomainLease.d.ts.map
|
|
@@ -22,11 +22,11 @@ export type DomainRegistration = Payload<DomainRegistrationFields, DomainRegistr
|
|
|
22
22
|
*/
|
|
23
23
|
export declare const isDomainRegistration: (x?: unknown | null) => x is DomainRegistration;
|
|
24
24
|
export declare const asDomainRegistration: import("@xylabs/object").AsTypeFunction<DomainRegistration>;
|
|
25
|
-
export declare const asOptionalDomainRegistration: (value: import(".store/@xylabs-promise-npm-4.13.
|
|
25
|
+
export declare const asOptionalDomainRegistration: (value: import(".store/@xylabs-promise-npm-4.13.23-cc6fbb2faf/package").AnyNonPromise) => DomainRegistration | undefined;
|
|
26
26
|
/**
|
|
27
27
|
* Identity function for DomainRegistration payload with sources
|
|
28
28
|
*/
|
|
29
29
|
export declare const isDomainRegistrationWithSources: (x?: unknown | null) => x is WithSources<WithSources<DomainRegistration>>;
|
|
30
30
|
export declare const asDomainRegistrationWithSources: import("@xylabs/object").AsTypeFunction<WithSources<DomainRegistration>>;
|
|
31
|
-
export declare const asOptionalDomainRegistrationWithSources: (value: import(".store/@xylabs-promise-npm-4.13.
|
|
31
|
+
export declare const asOptionalDomainRegistrationWithSources: (value: import(".store/@xylabs-promise-npm-4.13.23-cc6fbb2faf/package").AnyNonPromise) => WithSources<DomainRegistration> | undefined;
|
|
32
32
|
//# sourceMappingURL=DomainRegistration.d.ts.map
|
|
@@ -14,13 +14,13 @@ export type DomainRegistrationLease = Payload<DomainRegistrationLeaseFields, Dom
|
|
|
14
14
|
*/
|
|
15
15
|
export declare const isDomainRegistrationLease: (x?: unknown | null) => x is DomainRegistrationLease;
|
|
16
16
|
export declare const asDomainRegistrationLease: import("@xylabs/object").AsTypeFunction<DomainRegistrationLease>;
|
|
17
|
-
export declare const asOptionalDomainRegistrationLease: (value: import(".store/@xylabs-promise-npm-4.13.
|
|
17
|
+
export declare const asOptionalDomainRegistrationLease: (value: import(".store/@xylabs-promise-npm-4.13.23-cc6fbb2faf/package").AnyNonPromise) => DomainRegistrationLease | undefined;
|
|
18
18
|
/**
|
|
19
19
|
* Identity function for DomainRegistrationLease payload with sources
|
|
20
20
|
*/
|
|
21
21
|
export declare const isDomainRegistrationLeaseWithSources: (x?: unknown | null) => x is WithSources<WithSources<DomainRegistrationLease>>;
|
|
22
22
|
export declare const asDomainRegistrationLeaseWithSources: import("@xylabs/object").AsTypeFunction<WithSources<DomainRegistrationLease>>;
|
|
23
|
-
export declare const asOptionalDomainRegistrationLeaseWithSources: (value: import(".store/@xylabs-promise-npm-4.13.
|
|
23
|
+
export declare const asOptionalDomainRegistrationLeaseWithSources: (value: import(".store/@xylabs-promise-npm-4.13.23-cc6fbb2faf/package").AnyNonPromise) => WithSources<DomainRegistrationLease> | undefined;
|
|
24
24
|
/**
|
|
25
25
|
* @deprecated Use isDomainRegistrationLeaseWithSources instead
|
|
26
26
|
*/
|
package/dist/neutral/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Address, Hash } from '@xylabs/hex';
|
|
2
2
|
import * as _xyo_network_payload_model from '@xyo-network/payload-model';
|
|
3
3
|
import { Payload, WithSources, PayloadWithSources } from '@xyo-network/payload-model';
|
|
4
|
-
import * as
|
|
4
|
+
import * as _store__xylabs_promise_npm_4_13_23_cc6fbb2faf_package from '.store/@xylabs-promise-npm-4.13.23-cc6fbb2faf/package';
|
|
5
5
|
import * as _xylabs_object from '@xylabs/object';
|
|
6
6
|
import { BoundWitness } from '@xyo-network/boundwitness-model';
|
|
7
7
|
import { HashLeaseEstimate } from '@xyo-network/diviner-hash-lease';
|
|
@@ -36,13 +36,13 @@ type Domain = Payload<DomainFields, DomainSchema>;
|
|
|
36
36
|
*/
|
|
37
37
|
declare const isDomain: (x?: unknown | null) => x is Domain;
|
|
38
38
|
declare const asDomain: _xylabs_object.AsTypeFunction<Domain>;
|
|
39
|
-
declare const asOptionalDomain: (value:
|
|
39
|
+
declare const asOptionalDomain: (value: _store__xylabs_promise_npm_4_13_23_cc6fbb2faf_package.AnyNonPromise) => Domain | undefined;
|
|
40
40
|
/**
|
|
41
41
|
* Identity function for Domain payload with sources
|
|
42
42
|
*/
|
|
43
43
|
declare const isDomainWithSources: (x?: unknown | null) => x is WithSources<WithSources<Domain>>;
|
|
44
44
|
declare const asDomainWithSources: _xylabs_object.AsTypeFunction<WithSources<Domain>>;
|
|
45
|
-
declare const asOptionalDomainWithSources: (value:
|
|
45
|
+
declare const asOptionalDomainWithSources: (value: _store__xylabs_promise_npm_4_13_23_cc6fbb2faf_package.AnyNonPromise) => WithSources<Domain> | undefined;
|
|
46
46
|
|
|
47
47
|
interface DurationFields {
|
|
48
48
|
/**
|
|
@@ -76,13 +76,13 @@ type DomainLease = Payload<DomainLeaseFields, DomainLeaseSchema>;
|
|
|
76
76
|
*/
|
|
77
77
|
declare const isDomainLease: (x?: unknown | null) => x is DomainLease;
|
|
78
78
|
declare const asDomainLease: _xylabs_object.AsTypeFunction<DomainLease>;
|
|
79
|
-
declare const asOptionalDomainLease: (value:
|
|
79
|
+
declare const asOptionalDomainLease: (value: _store__xylabs_promise_npm_4_13_23_cc6fbb2faf_package.AnyNonPromise) => DomainLease | undefined;
|
|
80
80
|
/**
|
|
81
81
|
* Identity function for DomainLease payload with sources
|
|
82
82
|
*/
|
|
83
83
|
declare const isDomainLeaseWithSources: (x?: unknown | null) => x is WithSources<WithSources<DomainLease>>;
|
|
84
84
|
declare const asDomainLeaseWithSources: _xylabs_object.AsTypeFunction<WithSources<DomainLease>>;
|
|
85
|
-
declare const asOptionalDomainLeaseWithSources: (value:
|
|
85
|
+
declare const asOptionalDomainLeaseWithSources: (value: _store__xylabs_promise_npm_4_13_23_cc6fbb2faf_package.AnyNonPromise) => WithSources<DomainLease> | undefined;
|
|
86
86
|
|
|
87
87
|
type AddressRecordSchema = 'network.xyo.ns.record.address';
|
|
88
88
|
declare const AddressRecordSchema: AddressRecordSchema;
|
|
@@ -156,13 +156,13 @@ type DomainRegistration = Payload<DomainRegistrationFields, DomainRegistrationSc
|
|
|
156
156
|
*/
|
|
157
157
|
declare const isDomainRegistration: (x?: unknown | null) => x is DomainRegistration;
|
|
158
158
|
declare const asDomainRegistration: _xylabs_object.AsTypeFunction<DomainRegistration>;
|
|
159
|
-
declare const asOptionalDomainRegistration: (value:
|
|
159
|
+
declare const asOptionalDomainRegistration: (value: _store__xylabs_promise_npm_4_13_23_cc6fbb2faf_package.AnyNonPromise) => DomainRegistration | undefined;
|
|
160
160
|
/**
|
|
161
161
|
* Identity function for DomainRegistration payload with sources
|
|
162
162
|
*/
|
|
163
163
|
declare const isDomainRegistrationWithSources: (x?: unknown | null) => x is WithSources<WithSources<DomainRegistration>>;
|
|
164
164
|
declare const asDomainRegistrationWithSources: _xylabs_object.AsTypeFunction<WithSources<DomainRegistration>>;
|
|
165
|
-
declare const asOptionalDomainRegistrationWithSources: (value:
|
|
165
|
+
declare const asOptionalDomainRegistrationWithSources: (value: _store__xylabs_promise_npm_4_13_23_cc6fbb2faf_package.AnyNonPromise) => WithSources<DomainRegistration> | undefined;
|
|
166
166
|
|
|
167
167
|
declare const DomainRegistrationLeaseSchema: "network.xyo.ns.domain.registration.lease";
|
|
168
168
|
type DomainRegistrationLeaseSchema = typeof DomainRegistrationLeaseSchema;
|
|
@@ -177,13 +177,13 @@ type DomainRegistrationLease = Payload<DomainRegistrationLeaseFields, DomainRegi
|
|
|
177
177
|
*/
|
|
178
178
|
declare const isDomainRegistrationLease: (x?: unknown | null) => x is DomainRegistrationLease;
|
|
179
179
|
declare const asDomainRegistrationLease: _xylabs_object.AsTypeFunction<DomainRegistrationLease>;
|
|
180
|
-
declare const asOptionalDomainRegistrationLease: (value:
|
|
180
|
+
declare const asOptionalDomainRegistrationLease: (value: _store__xylabs_promise_npm_4_13_23_cc6fbb2faf_package.AnyNonPromise) => DomainRegistrationLease | undefined;
|
|
181
181
|
/**
|
|
182
182
|
* Identity function for DomainRegistrationLease payload with sources
|
|
183
183
|
*/
|
|
184
184
|
declare const isDomainRegistrationLeaseWithSources: (x?: unknown | null) => x is WithSources<WithSources<DomainRegistrationLease>>;
|
|
185
185
|
declare const asDomainRegistrationLeaseWithSources: _xylabs_object.AsTypeFunction<WithSources<DomainRegistrationLease>>;
|
|
186
|
-
declare const asOptionalDomainRegistrationLeaseWithSources: (value:
|
|
186
|
+
declare const asOptionalDomainRegistrationLeaseWithSources: (value: _store__xylabs_promise_npm_4_13_23_cc6fbb2faf_package.AnyNonPromise) => WithSources<DomainRegistrationLease> | undefined;
|
|
187
187
|
/**
|
|
188
188
|
* @deprecated Use isDomainRegistrationLeaseWithSources instead
|
|
189
189
|
*/
|
|
@@ -356,13 +356,13 @@ type DNSRequest = Payload<DNSRequestFields, DNSSchema>;
|
|
|
356
356
|
*/
|
|
357
357
|
declare const isDNSRequest: (x?: unknown | null) => x is DNSRequest;
|
|
358
358
|
declare const asDNSRequest: _xylabs_object.AsTypeFunction<DNSRequest>;
|
|
359
|
-
declare const asOptionalDNSRequest: (value:
|
|
359
|
+
declare const asOptionalDNSRequest: (value: _store__xylabs_promise_npm_4_13_23_cc6fbb2faf_package.AnyNonPromise) => DNSRequest | undefined;
|
|
360
360
|
/**
|
|
361
361
|
* Identity function for determining if an object is a DNSRequest payload with sources
|
|
362
362
|
*/
|
|
363
363
|
declare const isDNSRequestWithSources: (x?: unknown | null) => x is WithSources<WithSources<DNSRequest>>;
|
|
364
364
|
declare const asDNSRequestWithSources: _xylabs_object.AsTypeFunction<WithSources<DNSRequest>>;
|
|
365
|
-
declare const asOptionalDNSRequestWithSources: (value:
|
|
365
|
+
declare const asOptionalDNSRequestWithSources: (value: _store__xylabs_promise_npm_4_13_23_cc6fbb2faf_package.AnyNonPromise) => WithSources<DNSRequest> | undefined;
|
|
366
366
|
/**
|
|
367
367
|
* Helper for generating a DNSRequest payload for a given domain and record type
|
|
368
368
|
* @param domain The domain to query
|
|
@@ -380,13 +380,13 @@ type DNSResponse = PayloadWithSources<DNSResponseFields, DNSSchema>;
|
|
|
380
380
|
*/
|
|
381
381
|
declare const isDNSResponse: (x?: unknown | null) => x is DNSResponse;
|
|
382
382
|
declare const asDNSResponse: _xylabs_object.AsTypeFunction<DNSResponse>;
|
|
383
|
-
declare const asOptionalDNSResponse: (value:
|
|
383
|
+
declare const asOptionalDNSResponse: (value: _store__xylabs_promise_npm_4_13_23_cc6fbb2faf_package.AnyNonPromise) => DNSResponse | undefined;
|
|
384
384
|
/**
|
|
385
385
|
* Identity function for determining if an object is a DNSResponse payload with sources
|
|
386
386
|
*/
|
|
387
387
|
declare const isDNSResponseWithSources: (x?: unknown | null) => x is WithSources<DNSResponse>;
|
|
388
388
|
declare const asDNSResponseWithSources: _xylabs_object.AsTypeFunction<WithSources<DNSResponse>>;
|
|
389
|
-
declare const asOptionalDNSResponseWithSources: (value:
|
|
389
|
+
declare const asOptionalDNSResponseWithSources: (value: _store__xylabs_promise_npm_4_13_23_cc6fbb2faf_package.AnyNonPromise) => WithSources<DNSResponse> | undefined;
|
|
390
390
|
|
|
391
391
|
type DNS = DNSRequest | DNSResponse;
|
|
392
392
|
|
|
@@ -10,13 +10,13 @@ export type DNSRequest = Payload<DNSRequestFields, DNSSchema>;
|
|
|
10
10
|
*/
|
|
11
11
|
export declare const isDNSRequest: (x?: unknown | null) => x is DNSRequest;
|
|
12
12
|
export declare const asDNSRequest: import("@xylabs/object").AsTypeFunction<DNSRequest>;
|
|
13
|
-
export declare const asOptionalDNSRequest: (value: import(".store/@xylabs-promise-npm-4.13.
|
|
13
|
+
export declare const asOptionalDNSRequest: (value: import(".store/@xylabs-promise-npm-4.13.23-cc6fbb2faf/package").AnyNonPromise) => DNSRequest | undefined;
|
|
14
14
|
/**
|
|
15
15
|
* Identity function for determining if an object is a DNSRequest payload with sources
|
|
16
16
|
*/
|
|
17
17
|
export declare const isDNSRequestWithSources: (x?: unknown | null) => x is WithSources<WithSources<DNSRequest>>;
|
|
18
18
|
export declare const asDNSRequestWithSources: import("@xylabs/object").AsTypeFunction<WithSources<DNSRequest>>;
|
|
19
|
-
export declare const asOptionalDNSRequestWithSources: (value: import(".store/@xylabs-promise-npm-4.13.
|
|
19
|
+
export declare const asOptionalDNSRequestWithSources: (value: import(".store/@xylabs-promise-npm-4.13.23-cc6fbb2faf/package").AnyNonPromise) => WithSources<DNSRequest> | undefined;
|
|
20
20
|
/**
|
|
21
21
|
* Helper for generating a DNSRequest payload for a given domain and record type
|
|
22
22
|
* @param domain The domain to query
|
|
@@ -10,11 +10,11 @@ export type DNSResponse = PayloadWithSources<DNSResponseFields, DNSSchema>;
|
|
|
10
10
|
*/
|
|
11
11
|
export declare const isDNSResponse: (x?: unknown | null) => x is DNSResponse;
|
|
12
12
|
export declare const asDNSResponse: import("@xylabs/object").AsTypeFunction<DNSResponse>;
|
|
13
|
-
export declare const asOptionalDNSResponse: (value: import(".store/@xylabs-promise-npm-4.13.
|
|
13
|
+
export declare const asOptionalDNSResponse: (value: import(".store/@xylabs-promise-npm-4.13.23-cc6fbb2faf/package").AnyNonPromise) => DNSResponse | undefined;
|
|
14
14
|
/**
|
|
15
15
|
* Identity function for determining if an object is a DNSResponse payload with sources
|
|
16
16
|
*/
|
|
17
17
|
export declare const isDNSResponseWithSources: (x?: unknown | null) => x is WithSources<DNSResponse>;
|
|
18
18
|
export declare const asDNSResponseWithSources: import("@xylabs/object").AsTypeFunction<WithSources<DNSResponse>>;
|
|
19
|
-
export declare const asOptionalDNSResponseWithSources: (value: import(".store/@xylabs-promise-npm-4.13.
|
|
19
|
+
export declare const asOptionalDNSResponseWithSources: (value: import(".store/@xylabs-promise-npm-4.13.23-cc6fbb2faf/package").AnyNonPromise) => WithSources<DNSResponse> | undefined;
|
|
20
20
|
//# sourceMappingURL=Response.d.ts.map
|
|
@@ -27,11 +27,11 @@ export type Domain = Payload<DomainFields, DomainSchema>;
|
|
|
27
27
|
*/
|
|
28
28
|
export declare const isDomain: (x?: unknown | null) => x is Domain;
|
|
29
29
|
export declare const asDomain: import("@xylabs/object").AsTypeFunction<Domain>;
|
|
30
|
-
export declare const asOptionalDomain: (value: import(".store/@xylabs-promise-npm-4.13.
|
|
30
|
+
export declare const asOptionalDomain: (value: import(".store/@xylabs-promise-npm-4.13.23-cc6fbb2faf/package").AnyNonPromise) => Domain | undefined;
|
|
31
31
|
/**
|
|
32
32
|
* Identity function for Domain payload with sources
|
|
33
33
|
*/
|
|
34
34
|
export declare const isDomainWithSources: (x?: unknown | null) => x is WithSources<WithSources<Domain>>;
|
|
35
35
|
export declare const asDomainWithSources: import("@xylabs/object").AsTypeFunction<WithSources<Domain>>;
|
|
36
|
-
export declare const asOptionalDomainWithSources: (value: import(".store/@xylabs-promise-npm-4.13.
|
|
36
|
+
export declare const asOptionalDomainWithSources: (value: import(".store/@xylabs-promise-npm-4.13.23-cc6fbb2faf/package").AnyNonPromise) => WithSources<Domain> | undefined;
|
|
37
37
|
//# sourceMappingURL=Domain.d.ts.map
|
|
@@ -17,11 +17,11 @@ export type DomainLease = Payload<DomainLeaseFields, DomainLeaseSchema>;
|
|
|
17
17
|
*/
|
|
18
18
|
export declare const isDomainLease: (x?: unknown | null) => x is DomainLease;
|
|
19
19
|
export declare const asDomainLease: import("@xylabs/object").AsTypeFunction<DomainLease>;
|
|
20
|
-
export declare const asOptionalDomainLease: (value: import(".store/@xylabs-promise-npm-4.13.
|
|
20
|
+
export declare const asOptionalDomainLease: (value: import(".store/@xylabs-promise-npm-4.13.23-cc6fbb2faf/package").AnyNonPromise) => DomainLease | undefined;
|
|
21
21
|
/**
|
|
22
22
|
* Identity function for DomainLease payload with sources
|
|
23
23
|
*/
|
|
24
24
|
export declare const isDomainLeaseWithSources: (x?: unknown | null) => x is WithSources<WithSources<DomainLease>>;
|
|
25
25
|
export declare const asDomainLeaseWithSources: import("@xylabs/object").AsTypeFunction<WithSources<DomainLease>>;
|
|
26
|
-
export declare const asOptionalDomainLeaseWithSources: (value: import(".store/@xylabs-promise-npm-4.13.
|
|
26
|
+
export declare const asOptionalDomainLeaseWithSources: (value: import(".store/@xylabs-promise-npm-4.13.23-cc6fbb2faf/package").AnyNonPromise) => WithSources<DomainLease> | undefined;
|
|
27
27
|
//# sourceMappingURL=DomainLease.d.ts.map
|
|
@@ -22,11 +22,11 @@ export type DomainRegistration = Payload<DomainRegistrationFields, DomainRegistr
|
|
|
22
22
|
*/
|
|
23
23
|
export declare const isDomainRegistration: (x?: unknown | null) => x is DomainRegistration;
|
|
24
24
|
export declare const asDomainRegistration: import("@xylabs/object").AsTypeFunction<DomainRegistration>;
|
|
25
|
-
export declare const asOptionalDomainRegistration: (value: import(".store/@xylabs-promise-npm-4.13.
|
|
25
|
+
export declare const asOptionalDomainRegistration: (value: import(".store/@xylabs-promise-npm-4.13.23-cc6fbb2faf/package").AnyNonPromise) => DomainRegistration | undefined;
|
|
26
26
|
/**
|
|
27
27
|
* Identity function for DomainRegistration payload with sources
|
|
28
28
|
*/
|
|
29
29
|
export declare const isDomainRegistrationWithSources: (x?: unknown | null) => x is WithSources<WithSources<DomainRegistration>>;
|
|
30
30
|
export declare const asDomainRegistrationWithSources: import("@xylabs/object").AsTypeFunction<WithSources<DomainRegistration>>;
|
|
31
|
-
export declare const asOptionalDomainRegistrationWithSources: (value: import(".store/@xylabs-promise-npm-4.13.
|
|
31
|
+
export declare const asOptionalDomainRegistrationWithSources: (value: import(".store/@xylabs-promise-npm-4.13.23-cc6fbb2faf/package").AnyNonPromise) => WithSources<DomainRegistration> | undefined;
|
|
32
32
|
//# sourceMappingURL=DomainRegistration.d.ts.map
|
|
@@ -14,13 +14,13 @@ export type DomainRegistrationLease = Payload<DomainRegistrationLeaseFields, Dom
|
|
|
14
14
|
*/
|
|
15
15
|
export declare const isDomainRegistrationLease: (x?: unknown | null) => x is DomainRegistrationLease;
|
|
16
16
|
export declare const asDomainRegistrationLease: import("@xylabs/object").AsTypeFunction<DomainRegistrationLease>;
|
|
17
|
-
export declare const asOptionalDomainRegistrationLease: (value: import(".store/@xylabs-promise-npm-4.13.
|
|
17
|
+
export declare const asOptionalDomainRegistrationLease: (value: import(".store/@xylabs-promise-npm-4.13.23-cc6fbb2faf/package").AnyNonPromise) => DomainRegistrationLease | undefined;
|
|
18
18
|
/**
|
|
19
19
|
* Identity function for DomainRegistrationLease payload with sources
|
|
20
20
|
*/
|
|
21
21
|
export declare const isDomainRegistrationLeaseWithSources: (x?: unknown | null) => x is WithSources<WithSources<DomainRegistrationLease>>;
|
|
22
22
|
export declare const asDomainRegistrationLeaseWithSources: import("@xylabs/object").AsTypeFunction<WithSources<DomainRegistrationLease>>;
|
|
23
|
-
export declare const asOptionalDomainRegistrationLeaseWithSources: (value: import(".store/@xylabs-promise-npm-4.13.
|
|
23
|
+
export declare const asOptionalDomainRegistrationLeaseWithSources: (value: import(".store/@xylabs-promise-npm-4.13.23-cc6fbb2faf/package").AnyNonPromise) => WithSources<DomainRegistrationLease> | undefined;
|
|
24
24
|
/**
|
|
25
25
|
* @deprecated Use isDomainRegistrationLeaseWithSources instead
|
|
26
26
|
*/
|
package/dist/node/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Address, Hash } from '@xylabs/hex';
|
|
2
2
|
import * as _xyo_network_payload_model from '@xyo-network/payload-model';
|
|
3
3
|
import { Payload, WithSources, PayloadWithSources } from '@xyo-network/payload-model';
|
|
4
|
-
import * as
|
|
4
|
+
import * as _store__xylabs_promise_npm_4_13_23_cc6fbb2faf_package from '.store/@xylabs-promise-npm-4.13.23-cc6fbb2faf/package';
|
|
5
5
|
import * as _xylabs_object from '@xylabs/object';
|
|
6
6
|
import { BoundWitness } from '@xyo-network/boundwitness-model';
|
|
7
7
|
import { HashLeaseEstimate } from '@xyo-network/diviner-hash-lease';
|
|
@@ -36,13 +36,13 @@ type Domain = Payload<DomainFields, DomainSchema>;
|
|
|
36
36
|
*/
|
|
37
37
|
declare const isDomain: (x?: unknown | null) => x is Domain;
|
|
38
38
|
declare const asDomain: _xylabs_object.AsTypeFunction<Domain>;
|
|
39
|
-
declare const asOptionalDomain: (value:
|
|
39
|
+
declare const asOptionalDomain: (value: _store__xylabs_promise_npm_4_13_23_cc6fbb2faf_package.AnyNonPromise) => Domain | undefined;
|
|
40
40
|
/**
|
|
41
41
|
* Identity function for Domain payload with sources
|
|
42
42
|
*/
|
|
43
43
|
declare const isDomainWithSources: (x?: unknown | null) => x is WithSources<WithSources<Domain>>;
|
|
44
44
|
declare const asDomainWithSources: _xylabs_object.AsTypeFunction<WithSources<Domain>>;
|
|
45
|
-
declare const asOptionalDomainWithSources: (value:
|
|
45
|
+
declare const asOptionalDomainWithSources: (value: _store__xylabs_promise_npm_4_13_23_cc6fbb2faf_package.AnyNonPromise) => WithSources<Domain> | undefined;
|
|
46
46
|
|
|
47
47
|
interface DurationFields {
|
|
48
48
|
/**
|
|
@@ -76,13 +76,13 @@ type DomainLease = Payload<DomainLeaseFields, DomainLeaseSchema>;
|
|
|
76
76
|
*/
|
|
77
77
|
declare const isDomainLease: (x?: unknown | null) => x is DomainLease;
|
|
78
78
|
declare const asDomainLease: _xylabs_object.AsTypeFunction<DomainLease>;
|
|
79
|
-
declare const asOptionalDomainLease: (value:
|
|
79
|
+
declare const asOptionalDomainLease: (value: _store__xylabs_promise_npm_4_13_23_cc6fbb2faf_package.AnyNonPromise) => DomainLease | undefined;
|
|
80
80
|
/**
|
|
81
81
|
* Identity function for DomainLease payload with sources
|
|
82
82
|
*/
|
|
83
83
|
declare const isDomainLeaseWithSources: (x?: unknown | null) => x is WithSources<WithSources<DomainLease>>;
|
|
84
84
|
declare const asDomainLeaseWithSources: _xylabs_object.AsTypeFunction<WithSources<DomainLease>>;
|
|
85
|
-
declare const asOptionalDomainLeaseWithSources: (value:
|
|
85
|
+
declare const asOptionalDomainLeaseWithSources: (value: _store__xylabs_promise_npm_4_13_23_cc6fbb2faf_package.AnyNonPromise) => WithSources<DomainLease> | undefined;
|
|
86
86
|
|
|
87
87
|
type AddressRecordSchema = 'network.xyo.ns.record.address';
|
|
88
88
|
declare const AddressRecordSchema: AddressRecordSchema;
|
|
@@ -156,13 +156,13 @@ type DomainRegistration = Payload<DomainRegistrationFields, DomainRegistrationSc
|
|
|
156
156
|
*/
|
|
157
157
|
declare const isDomainRegistration: (x?: unknown | null) => x is DomainRegistration;
|
|
158
158
|
declare const asDomainRegistration: _xylabs_object.AsTypeFunction<DomainRegistration>;
|
|
159
|
-
declare const asOptionalDomainRegistration: (value:
|
|
159
|
+
declare const asOptionalDomainRegistration: (value: _store__xylabs_promise_npm_4_13_23_cc6fbb2faf_package.AnyNonPromise) => DomainRegistration | undefined;
|
|
160
160
|
/**
|
|
161
161
|
* Identity function for DomainRegistration payload with sources
|
|
162
162
|
*/
|
|
163
163
|
declare const isDomainRegistrationWithSources: (x?: unknown | null) => x is WithSources<WithSources<DomainRegistration>>;
|
|
164
164
|
declare const asDomainRegistrationWithSources: _xylabs_object.AsTypeFunction<WithSources<DomainRegistration>>;
|
|
165
|
-
declare const asOptionalDomainRegistrationWithSources: (value:
|
|
165
|
+
declare const asOptionalDomainRegistrationWithSources: (value: _store__xylabs_promise_npm_4_13_23_cc6fbb2faf_package.AnyNonPromise) => WithSources<DomainRegistration> | undefined;
|
|
166
166
|
|
|
167
167
|
declare const DomainRegistrationLeaseSchema: "network.xyo.ns.domain.registration.lease";
|
|
168
168
|
type DomainRegistrationLeaseSchema = typeof DomainRegistrationLeaseSchema;
|
|
@@ -177,13 +177,13 @@ type DomainRegistrationLease = Payload<DomainRegistrationLeaseFields, DomainRegi
|
|
|
177
177
|
*/
|
|
178
178
|
declare const isDomainRegistrationLease: (x?: unknown | null) => x is DomainRegistrationLease;
|
|
179
179
|
declare const asDomainRegistrationLease: _xylabs_object.AsTypeFunction<DomainRegistrationLease>;
|
|
180
|
-
declare const asOptionalDomainRegistrationLease: (value:
|
|
180
|
+
declare const asOptionalDomainRegistrationLease: (value: _store__xylabs_promise_npm_4_13_23_cc6fbb2faf_package.AnyNonPromise) => DomainRegistrationLease | undefined;
|
|
181
181
|
/**
|
|
182
182
|
* Identity function for DomainRegistrationLease payload with sources
|
|
183
183
|
*/
|
|
184
184
|
declare const isDomainRegistrationLeaseWithSources: (x?: unknown | null) => x is WithSources<WithSources<DomainRegistrationLease>>;
|
|
185
185
|
declare const asDomainRegistrationLeaseWithSources: _xylabs_object.AsTypeFunction<WithSources<DomainRegistrationLease>>;
|
|
186
|
-
declare const asOptionalDomainRegistrationLeaseWithSources: (value:
|
|
186
|
+
declare const asOptionalDomainRegistrationLeaseWithSources: (value: _store__xylabs_promise_npm_4_13_23_cc6fbb2faf_package.AnyNonPromise) => WithSources<DomainRegistrationLease> | undefined;
|
|
187
187
|
/**
|
|
188
188
|
* @deprecated Use isDomainRegistrationLeaseWithSources instead
|
|
189
189
|
*/
|
|
@@ -356,13 +356,13 @@ type DNSRequest = Payload<DNSRequestFields, DNSSchema>;
|
|
|
356
356
|
*/
|
|
357
357
|
declare const isDNSRequest: (x?: unknown | null) => x is DNSRequest;
|
|
358
358
|
declare const asDNSRequest: _xylabs_object.AsTypeFunction<DNSRequest>;
|
|
359
|
-
declare const asOptionalDNSRequest: (value:
|
|
359
|
+
declare const asOptionalDNSRequest: (value: _store__xylabs_promise_npm_4_13_23_cc6fbb2faf_package.AnyNonPromise) => DNSRequest | undefined;
|
|
360
360
|
/**
|
|
361
361
|
* Identity function for determining if an object is a DNSRequest payload with sources
|
|
362
362
|
*/
|
|
363
363
|
declare const isDNSRequestWithSources: (x?: unknown | null) => x is WithSources<WithSources<DNSRequest>>;
|
|
364
364
|
declare const asDNSRequestWithSources: _xylabs_object.AsTypeFunction<WithSources<DNSRequest>>;
|
|
365
|
-
declare const asOptionalDNSRequestWithSources: (value:
|
|
365
|
+
declare const asOptionalDNSRequestWithSources: (value: _store__xylabs_promise_npm_4_13_23_cc6fbb2faf_package.AnyNonPromise) => WithSources<DNSRequest> | undefined;
|
|
366
366
|
/**
|
|
367
367
|
* Helper for generating a DNSRequest payload for a given domain and record type
|
|
368
368
|
* @param domain The domain to query
|
|
@@ -380,13 +380,13 @@ type DNSResponse = PayloadWithSources<DNSResponseFields, DNSSchema>;
|
|
|
380
380
|
*/
|
|
381
381
|
declare const isDNSResponse: (x?: unknown | null) => x is DNSResponse;
|
|
382
382
|
declare const asDNSResponse: _xylabs_object.AsTypeFunction<DNSResponse>;
|
|
383
|
-
declare const asOptionalDNSResponse: (value:
|
|
383
|
+
declare const asOptionalDNSResponse: (value: _store__xylabs_promise_npm_4_13_23_cc6fbb2faf_package.AnyNonPromise) => DNSResponse | undefined;
|
|
384
384
|
/**
|
|
385
385
|
* Identity function for determining if an object is a DNSResponse payload with sources
|
|
386
386
|
*/
|
|
387
387
|
declare const isDNSResponseWithSources: (x?: unknown | null) => x is WithSources<DNSResponse>;
|
|
388
388
|
declare const asDNSResponseWithSources: _xylabs_object.AsTypeFunction<WithSources<DNSResponse>>;
|
|
389
|
-
declare const asOptionalDNSResponseWithSources: (value:
|
|
389
|
+
declare const asOptionalDNSResponseWithSources: (value: _store__xylabs_promise_npm_4_13_23_cc6fbb2faf_package.AnyNonPromise) => WithSources<DNSResponse> | undefined;
|
|
390
390
|
|
|
391
391
|
type DNS = DNSRequest | DNSResponse;
|
|
392
392
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xyo-network/xns-record-payload-plugins",
|
|
3
|
-
"version": "4.1.
|
|
3
|
+
"version": "4.1.1",
|
|
4
4
|
"description": "Typescript/Javascript Plugins for XYO Platform",
|
|
5
5
|
"homepage": "https://xyo.network",
|
|
6
6
|
"bugs": {
|
|
@@ -29,27 +29,27 @@
|
|
|
29
29
|
"module": "dist/neutral/index.mjs",
|
|
30
30
|
"types": "dist/neutral/index.d.ts",
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@xylabs/array": "^4.13.
|
|
33
|
-
"@xylabs/exists": "^4.13.
|
|
34
|
-
"@xylabs/hex": "^4.13.
|
|
35
|
-
"@xylabs/object": "^4.13.
|
|
36
|
-
"@xyo-network/boundwitness-model": "^4.1.
|
|
37
|
-
"@xyo-network/boundwitness-validator": "^4.1.
|
|
38
|
-
"@xyo-network/diviner-hash-lease": "^4.1.
|
|
39
|
-
"@xyo-network/module-model": "^4.1.
|
|
40
|
-
"@xyo-network/payload-builder": "^4.1.
|
|
41
|
-
"@xyo-network/payload-model": "^4.1.
|
|
42
|
-
"@xyo-network/witness-model": "^4.1.
|
|
32
|
+
"@xylabs/array": "^4.13.23",
|
|
33
|
+
"@xylabs/exists": "^4.13.23",
|
|
34
|
+
"@xylabs/hex": "^4.13.23",
|
|
35
|
+
"@xylabs/object": "^4.13.23",
|
|
36
|
+
"@xyo-network/boundwitness-model": "^4.1.7",
|
|
37
|
+
"@xyo-network/boundwitness-validator": "^4.1.7",
|
|
38
|
+
"@xyo-network/diviner-hash-lease": "^4.1.7",
|
|
39
|
+
"@xyo-network/module-model": "^4.1.7",
|
|
40
|
+
"@xyo-network/payload-builder": "^4.1.7",
|
|
41
|
+
"@xyo-network/payload-model": "^4.1.7",
|
|
42
|
+
"@xyo-network/witness-model": "^4.1.7"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
45
|
"@xylabs/ts-scripts-yarn3": "^7.0.0-rc.24",
|
|
46
46
|
"@xylabs/tsconfig": "^7.0.0-rc.24",
|
|
47
|
-
"@xylabs/vitest-extended": "^4.13.
|
|
48
|
-
"@xylabs/vitest-matchers": "^4.13.
|
|
49
|
-
"@xyo-network/boundwitness-builder": "^4.1.
|
|
50
|
-
"@xyo-network/wallet": "^4.1.
|
|
51
|
-
"@xyo-network/wallet-model": "^4.1.
|
|
52
|
-
"knip": "^5.
|
|
47
|
+
"@xylabs/vitest-extended": "^4.13.23",
|
|
48
|
+
"@xylabs/vitest-matchers": "^4.13.23",
|
|
49
|
+
"@xyo-network/boundwitness-builder": "^4.1.7",
|
|
50
|
+
"@xyo-network/wallet": "^4.1.7",
|
|
51
|
+
"@xyo-network/wallet-model": "^4.1.7",
|
|
52
|
+
"knip": "^5.62.0",
|
|
53
53
|
"typescript": "^5.8.3",
|
|
54
54
|
"vitest": "^3.2.4"
|
|
55
55
|
},
|