@xyo-network/xns-record-payload-plugins 3.4.2 → 3.4.4
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/index.mjs +1 -4
- package/dist/browser/index.mjs.map +1 -1
- package/dist/neutral/index.mjs +1 -4
- package/dist/neutral/index.mjs.map +1 -1
- package/dist/node/index.mjs +1 -4
- package/dist/node/index.mjs.map +1 -1
- package/dist/types/Address/Payload.d.ts +17 -0
- package/dist/types/Address/Payload.d.ts.map +1 -0
- package/dist/types/Address/index.d.ts +2 -0
- package/dist/types/Address/index.d.ts.map +1 -0
- package/dist/types/DNS/Witness/Config.d.ts +25 -0
- package/dist/types/DNS/Witness/Config.d.ts.map +1 -0
- package/dist/types/DNS/Witness/Params.d.ts +5 -0
- package/dist/types/DNS/Witness/Params.d.ts.map +1 -0
- package/dist/types/DNS/Witness/Payload/Payload.d.ts +4 -0
- package/dist/types/DNS/Witness/Payload/Payload.d.ts.map +1 -0
- package/dist/types/DNS/Witness/Payload/Request.d.ts +33 -0
- package/dist/types/DNS/Witness/Payload/Request.d.ts.map +1 -0
- package/dist/types/DNS/Witness/Payload/Response.d.ts +26 -0
- package/dist/types/DNS/Witness/Payload/Response.d.ts.map +1 -0
- package/dist/types/DNS/Witness/Payload/index.d.ts +4 -0
- package/dist/types/DNS/Witness/Payload/index.d.ts.map +1 -0
- package/dist/types/DNS/Witness/Schema.d.ts +3 -0
- package/dist/types/DNS/Witness/Schema.d.ts.map +1 -0
- package/dist/types/DNS/Witness/index.d.ts +5 -0
- package/dist/types/DNS/Witness/index.d.ts.map +1 -0
- package/dist/types/DNS/index.d.ts +3 -0
- package/dist/types/DNS/index.d.ts.map +1 -0
- package/dist/types/DNS/types/Answer.d.ts +5 -0
- package/dist/types/DNS/types/Answer.d.ts.map +1 -0
- package/dist/types/DNS/types/Header.d.ts +71 -0
- package/dist/types/DNS/types/Header.d.ts.map +1 -0
- package/dist/types/DNS/types/OperationCodes.d.ts +4 -0
- package/dist/types/DNS/types/OperationCodes.d.ts.map +1 -0
- package/dist/types/DNS/types/Record.d.ts +8 -0
- package/dist/types/DNS/types/Record.d.ts.map +1 -0
- package/dist/types/DNS/types/Request.d.ts +23 -0
- package/dist/types/DNS/types/Request.d.ts.map +1 -0
- package/dist/types/DNS/types/ResourceRecord.d.ts +5 -0
- package/dist/types/DNS/types/ResourceRecord.d.ts.map +1 -0
- package/dist/types/DNS/types/Response.d.ts +11 -0
- package/dist/types/DNS/types/Response.d.ts.map +1 -0
- package/dist/types/DNS/types/ResponseCodes.d.ts +4 -0
- package/dist/types/DNS/types/ResponseCodes.d.ts.map +1 -0
- package/dist/types/DNS/types/index.d.ts +9 -0
- package/dist/types/DNS/types/index.d.ts.map +1 -0
- package/dist/types/Domain/Domain.d.ts +43 -0
- package/dist/types/Domain/Domain.d.ts.map +1 -0
- package/dist/types/Domain/DomainLease.d.ts +33 -0
- package/dist/types/Domain/DomainLease.d.ts.map +1 -0
- package/dist/types/Domain/index.d.ts +3 -0
- package/dist/types/Domain/index.d.ts.map +1 -0
- package/dist/types/DomainEstimate/DomainEstimate.d.ts +10 -0
- package/dist/types/DomainEstimate/DomainEstimate.d.ts.map +1 -0
- package/dist/types/DomainEstimate/index.d.ts +2 -0
- package/dist/types/DomainEstimate/index.d.ts.map +1 -0
- package/dist/types/DomainRegistration/DomainRegistration.d.ts +38 -0
- package/dist/types/DomainRegistration/DomainRegistration.d.ts.map +1 -0
- package/dist/types/DomainRegistration/DomainRegistrationLease.d.ts +34 -0
- package/dist/types/DomainRegistration/DomainRegistrationLease.d.ts.map +1 -0
- package/dist/types/DomainRegistration/index.d.ts +3 -0
- package/dist/types/DomainRegistration/index.d.ts.map +1 -0
- package/dist/types/Duration/Duration.d.ts +11 -0
- package/dist/types/Duration/Duration.d.ts.map +1 -0
- package/dist/types/Duration/index.d.ts +3 -0
- package/dist/types/Duration/index.d.ts.map +1 -0
- package/dist/types/Duration/validation/index.d.ts +3 -0
- package/dist/types/Duration/validation/index.d.ts.map +1 -0
- package/dist/types/Duration/validation/validateBoundWitness.d.ts +3 -0
- package/dist/types/Duration/validation/validateBoundWitness.d.ts.map +1 -0
- package/dist/types/Duration/validation/validateBoundWitnessAndDuration.d.ts +5 -0
- package/dist/types/Duration/validation/validateBoundWitnessAndDuration.d.ts.map +1 -0
- package/dist/types/Duration/validation/validateBoundWitnessWithDuration.d.ts +5 -0
- package/dist/types/Duration/validation/validateBoundWitnessWithDuration.d.ts.map +1 -0
- package/dist/types/Duration/validation/validateDuration.d.ts +5 -0
- package/dist/types/Duration/validation/validateDuration.d.ts.map +1 -0
- package/dist/types/Hash/Payload.d.ts +17 -0
- package/dist/types/Hash/Payload.d.ts.map +1 -0
- package/dist/types/Hash/index.d.ts +2 -0
- package/dist/types/Hash/index.d.ts.map +1 -0
- package/dist/types/diviner/DomainLeaseEstimateDiviner/ErrorDetails/ErrorCodes.d.ts +4 -0
- package/dist/types/diviner/DomainLeaseEstimateDiviner/ErrorDetails/ErrorCodes.d.ts.map +1 -0
- package/dist/types/diviner/DomainLeaseEstimateDiviner/ErrorDetails/Payload.d.ts +33 -0
- package/dist/types/diviner/DomainLeaseEstimateDiviner/ErrorDetails/Payload.d.ts.map +1 -0
- package/dist/types/diviner/DomainLeaseEstimateDiviner/ErrorDetails/index.d.ts +3 -0
- package/dist/types/diviner/DomainLeaseEstimateDiviner/ErrorDetails/index.d.ts.map +1 -0
- package/dist/types/diviner/DomainLeaseEstimateDiviner/Schema.d.ts +3 -0
- package/dist/types/diviner/DomainLeaseEstimateDiviner/Schema.d.ts.map +1 -0
- package/dist/types/diviner/DomainLeaseEstimateDiviner/index.d.ts +3 -0
- package/dist/types/diviner/DomainLeaseEstimateDiviner/index.d.ts.map +1 -0
- package/dist/types/diviner/index.d.ts +3 -0
- package/dist/types/diviner/index.d.ts.map +1 -0
- package/dist/types/diviner/lib/index.d.ts +2 -0
- package/dist/types/diviner/lib/index.d.ts.map +1 -0
- package/dist/types/diviner/lib/parseEstimatesFromArray.d.ts +16 -0
- package/dist/types/diviner/lib/parseEstimatesFromArray.d.ts.map +1 -0
- package/dist/types/index.d.ts +9 -0
- package/dist/types/index.d.ts.map +1 -0
- package/package.json +22 -22
- package/src/DNS/Witness/Payload/Request.ts +2 -2
- package/src/DNS/types/Header.ts +2 -1
- package/src/DNS/types/Request.ts +2 -1
- package/src/diviner/lib/parseEstimatesFromArray.ts +6 -9
- package/dist/browser/index.d.ts +0 -279
- package/dist/neutral/index.d.ts +0 -279
- package/dist/node/index.d.ts +0 -279
|
@@ -1,17 +1,14 @@
|
|
|
1
1
|
import { findAs } from '@xylabs/array'
|
|
2
2
|
import { exists } from '@xylabs/exists'
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from '@xyo-network/diviner-hash-lease'
|
|
3
|
+
import type { BoundWitness } from '@xyo-network/boundwitness-model'
|
|
4
|
+
import { isBoundWitness } from '@xyo-network/boundwitness-model'
|
|
5
|
+
import type { HashLeaseEstimate } from '@xyo-network/diviner-hash-lease'
|
|
6
|
+
import { asHashLeaseEstimate, HashLeaseEstimateSchema } from '@xyo-network/diviner-hash-lease'
|
|
8
7
|
import { PayloadBuilder } from '@xyo-network/payload-builder'
|
|
9
8
|
import type { Payload, WithSources } from '@xyo-network/payload-model'
|
|
10
9
|
|
|
11
|
-
import {
|
|
12
|
-
|
|
13
|
-
type DomainRegistrationLease, DomainRegistrationLeaseSchema,
|
|
14
|
-
} from '../../DomainRegistration/index.ts'
|
|
10
|
+
import type { DomainRegistrationLease } from '../../DomainRegistration/index.ts'
|
|
11
|
+
import { asDomainRegistrationLeaseWithSources, DomainRegistrationLeaseSchema } from '../../DomainRegistration/index.ts'
|
|
15
12
|
|
|
16
13
|
export type Estimate = [
|
|
17
14
|
BoundWitness,
|
package/dist/browser/index.d.ts
DELETED
|
@@ -1,279 +0,0 @@
|
|
|
1
|
-
import { Address, Hash } from '@xylabs/hex';
|
|
2
|
-
import * as _xyo_network_payload_model from '@xyo-network/payload-model';
|
|
3
|
-
import { Payload, WithSources, PayloadWithOptionalSources, PayloadWithSources } from '@xyo-network/payload-model';
|
|
4
|
-
import * as _xylabs_object from '@xylabs/object';
|
|
5
|
-
import * as _store__xylabs_promise_npm_4_5_1_97d36b712b_package from '.store/@xylabs-promise-npm-4.5.1-97d36b712b/package';
|
|
6
|
-
import { BoundWitness } from '@xyo-network/boundwitness-model';
|
|
7
|
-
import { HashLeaseEstimate } from '@xyo-network/diviner-hash-lease';
|
|
8
|
-
import { ModuleIdentifier, AnyConfigSchema } from '@xyo-network/module-model';
|
|
9
|
-
import { WitnessConfig, WitnessParams } from '@xyo-network/witness-model';
|
|
10
|
-
|
|
11
|
-
type DomainSchema = 'network.xyo.ns.domain';
|
|
12
|
-
declare const DomainSchema: DomainSchema;
|
|
13
|
-
type TopLevelDomain = 'xyo';
|
|
14
|
-
interface DomainFields {
|
|
15
|
-
domain: string;
|
|
16
|
-
tld: TopLevelDomain;
|
|
17
|
-
}
|
|
18
|
-
type Domain = Payload<DomainFields, DomainSchema>;
|
|
19
|
-
declare const isDomain: (x?: unknown | null) => x is Domain;
|
|
20
|
-
declare const asDomain: {
|
|
21
|
-
<TType extends Domain>(value: _store__xylabs_promise_npm_4_5_1_97d36b712b_package.AnyNonPromise, config?: _xylabs_object.TypeCheckConfig): TType | undefined;
|
|
22
|
-
<TType extends Domain>(value: _store__xylabs_promise_npm_4_5_1_97d36b712b_package.AnyNonPromise, assert: _xylabs_object.StringOrAlertFunction<Domain>, config?: _xylabs_object.TypeCheckConfig): TType;
|
|
23
|
-
};
|
|
24
|
-
declare const asOptionalDomain: <TType extends Domain>(value: _store__xylabs_promise_npm_4_5_1_97d36b712b_package.AnyNonPromise) => TType | undefined;
|
|
25
|
-
declare const isDomainWithSources: (x?: unknown | null) => x is WithSources<WithSources<Domain>>;
|
|
26
|
-
declare const asDomainWithSources: {
|
|
27
|
-
<TType extends WithSources<Domain>>(value: _store__xylabs_promise_npm_4_5_1_97d36b712b_package.AnyNonPromise, config?: _xylabs_object.TypeCheckConfig): TType | undefined;
|
|
28
|
-
<TType extends WithSources<Domain>>(value: _store__xylabs_promise_npm_4_5_1_97d36b712b_package.AnyNonPromise, assert: _xylabs_object.StringOrAlertFunction<WithSources<Domain>>, config?: _xylabs_object.TypeCheckConfig): TType;
|
|
29
|
-
};
|
|
30
|
-
declare const asOptionalDomainWithSources: <TType extends WithSources<Domain>>(value: _store__xylabs_promise_npm_4_5_1_97d36b712b_package.AnyNonPromise) => TType | undefined;
|
|
31
|
-
|
|
32
|
-
interface DurationFields {
|
|
33
|
-
exp: number;
|
|
34
|
-
nbf: number;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
declare const validateBoundWitnessWithDuration: (recordBw: BoundWitness, recordPayload: Payload<DurationFields>) => Promise<boolean>;
|
|
38
|
-
|
|
39
|
-
declare const validateDuration: (recordPayload: Payload<DurationFields>) => boolean;
|
|
40
|
-
declare const isWithinDelegatedTimeframe: (recordPayload: Payload<DurationFields>, now?: number) => boolean;
|
|
41
|
-
|
|
42
|
-
type DomainLeaseSchema = 'network.xyo.ns.domain.lease';
|
|
43
|
-
declare const DomainLeaseSchema: DomainLeaseSchema;
|
|
44
|
-
interface DomainLeaseFields extends DomainFields, DurationFields {
|
|
45
|
-
}
|
|
46
|
-
type DomainLease = Payload<DomainLeaseFields, DomainLeaseSchema>;
|
|
47
|
-
declare const isDomainLease: (x?: unknown | null) => x is DomainLease;
|
|
48
|
-
declare const asDomainLease: {
|
|
49
|
-
<TType extends DomainLease>(value: _store__xylabs_promise_npm_4_5_1_97d36b712b_package.AnyNonPromise, config?: _xylabs_object.TypeCheckConfig): TType | undefined;
|
|
50
|
-
<TType extends DomainLease>(value: _store__xylabs_promise_npm_4_5_1_97d36b712b_package.AnyNonPromise, assert: _xylabs_object.StringOrAlertFunction<DomainLease>, config?: _xylabs_object.TypeCheckConfig): TType;
|
|
51
|
-
};
|
|
52
|
-
declare const asOptionalDomainLease: <TType extends DomainLease>(value: _store__xylabs_promise_npm_4_5_1_97d36b712b_package.AnyNonPromise) => TType | undefined;
|
|
53
|
-
declare const isDomainLeaseWithSources: (x?: unknown | null) => x is WithSources<WithSources<DomainLease>>;
|
|
54
|
-
declare const asDomainLeaseWithSources: {
|
|
55
|
-
<TType extends WithSources<DomainLease>>(value: _store__xylabs_promise_npm_4_5_1_97d36b712b_package.AnyNonPromise, config?: _xylabs_object.TypeCheckConfig): TType | undefined;
|
|
56
|
-
<TType extends WithSources<DomainLease>>(value: _store__xylabs_promise_npm_4_5_1_97d36b712b_package.AnyNonPromise, assert: _xylabs_object.StringOrAlertFunction<WithSources<DomainLease>>, config?: _xylabs_object.TypeCheckConfig): TType;
|
|
57
|
-
};
|
|
58
|
-
declare const asOptionalDomainLeaseWithSources: <TType extends WithSources<DomainLease>>(value: _store__xylabs_promise_npm_4_5_1_97d36b712b_package.AnyNonPromise) => TType | undefined;
|
|
59
|
-
|
|
60
|
-
type AddressRecordSchema = 'network.xyo.ns.record.address';
|
|
61
|
-
declare const AddressRecordSchema: AddressRecordSchema;
|
|
62
|
-
interface AddressRecordFields extends DomainFields {
|
|
63
|
-
address: Address[];
|
|
64
|
-
}
|
|
65
|
-
type AddressRecord = Payload<AddressRecordFields, AddressRecordSchema>;
|
|
66
|
-
declare const isAddressRecord: (x?: unknown | null) => x is AddressRecord;
|
|
67
|
-
|
|
68
|
-
declare const DomainLeaseEstimateDivinerValidationErrorDetailsSchema: "network.xyo.diviner.ns.domain.registration.lease.estimate.validation.error.details";
|
|
69
|
-
type DomainLeaseEstimateDivinerValidationErrorDetailsSchema = typeof DomainLeaseEstimateDivinerValidationErrorDetailsSchema;
|
|
70
|
-
|
|
71
|
-
interface ErrorDetails<TErrorCode extends string | undefined = string | undefined> {
|
|
72
|
-
[key: string]: any;
|
|
73
|
-
code: TErrorCode;
|
|
74
|
-
detail?: string;
|
|
75
|
-
title?: string;
|
|
76
|
-
}
|
|
77
|
-
type ErrorDetailsDictionary<T extends number = number> = {
|
|
78
|
-
readonly [K in T]: ErrorDetails<`${K}`>;
|
|
79
|
-
};
|
|
80
|
-
type DomainLeaseEstimateDivinerValidationErrorDetails<TErrorCode extends string | undefined = string> = Payload<ErrorDetails<TErrorCode>, DomainLeaseEstimateDivinerValidationErrorDetailsSchema>;
|
|
81
|
-
declare const isDomainLeaseEstimateDivinerValidationErrorDetails: (x?: unknown | null) => x is DomainLeaseEstimateDivinerValidationErrorDetails<string>;
|
|
82
|
-
declare const isDomainLeaseEstimateDivinerValidationErrorDetailsWithSources: (x?: unknown | null) => x is _xyo_network_payload_model.WithSources<DomainLeaseEstimateDivinerValidationErrorDetails<string>>;
|
|
83
|
-
|
|
84
|
-
type DomainLeaseEstimateDivinerErrorDetailsDictionaryErrorCode = 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8;
|
|
85
|
-
declare const DomainLeaseEstimateDivinerErrorDetailsDictionary: Readonly<Readonly<Record<DomainLeaseEstimateDivinerErrorDetailsDictionaryErrorCode, DomainLeaseEstimateDivinerValidationErrorDetails>> & ErrorDetailsDictionary>;
|
|
86
|
-
|
|
87
|
-
declare const DomainRegistrationSchema: "network.xyo.ns.domain.registration";
|
|
88
|
-
type DomainRegistrationSchema = typeof DomainRegistrationSchema;
|
|
89
|
-
interface DomainRegistrationFields extends DomainFields {
|
|
90
|
-
registrant: Address[];
|
|
91
|
-
registrar: Address[];
|
|
92
|
-
}
|
|
93
|
-
type DomainRegistration = Payload<DomainRegistrationFields, DomainRegistrationSchema>;
|
|
94
|
-
declare const isDomainRegistration: (x?: unknown | null) => x is DomainRegistration;
|
|
95
|
-
declare const asDomainRegistration: {
|
|
96
|
-
<TType extends DomainRegistration>(value: _store__xylabs_promise_npm_4_5_1_97d36b712b_package.AnyNonPromise, config?: _xylabs_object.TypeCheckConfig): TType | undefined;
|
|
97
|
-
<TType extends DomainRegistration>(value: _store__xylabs_promise_npm_4_5_1_97d36b712b_package.AnyNonPromise, assert: _xylabs_object.StringOrAlertFunction<DomainRegistration>, config?: _xylabs_object.TypeCheckConfig): TType;
|
|
98
|
-
};
|
|
99
|
-
declare const asOptionalDomainRegistration: <TType extends DomainRegistration>(value: _store__xylabs_promise_npm_4_5_1_97d36b712b_package.AnyNonPromise) => TType | undefined;
|
|
100
|
-
declare const isDomainRegistrationWithSources: (x?: unknown | null) => x is WithSources<WithSources<DomainRegistration>>;
|
|
101
|
-
declare const asDomainRegistrationWithSources: {
|
|
102
|
-
<TType extends WithSources<DomainRegistration>>(value: _store__xylabs_promise_npm_4_5_1_97d36b712b_package.AnyNonPromise, config?: _xylabs_object.TypeCheckConfig): TType | undefined;
|
|
103
|
-
<TType extends WithSources<DomainRegistration>>(value: _store__xylabs_promise_npm_4_5_1_97d36b712b_package.AnyNonPromise, assert: _xylabs_object.StringOrAlertFunction<WithSources<DomainRegistration>>, config?: _xylabs_object.TypeCheckConfig): TType;
|
|
104
|
-
};
|
|
105
|
-
declare const asOptionalDomainRegistrationWithSources: <TType extends WithSources<DomainRegistration>>(value: _store__xylabs_promise_npm_4_5_1_97d36b712b_package.AnyNonPromise) => TType | undefined;
|
|
106
|
-
|
|
107
|
-
declare const DomainRegistrationLeaseSchema: "network.xyo.ns.domain.registration.lease";
|
|
108
|
-
type DomainRegistrationLeaseSchema = typeof DomainRegistrationLeaseSchema;
|
|
109
|
-
interface DomainRegistrationLeaseFields extends DomainRegistrationFields, DurationFields {
|
|
110
|
-
}
|
|
111
|
-
type DomainRegistrationLease = Payload<DomainRegistrationLeaseFields, DomainRegistrationLeaseSchema>;
|
|
112
|
-
declare const isDomainRegistrationLease: (x?: unknown | null) => x is DomainRegistrationLease;
|
|
113
|
-
declare const asDomainRegistrationLease: {
|
|
114
|
-
<TType extends DomainRegistrationLease>(value: _store__xylabs_promise_npm_4_5_1_97d36b712b_package.AnyNonPromise, config?: _xylabs_object.TypeCheckConfig): TType | undefined;
|
|
115
|
-
<TType extends DomainRegistrationLease>(value: _store__xylabs_promise_npm_4_5_1_97d36b712b_package.AnyNonPromise, assert: _xylabs_object.StringOrAlertFunction<DomainRegistrationLease>, config?: _xylabs_object.TypeCheckConfig): TType;
|
|
116
|
-
};
|
|
117
|
-
declare const asOptionalDomainRegistrationLease: <TType extends DomainRegistrationLease>(value: _store__xylabs_promise_npm_4_5_1_97d36b712b_package.AnyNonPromise) => TType | undefined;
|
|
118
|
-
declare const isDomainRegistrationLeaseWithSources: (x?: unknown | null) => x is WithSources<WithSources<DomainRegistrationLease>>;
|
|
119
|
-
declare const asDomainRegistrationLeaseWithSources: {
|
|
120
|
-
<TType extends WithSources<DomainRegistrationLease>>(value: _store__xylabs_promise_npm_4_5_1_97d36b712b_package.AnyNonPromise, config?: _xylabs_object.TypeCheckConfig): TType | undefined;
|
|
121
|
-
<TType extends WithSources<DomainRegistrationLease>>(value: _store__xylabs_promise_npm_4_5_1_97d36b712b_package.AnyNonPromise, assert: _xylabs_object.StringOrAlertFunction<WithSources<DomainRegistrationLease>>, config?: _xylabs_object.TypeCheckConfig): TType;
|
|
122
|
-
};
|
|
123
|
-
declare const asOptionalDomainRegistrationLeaseWithSources: <TType extends WithSources<DomainRegistrationLease>>(value: _store__xylabs_promise_npm_4_5_1_97d36b712b_package.AnyNonPromise) => TType | undefined;
|
|
124
|
-
declare const isDomainRegistrationLeaseSources: (x?: unknown | null) => x is WithSources<WithSources<DomainRegistrationLease>>;
|
|
125
|
-
|
|
126
|
-
type Estimate = [
|
|
127
|
-
BoundWitness,
|
|
128
|
-
WithSources<HashLeaseEstimate>,
|
|
129
|
-
WithSources<DomainRegistrationLease>
|
|
130
|
-
];
|
|
131
|
-
declare const parseEstimatesFromArray: (payloads?: Payload[]) => Promise<Estimate[]>;
|
|
132
|
-
|
|
133
|
-
type DNSResourceRecordType = 'A' | 'NS' | 'MD' | 'MF' | 'CNAME' | 'SOA' | 'MB' | 'MG' | 'MR' | 'NULL' | 'WKS' | 'PTR' | 'HINFO' | 'MINFO' | 'MX' | 'TXT' | 'RP' | 'AFSDB' | 'X25' | 'ISDN' | 'RT' | 'NSAP' | 'NSAP-PTR' | 'SIG' | 'KEY' | 'PX' | 'GPOS' | 'AAAA' | 'LOC' | 'NXT' | 'EID' | 'NIMLOC' | 'SRV' | 'ATMA' | 'NAPTR' | 'KX' | 'CERT' | 'A6' | 'DNAME' | 'SINK' | 'OPT' | 'APL' | 'DS' | 'SSHFP' | 'IPSECKEY' | 'RRSIG' | 'NSEC' | 'DNSKEY' | 'DHCID' | 'NSEC3' | 'NSEC3PARAM' | 'TLSA' | 'SMIMEA' | 'HIP' | 'NINFO' | 'RKEY' | 'TALINK' | 'CDS' | 'CDNSKEY' | 'OPENPGPKEY' | 'CSYNC' | 'ZONEMD' | 'SVCB' | 'HTTPS' | 'SPF' | 'UINFO' | 'UID' | 'GID' | 'UNSPEC' | 'NID' | 'L32' | 'L64' | 'LP' | 'EUI48' | 'EUI64' | 'NXNAME' | 'TKEY' | 'TSIG' | 'IXFR' | 'AXFR' | 'MAILB' | 'MAILA' | '*' | 'URI' | 'CAA' | 'AVC' | 'DOA' | 'AMTRELAY' | 'RESINFO' | 'WALLET' | 'CLA' | 'IPN' | 'TA' | 'DLV' | 'XYOA' | 'XYOH';
|
|
134
|
-
declare const DNSResourceRecordTypes: Readonly<Record<DNSResourceRecordType, number>>;
|
|
135
|
-
type DNSResourceRecordTypeValue = (typeof DNSResourceRecordTypes)[keyof typeof DNSResourceRecordTypes];
|
|
136
|
-
declare const findDNSResourceRecordTypesByValue: (value: DNSResourceRecordTypeValue) => DNSResourceRecordType | undefined;
|
|
137
|
-
|
|
138
|
-
interface DNSRecord {
|
|
139
|
-
name: string;
|
|
140
|
-
type: DNSResourceRecordTypeValue;
|
|
141
|
-
TTL: number;
|
|
142
|
-
data: string;
|
|
143
|
-
}
|
|
144
|
-
|
|
145
|
-
interface DNSAnswer extends DNSRecord {
|
|
146
|
-
class?: number;
|
|
147
|
-
}
|
|
148
|
-
|
|
149
|
-
type DNSQueryOpcode = 0 | 1 | 2 | 4 | 5 | 6;
|
|
150
|
-
type DNSQueryOpcodeName = 'QUERY' | 'IQUERY' | 'STATUS' | 'NOTIFY' | 'UPDATE' | 'DSO';
|
|
151
|
-
declare const DNSQueryOpcodes: Record<DNSQueryOpcodeName, DNSQueryOpcode>;
|
|
152
|
-
|
|
153
|
-
type DNSRcode = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 16 | 17 | 18;
|
|
154
|
-
type DNSRcodeName = 'NOERROR' | 'FORMERR' | 'SERVFAIL' | 'NXDOMAIN' | 'NOTIMP' | 'REFUSED' | 'YXDOMAIN' | 'YXRRSET' | 'NXRRSET' | 'NOTAUTH' | 'NOTZONE' | 'BADSIG' | 'BADKEY' | 'BADTIME';
|
|
155
|
-
declare const DNSRcodes: Readonly<Record<DNSRcodeName, DNSRcode>>;
|
|
156
|
-
|
|
157
|
-
type NumericBoolean = 0 | 1 | true | false;
|
|
158
|
-
type NumericBooleanFalsy = 0 | false;
|
|
159
|
-
type NumericBooleanTruthy = 1 | true;
|
|
160
|
-
interface DNSHeader {
|
|
161
|
-
ID?: number;
|
|
162
|
-
QR?: NumericBoolean;
|
|
163
|
-
Opcode?: DNSQueryOpcode;
|
|
164
|
-
AA?: NumericBoolean;
|
|
165
|
-
TC?: NumericBoolean;
|
|
166
|
-
RD?: NumericBoolean;
|
|
167
|
-
RCODE?: DNSRcode;
|
|
168
|
-
QDCOUNT?: number;
|
|
169
|
-
ANCOUNT?: number;
|
|
170
|
-
NSCOUNT?: number;
|
|
171
|
-
ARCOUNT?: number;
|
|
172
|
-
}
|
|
173
|
-
interface DNSRequestHeader extends DNSHeader {
|
|
174
|
-
QR: NumericBooleanFalsy;
|
|
175
|
-
Opcode: DNSQueryOpcode;
|
|
176
|
-
AA: NumericBooleanFalsy;
|
|
177
|
-
TC: NumericBooleanFalsy;
|
|
178
|
-
RCODE: typeof DNSRcodes.NOERROR;
|
|
179
|
-
ANCOUNT: 0;
|
|
180
|
-
NSCOUNT: 0;
|
|
181
|
-
ARCOUNT: 0;
|
|
182
|
-
}
|
|
183
|
-
declare const StandardRequestHeader: Readonly<DNSRequestHeader>;
|
|
184
|
-
interface DNSResponseHeader extends DNSHeader {
|
|
185
|
-
QR: NumericBooleanTruthy;
|
|
186
|
-
Opcode: DNSQueryOpcode;
|
|
187
|
-
AA: NumericBoolean;
|
|
188
|
-
TC: NumericBoolean;
|
|
189
|
-
RA: NumericBoolean;
|
|
190
|
-
}
|
|
191
|
-
|
|
192
|
-
interface DNSQuestion {
|
|
193
|
-
name: string;
|
|
194
|
-
type: DNSResourceRecordTypeValue;
|
|
195
|
-
class?: number;
|
|
196
|
-
}
|
|
197
|
-
interface DNSRequestFields extends DNSRequestHeader {
|
|
198
|
-
Question: DNSQuestion[];
|
|
199
|
-
}
|
|
200
|
-
declare const getRequestFor: (domain: string, type?: DNSResourceRecordTypeValue) => DNSRequestFields;
|
|
201
|
-
declare const getRandomId: () => number;
|
|
202
|
-
|
|
203
|
-
interface DNSResponseFields extends DNSResponseHeader {
|
|
204
|
-
Question: DNSQuestion[];
|
|
205
|
-
Answer: DNSAnswer[];
|
|
206
|
-
Authority?: DNSRecord[];
|
|
207
|
-
Additional?: DNSRecord[];
|
|
208
|
-
}
|
|
209
|
-
|
|
210
|
-
type DNSSchema = 'network.xyo.dns';
|
|
211
|
-
declare const DNSSchema: DNSSchema;
|
|
212
|
-
|
|
213
|
-
type DNSWitnessConfigSchema = `${DNSSchema}.witness.config`;
|
|
214
|
-
declare const DNSWitnessConfigSchema: DNSWitnessConfigSchema;
|
|
215
|
-
type DNSWitnessConfig = WitnessConfig<{
|
|
216
|
-
addressRecordIndexDiviner?: ModuleIdentifier;
|
|
217
|
-
hashRecordIndexDiviner?: ModuleIdentifier;
|
|
218
|
-
schema: DNSWitnessConfigSchema;
|
|
219
|
-
supportedResources?: DNSResourceRecordType[];
|
|
220
|
-
}>;
|
|
221
|
-
|
|
222
|
-
type DNSWitnessParams = WitnessParams<AnyConfigSchema<DNSWitnessConfig>>;
|
|
223
|
-
|
|
224
|
-
type DNSRequest = PayloadWithOptionalSources<DNSRequestFields, DNSSchema>;
|
|
225
|
-
declare const isDNSRequest: (x?: unknown | null) => x is DNSRequest;
|
|
226
|
-
declare const asDNSRequest: {
|
|
227
|
-
<TType extends DNSRequest>(value: _store__xylabs_promise_npm_4_5_1_97d36b712b_package.AnyNonPromise, config?: _xylabs_object.TypeCheckConfig): TType | undefined;
|
|
228
|
-
<TType extends DNSRequest>(value: _store__xylabs_promise_npm_4_5_1_97d36b712b_package.AnyNonPromise, assert: _xylabs_object.StringOrAlertFunction<DNSRequest>, config?: _xylabs_object.TypeCheckConfig): TType;
|
|
229
|
-
};
|
|
230
|
-
declare const asOptionalDNSRequest: <TType extends DNSRequest>(value: _store__xylabs_promise_npm_4_5_1_97d36b712b_package.AnyNonPromise) => TType | undefined;
|
|
231
|
-
declare const isDNSRequestWithSources: (x?: unknown | null) => x is WithSources<_xylabs_object.DeepRestrictToStringKeys<_xyo_network_payload_model.SchemaFields & _xyo_network_payload_model.PayloadFields & DNSRequestFields & {
|
|
232
|
-
schema: "network.xyo.dns";
|
|
233
|
-
}> & Partial<_xyo_network_payload_model.PayloadMetaFields> & _xyo_network_payload_model.SourcesMetaField>;
|
|
234
|
-
declare const asDNSRequestWithSources: {
|
|
235
|
-
<TType extends _xylabs_object.DeepRestrictToStringKeys<_xyo_network_payload_model.SchemaFields & _xyo_network_payload_model.PayloadFields & DNSRequestFields & {
|
|
236
|
-
schema: "network.xyo.dns";
|
|
237
|
-
}> & Partial<_xyo_network_payload_model.PayloadMetaFields> & _xyo_network_payload_model.SourcesMetaField>(value: _store__xylabs_promise_npm_4_5_1_97d36b712b_package.AnyNonPromise, config?: _xylabs_object.TypeCheckConfig): TType | undefined;
|
|
238
|
-
<TType extends _xylabs_object.DeepRestrictToStringKeys<_xyo_network_payload_model.SchemaFields & _xyo_network_payload_model.PayloadFields & DNSRequestFields & {
|
|
239
|
-
schema: "network.xyo.dns";
|
|
240
|
-
}> & Partial<_xyo_network_payload_model.PayloadMetaFields> & _xyo_network_payload_model.SourcesMetaField>(value: _store__xylabs_promise_npm_4_5_1_97d36b712b_package.AnyNonPromise, assert: _xylabs_object.StringOrAlertFunction<_xylabs_object.DeepRestrictToStringKeys<_xyo_network_payload_model.SchemaFields & _xyo_network_payload_model.PayloadFields & DNSRequestFields & {
|
|
241
|
-
schema: "network.xyo.dns";
|
|
242
|
-
}> & Partial<_xyo_network_payload_model.PayloadMetaFields> & _xyo_network_payload_model.SourcesMetaField>, config?: _xylabs_object.TypeCheckConfig): TType;
|
|
243
|
-
};
|
|
244
|
-
declare const asOptionalDNSRequestWithSources: <TType extends _xylabs_object.DeepRestrictToStringKeys<_xyo_network_payload_model.SchemaFields & _xyo_network_payload_model.PayloadFields & DNSRequestFields & {
|
|
245
|
-
schema: "network.xyo.dns";
|
|
246
|
-
}> & Partial<_xyo_network_payload_model.PayloadMetaFields> & _xyo_network_payload_model.SourcesMetaField>(value: _store__xylabs_promise_npm_4_5_1_97d36b712b_package.AnyNonPromise) => TType | undefined;
|
|
247
|
-
declare const getDnsRequestFor: (domain: string, type?: DNSResourceRecordTypeValue) => DNSRequest;
|
|
248
|
-
|
|
249
|
-
type DNSResponse = PayloadWithSources<DNSResponseFields, DNSSchema>;
|
|
250
|
-
declare const isDNSResponse: (x?: unknown | null) => x is DNSResponse;
|
|
251
|
-
declare const asDNSResponse: {
|
|
252
|
-
<TType extends DNSResponse>(value: _store__xylabs_promise_npm_4_5_1_97d36b712b_package.AnyNonPromise, config?: _xylabs_object.TypeCheckConfig): TType | undefined;
|
|
253
|
-
<TType extends DNSResponse>(value: _store__xylabs_promise_npm_4_5_1_97d36b712b_package.AnyNonPromise, assert: _xylabs_object.StringOrAlertFunction<DNSResponse>, config?: _xylabs_object.TypeCheckConfig): TType;
|
|
254
|
-
};
|
|
255
|
-
declare const asOptionalDNSResponse: <TType extends DNSResponse>(value: _store__xylabs_promise_npm_4_5_1_97d36b712b_package.AnyNonPromise) => TType | undefined;
|
|
256
|
-
declare const isDNSResponseWithSources: (x?: unknown | null) => x is WithSources<DNSResponse>;
|
|
257
|
-
declare const asDNSResponseWithSources: {
|
|
258
|
-
<TType extends WithSources<DNSResponse>>(value: _store__xylabs_promise_npm_4_5_1_97d36b712b_package.AnyNonPromise, config?: _xylabs_object.TypeCheckConfig): TType | undefined;
|
|
259
|
-
<TType extends WithSources<DNSResponse>>(value: _store__xylabs_promise_npm_4_5_1_97d36b712b_package.AnyNonPromise, assert: _xylabs_object.StringOrAlertFunction<WithSources<DNSResponse>>, config?: _xylabs_object.TypeCheckConfig): TType;
|
|
260
|
-
};
|
|
261
|
-
declare const asOptionalDNSResponseWithSources: <TType extends WithSources<DNSResponse>>(value: _store__xylabs_promise_npm_4_5_1_97d36b712b_package.AnyNonPromise) => TType | undefined;
|
|
262
|
-
|
|
263
|
-
type DNS = DNSRequest | DNSResponse;
|
|
264
|
-
|
|
265
|
-
type DomainEstimate = [
|
|
266
|
-
BoundWitness,
|
|
267
|
-
WithSources<HashLeaseEstimate>,
|
|
268
|
-
WithSources<DomainRegistrationLease>
|
|
269
|
-
];
|
|
270
|
-
|
|
271
|
-
type HashRecordSchema = 'network.xyo.ns.record.hash';
|
|
272
|
-
declare const HashRecordSchema: HashRecordSchema;
|
|
273
|
-
interface HashRecordFields extends DomainFields {
|
|
274
|
-
hash: Hash[];
|
|
275
|
-
}
|
|
276
|
-
type HashRecord = Payload<HashRecordFields, HashRecordSchema>;
|
|
277
|
-
declare const isHashRecord: (x?: unknown | null) => x is HashRecord;
|
|
278
|
-
|
|
279
|
-
export { type AddressRecord, type AddressRecordFields, AddressRecordSchema, type DNS, type DNSAnswer, type DNSHeader, type DNSQueryOpcode, type DNSQueryOpcodeName, DNSQueryOpcodes, type DNSQuestion, type DNSRcode, type DNSRcodeName, DNSRcodes, type DNSRecord, type DNSRequest, type DNSRequestFields, type DNSRequestHeader, type DNSResourceRecordType, type DNSResourceRecordTypeValue, DNSResourceRecordTypes, type DNSResponse, type DNSResponseFields, type DNSResponseHeader, DNSSchema, type DNSWitnessConfig, DNSWitnessConfigSchema, type DNSWitnessParams, type Domain, type DomainEstimate, type DomainFields, type DomainLease, DomainLeaseEstimateDivinerErrorDetailsDictionary, type DomainLeaseEstimateDivinerErrorDetailsDictionaryErrorCode, type DomainLeaseEstimateDivinerValidationErrorDetails, DomainLeaseEstimateDivinerValidationErrorDetailsSchema, type DomainLeaseFields, DomainLeaseSchema, type DomainRegistration, type DomainRegistrationFields, type DomainRegistrationLease, type DomainRegistrationLeaseFields, DomainRegistrationLeaseSchema, DomainRegistrationSchema, DomainSchema, type DurationFields, type ErrorDetails, type ErrorDetailsDictionary, type Estimate, type HashRecord, type HashRecordFields, HashRecordSchema, type NumericBoolean, type NumericBooleanFalsy, type NumericBooleanTruthy, StandardRequestHeader, type TopLevelDomain, asDNSRequest, asDNSRequestWithSources, asDNSResponse, asDNSResponseWithSources, asDomain, asDomainLease, asDomainLeaseWithSources, asDomainRegistration, asDomainRegistrationLease, asDomainRegistrationLeaseWithSources, asDomainRegistrationWithSources, asDomainWithSources, asOptionalDNSRequest, asOptionalDNSRequestWithSources, asOptionalDNSResponse, asOptionalDNSResponseWithSources, asOptionalDomain, asOptionalDomainLease, asOptionalDomainLeaseWithSources, asOptionalDomainRegistration, asOptionalDomainRegistrationLease, asOptionalDomainRegistrationLeaseWithSources, asOptionalDomainRegistrationWithSources, asOptionalDomainWithSources, findDNSResourceRecordTypesByValue, getDnsRequestFor, getRandomId, getRequestFor, isAddressRecord, isDNSRequest, isDNSRequestWithSources, isDNSResponse, isDNSResponseWithSources, isDomain, isDomainLease, isDomainLeaseEstimateDivinerValidationErrorDetails, isDomainLeaseEstimateDivinerValidationErrorDetailsWithSources, isDomainLeaseWithSources, isDomainRegistration, isDomainRegistrationLease, isDomainRegistrationLeaseSources, isDomainRegistrationLeaseWithSources, isDomainRegistrationWithSources, isDomainWithSources, isHashRecord, isWithinDelegatedTimeframe, parseEstimatesFromArray, validateBoundWitnessWithDuration, validateDuration };
|
package/dist/neutral/index.d.ts
DELETED
|
@@ -1,279 +0,0 @@
|
|
|
1
|
-
import { Address, Hash } from '@xylabs/hex';
|
|
2
|
-
import * as _xyo_network_payload_model from '@xyo-network/payload-model';
|
|
3
|
-
import { Payload, WithSources, PayloadWithOptionalSources, PayloadWithSources } from '@xyo-network/payload-model';
|
|
4
|
-
import * as _xylabs_object from '@xylabs/object';
|
|
5
|
-
import * as _store__xylabs_promise_npm_4_5_1_97d36b712b_package from '.store/@xylabs-promise-npm-4.5.1-97d36b712b/package';
|
|
6
|
-
import { BoundWitness } from '@xyo-network/boundwitness-model';
|
|
7
|
-
import { HashLeaseEstimate } from '@xyo-network/diviner-hash-lease';
|
|
8
|
-
import { ModuleIdentifier, AnyConfigSchema } from '@xyo-network/module-model';
|
|
9
|
-
import { WitnessConfig, WitnessParams } from '@xyo-network/witness-model';
|
|
10
|
-
|
|
11
|
-
type DomainSchema = 'network.xyo.ns.domain';
|
|
12
|
-
declare const DomainSchema: DomainSchema;
|
|
13
|
-
type TopLevelDomain = 'xyo';
|
|
14
|
-
interface DomainFields {
|
|
15
|
-
domain: string;
|
|
16
|
-
tld: TopLevelDomain;
|
|
17
|
-
}
|
|
18
|
-
type Domain = Payload<DomainFields, DomainSchema>;
|
|
19
|
-
declare const isDomain: (x?: unknown | null) => x is Domain;
|
|
20
|
-
declare const asDomain: {
|
|
21
|
-
<TType extends Domain>(value: _store__xylabs_promise_npm_4_5_1_97d36b712b_package.AnyNonPromise, config?: _xylabs_object.TypeCheckConfig): TType | undefined;
|
|
22
|
-
<TType extends Domain>(value: _store__xylabs_promise_npm_4_5_1_97d36b712b_package.AnyNonPromise, assert: _xylabs_object.StringOrAlertFunction<Domain>, config?: _xylabs_object.TypeCheckConfig): TType;
|
|
23
|
-
};
|
|
24
|
-
declare const asOptionalDomain: <TType extends Domain>(value: _store__xylabs_promise_npm_4_5_1_97d36b712b_package.AnyNonPromise) => TType | undefined;
|
|
25
|
-
declare const isDomainWithSources: (x?: unknown | null) => x is WithSources<WithSources<Domain>>;
|
|
26
|
-
declare const asDomainWithSources: {
|
|
27
|
-
<TType extends WithSources<Domain>>(value: _store__xylabs_promise_npm_4_5_1_97d36b712b_package.AnyNonPromise, config?: _xylabs_object.TypeCheckConfig): TType | undefined;
|
|
28
|
-
<TType extends WithSources<Domain>>(value: _store__xylabs_promise_npm_4_5_1_97d36b712b_package.AnyNonPromise, assert: _xylabs_object.StringOrAlertFunction<WithSources<Domain>>, config?: _xylabs_object.TypeCheckConfig): TType;
|
|
29
|
-
};
|
|
30
|
-
declare const asOptionalDomainWithSources: <TType extends WithSources<Domain>>(value: _store__xylabs_promise_npm_4_5_1_97d36b712b_package.AnyNonPromise) => TType | undefined;
|
|
31
|
-
|
|
32
|
-
interface DurationFields {
|
|
33
|
-
exp: number;
|
|
34
|
-
nbf: number;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
declare const validateBoundWitnessWithDuration: (recordBw: BoundWitness, recordPayload: Payload<DurationFields>) => Promise<boolean>;
|
|
38
|
-
|
|
39
|
-
declare const validateDuration: (recordPayload: Payload<DurationFields>) => boolean;
|
|
40
|
-
declare const isWithinDelegatedTimeframe: (recordPayload: Payload<DurationFields>, now?: number) => boolean;
|
|
41
|
-
|
|
42
|
-
type DomainLeaseSchema = 'network.xyo.ns.domain.lease';
|
|
43
|
-
declare const DomainLeaseSchema: DomainLeaseSchema;
|
|
44
|
-
interface DomainLeaseFields extends DomainFields, DurationFields {
|
|
45
|
-
}
|
|
46
|
-
type DomainLease = Payload<DomainLeaseFields, DomainLeaseSchema>;
|
|
47
|
-
declare const isDomainLease: (x?: unknown | null) => x is DomainLease;
|
|
48
|
-
declare const asDomainLease: {
|
|
49
|
-
<TType extends DomainLease>(value: _store__xylabs_promise_npm_4_5_1_97d36b712b_package.AnyNonPromise, config?: _xylabs_object.TypeCheckConfig): TType | undefined;
|
|
50
|
-
<TType extends DomainLease>(value: _store__xylabs_promise_npm_4_5_1_97d36b712b_package.AnyNonPromise, assert: _xylabs_object.StringOrAlertFunction<DomainLease>, config?: _xylabs_object.TypeCheckConfig): TType;
|
|
51
|
-
};
|
|
52
|
-
declare const asOptionalDomainLease: <TType extends DomainLease>(value: _store__xylabs_promise_npm_4_5_1_97d36b712b_package.AnyNonPromise) => TType | undefined;
|
|
53
|
-
declare const isDomainLeaseWithSources: (x?: unknown | null) => x is WithSources<WithSources<DomainLease>>;
|
|
54
|
-
declare const asDomainLeaseWithSources: {
|
|
55
|
-
<TType extends WithSources<DomainLease>>(value: _store__xylabs_promise_npm_4_5_1_97d36b712b_package.AnyNonPromise, config?: _xylabs_object.TypeCheckConfig): TType | undefined;
|
|
56
|
-
<TType extends WithSources<DomainLease>>(value: _store__xylabs_promise_npm_4_5_1_97d36b712b_package.AnyNonPromise, assert: _xylabs_object.StringOrAlertFunction<WithSources<DomainLease>>, config?: _xylabs_object.TypeCheckConfig): TType;
|
|
57
|
-
};
|
|
58
|
-
declare const asOptionalDomainLeaseWithSources: <TType extends WithSources<DomainLease>>(value: _store__xylabs_promise_npm_4_5_1_97d36b712b_package.AnyNonPromise) => TType | undefined;
|
|
59
|
-
|
|
60
|
-
type AddressRecordSchema = 'network.xyo.ns.record.address';
|
|
61
|
-
declare const AddressRecordSchema: AddressRecordSchema;
|
|
62
|
-
interface AddressRecordFields extends DomainFields {
|
|
63
|
-
address: Address[];
|
|
64
|
-
}
|
|
65
|
-
type AddressRecord = Payload<AddressRecordFields, AddressRecordSchema>;
|
|
66
|
-
declare const isAddressRecord: (x?: unknown | null) => x is AddressRecord;
|
|
67
|
-
|
|
68
|
-
declare const DomainLeaseEstimateDivinerValidationErrorDetailsSchema: "network.xyo.diviner.ns.domain.registration.lease.estimate.validation.error.details";
|
|
69
|
-
type DomainLeaseEstimateDivinerValidationErrorDetailsSchema = typeof DomainLeaseEstimateDivinerValidationErrorDetailsSchema;
|
|
70
|
-
|
|
71
|
-
interface ErrorDetails<TErrorCode extends string | undefined = string | undefined> {
|
|
72
|
-
[key: string]: any;
|
|
73
|
-
code: TErrorCode;
|
|
74
|
-
detail?: string;
|
|
75
|
-
title?: string;
|
|
76
|
-
}
|
|
77
|
-
type ErrorDetailsDictionary<T extends number = number> = {
|
|
78
|
-
readonly [K in T]: ErrorDetails<`${K}`>;
|
|
79
|
-
};
|
|
80
|
-
type DomainLeaseEstimateDivinerValidationErrorDetails<TErrorCode extends string | undefined = string> = Payload<ErrorDetails<TErrorCode>, DomainLeaseEstimateDivinerValidationErrorDetailsSchema>;
|
|
81
|
-
declare const isDomainLeaseEstimateDivinerValidationErrorDetails: (x?: unknown | null) => x is DomainLeaseEstimateDivinerValidationErrorDetails<string>;
|
|
82
|
-
declare const isDomainLeaseEstimateDivinerValidationErrorDetailsWithSources: (x?: unknown | null) => x is _xyo_network_payload_model.WithSources<DomainLeaseEstimateDivinerValidationErrorDetails<string>>;
|
|
83
|
-
|
|
84
|
-
type DomainLeaseEstimateDivinerErrorDetailsDictionaryErrorCode = 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8;
|
|
85
|
-
declare const DomainLeaseEstimateDivinerErrorDetailsDictionary: Readonly<Readonly<Record<DomainLeaseEstimateDivinerErrorDetailsDictionaryErrorCode, DomainLeaseEstimateDivinerValidationErrorDetails>> & ErrorDetailsDictionary>;
|
|
86
|
-
|
|
87
|
-
declare const DomainRegistrationSchema: "network.xyo.ns.domain.registration";
|
|
88
|
-
type DomainRegistrationSchema = typeof DomainRegistrationSchema;
|
|
89
|
-
interface DomainRegistrationFields extends DomainFields {
|
|
90
|
-
registrant: Address[];
|
|
91
|
-
registrar: Address[];
|
|
92
|
-
}
|
|
93
|
-
type DomainRegistration = Payload<DomainRegistrationFields, DomainRegistrationSchema>;
|
|
94
|
-
declare const isDomainRegistration: (x?: unknown | null) => x is DomainRegistration;
|
|
95
|
-
declare const asDomainRegistration: {
|
|
96
|
-
<TType extends DomainRegistration>(value: _store__xylabs_promise_npm_4_5_1_97d36b712b_package.AnyNonPromise, config?: _xylabs_object.TypeCheckConfig): TType | undefined;
|
|
97
|
-
<TType extends DomainRegistration>(value: _store__xylabs_promise_npm_4_5_1_97d36b712b_package.AnyNonPromise, assert: _xylabs_object.StringOrAlertFunction<DomainRegistration>, config?: _xylabs_object.TypeCheckConfig): TType;
|
|
98
|
-
};
|
|
99
|
-
declare const asOptionalDomainRegistration: <TType extends DomainRegistration>(value: _store__xylabs_promise_npm_4_5_1_97d36b712b_package.AnyNonPromise) => TType | undefined;
|
|
100
|
-
declare const isDomainRegistrationWithSources: (x?: unknown | null) => x is WithSources<WithSources<DomainRegistration>>;
|
|
101
|
-
declare const asDomainRegistrationWithSources: {
|
|
102
|
-
<TType extends WithSources<DomainRegistration>>(value: _store__xylabs_promise_npm_4_5_1_97d36b712b_package.AnyNonPromise, config?: _xylabs_object.TypeCheckConfig): TType | undefined;
|
|
103
|
-
<TType extends WithSources<DomainRegistration>>(value: _store__xylabs_promise_npm_4_5_1_97d36b712b_package.AnyNonPromise, assert: _xylabs_object.StringOrAlertFunction<WithSources<DomainRegistration>>, config?: _xylabs_object.TypeCheckConfig): TType;
|
|
104
|
-
};
|
|
105
|
-
declare const asOptionalDomainRegistrationWithSources: <TType extends WithSources<DomainRegistration>>(value: _store__xylabs_promise_npm_4_5_1_97d36b712b_package.AnyNonPromise) => TType | undefined;
|
|
106
|
-
|
|
107
|
-
declare const DomainRegistrationLeaseSchema: "network.xyo.ns.domain.registration.lease";
|
|
108
|
-
type DomainRegistrationLeaseSchema = typeof DomainRegistrationLeaseSchema;
|
|
109
|
-
interface DomainRegistrationLeaseFields extends DomainRegistrationFields, DurationFields {
|
|
110
|
-
}
|
|
111
|
-
type DomainRegistrationLease = Payload<DomainRegistrationLeaseFields, DomainRegistrationLeaseSchema>;
|
|
112
|
-
declare const isDomainRegistrationLease: (x?: unknown | null) => x is DomainRegistrationLease;
|
|
113
|
-
declare const asDomainRegistrationLease: {
|
|
114
|
-
<TType extends DomainRegistrationLease>(value: _store__xylabs_promise_npm_4_5_1_97d36b712b_package.AnyNonPromise, config?: _xylabs_object.TypeCheckConfig): TType | undefined;
|
|
115
|
-
<TType extends DomainRegistrationLease>(value: _store__xylabs_promise_npm_4_5_1_97d36b712b_package.AnyNonPromise, assert: _xylabs_object.StringOrAlertFunction<DomainRegistrationLease>, config?: _xylabs_object.TypeCheckConfig): TType;
|
|
116
|
-
};
|
|
117
|
-
declare const asOptionalDomainRegistrationLease: <TType extends DomainRegistrationLease>(value: _store__xylabs_promise_npm_4_5_1_97d36b712b_package.AnyNonPromise) => TType | undefined;
|
|
118
|
-
declare const isDomainRegistrationLeaseWithSources: (x?: unknown | null) => x is WithSources<WithSources<DomainRegistrationLease>>;
|
|
119
|
-
declare const asDomainRegistrationLeaseWithSources: {
|
|
120
|
-
<TType extends WithSources<DomainRegistrationLease>>(value: _store__xylabs_promise_npm_4_5_1_97d36b712b_package.AnyNonPromise, config?: _xylabs_object.TypeCheckConfig): TType | undefined;
|
|
121
|
-
<TType extends WithSources<DomainRegistrationLease>>(value: _store__xylabs_promise_npm_4_5_1_97d36b712b_package.AnyNonPromise, assert: _xylabs_object.StringOrAlertFunction<WithSources<DomainRegistrationLease>>, config?: _xylabs_object.TypeCheckConfig): TType;
|
|
122
|
-
};
|
|
123
|
-
declare const asOptionalDomainRegistrationLeaseWithSources: <TType extends WithSources<DomainRegistrationLease>>(value: _store__xylabs_promise_npm_4_5_1_97d36b712b_package.AnyNonPromise) => TType | undefined;
|
|
124
|
-
declare const isDomainRegistrationLeaseSources: (x?: unknown | null) => x is WithSources<WithSources<DomainRegistrationLease>>;
|
|
125
|
-
|
|
126
|
-
type Estimate = [
|
|
127
|
-
BoundWitness,
|
|
128
|
-
WithSources<HashLeaseEstimate>,
|
|
129
|
-
WithSources<DomainRegistrationLease>
|
|
130
|
-
];
|
|
131
|
-
declare const parseEstimatesFromArray: (payloads?: Payload[]) => Promise<Estimate[]>;
|
|
132
|
-
|
|
133
|
-
type DNSResourceRecordType = 'A' | 'NS' | 'MD' | 'MF' | 'CNAME' | 'SOA' | 'MB' | 'MG' | 'MR' | 'NULL' | 'WKS' | 'PTR' | 'HINFO' | 'MINFO' | 'MX' | 'TXT' | 'RP' | 'AFSDB' | 'X25' | 'ISDN' | 'RT' | 'NSAP' | 'NSAP-PTR' | 'SIG' | 'KEY' | 'PX' | 'GPOS' | 'AAAA' | 'LOC' | 'NXT' | 'EID' | 'NIMLOC' | 'SRV' | 'ATMA' | 'NAPTR' | 'KX' | 'CERT' | 'A6' | 'DNAME' | 'SINK' | 'OPT' | 'APL' | 'DS' | 'SSHFP' | 'IPSECKEY' | 'RRSIG' | 'NSEC' | 'DNSKEY' | 'DHCID' | 'NSEC3' | 'NSEC3PARAM' | 'TLSA' | 'SMIMEA' | 'HIP' | 'NINFO' | 'RKEY' | 'TALINK' | 'CDS' | 'CDNSKEY' | 'OPENPGPKEY' | 'CSYNC' | 'ZONEMD' | 'SVCB' | 'HTTPS' | 'SPF' | 'UINFO' | 'UID' | 'GID' | 'UNSPEC' | 'NID' | 'L32' | 'L64' | 'LP' | 'EUI48' | 'EUI64' | 'NXNAME' | 'TKEY' | 'TSIG' | 'IXFR' | 'AXFR' | 'MAILB' | 'MAILA' | '*' | 'URI' | 'CAA' | 'AVC' | 'DOA' | 'AMTRELAY' | 'RESINFO' | 'WALLET' | 'CLA' | 'IPN' | 'TA' | 'DLV' | 'XYOA' | 'XYOH';
|
|
134
|
-
declare const DNSResourceRecordTypes: Readonly<Record<DNSResourceRecordType, number>>;
|
|
135
|
-
type DNSResourceRecordTypeValue = (typeof DNSResourceRecordTypes)[keyof typeof DNSResourceRecordTypes];
|
|
136
|
-
declare const findDNSResourceRecordTypesByValue: (value: DNSResourceRecordTypeValue) => DNSResourceRecordType | undefined;
|
|
137
|
-
|
|
138
|
-
interface DNSRecord {
|
|
139
|
-
name: string;
|
|
140
|
-
type: DNSResourceRecordTypeValue;
|
|
141
|
-
TTL: number;
|
|
142
|
-
data: string;
|
|
143
|
-
}
|
|
144
|
-
|
|
145
|
-
interface DNSAnswer extends DNSRecord {
|
|
146
|
-
class?: number;
|
|
147
|
-
}
|
|
148
|
-
|
|
149
|
-
type DNSQueryOpcode = 0 | 1 | 2 | 4 | 5 | 6;
|
|
150
|
-
type DNSQueryOpcodeName = 'QUERY' | 'IQUERY' | 'STATUS' | 'NOTIFY' | 'UPDATE' | 'DSO';
|
|
151
|
-
declare const DNSQueryOpcodes: Record<DNSQueryOpcodeName, DNSQueryOpcode>;
|
|
152
|
-
|
|
153
|
-
type DNSRcode = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 16 | 17 | 18;
|
|
154
|
-
type DNSRcodeName = 'NOERROR' | 'FORMERR' | 'SERVFAIL' | 'NXDOMAIN' | 'NOTIMP' | 'REFUSED' | 'YXDOMAIN' | 'YXRRSET' | 'NXRRSET' | 'NOTAUTH' | 'NOTZONE' | 'BADSIG' | 'BADKEY' | 'BADTIME';
|
|
155
|
-
declare const DNSRcodes: Readonly<Record<DNSRcodeName, DNSRcode>>;
|
|
156
|
-
|
|
157
|
-
type NumericBoolean = 0 | 1 | true | false;
|
|
158
|
-
type NumericBooleanFalsy = 0 | false;
|
|
159
|
-
type NumericBooleanTruthy = 1 | true;
|
|
160
|
-
interface DNSHeader {
|
|
161
|
-
ID?: number;
|
|
162
|
-
QR?: NumericBoolean;
|
|
163
|
-
Opcode?: DNSQueryOpcode;
|
|
164
|
-
AA?: NumericBoolean;
|
|
165
|
-
TC?: NumericBoolean;
|
|
166
|
-
RD?: NumericBoolean;
|
|
167
|
-
RCODE?: DNSRcode;
|
|
168
|
-
QDCOUNT?: number;
|
|
169
|
-
ANCOUNT?: number;
|
|
170
|
-
NSCOUNT?: number;
|
|
171
|
-
ARCOUNT?: number;
|
|
172
|
-
}
|
|
173
|
-
interface DNSRequestHeader extends DNSHeader {
|
|
174
|
-
QR: NumericBooleanFalsy;
|
|
175
|
-
Opcode: DNSQueryOpcode;
|
|
176
|
-
AA: NumericBooleanFalsy;
|
|
177
|
-
TC: NumericBooleanFalsy;
|
|
178
|
-
RCODE: typeof DNSRcodes.NOERROR;
|
|
179
|
-
ANCOUNT: 0;
|
|
180
|
-
NSCOUNT: 0;
|
|
181
|
-
ARCOUNT: 0;
|
|
182
|
-
}
|
|
183
|
-
declare const StandardRequestHeader: Readonly<DNSRequestHeader>;
|
|
184
|
-
interface DNSResponseHeader extends DNSHeader {
|
|
185
|
-
QR: NumericBooleanTruthy;
|
|
186
|
-
Opcode: DNSQueryOpcode;
|
|
187
|
-
AA: NumericBoolean;
|
|
188
|
-
TC: NumericBoolean;
|
|
189
|
-
RA: NumericBoolean;
|
|
190
|
-
}
|
|
191
|
-
|
|
192
|
-
interface DNSQuestion {
|
|
193
|
-
name: string;
|
|
194
|
-
type: DNSResourceRecordTypeValue;
|
|
195
|
-
class?: number;
|
|
196
|
-
}
|
|
197
|
-
interface DNSRequestFields extends DNSRequestHeader {
|
|
198
|
-
Question: DNSQuestion[];
|
|
199
|
-
}
|
|
200
|
-
declare const getRequestFor: (domain: string, type?: DNSResourceRecordTypeValue) => DNSRequestFields;
|
|
201
|
-
declare const getRandomId: () => number;
|
|
202
|
-
|
|
203
|
-
interface DNSResponseFields extends DNSResponseHeader {
|
|
204
|
-
Question: DNSQuestion[];
|
|
205
|
-
Answer: DNSAnswer[];
|
|
206
|
-
Authority?: DNSRecord[];
|
|
207
|
-
Additional?: DNSRecord[];
|
|
208
|
-
}
|
|
209
|
-
|
|
210
|
-
type DNSSchema = 'network.xyo.dns';
|
|
211
|
-
declare const DNSSchema: DNSSchema;
|
|
212
|
-
|
|
213
|
-
type DNSWitnessConfigSchema = `${DNSSchema}.witness.config`;
|
|
214
|
-
declare const DNSWitnessConfigSchema: DNSWitnessConfigSchema;
|
|
215
|
-
type DNSWitnessConfig = WitnessConfig<{
|
|
216
|
-
addressRecordIndexDiviner?: ModuleIdentifier;
|
|
217
|
-
hashRecordIndexDiviner?: ModuleIdentifier;
|
|
218
|
-
schema: DNSWitnessConfigSchema;
|
|
219
|
-
supportedResources?: DNSResourceRecordType[];
|
|
220
|
-
}>;
|
|
221
|
-
|
|
222
|
-
type DNSWitnessParams = WitnessParams<AnyConfigSchema<DNSWitnessConfig>>;
|
|
223
|
-
|
|
224
|
-
type DNSRequest = PayloadWithOptionalSources<DNSRequestFields, DNSSchema>;
|
|
225
|
-
declare const isDNSRequest: (x?: unknown | null) => x is DNSRequest;
|
|
226
|
-
declare const asDNSRequest: {
|
|
227
|
-
<TType extends DNSRequest>(value: _store__xylabs_promise_npm_4_5_1_97d36b712b_package.AnyNonPromise, config?: _xylabs_object.TypeCheckConfig): TType | undefined;
|
|
228
|
-
<TType extends DNSRequest>(value: _store__xylabs_promise_npm_4_5_1_97d36b712b_package.AnyNonPromise, assert: _xylabs_object.StringOrAlertFunction<DNSRequest>, config?: _xylabs_object.TypeCheckConfig): TType;
|
|
229
|
-
};
|
|
230
|
-
declare const asOptionalDNSRequest: <TType extends DNSRequest>(value: _store__xylabs_promise_npm_4_5_1_97d36b712b_package.AnyNonPromise) => TType | undefined;
|
|
231
|
-
declare const isDNSRequestWithSources: (x?: unknown | null) => x is WithSources<_xylabs_object.DeepRestrictToStringKeys<_xyo_network_payload_model.SchemaFields & _xyo_network_payload_model.PayloadFields & DNSRequestFields & {
|
|
232
|
-
schema: "network.xyo.dns";
|
|
233
|
-
}> & Partial<_xyo_network_payload_model.PayloadMetaFields> & _xyo_network_payload_model.SourcesMetaField>;
|
|
234
|
-
declare const asDNSRequestWithSources: {
|
|
235
|
-
<TType extends _xylabs_object.DeepRestrictToStringKeys<_xyo_network_payload_model.SchemaFields & _xyo_network_payload_model.PayloadFields & DNSRequestFields & {
|
|
236
|
-
schema: "network.xyo.dns";
|
|
237
|
-
}> & Partial<_xyo_network_payload_model.PayloadMetaFields> & _xyo_network_payload_model.SourcesMetaField>(value: _store__xylabs_promise_npm_4_5_1_97d36b712b_package.AnyNonPromise, config?: _xylabs_object.TypeCheckConfig): TType | undefined;
|
|
238
|
-
<TType extends _xylabs_object.DeepRestrictToStringKeys<_xyo_network_payload_model.SchemaFields & _xyo_network_payload_model.PayloadFields & DNSRequestFields & {
|
|
239
|
-
schema: "network.xyo.dns";
|
|
240
|
-
}> & Partial<_xyo_network_payload_model.PayloadMetaFields> & _xyo_network_payload_model.SourcesMetaField>(value: _store__xylabs_promise_npm_4_5_1_97d36b712b_package.AnyNonPromise, assert: _xylabs_object.StringOrAlertFunction<_xylabs_object.DeepRestrictToStringKeys<_xyo_network_payload_model.SchemaFields & _xyo_network_payload_model.PayloadFields & DNSRequestFields & {
|
|
241
|
-
schema: "network.xyo.dns";
|
|
242
|
-
}> & Partial<_xyo_network_payload_model.PayloadMetaFields> & _xyo_network_payload_model.SourcesMetaField>, config?: _xylabs_object.TypeCheckConfig): TType;
|
|
243
|
-
};
|
|
244
|
-
declare const asOptionalDNSRequestWithSources: <TType extends _xylabs_object.DeepRestrictToStringKeys<_xyo_network_payload_model.SchemaFields & _xyo_network_payload_model.PayloadFields & DNSRequestFields & {
|
|
245
|
-
schema: "network.xyo.dns";
|
|
246
|
-
}> & Partial<_xyo_network_payload_model.PayloadMetaFields> & _xyo_network_payload_model.SourcesMetaField>(value: _store__xylabs_promise_npm_4_5_1_97d36b712b_package.AnyNonPromise) => TType | undefined;
|
|
247
|
-
declare const getDnsRequestFor: (domain: string, type?: DNSResourceRecordTypeValue) => DNSRequest;
|
|
248
|
-
|
|
249
|
-
type DNSResponse = PayloadWithSources<DNSResponseFields, DNSSchema>;
|
|
250
|
-
declare const isDNSResponse: (x?: unknown | null) => x is DNSResponse;
|
|
251
|
-
declare const asDNSResponse: {
|
|
252
|
-
<TType extends DNSResponse>(value: _store__xylabs_promise_npm_4_5_1_97d36b712b_package.AnyNonPromise, config?: _xylabs_object.TypeCheckConfig): TType | undefined;
|
|
253
|
-
<TType extends DNSResponse>(value: _store__xylabs_promise_npm_4_5_1_97d36b712b_package.AnyNonPromise, assert: _xylabs_object.StringOrAlertFunction<DNSResponse>, config?: _xylabs_object.TypeCheckConfig): TType;
|
|
254
|
-
};
|
|
255
|
-
declare const asOptionalDNSResponse: <TType extends DNSResponse>(value: _store__xylabs_promise_npm_4_5_1_97d36b712b_package.AnyNonPromise) => TType | undefined;
|
|
256
|
-
declare const isDNSResponseWithSources: (x?: unknown | null) => x is WithSources<DNSResponse>;
|
|
257
|
-
declare const asDNSResponseWithSources: {
|
|
258
|
-
<TType extends WithSources<DNSResponse>>(value: _store__xylabs_promise_npm_4_5_1_97d36b712b_package.AnyNonPromise, config?: _xylabs_object.TypeCheckConfig): TType | undefined;
|
|
259
|
-
<TType extends WithSources<DNSResponse>>(value: _store__xylabs_promise_npm_4_5_1_97d36b712b_package.AnyNonPromise, assert: _xylabs_object.StringOrAlertFunction<WithSources<DNSResponse>>, config?: _xylabs_object.TypeCheckConfig): TType;
|
|
260
|
-
};
|
|
261
|
-
declare const asOptionalDNSResponseWithSources: <TType extends WithSources<DNSResponse>>(value: _store__xylabs_promise_npm_4_5_1_97d36b712b_package.AnyNonPromise) => TType | undefined;
|
|
262
|
-
|
|
263
|
-
type DNS = DNSRequest | DNSResponse;
|
|
264
|
-
|
|
265
|
-
type DomainEstimate = [
|
|
266
|
-
BoundWitness,
|
|
267
|
-
WithSources<HashLeaseEstimate>,
|
|
268
|
-
WithSources<DomainRegistrationLease>
|
|
269
|
-
];
|
|
270
|
-
|
|
271
|
-
type HashRecordSchema = 'network.xyo.ns.record.hash';
|
|
272
|
-
declare const HashRecordSchema: HashRecordSchema;
|
|
273
|
-
interface HashRecordFields extends DomainFields {
|
|
274
|
-
hash: Hash[];
|
|
275
|
-
}
|
|
276
|
-
type HashRecord = Payload<HashRecordFields, HashRecordSchema>;
|
|
277
|
-
declare const isHashRecord: (x?: unknown | null) => x is HashRecord;
|
|
278
|
-
|
|
279
|
-
export { type AddressRecord, type AddressRecordFields, AddressRecordSchema, type DNS, type DNSAnswer, type DNSHeader, type DNSQueryOpcode, type DNSQueryOpcodeName, DNSQueryOpcodes, type DNSQuestion, type DNSRcode, type DNSRcodeName, DNSRcodes, type DNSRecord, type DNSRequest, type DNSRequestFields, type DNSRequestHeader, type DNSResourceRecordType, type DNSResourceRecordTypeValue, DNSResourceRecordTypes, type DNSResponse, type DNSResponseFields, type DNSResponseHeader, DNSSchema, type DNSWitnessConfig, DNSWitnessConfigSchema, type DNSWitnessParams, type Domain, type DomainEstimate, type DomainFields, type DomainLease, DomainLeaseEstimateDivinerErrorDetailsDictionary, type DomainLeaseEstimateDivinerErrorDetailsDictionaryErrorCode, type DomainLeaseEstimateDivinerValidationErrorDetails, DomainLeaseEstimateDivinerValidationErrorDetailsSchema, type DomainLeaseFields, DomainLeaseSchema, type DomainRegistration, type DomainRegistrationFields, type DomainRegistrationLease, type DomainRegistrationLeaseFields, DomainRegistrationLeaseSchema, DomainRegistrationSchema, DomainSchema, type DurationFields, type ErrorDetails, type ErrorDetailsDictionary, type Estimate, type HashRecord, type HashRecordFields, HashRecordSchema, type NumericBoolean, type NumericBooleanFalsy, type NumericBooleanTruthy, StandardRequestHeader, type TopLevelDomain, asDNSRequest, asDNSRequestWithSources, asDNSResponse, asDNSResponseWithSources, asDomain, asDomainLease, asDomainLeaseWithSources, asDomainRegistration, asDomainRegistrationLease, asDomainRegistrationLeaseWithSources, asDomainRegistrationWithSources, asDomainWithSources, asOptionalDNSRequest, asOptionalDNSRequestWithSources, asOptionalDNSResponse, asOptionalDNSResponseWithSources, asOptionalDomain, asOptionalDomainLease, asOptionalDomainLeaseWithSources, asOptionalDomainRegistration, asOptionalDomainRegistrationLease, asOptionalDomainRegistrationLeaseWithSources, asOptionalDomainRegistrationWithSources, asOptionalDomainWithSources, findDNSResourceRecordTypesByValue, getDnsRequestFor, getRandomId, getRequestFor, isAddressRecord, isDNSRequest, isDNSRequestWithSources, isDNSResponse, isDNSResponseWithSources, isDomain, isDomainLease, isDomainLeaseEstimateDivinerValidationErrorDetails, isDomainLeaseEstimateDivinerValidationErrorDetailsWithSources, isDomainLeaseWithSources, isDomainRegistration, isDomainRegistrationLease, isDomainRegistrationLeaseSources, isDomainRegistrationLeaseWithSources, isDomainRegistrationWithSources, isDomainWithSources, isHashRecord, isWithinDelegatedTimeframe, parseEstimatesFromArray, validateBoundWitnessWithDuration, validateDuration };
|