@xyo-network/xns-record-payload-plugins 3.2.0-rc.8 → 3.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/dist/browser/Domain/Domain.d.ts +13 -21
- package/dist/browser/Domain/Domain.d.ts.map +1 -1
- package/dist/browser/Domain/DomainLease.d.ts +61 -3
- package/dist/browser/Domain/DomainLease.d.ts.map +1 -1
- package/dist/browser/DomainRegistration/DomainRegistration.d.ts +13 -13
- package/dist/browser/DomainRegistration/DomainRegistration.d.ts.map +1 -1
- package/dist/browser/DomainRegistration/DomainRegistrationLease.d.ts +15 -15
- package/dist/browser/DomainRegistration/DomainRegistrationLease.d.ts.map +1 -1
- package/dist/browser/diviner/lib/parseEstimatesFromArray.d.ts.map +1 -1
- package/dist/browser/index.mjs +25 -15
- package/dist/browser/index.mjs.map +1 -1
- package/dist/neutral/Domain/Domain.d.ts +13 -21
- package/dist/neutral/Domain/Domain.d.ts.map +1 -1
- package/dist/neutral/Domain/DomainLease.d.ts +61 -3
- package/dist/neutral/Domain/DomainLease.d.ts.map +1 -1
- package/dist/neutral/DomainRegistration/DomainRegistration.d.ts +13 -13
- package/dist/neutral/DomainRegistration/DomainRegistration.d.ts.map +1 -1
- package/dist/neutral/DomainRegistration/DomainRegistrationLease.d.ts +15 -15
- package/dist/neutral/DomainRegistration/DomainRegistrationLease.d.ts.map +1 -1
- package/dist/neutral/diviner/lib/parseEstimatesFromArray.d.ts.map +1 -1
- package/dist/neutral/index.mjs +25 -15
- package/dist/neutral/index.mjs.map +1 -1
- package/dist/node/Domain/Domain.d.ts +13 -21
- package/dist/node/Domain/Domain.d.ts.map +1 -1
- package/dist/node/Domain/DomainLease.d.ts +61 -3
- package/dist/node/Domain/DomainLease.d.ts.map +1 -1
- package/dist/node/DomainRegistration/DomainRegistration.d.ts +13 -13
- package/dist/node/DomainRegistration/DomainRegistration.d.ts.map +1 -1
- package/dist/node/DomainRegistration/DomainRegistrationLease.d.ts +15 -15
- package/dist/node/DomainRegistration/DomainRegistrationLease.d.ts.map +1 -1
- package/dist/node/diviner/lib/parseEstimatesFromArray.d.ts.map +1 -1
- package/dist/node/index.mjs +25 -15
- package/dist/node/index.mjs.map +1 -1
- package/package.json +17 -17
- package/src/Domain/Domain.ts +4 -4
- package/src/Domain/DomainLease.ts +7 -2
- package/src/DomainRegistration/DomainRegistration.ts +4 -4
- package/src/DomainRegistration/DomainRegistrationLease.ts +5 -4
- package/src/diviner/lib/parseEstimatesFromArray.ts +8 -6
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { Payload } from '@xyo-network/payload-model';
|
|
1
|
+
import type { Payload, WithSources } from '@xyo-network/payload-model';
|
|
2
2
|
export type DomainSchema = 'network.xyo.ns.domain';
|
|
3
3
|
export declare const DomainSchema: DomainSchema;
|
|
4
4
|
/**
|
|
@@ -35,16 +35,12 @@ export declare const asDomain: {
|
|
|
35
35
|
schema: "network.xyo.ns.domain";
|
|
36
36
|
domain: string;
|
|
37
37
|
tld: TopLevelDomain;
|
|
38
|
-
}>>(value: import(".store/@xylabs-promise-npm-4.4.
|
|
38
|
+
}>>(value: import(".store/@xylabs-promise-npm-4.4.26-eff161fa33/package").AnyNonPromise, config?: import("@xylabs/object").TypeCheckConfig): TType | undefined;
|
|
39
39
|
<TType extends import("@xylabs/object").DeepRestrictToStringKeys<{
|
|
40
40
|
schema: "network.xyo.ns.domain";
|
|
41
41
|
domain: string;
|
|
42
42
|
tld: TopLevelDomain;
|
|
43
|
-
}>>(value: import(
|
|
44
|
-
/**
|
|
45
|
-
* The fields for a domain record
|
|
46
|
-
*/
|
|
47
|
-
".store/@xylabs-promise-npm-4.4.25-d523bd119e/package").AnyNonPromise, assert: import("@xylabs/object").StringOrAlertFunction<import("@xylabs/object").DeepRestrictToStringKeys<{
|
|
43
|
+
}>>(value: import(".store/@xylabs-promise-npm-4.4.26-eff161fa33/package").AnyNonPromise, assert: import("@xylabs/object").StringOrAlertFunction<import("@xylabs/object").DeepRestrictToStringKeys<{
|
|
48
44
|
schema: "network.xyo.ns.domain";
|
|
49
45
|
domain: string;
|
|
50
46
|
tld: TopLevelDomain;
|
|
@@ -54,38 +50,34 @@ export declare const asOptionalDomain: <TType extends import("@xylabs/object").D
|
|
|
54
50
|
schema: "network.xyo.ns.domain";
|
|
55
51
|
domain: string;
|
|
56
52
|
tld: TopLevelDomain;
|
|
57
|
-
}>>(value: import(".store/@xylabs-promise-npm-4.4.
|
|
53
|
+
}>>(value: import(".store/@xylabs-promise-npm-4.4.26-eff161fa33/package").AnyNonPromise) => TType | undefined;
|
|
58
54
|
/**
|
|
59
55
|
* Identity function for Domain payload with sources
|
|
60
56
|
*/
|
|
61
|
-
export declare const isDomainWithSources: (x?: unknown | null) => x is
|
|
57
|
+
export declare const isDomainWithSources: (x?: unknown | null) => x is WithSources<WithSources<import("@xylabs/object").DeepRestrictToStringKeys<{
|
|
62
58
|
schema: "network.xyo.ns.domain";
|
|
63
59
|
domain: string;
|
|
64
60
|
tld: TopLevelDomain;
|
|
65
|
-
}
|
|
61
|
+
}>>>;
|
|
66
62
|
export declare const asDomainWithSources: {
|
|
67
|
-
<TType extends import("@xylabs/object").DeepRestrictToStringKeys<{
|
|
63
|
+
<TType extends WithSources<import("@xylabs/object").DeepRestrictToStringKeys<{
|
|
68
64
|
schema: "network.xyo.ns.domain";
|
|
69
65
|
domain: string;
|
|
70
66
|
tld: TopLevelDomain;
|
|
71
|
-
}
|
|
72
|
-
<TType extends import("@xylabs/object").DeepRestrictToStringKeys<{
|
|
67
|
+
}>>>(value: import(".store/@xylabs-promise-npm-4.4.26-eff161fa33/package").AnyNonPromise, config?: import("@xylabs/object").TypeCheckConfig): TType | undefined;
|
|
68
|
+
<TType extends WithSources<import("@xylabs/object").DeepRestrictToStringKeys<{
|
|
73
69
|
schema: "network.xyo.ns.domain";
|
|
74
70
|
domain: string;
|
|
75
71
|
tld: TopLevelDomain;
|
|
76
|
-
}
|
|
77
|
-
/**
|
|
78
|
-
* The fields for a domain record
|
|
79
|
-
*/
|
|
80
|
-
".store/@xylabs-promise-npm-4.4.25-d523bd119e/package").AnyNonPromise, assert: import("@xylabs/object").StringOrAlertFunction<import("@xylabs/object").DeepRestrictToStringKeys<{
|
|
72
|
+
}>>>(value: import(".store/@xylabs-promise-npm-4.4.26-eff161fa33/package").AnyNonPromise, assert: import("@xylabs/object").StringOrAlertFunction<WithSources<import("@xylabs/object").DeepRestrictToStringKeys<{
|
|
81
73
|
schema: "network.xyo.ns.domain";
|
|
82
74
|
domain: string;
|
|
83
75
|
tld: TopLevelDomain;
|
|
84
|
-
}
|
|
76
|
+
}>>>, config?: import("@xylabs/object").TypeCheckConfig): TType;
|
|
85
77
|
};
|
|
86
|
-
export declare const asOptionalDomainWithSources: <TType extends import("@xylabs/object").DeepRestrictToStringKeys<{
|
|
78
|
+
export declare const asOptionalDomainWithSources: <TType extends WithSources<import("@xylabs/object").DeepRestrictToStringKeys<{
|
|
87
79
|
schema: "network.xyo.ns.domain";
|
|
88
80
|
domain: string;
|
|
89
81
|
tld: TopLevelDomain;
|
|
90
|
-
}
|
|
82
|
+
}>>>(value: import(".store/@xylabs-promise-npm-4.4.26-eff161fa33/package").AnyNonPromise) => TType | undefined;
|
|
91
83
|
//# sourceMappingURL=Domain.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Domain.d.ts","sourceRoot":"","sources":["../../../src/Domain/Domain.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;
|
|
1
|
+
{"version":3,"file":"Domain.d.ts","sourceRoot":"","sources":["../../../src/Domain/Domain.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,OAAO,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAA;AAGtE,MAAM,MAAM,YAAY,GAAG,uBAAuB,CAAA;AAClD,eAAO,MAAM,YAAY,EAAE,YAAsC,CAAA;AAEjE;;GAEG;AACH,MAAM,MAAM,cAAc,GAAG,KAAK,CAAA;AAElC;;GAEG;AACH,MAAM,WAAW,YAAY;IAC3B;;OAEG;IACH,MAAM,EAAE,MAAM,CAAA;IAEd;;OAEG;IACH,GAAG,EAAE,cAAc,CAAA;CACpB;AAED;;GAEG;AACH,MAAM,MAAM,MAAM,GAAG,OAAO,CAAC,YAAY,EAAE,YAAY,CAAC,CAAA;AAExD;;GAEG;AACH,eAAO,MAAM,QAAQ;;YAhBX,MAAM;SAKT,cAAc;EAW8C,CAAA;AACnE,eAAO,MAAM,QAAQ;;;gBAjBX,MAAM;aAKT,cAAc;sBApBO,sDAAiB,iCAClB,gBAAoB;;;gBAcrC,MAAM;aAKT,cAAc;sBAdA,sDAEnB;;gBAOQ,MAAM;aAKT,cAAc;yBAPH,gBACd;CAkB4D,CAAA;AAChE,eAAO,MAAM,gBAAgB;;YAlBnB,MAAM;SAKT,cAAc;kBAIgB,sDAE9B,qCAOyE,CAAA;AAEhF;;GAEG;AACH,eAAO,MAAM,mBAAmB;;YAvBtB,MAAM;SAKT,cAAc;IAkBiF,CAAA;AACtG,eAAO,MAAM,mBAAmB;;;gBAxBtB,MAAM;aAKT,cAAc;uBApBO,sDAAiB,iCAClB,gBAAoB;;;gBAcrC,MAAM;aAKT,cAAc;uBAdA,sDAEnB;;gBAOQ,MAAM;aAKT,cAAc;0BAPH,gBACd;CAyB+F,CAAA;AACnG,eAAO,MAAM,2BAA2B;;YAzB9B,MAAM;SAKT,cAAc;mBAIgB,sDAE9B,qCAc4G,CAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { Payload } from '@xyo-network/payload-model';
|
|
1
|
+
import type { Payload, WithSources } from '@xyo-network/payload-model';
|
|
2
2
|
import type { DurationFields } from '../Duration/index.ts';
|
|
3
3
|
import type { DomainFields } from './Domain.ts';
|
|
4
4
|
export type DomainLeaseSchema = 'network.xyo.ns.domain.lease';
|
|
@@ -22,14 +22,72 @@ export declare const isDomainLease: (x?: unknown | null) => x is import("@xylabs
|
|
|
22
22
|
exp: number;
|
|
23
23
|
nbf: number;
|
|
24
24
|
}>;
|
|
25
|
+
export declare const asDomainLease: {
|
|
26
|
+
<TType extends import("@xylabs/object").DeepRestrictToStringKeys<{
|
|
27
|
+
schema: "network.xyo.ns.domain.lease";
|
|
28
|
+
domain: string;
|
|
29
|
+
tld: import("./Domain.ts").TopLevelDomain;
|
|
30
|
+
exp: number;
|
|
31
|
+
nbf: number;
|
|
32
|
+
}>>(value: import(".store/@xylabs-promise-npm-4.4.26-eff161fa33/package").AnyNonPromise, config?: import("@xylabs/object").TypeCheckConfig): TType | undefined;
|
|
33
|
+
<TType extends import("@xylabs/object").DeepRestrictToStringKeys<{
|
|
34
|
+
schema: "network.xyo.ns.domain.lease";
|
|
35
|
+
domain: string;
|
|
36
|
+
tld: import("./Domain.ts").TopLevelDomain;
|
|
37
|
+
exp: number;
|
|
38
|
+
nbf: number;
|
|
39
|
+
}>>(value: import(".store/@xylabs-promise-npm-4.4.26-eff161fa33/package").AnyNonPromise, assert: import("@xylabs/object").StringOrAlertFunction<import("@xylabs/object").DeepRestrictToStringKeys<{
|
|
40
|
+
schema: "network.xyo.ns.domain.lease";
|
|
41
|
+
domain: string;
|
|
42
|
+
tld: import("./Domain.ts").TopLevelDomain;
|
|
43
|
+
exp: number;
|
|
44
|
+
nbf: number;
|
|
45
|
+
}>>, config?: import("@xylabs/object").TypeCheckConfig): TType;
|
|
46
|
+
};
|
|
47
|
+
export declare const asOptionalDomainLease: <TType extends import("@xylabs/object").DeepRestrictToStringKeys<{
|
|
48
|
+
schema: "network.xyo.ns.domain.lease";
|
|
49
|
+
domain: string;
|
|
50
|
+
tld: import("./Domain.ts").TopLevelDomain;
|
|
51
|
+
exp: number;
|
|
52
|
+
nbf: number;
|
|
53
|
+
}>>(value: import(".store/@xylabs-promise-npm-4.4.26-eff161fa33/package").AnyNonPromise) => TType | undefined;
|
|
25
54
|
/**
|
|
26
55
|
* Identity function for DomainLease payload with sources
|
|
27
56
|
*/
|
|
28
|
-
export declare const isDomainLeaseWithSources: (x?: unknown | null) => x is
|
|
57
|
+
export declare const isDomainLeaseWithSources: (x?: unknown | null) => x is WithSources<WithSources<import("@xylabs/object").DeepRestrictToStringKeys<{
|
|
58
|
+
schema: "network.xyo.ns.domain.lease";
|
|
59
|
+
domain: string;
|
|
60
|
+
tld: import("./Domain.ts").TopLevelDomain;
|
|
61
|
+
exp: number;
|
|
62
|
+
nbf: number;
|
|
63
|
+
}>>>;
|
|
64
|
+
export declare const asDomainLeaseWithSources: {
|
|
65
|
+
<TType extends WithSources<import("@xylabs/object").DeepRestrictToStringKeys<{
|
|
66
|
+
schema: "network.xyo.ns.domain.lease";
|
|
67
|
+
domain: string;
|
|
68
|
+
tld: import("./Domain.ts").TopLevelDomain;
|
|
69
|
+
exp: number;
|
|
70
|
+
nbf: number;
|
|
71
|
+
}>>>(value: import(".store/@xylabs-promise-npm-4.4.26-eff161fa33/package").AnyNonPromise, config?: import("@xylabs/object").TypeCheckConfig): TType | undefined;
|
|
72
|
+
<TType extends WithSources<import("@xylabs/object").DeepRestrictToStringKeys<{
|
|
73
|
+
schema: "network.xyo.ns.domain.lease";
|
|
74
|
+
domain: string;
|
|
75
|
+
tld: import("./Domain.ts").TopLevelDomain;
|
|
76
|
+
exp: number;
|
|
77
|
+
nbf: number;
|
|
78
|
+
}>>>(value: import(".store/@xylabs-promise-npm-4.4.26-eff161fa33/package").AnyNonPromise, assert: import("@xylabs/object").StringOrAlertFunction<WithSources<import("@xylabs/object").DeepRestrictToStringKeys<{
|
|
79
|
+
schema: "network.xyo.ns.domain.lease";
|
|
80
|
+
domain: string;
|
|
81
|
+
tld: import("./Domain.ts").TopLevelDomain;
|
|
82
|
+
exp: number;
|
|
83
|
+
nbf: number;
|
|
84
|
+
}>>>, config?: import("@xylabs/object").TypeCheckConfig): TType;
|
|
85
|
+
};
|
|
86
|
+
export declare const asOptionalDomainLeaseWithSources: <TType extends WithSources<import("@xylabs/object").DeepRestrictToStringKeys<{
|
|
29
87
|
schema: "network.xyo.ns.domain.lease";
|
|
30
88
|
domain: string;
|
|
31
89
|
tld: import("./Domain.ts").TopLevelDomain;
|
|
32
90
|
exp: number;
|
|
33
91
|
nbf: number;
|
|
34
|
-
}
|
|
92
|
+
}>>>(value: import(".store/@xylabs-promise-npm-4.4.26-eff161fa33/package").AnyNonPromise) => TType | undefined;
|
|
35
93
|
//# sourceMappingURL=DomainLease.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DomainLease.d.ts","sourceRoot":"","sources":["../../../src/Domain/DomainLease.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"DomainLease.d.ts","sourceRoot":"","sources":["../../../src/Domain/DomainLease.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,OAAO,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAA;AAGtE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAA;AAC1D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA;AAE/C,MAAM,MAAM,iBAAiB,GAAG,6BAA6B,CAAA;AAC7D,eAAO,MAAM,iBAAiB,EAAE,iBAAiD,CAAA;AAEjF;;GAEG;AACH,MAAM,WAAW,iBAAkB,SAAQ,YAAY,EAAE,cAAc;CAAG;AAE1E;;GAEG;AACH,MAAM,MAAM,WAAW,GAAG,OAAO,CAAC,iBAAiB,EAAE,iBAAiB,CAAC,CAAA;AAEvE;;GAEG;AACH,eAAO,MAAM,aAAa;;;;;;EAAwD,CAAA;AAClF,eAAO,MAAM,aAAa;;;;;;;sBApBG,sDAAgB,iCAC1B,gBAAoB;;;;;;;sBAGhC,sDAAiB;;;;;;yBAGS,gBAErB;CAWmE,CAAA;AAC/E,eAAO,MAAM,qBAAqB;;;;;;kBAToC,sDAE/D,qCAOwF,CAAA;AAE/F;;GAEG;AACH,eAAO,MAAM,wBAAwB;;;;;;IAAgF,CAAA;AACrH,eAAO,MAAM,wBAAwB;;;;;;;uBA3BR,sDAAgB,iCAC1B,gBAAoB;;;;;;;uBAGhC,sDAAiB;;;;;;0BAGS,gBAErB;CAkBsG,CAAA;AAClH,eAAO,MAAM,gCAAgC;;;;;;mBAhByB,sDAE/D,qCAc2H,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { Address } from '@xylabs/hex';
|
|
2
|
-
import type { Payload } from '@xyo-network/payload-model';
|
|
2
|
+
import type { Payload, WithSources } from '@xyo-network/payload-model';
|
|
3
3
|
import type { DomainFields } from '../Domain/index.ts';
|
|
4
4
|
export declare const DomainRegistrationSchema: "network.xyo.ns.domain.registration";
|
|
5
5
|
export type DomainRegistrationSchema = typeof DomainRegistrationSchema;
|
|
@@ -34,14 +34,14 @@ export declare const asDomainRegistration: {
|
|
|
34
34
|
registrar: Lowercase<string>[];
|
|
35
35
|
domain: string;
|
|
36
36
|
tld: import("../Domain/Domain.ts").TopLevelDomain;
|
|
37
|
-
}>>(value: import(".store/@xylabs-promise-npm-4.4.
|
|
37
|
+
}>>(value: import(".store/@xylabs-promise-npm-4.4.26-eff161fa33/package").AnyNonPromise, config?: import("@xylabs/object").TypeCheckConfig): TType | undefined;
|
|
38
38
|
<TType extends import("@xylabs/object").DeepRestrictToStringKeys<{
|
|
39
39
|
schema: "network.xyo.ns.domain.registration";
|
|
40
40
|
registrant: Lowercase<string>[];
|
|
41
41
|
registrar: Lowercase<string>[];
|
|
42
42
|
domain: string;
|
|
43
43
|
tld: import("../Domain/Domain.ts").TopLevelDomain;
|
|
44
|
-
}>>(value: import(".store/@xylabs-promise-npm-4.4.
|
|
44
|
+
}>>(value: import(".store/@xylabs-promise-npm-4.4.26-eff161fa33/package").AnyNonPromise, assert: import("@xylabs/object").StringOrAlertFunction<import("@xylabs/object").DeepRestrictToStringKeys<{
|
|
45
45
|
schema: "network.xyo.ns.domain.registration";
|
|
46
46
|
registrant: Lowercase<string>[];
|
|
47
47
|
registrar: Lowercase<string>[];
|
|
@@ -55,44 +55,44 @@ export declare const asOptionalDomainRegistration: <TType extends import("@xylab
|
|
|
55
55
|
registrar: Lowercase<string>[];
|
|
56
56
|
domain: string;
|
|
57
57
|
tld: import("../Domain/Domain.ts").TopLevelDomain;
|
|
58
|
-
}>>(value: import(".store/@xylabs-promise-npm-4.4.
|
|
58
|
+
}>>(value: import(".store/@xylabs-promise-npm-4.4.26-eff161fa33/package").AnyNonPromise) => TType | undefined;
|
|
59
59
|
/**
|
|
60
60
|
* Identity function for DomainRegistration payload with sources
|
|
61
61
|
*/
|
|
62
|
-
export declare const isDomainRegistrationWithSources: (x?: unknown | null) => x is
|
|
62
|
+
export declare const isDomainRegistrationWithSources: (x?: unknown | null) => x is WithSources<WithSources<import("@xylabs/object").DeepRestrictToStringKeys<{
|
|
63
63
|
schema: "network.xyo.ns.domain.registration";
|
|
64
64
|
registrant: Lowercase<string>[];
|
|
65
65
|
registrar: Lowercase<string>[];
|
|
66
66
|
domain: string;
|
|
67
67
|
tld: import("../Domain/Domain.ts").TopLevelDomain;
|
|
68
|
-
}
|
|
68
|
+
}>>>;
|
|
69
69
|
export declare const asDomainRegistrationWithSources: {
|
|
70
|
-
<TType extends import("@xylabs/object").DeepRestrictToStringKeys<{
|
|
70
|
+
<TType extends WithSources<import("@xylabs/object").DeepRestrictToStringKeys<{
|
|
71
71
|
schema: "network.xyo.ns.domain.registration";
|
|
72
72
|
registrant: Lowercase<string>[];
|
|
73
73
|
registrar: Lowercase<string>[];
|
|
74
74
|
domain: string;
|
|
75
75
|
tld: import("../Domain/Domain.ts").TopLevelDomain;
|
|
76
|
-
}
|
|
77
|
-
<TType extends import("@xylabs/object").DeepRestrictToStringKeys<{
|
|
76
|
+
}>>>(value: import(".store/@xylabs-promise-npm-4.4.26-eff161fa33/package").AnyNonPromise, config?: import("@xylabs/object").TypeCheckConfig): TType | undefined;
|
|
77
|
+
<TType extends WithSources<import("@xylabs/object").DeepRestrictToStringKeys<{
|
|
78
78
|
schema: "network.xyo.ns.domain.registration";
|
|
79
79
|
registrant: Lowercase<string>[];
|
|
80
80
|
registrar: Lowercase<string>[];
|
|
81
81
|
domain: string;
|
|
82
82
|
tld: import("../Domain/Domain.ts").TopLevelDomain;
|
|
83
|
-
}
|
|
83
|
+
}>>>(value: import(".store/@xylabs-promise-npm-4.4.26-eff161fa33/package").AnyNonPromise, assert: import("@xylabs/object").StringOrAlertFunction<WithSources<import("@xylabs/object").DeepRestrictToStringKeys<{
|
|
84
84
|
schema: "network.xyo.ns.domain.registration";
|
|
85
85
|
registrant: Lowercase<string>[];
|
|
86
86
|
registrar: Lowercase<string>[];
|
|
87
87
|
domain: string;
|
|
88
88
|
tld: import("../Domain/Domain.ts").TopLevelDomain;
|
|
89
|
-
}
|
|
89
|
+
}>>>, config?: import("@xylabs/object").TypeCheckConfig): TType;
|
|
90
90
|
};
|
|
91
|
-
export declare const asOptionalDomainRegistrationWithSources: <TType extends import("@xylabs/object").DeepRestrictToStringKeys<{
|
|
91
|
+
export declare const asOptionalDomainRegistrationWithSources: <TType extends WithSources<import("@xylabs/object").DeepRestrictToStringKeys<{
|
|
92
92
|
schema: "network.xyo.ns.domain.registration";
|
|
93
93
|
registrant: Lowercase<string>[];
|
|
94
94
|
registrar: Lowercase<string>[];
|
|
95
95
|
domain: string;
|
|
96
96
|
tld: import("../Domain/Domain.ts").TopLevelDomain;
|
|
97
|
-
}
|
|
97
|
+
}>>>(value: import(".store/@xylabs-promise-npm-4.4.26-eff161fa33/package").AnyNonPromise) => TType | undefined;
|
|
98
98
|
//# sourceMappingURL=DomainRegistration.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DomainRegistration.d.ts","sourceRoot":"","sources":["../../../src/DomainRegistration/DomainRegistration.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,aAAa,CAAA;AAE1C,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;
|
|
1
|
+
{"version":3,"file":"DomainRegistration.d.ts","sourceRoot":"","sources":["../../../src/DomainRegistration/DomainRegistration.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,aAAa,CAAA;AAE1C,OAAO,KAAK,EAAE,OAAO,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAA;AAGtE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAA;AAGtD,eAAO,MAAM,wBAAwB,sCAA0C,CAAA;AAC/E,MAAM,MAAM,wBAAwB,GAAG,OAAO,wBAAwB,CAAA;AAEtE,MAAM,WAAW,wBAAyB,SAAQ,YAAY;IAC5D;;OAEG;IACH,UAAU,EAAE,OAAO,EAAE,CAAA;IACrB;;OAEG;IACH,SAAS,EAAE,OAAO,EAAE,CAAA;CACrB;AAED;;GAEG;AACH,MAAM,MAAM,kBAAkB,GAAG,OAAO,CAAC,wBAAwB,EAAE,wBAAwB,CAAC,CAAA;AAE5F;;GAEG;AACH,eAAO,MAAM,oBAAoB;;;;;;EAAsE,CAAA;AACvG,eAAO,MAAM,oBAAoB;;;;;;;sBA5BsD,sDAErF,iCAAiC,gBACnC;;;;;;;sBAE4B,sDAAiB;;;;;;yBACgB,gBAEpD;CAoB2F,CAAA;AACpG,eAAO,MAAM,4BAA4B;;;;;;kBAfnC,sDAAiB,qCAe6F,CAAA;AAEpH;;GAEG;AACH,eAAO,MAAM,+BAA+B;;;;;;IAA8F,CAAA;AAC1I,eAAO,MAAM,+BAA+B;;;;;;;uBAnC2C,sDAErF,iCAAiC,gBACnC;;;;;;;uBAE4B,sDAAiB;;;;;;0BACgB,gBAEpD;CA2B8H,CAAA;AACvI,eAAO,MAAM,uCAAuC;;;;;;mBAtB9C,sDAAiB,qCAsBgI,CAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { Payload } from '@xyo-network/payload-model';
|
|
1
|
+
import type { Payload, WithSources } from '@xyo-network/payload-model';
|
|
2
2
|
import type { DurationFields } from '../Duration/index.ts';
|
|
3
3
|
import type { DomainRegistrationFields } from './DomainRegistration.ts';
|
|
4
4
|
export declare const DomainRegistrationLeaseSchema: "network.xyo.ns.domain.registration.lease";
|
|
@@ -30,7 +30,7 @@ export declare const asDomainRegistrationLease: {
|
|
|
30
30
|
tld: import("../index.ts").TopLevelDomain;
|
|
31
31
|
exp: number;
|
|
32
32
|
nbf: number;
|
|
33
|
-
}>>(value: import(".store/@xylabs-promise-npm-4.4.
|
|
33
|
+
}>>(value: import(".store/@xylabs-promise-npm-4.4.26-eff161fa33/package").AnyNonPromise, config?: import("@xylabs/object").TypeCheckConfig): TType | undefined;
|
|
34
34
|
<TType extends import("@xylabs/object").DeepRestrictToStringKeys<{
|
|
35
35
|
schema: "network.xyo.ns.domain.registration.lease";
|
|
36
36
|
registrant: Lowercase<string>[];
|
|
@@ -39,7 +39,7 @@ export declare const asDomainRegistrationLease: {
|
|
|
39
39
|
tld: import("../index.ts").TopLevelDomain;
|
|
40
40
|
exp: number;
|
|
41
41
|
nbf: number;
|
|
42
|
-
}>>(value: import(".store/@xylabs-promise-npm-4.4.
|
|
42
|
+
}>>(value: import(".store/@xylabs-promise-npm-4.4.26-eff161fa33/package").AnyNonPromise, assert: import("@xylabs/object").StringOrAlertFunction<import("@xylabs/object").DeepRestrictToStringKeys<{
|
|
43
43
|
schema: "network.xyo.ns.domain.registration.lease";
|
|
44
44
|
registrant: Lowercase<string>[];
|
|
45
45
|
registrar: Lowercase<string>[];
|
|
@@ -57,11 +57,11 @@ export declare const asOptionalDomainRegistrationLease: <TType extends import("@
|
|
|
57
57
|
tld: import("../index.ts").TopLevelDomain;
|
|
58
58
|
exp: number;
|
|
59
59
|
nbf: number;
|
|
60
|
-
}>>(value: import(".store/@xylabs-promise-npm-4.4.
|
|
60
|
+
}>>(value: import(".store/@xylabs-promise-npm-4.4.26-eff161fa33/package").AnyNonPromise) => TType | undefined;
|
|
61
61
|
/**
|
|
62
62
|
* Identity function for DomainRegistrationLease payload with sources
|
|
63
63
|
*/
|
|
64
|
-
export declare const isDomainRegistrationLeaseWithSources: (x?: unknown | null) => x is
|
|
64
|
+
export declare const isDomainRegistrationLeaseWithSources: (x?: unknown | null) => x is WithSources<WithSources<import("@xylabs/object").DeepRestrictToStringKeys<{
|
|
65
65
|
schema: "network.xyo.ns.domain.registration.lease";
|
|
66
66
|
registrant: Lowercase<string>[];
|
|
67
67
|
registrar: Lowercase<string>[];
|
|
@@ -69,9 +69,9 @@ export declare const isDomainRegistrationLeaseWithSources: (x?: unknown | null)
|
|
|
69
69
|
tld: import("../index.ts").TopLevelDomain;
|
|
70
70
|
exp: number;
|
|
71
71
|
nbf: number;
|
|
72
|
-
}
|
|
72
|
+
}>>>;
|
|
73
73
|
export declare const asDomainRegistrationLeaseWithSources: {
|
|
74
|
-
<TType extends import("@xylabs/object").DeepRestrictToStringKeys<{
|
|
74
|
+
<TType extends WithSources<import("@xylabs/object").DeepRestrictToStringKeys<{
|
|
75
75
|
schema: "network.xyo.ns.domain.registration.lease";
|
|
76
76
|
registrant: Lowercase<string>[];
|
|
77
77
|
registrar: Lowercase<string>[];
|
|
@@ -79,8 +79,8 @@ export declare const asDomainRegistrationLeaseWithSources: {
|
|
|
79
79
|
tld: import("../index.ts").TopLevelDomain;
|
|
80
80
|
exp: number;
|
|
81
81
|
nbf: number;
|
|
82
|
-
}
|
|
83
|
-
<TType extends import("@xylabs/object").DeepRestrictToStringKeys<{
|
|
82
|
+
}>>>(value: import(".store/@xylabs-promise-npm-4.4.26-eff161fa33/package").AnyNonPromise, config?: import("@xylabs/object").TypeCheckConfig): TType | undefined;
|
|
83
|
+
<TType extends WithSources<import("@xylabs/object").DeepRestrictToStringKeys<{
|
|
84
84
|
schema: "network.xyo.ns.domain.registration.lease";
|
|
85
85
|
registrant: Lowercase<string>[];
|
|
86
86
|
registrar: Lowercase<string>[];
|
|
@@ -88,7 +88,7 @@ export declare const asDomainRegistrationLeaseWithSources: {
|
|
|
88
88
|
tld: import("../index.ts").TopLevelDomain;
|
|
89
89
|
exp: number;
|
|
90
90
|
nbf: number;
|
|
91
|
-
}
|
|
91
|
+
}>>>(value: import(".store/@xylabs-promise-npm-4.4.26-eff161fa33/package").AnyNonPromise, assert: import("@xylabs/object").StringOrAlertFunction<WithSources<import("@xylabs/object").DeepRestrictToStringKeys<{
|
|
92
92
|
schema: "network.xyo.ns.domain.registration.lease";
|
|
93
93
|
registrant: Lowercase<string>[];
|
|
94
94
|
registrar: Lowercase<string>[];
|
|
@@ -96,9 +96,9 @@ export declare const asDomainRegistrationLeaseWithSources: {
|
|
|
96
96
|
tld: import("../index.ts").TopLevelDomain;
|
|
97
97
|
exp: number;
|
|
98
98
|
nbf: number;
|
|
99
|
-
}
|
|
99
|
+
}>>>, config?: import("@xylabs/object").TypeCheckConfig): TType;
|
|
100
100
|
};
|
|
101
|
-
export declare const asOptionalDomainRegistrationLeaseWithSources: <TType extends import("@xylabs/object").DeepRestrictToStringKeys<{
|
|
101
|
+
export declare const asOptionalDomainRegistrationLeaseWithSources: <TType extends WithSources<import("@xylabs/object").DeepRestrictToStringKeys<{
|
|
102
102
|
schema: "network.xyo.ns.domain.registration.lease";
|
|
103
103
|
registrant: Lowercase<string>[];
|
|
104
104
|
registrar: Lowercase<string>[];
|
|
@@ -106,11 +106,11 @@ export declare const asOptionalDomainRegistrationLeaseWithSources: <TType extend
|
|
|
106
106
|
tld: import("../index.ts").TopLevelDomain;
|
|
107
107
|
exp: number;
|
|
108
108
|
nbf: number;
|
|
109
|
-
}
|
|
109
|
+
}>>>(value: import(".store/@xylabs-promise-npm-4.4.26-eff161fa33/package").AnyNonPromise) => TType | undefined;
|
|
110
110
|
/**
|
|
111
111
|
* @deprecated Use isDomainRegistrationLeaseWithSources instead
|
|
112
112
|
*/
|
|
113
|
-
export declare const isDomainRegistrationLeaseSources: (x?: unknown | null) => x is
|
|
113
|
+
export declare const isDomainRegistrationLeaseSources: (x?: unknown | null) => x is WithSources<WithSources<import("@xylabs/object").DeepRestrictToStringKeys<{
|
|
114
114
|
schema: "network.xyo.ns.domain.registration.lease";
|
|
115
115
|
registrant: Lowercase<string>[];
|
|
116
116
|
registrar: Lowercase<string>[];
|
|
@@ -118,5 +118,5 @@ export declare const isDomainRegistrationLeaseSources: (x?: unknown | null) => x
|
|
|
118
118
|
tld: import("../index.ts").TopLevelDomain;
|
|
119
119
|
exp: number;
|
|
120
120
|
nbf: number;
|
|
121
|
-
}
|
|
121
|
+
}>>>;
|
|
122
122
|
//# sourceMappingURL=DomainRegistrationLease.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DomainRegistrationLease.d.ts","sourceRoot":"","sources":["../../../src/DomainRegistration/DomainRegistrationLease.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;
|
|
1
|
+
{"version":3,"file":"DomainRegistrationLease.d.ts","sourceRoot":"","sources":["../../../src/DomainRegistration/DomainRegistrationLease.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,OAAO,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAA;AAGtE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAA;AAC1D,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,yBAAyB,CAAA;AAGvE,eAAO,MAAM,6BAA6B,4CAA+C,CAAA;AACzF,MAAM,MAAM,6BAA6B,GAAG,OAAO,6BAA6B,CAAA;AAEhF,MAAM,WAAW,6BAA8B,SAAQ,wBAAwB,EAAE,cAAc;CAAG;AAElG;;GAEG;AACH,MAAM,MAAM,uBAAuB,GAAG,OAAO,CAAC,6BAA6B,EAAE,6BAA6B,CAAC,CAAA;AAE3G;;GAEG;AACH,eAAO,MAAM,yBAAyB;;;;;;;;EAAgF,CAAA;AACtH,eAAO,MAAM,yBAAyB;;;;;;;;;sBAlBT,sDAAgB,iCAC1B,gBAAoB;;;;;;;;;sBACO,sDAAiB;;;;;;;;yBAG9D,gBAAoB;CAa8F,CAAA;AACnH,eAAO,MAAM,iCAAiC;;;;;;;;kBAZ+B,sDAAiB,qCAYqC,CAAA;AAEnI;;GAEG;AACH,eAAO,MAAM,oCAAoC;;;;;;;;IAAwG,CAAA;AACzJ,eAAO,MAAM,oCAAoC;;;;;;;;;uBAzBpB,sDAAgB,iCAC1B,gBAAoB;;;;;;;;;uBACO,sDAAiB;;;;;;;;0BAG9D,gBAAoB;CAoBiI,CAAA;AACtJ,eAAO,MAAM,4CAA4C;;;;;;;;mBAnBoB,sDAAiB,qCAoBD,CAAA;AAE7F;;GAEG;AACH,eAAO,MAAM,gCAAgC;;;;;;;;IAAuC,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"parseEstimatesFromArray.d.ts","sourceRoot":"","sources":["../../../../src/diviner/lib/parseEstimatesFromArray.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"parseEstimatesFromArray.d.ts","sourceRoot":"","sources":["../../../../src/diviner/lib/parseEstimatesFromArray.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,YAAY,EAAkB,MAAM,iCAAiC,CAAA;AACnF,OAAO,EAEL,KAAK,iBAAiB,EACvB,MAAM,iCAAiC,CAAA;AAExC,OAAO,KAAK,EAAE,OAAO,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAA;AAEtE,OAAO,EAEL,KAAK,uBAAuB,EAC7B,MAAM,mCAAmC,CAAA;AAE1C,MAAM,MAAM,QAAQ,GAAG;IACrB,YAAY;IACZ,WAAW,CAAC,iBAAiB,CAAC;IAC9B,WAAW,CAAC,uBAAuB,CAAC;CACrC,CAAA;AAED;;;;GAIG;AACH,eAAO,MAAM,uBAAuB,cAAqB,OAAO,EAAE,KAAG,OAAO,CAAC,QAAQ,EAAE,CA0BtF,CAAA"}
|
package/dist/browser/index.mjs
CHANGED
|
@@ -63,16 +63,17 @@ var isDomainLeaseEstimateDivinerValidationErrorDetails = isPayloadOfSchemaType2(
|
|
|
63
63
|
var isDomainLeaseEstimateDivinerValidationErrorDetailsWithSources = isPayloadOfSchemaTypeWithSources(DomainLeaseEstimateDivinerValidationErrorDetailsSchema);
|
|
64
64
|
|
|
65
65
|
// src/diviner/lib/parseEstimatesFromArray.ts
|
|
66
|
+
import { findAs } from "@xylabs/array";
|
|
66
67
|
import { exists } from "@xylabs/exists";
|
|
67
68
|
import { isBoundWitness } from "@xyo-network/boundwitness-model";
|
|
68
69
|
import {
|
|
69
|
-
|
|
70
|
-
|
|
70
|
+
asHashLeaseEstimate,
|
|
71
|
+
HashLeaseEstimateSchema
|
|
71
72
|
} from "@xyo-network/diviner-hash-lease";
|
|
72
73
|
import { PayloadBuilder } from "@xyo-network/payload-builder";
|
|
73
74
|
|
|
74
75
|
// src/DomainRegistration/DomainRegistration.ts
|
|
75
|
-
import { AsObjectFactory as
|
|
76
|
+
import { AsObjectFactory as AsObjectFactory3 } from "@xylabs/object";
|
|
76
77
|
import { isPayloadOfSchemaType as isPayloadOfSchemaType5, isPayloadOfSchemaTypeWithSources as isPayloadOfSchemaTypeWithSources4 } from "@xyo-network/payload-model";
|
|
77
78
|
|
|
78
79
|
// src/Domain/Domain.ts
|
|
@@ -87,30 +88,35 @@ var asDomainWithSources = AsObjectFactory.create(isDomainWithSources);
|
|
|
87
88
|
var asOptionalDomainWithSources = AsObjectFactory.createOptional(isDomainWithSources);
|
|
88
89
|
|
|
89
90
|
// src/Domain/DomainLease.ts
|
|
91
|
+
import { AsObjectFactory as AsObjectFactory2 } from "@xylabs/object";
|
|
90
92
|
import { isPayloadOfSchemaType as isPayloadOfSchemaType4, isPayloadOfSchemaTypeWithSources as isPayloadOfSchemaTypeWithSources3 } from "@xyo-network/payload-model";
|
|
91
93
|
var DomainLeaseSchema = "network.xyo.ns.domain.lease";
|
|
92
94
|
var isDomainLease = isPayloadOfSchemaType4(DomainLeaseSchema);
|
|
95
|
+
var asDomainLease = AsObjectFactory2.create(isDomainLease);
|
|
96
|
+
var asOptionalDomainLease = AsObjectFactory2.createOptional(isDomainLease);
|
|
93
97
|
var isDomainLeaseWithSources = isPayloadOfSchemaTypeWithSources3(DomainLeaseSchema);
|
|
98
|
+
var asDomainLeaseWithSources = AsObjectFactory2.create(isDomainLeaseWithSources);
|
|
99
|
+
var asOptionalDomainLeaseWithSources = AsObjectFactory2.createOptional(isDomainLeaseWithSources);
|
|
94
100
|
|
|
95
101
|
// src/DomainRegistration/DomainRegistration.ts
|
|
96
102
|
var DomainRegistrationSchema = `${DomainSchema}.registration`;
|
|
97
103
|
var isDomainRegistration = isPayloadOfSchemaType5(DomainRegistrationSchema);
|
|
98
|
-
var asDomainRegistration =
|
|
99
|
-
var asOptionalDomainRegistration =
|
|
104
|
+
var asDomainRegistration = AsObjectFactory3.create(isDomainRegistration);
|
|
105
|
+
var asOptionalDomainRegistration = AsObjectFactory3.createOptional(isDomainRegistration);
|
|
100
106
|
var isDomainRegistrationWithSources = isPayloadOfSchemaTypeWithSources4(DomainRegistrationSchema);
|
|
101
|
-
var asDomainRegistrationWithSources =
|
|
102
|
-
var asOptionalDomainRegistrationWithSources =
|
|
107
|
+
var asDomainRegistrationWithSources = AsObjectFactory3.create(isDomainRegistrationWithSources);
|
|
108
|
+
var asOptionalDomainRegistrationWithSources = AsObjectFactory3.createOptional(isDomainRegistrationWithSources);
|
|
103
109
|
|
|
104
110
|
// src/DomainRegistration/DomainRegistrationLease.ts
|
|
105
|
-
import { AsObjectFactory as
|
|
111
|
+
import { AsObjectFactory as AsObjectFactory4 } from "@xylabs/object";
|
|
106
112
|
import { isPayloadOfSchemaType as isPayloadOfSchemaType6, isPayloadOfSchemaTypeWithSources as isPayloadOfSchemaTypeWithSources5 } from "@xyo-network/payload-model";
|
|
107
113
|
var DomainRegistrationLeaseSchema = `${DomainRegistrationSchema}.lease`;
|
|
108
114
|
var isDomainRegistrationLease = isPayloadOfSchemaType6(DomainRegistrationLeaseSchema);
|
|
109
|
-
var asDomainRegistrationLease =
|
|
110
|
-
var asOptionalDomainRegistrationLease =
|
|
115
|
+
var asDomainRegistrationLease = AsObjectFactory4.create(isDomainRegistrationLease);
|
|
116
|
+
var asOptionalDomainRegistrationLease = AsObjectFactory4.createOptional(isDomainRegistrationLease);
|
|
111
117
|
var isDomainRegistrationLeaseWithSources = isPayloadOfSchemaTypeWithSources5(DomainRegistrationLeaseSchema);
|
|
112
|
-
var asDomainRegistrationLeaseWithSources =
|
|
113
|
-
var asOptionalDomainRegistrationLeaseWithSources =
|
|
118
|
+
var asDomainRegistrationLeaseWithSources = AsObjectFactory4.create(isDomainRegistrationLeaseWithSources);
|
|
119
|
+
var asOptionalDomainRegistrationLeaseWithSources = AsObjectFactory4.createOptional(isDomainRegistrationLeaseWithSources);
|
|
114
120
|
var isDomainRegistrationLeaseSources = isDomainRegistrationLeaseWithSources;
|
|
115
121
|
|
|
116
122
|
// src/diviner/lib/parseEstimatesFromArray.ts
|
|
@@ -124,14 +130,14 @@ var parseEstimatesFromArray = async (payloads) => {
|
|
|
124
130
|
bw,
|
|
125
131
|
HashLeaseEstimateSchema,
|
|
126
132
|
hashMap,
|
|
127
|
-
|
|
133
|
+
asHashLeaseEstimate
|
|
128
134
|
);
|
|
129
135
|
if (!hashLeaseEstimate) return;
|
|
130
136
|
const domainLease = getPayloadBySchemaFromBoundWitness(
|
|
131
137
|
bw,
|
|
132
138
|
DomainRegistrationLeaseSchema,
|
|
133
139
|
hashMap,
|
|
134
|
-
|
|
140
|
+
asDomainRegistrationLeaseWithSources
|
|
135
141
|
);
|
|
136
142
|
if (!domainLease) return;
|
|
137
143
|
return [bw, hashLeaseEstimate, domainLease];
|
|
@@ -144,7 +150,7 @@ var getPayloadBySchemaFromBoundWitness = (bw, schema, hashMap, identity) => {
|
|
|
144
150
|
const schemaIndex = bw.payload_schemas.indexOf(schema);
|
|
145
151
|
if (schemaIndex === -1) return;
|
|
146
152
|
const hash = bw.payload_hashes[schemaIndex];
|
|
147
|
-
return [hashMap[hash]]
|
|
153
|
+
return findAs([hashMap[hash]], identity);
|
|
148
154
|
};
|
|
149
155
|
|
|
150
156
|
// src/DNS/types/OperationCodes.ts
|
|
@@ -510,12 +516,16 @@ export {
|
|
|
510
516
|
HashRecordSchema,
|
|
511
517
|
StandardRequestHeader,
|
|
512
518
|
asDomain,
|
|
519
|
+
asDomainLease,
|
|
520
|
+
asDomainLeaseWithSources,
|
|
513
521
|
asDomainRegistration,
|
|
514
522
|
asDomainRegistrationLease,
|
|
515
523
|
asDomainRegistrationLeaseWithSources,
|
|
516
524
|
asDomainRegistrationWithSources,
|
|
517
525
|
asDomainWithSources,
|
|
518
526
|
asOptionalDomain,
|
|
527
|
+
asOptionalDomainLease,
|
|
528
|
+
asOptionalDomainLeaseWithSources,
|
|
519
529
|
asOptionalDomainRegistration,
|
|
520
530
|
asOptionalDomainRegistrationLease,
|
|
521
531
|
asOptionalDomainRegistrationLeaseWithSources,
|