@xyo-network/diviner-hash-lease 2.92.7 → 2.92.9
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/Config.d.cts +5 -0
- package/dist/browser/Config.d.cts.map +1 -0
- package/dist/browser/Config.d.mts +5 -0
- package/dist/browser/Config.d.mts.map +1 -0
- package/dist/browser/Config.d.ts +5 -0
- package/dist/browser/Config.d.ts.map +1 -0
- package/dist/browser/Diviner.d.cts +6 -36
- package/dist/browser/Diviner.d.cts.map +1 -1
- package/dist/browser/Diviner.d.mts +6 -36
- package/dist/browser/Diviner.d.mts.map +1 -1
- package/dist/browser/Diviner.d.ts +6 -36
- package/dist/browser/Diviner.d.ts.map +1 -1
- package/dist/browser/Params.d.cts +5 -0
- package/dist/browser/Params.d.cts.map +1 -0
- package/dist/browser/Params.d.mts +5 -0
- package/dist/browser/Params.d.mts.map +1 -0
- package/dist/browser/Params.d.ts +5 -0
- package/dist/browser/Params.d.ts.map +1 -0
- package/dist/browser/Payload/HashLease.d.cts +15 -0
- package/dist/browser/Payload/HashLease.d.cts.map +1 -0
- package/dist/browser/Payload/HashLease.d.mts +15 -0
- package/dist/browser/Payload/HashLease.d.mts.map +1 -0
- package/dist/browser/Payload/HashLease.d.ts +15 -0
- package/dist/browser/Payload/HashLease.d.ts.map +1 -0
- package/dist/browser/Payload/HashLeaseEstimate.d.cts +23 -0
- package/dist/browser/Payload/HashLeaseEstimate.d.cts.map +1 -0
- package/dist/browser/Payload/HashLeaseEstimate.d.mts +23 -0
- package/dist/browser/Payload/HashLeaseEstimate.d.mts.map +1 -0
- package/dist/browser/Payload/HashLeaseEstimate.d.ts +23 -0
- package/dist/browser/Payload/HashLeaseEstimate.d.ts.map +1 -0
- package/dist/browser/Payload/index.d.cts +3 -0
- package/dist/browser/Payload/index.d.cts.map +1 -0
- package/dist/browser/Payload/index.d.mts +3 -0
- package/dist/browser/Payload/index.d.mts.map +1 -0
- package/dist/browser/Payload/index.d.ts +3 -0
- package/dist/browser/Payload/index.d.ts.map +1 -0
- package/dist/browser/index.cjs +13 -8847
- package/dist/browser/index.cjs.map +1 -1
- package/dist/browser/index.d.cts +3 -0
- package/dist/browser/index.d.cts.map +1 -1
- package/dist/browser/index.d.mts +3 -0
- package/dist/browser/index.d.mts.map +1 -1
- package/dist/browser/index.d.ts +3 -0
- package/dist/browser/index.d.ts.map +1 -1
- package/dist/browser/index.js +13 -8847
- package/dist/browser/index.js.map +1 -1
- package/dist/node/Config.d.cts +5 -0
- package/dist/node/Config.d.cts.map +1 -0
- package/dist/node/Config.d.mts +5 -0
- package/dist/node/Config.d.mts.map +1 -0
- package/dist/node/Config.d.ts +5 -0
- package/dist/node/Config.d.ts.map +1 -0
- package/dist/node/Diviner.d.cts +6 -36
- package/dist/node/Diviner.d.cts.map +1 -1
- package/dist/node/Diviner.d.mts +6 -36
- package/dist/node/Diviner.d.mts.map +1 -1
- package/dist/node/Diviner.d.ts +6 -36
- package/dist/node/Diviner.d.ts.map +1 -1
- package/dist/node/Params.d.cts +5 -0
- package/dist/node/Params.d.cts.map +1 -0
- package/dist/node/Params.d.mts +5 -0
- package/dist/node/Params.d.mts.map +1 -0
- package/dist/node/Params.d.ts +5 -0
- package/dist/node/Params.d.ts.map +1 -0
- package/dist/node/Payload/HashLease.d.cts +15 -0
- package/dist/node/Payload/HashLease.d.cts.map +1 -0
- package/dist/node/Payload/HashLease.d.mts +15 -0
- package/dist/node/Payload/HashLease.d.mts.map +1 -0
- package/dist/node/Payload/HashLease.d.ts +15 -0
- package/dist/node/Payload/HashLease.d.ts.map +1 -0
- package/dist/node/Payload/HashLeaseEstimate.d.cts +23 -0
- package/dist/node/Payload/HashLeaseEstimate.d.cts.map +1 -0
- package/dist/node/Payload/HashLeaseEstimate.d.mts +23 -0
- package/dist/node/Payload/HashLeaseEstimate.d.mts.map +1 -0
- package/dist/node/Payload/HashLeaseEstimate.d.ts +23 -0
- package/dist/node/Payload/HashLeaseEstimate.d.ts.map +1 -0
- package/dist/node/Payload/index.d.cts +3 -0
- package/dist/node/Payload/index.d.cts.map +1 -0
- package/dist/node/Payload/index.d.mts +3 -0
- package/dist/node/Payload/index.d.mts.map +1 -0
- package/dist/node/Payload/index.d.ts +3 -0
- package/dist/node/Payload/index.d.ts.map +1 -0
- package/dist/node/index.cjs +14 -8849
- package/dist/node/index.cjs.map +1 -1
- package/dist/node/index.d.cts +3 -0
- package/dist/node/index.d.cts.map +1 -1
- package/dist/node/index.d.mts +3 -0
- package/dist/node/index.d.mts.map +1 -1
- package/dist/node/index.d.ts +3 -0
- package/dist/node/index.d.ts.map +1 -1
- package/dist/node/index.js +13 -8847
- package/dist/node/index.js.map +1 -1
- package/package.json +5 -8
- package/src/Config.ts +11 -0
- package/src/Diviner.ts +11 -120
- package/src/Params.ts +8 -0
- package/src/Payload/HashLease.ts +19 -0
- package/src/Payload/HashLeaseEstimate.ts +25 -0
- package/src/Payload/index.ts +2 -0
- package/src/index.ts +3 -0
- package/dist/browser/reservedBrands.d.cts +0 -5
- package/dist/browser/reservedBrands.d.cts.map +0 -1
- package/dist/browser/reservedBrands.d.mts +0 -5
- package/dist/browser/reservedBrands.d.mts.map +0 -1
- package/dist/browser/reservedBrands.d.ts +0 -5
- package/dist/browser/reservedBrands.d.ts.map +0 -1
- package/dist/browser/reservedCryptos.d.cts +0 -6
- package/dist/browser/reservedCryptos.d.cts.map +0 -1
- package/dist/browser/reservedCryptos.d.mts +0 -6
- package/dist/browser/reservedCryptos.d.mts.map +0 -1
- package/dist/browser/reservedCryptos.d.ts +0 -6
- package/dist/browser/reservedCryptos.d.ts.map +0 -1
- package/dist/browser/reservedDomains.d.cts +0 -4
- package/dist/browser/reservedDomains.d.cts.map +0 -1
- package/dist/browser/reservedDomains.d.mts +0 -4
- package/dist/browser/reservedDomains.d.mts.map +0 -1
- package/dist/browser/reservedDomains.d.ts +0 -4
- package/dist/browser/reservedDomains.d.ts.map +0 -1
- package/dist/node/reservedBrands.d.cts +0 -5
- package/dist/node/reservedBrands.d.cts.map +0 -1
- package/dist/node/reservedBrands.d.mts +0 -5
- package/dist/node/reservedBrands.d.mts.map +0 -1
- package/dist/node/reservedBrands.d.ts +0 -5
- package/dist/node/reservedBrands.d.ts.map +0 -1
- package/dist/node/reservedCryptos.d.cts +0 -6
- package/dist/node/reservedCryptos.d.cts.map +0 -1
- package/dist/node/reservedCryptos.d.mts +0 -6
- package/dist/node/reservedCryptos.d.mts.map +0 -1
- package/dist/node/reservedCryptos.d.ts +0 -6
- package/dist/node/reservedCryptos.d.ts.map +0 -1
- package/dist/node/reservedDomains.d.cts +0 -4
- package/dist/node/reservedDomains.d.cts.map +0 -1
- package/dist/node/reservedDomains.d.mts +0 -4
- package/dist/node/reservedDomains.d.mts.map +0 -1
- package/dist/node/reservedDomains.d.ts +0 -4
- package/dist/node/reservedDomains.d.ts.map +0 -1
- package/src/reservedBrands.ts +0 -2003
- package/src/reservedCryptos.json +0 -3760
- package/src/reservedCryptos.ts +0 -8
- package/src/reservedDomains.ts +0 -3003
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { DivinerConfig } from '@xyo-network/diviner-model';
|
|
2
|
+
export declare const HashLeaseEstimateDivinerConfigSchema = "network.xyo.diviner.hash.lease.estimate.config";
|
|
3
|
+
export type HashLeaseEstimateDivinerConfigSchema = typeof HashLeaseEstimateDivinerConfigSchema;
|
|
4
|
+
export type HashLeaseEstimateDivinerConfig = DivinerConfig<{}, HashLeaseEstimateDivinerConfigSchema>;
|
|
5
|
+
//# sourceMappingURL=Config.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Config.d.ts","sourceRoot":"","sources":["../../src/Config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAA;AAE1D,eAAO,MAAM,oCAAoC,mDAAmD,CAAA;AACpG,MAAM,MAAM,oCAAoC,GAAG,OAAO,oCAAoC,CAAA;AAE9F,MAAM,MAAM,8BAA8B,GAAG,aAAa,CACxD,EAEC,EACD,oCAAoC,CACrC,CAAA"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { DivinerConfig } from '@xyo-network/diviner-model';
|
|
2
|
+
export declare const HashLeaseEstimateDivinerConfigSchema = "network.xyo.diviner.hash.lease.estimate.config";
|
|
3
|
+
export type HashLeaseEstimateDivinerConfigSchema = typeof HashLeaseEstimateDivinerConfigSchema;
|
|
4
|
+
export type HashLeaseEstimateDivinerConfig = DivinerConfig<{}, HashLeaseEstimateDivinerConfigSchema>;
|
|
5
|
+
//# sourceMappingURL=Config.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Config.d.ts","sourceRoot":"","sources":["../../src/Config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAA;AAE1D,eAAO,MAAM,oCAAoC,mDAAmD,CAAA;AACpG,MAAM,MAAM,oCAAoC,GAAG,OAAO,oCAAoC,CAAA;AAE9F,MAAM,MAAM,8BAA8B,GAAG,aAAa,CACxD,EAEC,EACD,oCAAoC,CACrC,CAAA"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { DivinerConfig } from '@xyo-network/diviner-model';
|
|
2
|
+
export declare const HashLeaseEstimateDivinerConfigSchema = "network.xyo.diviner.hash.lease.estimate.config";
|
|
3
|
+
export type HashLeaseEstimateDivinerConfigSchema = typeof HashLeaseEstimateDivinerConfigSchema;
|
|
4
|
+
export type HashLeaseEstimateDivinerConfig = DivinerConfig<{}, HashLeaseEstimateDivinerConfigSchema>;
|
|
5
|
+
//# sourceMappingURL=Config.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Config.d.ts","sourceRoot":"","sources":["../../src/Config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAA;AAE1D,eAAO,MAAM,oCAAoC,mDAAmD,CAAA;AACpG,MAAM,MAAM,oCAAoC,GAAG,OAAO,oCAAoC,CAAA;AAE9F,MAAM,MAAM,8BAA8B,GAAG,aAAa,CACxD,EAEC,EACD,oCAAoC,CACrC,CAAA"}
|
package/dist/node/Diviner.d.cts
CHANGED
|
@@ -1,40 +1,10 @@
|
|
|
1
|
-
import { ArchivistParams } from '@xyo-network/archivist-model';
|
|
2
1
|
import { AbstractDiviner } from '@xyo-network/diviner-abstract';
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
export declare
|
|
7
|
-
|
|
8
|
-
export type HashLeaseEstimateDivinerConfig = DivinerConfig<{
|
|
9
|
-
baseMonthlyPrice?: number;
|
|
10
|
-
characterLengthFactor?: number;
|
|
11
|
-
minNameLength?: number;
|
|
12
|
-
}, HashLeaseEstimateDivinerConfigSchema>;
|
|
13
|
-
export type HashLeaseEstimateDivinerParams<TConfig extends AnyConfigSchema<HashLeaseEstimateDivinerConfig> = AnyConfigSchema<HashLeaseEstimateDivinerConfig>> = ArchivistParams<TConfig>;
|
|
14
|
-
export declare const NameSchema = "network.xyo.name";
|
|
15
|
-
export type NameSchema = typeof NameSchema;
|
|
16
|
-
export type Name = Payload<{
|
|
17
|
-
name: string;
|
|
18
|
-
}, NameSchema>;
|
|
19
|
-
export declare const HashLeaseSchema = "network.xyo.hash.lease";
|
|
20
|
-
export type HashLeaseSchema = typeof HashLeaseSchema;
|
|
21
|
-
export type HashLease = Payload<{
|
|
22
|
-
expire: number;
|
|
23
|
-
}, HashLeaseSchema>;
|
|
24
|
-
export declare const HashLeaseEstimateSchema = "network.xyo.hash.lease.estimate";
|
|
25
|
-
export type HashLeaseEstimateSchema = typeof HashLeaseEstimateSchema;
|
|
26
|
-
export type HashLeaseEstimate = Payload<{
|
|
27
|
-
price: number;
|
|
28
|
-
}, HashLeaseEstimateSchema>;
|
|
29
|
-
export declare class HashLeaseEstimateDiviner<TParams extends HashLeaseEstimateDivinerParams = HashLeaseEstimateDivinerParams, TIn extends WithSources<HashLease> | Name = WithSources<HashLease> | Name> extends AbstractDiviner<TParams, TIn, HashLeaseEstimate> {
|
|
2
|
+
import { Payload } from '@xyo-network/payload-model';
|
|
3
|
+
import { HashLeaseEstimateDivinerParams } from './Params';
|
|
4
|
+
import { HashLeaseEstimate } from './Payload';
|
|
5
|
+
export declare class HashLeaseEstimateDiviner<TParams extends HashLeaseEstimateDivinerParams = HashLeaseEstimateDivinerParams, TIn extends Payload = Payload, TOut extends HashLeaseEstimate = HashLeaseEstimate> extends AbstractDiviner<TParams, TIn, TOut> {
|
|
6
|
+
static configSchemas: string[];
|
|
30
7
|
static targetSchema: string;
|
|
31
|
-
|
|
32
|
-
private _reservedStrings?;
|
|
33
|
-
get baseMonthlyPrice(): number;
|
|
34
|
-
get characterLengthFactor(): number;
|
|
35
|
-
get minNameLength(): number;
|
|
36
|
-
get reservedStrings(): string[];
|
|
37
|
-
protected divineHandler(payloads?: TIn[]): Promise<WithSources<HashLeaseEstimate>[]>;
|
|
38
|
-
private calculateLengthCost;
|
|
8
|
+
protected divineHandler(_payloads?: TIn[]): Promise<TOut[]>;
|
|
39
9
|
}
|
|
40
10
|
//# sourceMappingURL=Diviner.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Diviner.d.ts","sourceRoot":"","sources":["../../src/Diviner.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Diviner.d.ts","sourceRoot":"","sources":["../../src/Diviner.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAA;AAE/D,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAGpD,OAAO,EAAE,8BAA8B,EAAE,MAAM,UAAU,CAAA;AACzD,OAAO,EAAE,iBAAiB,EAA2B,MAAM,WAAW,CAAA;AAEtE,qBACa,wBAAwB,CACnC,OAAO,SAAS,8BAA8B,GAAG,8BAA8B,EAC/E,GAAG,SAAS,OAAO,GAAG,OAAO,EAC7B,IAAI,SAAS,iBAAiB,GAAG,iBAAiB,CAClD,SAAQ,eAAe,CAAC,OAAO,EAAE,GAAG,EAAE,IAAI,CAAC;IAC3C,OAAgB,aAAa,WAAyC;IACtE,OAAgB,YAAY,SAA0B;cAE7B,aAAa,CAAC,SAAS,GAAE,GAAG,EAAO,GAAG,OAAO,CAAC,IAAI,EAAE,CAAC;CAG/E"}
|
package/dist/node/Diviner.d.mts
CHANGED
|
@@ -1,40 +1,10 @@
|
|
|
1
|
-
import { ArchivistParams } from '@xyo-network/archivist-model';
|
|
2
1
|
import { AbstractDiviner } from '@xyo-network/diviner-abstract';
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
export declare
|
|
7
|
-
|
|
8
|
-
export type HashLeaseEstimateDivinerConfig = DivinerConfig<{
|
|
9
|
-
baseMonthlyPrice?: number;
|
|
10
|
-
characterLengthFactor?: number;
|
|
11
|
-
minNameLength?: number;
|
|
12
|
-
}, HashLeaseEstimateDivinerConfigSchema>;
|
|
13
|
-
export type HashLeaseEstimateDivinerParams<TConfig extends AnyConfigSchema<HashLeaseEstimateDivinerConfig> = AnyConfigSchema<HashLeaseEstimateDivinerConfig>> = ArchivistParams<TConfig>;
|
|
14
|
-
export declare const NameSchema = "network.xyo.name";
|
|
15
|
-
export type NameSchema = typeof NameSchema;
|
|
16
|
-
export type Name = Payload<{
|
|
17
|
-
name: string;
|
|
18
|
-
}, NameSchema>;
|
|
19
|
-
export declare const HashLeaseSchema = "network.xyo.hash.lease";
|
|
20
|
-
export type HashLeaseSchema = typeof HashLeaseSchema;
|
|
21
|
-
export type HashLease = Payload<{
|
|
22
|
-
expire: number;
|
|
23
|
-
}, HashLeaseSchema>;
|
|
24
|
-
export declare const HashLeaseEstimateSchema = "network.xyo.hash.lease.estimate";
|
|
25
|
-
export type HashLeaseEstimateSchema = typeof HashLeaseEstimateSchema;
|
|
26
|
-
export type HashLeaseEstimate = Payload<{
|
|
27
|
-
price: number;
|
|
28
|
-
}, HashLeaseEstimateSchema>;
|
|
29
|
-
export declare class HashLeaseEstimateDiviner<TParams extends HashLeaseEstimateDivinerParams = HashLeaseEstimateDivinerParams, TIn extends WithSources<HashLease> | Name = WithSources<HashLease> | Name> extends AbstractDiviner<TParams, TIn, HashLeaseEstimate> {
|
|
2
|
+
import { Payload } from '@xyo-network/payload-model';
|
|
3
|
+
import { HashLeaseEstimateDivinerParams } from './Params';
|
|
4
|
+
import { HashLeaseEstimate } from './Payload';
|
|
5
|
+
export declare class HashLeaseEstimateDiviner<TParams extends HashLeaseEstimateDivinerParams = HashLeaseEstimateDivinerParams, TIn extends Payload = Payload, TOut extends HashLeaseEstimate = HashLeaseEstimate> extends AbstractDiviner<TParams, TIn, TOut> {
|
|
6
|
+
static configSchemas: string[];
|
|
30
7
|
static targetSchema: string;
|
|
31
|
-
|
|
32
|
-
private _reservedStrings?;
|
|
33
|
-
get baseMonthlyPrice(): number;
|
|
34
|
-
get characterLengthFactor(): number;
|
|
35
|
-
get minNameLength(): number;
|
|
36
|
-
get reservedStrings(): string[];
|
|
37
|
-
protected divineHandler(payloads?: TIn[]): Promise<WithSources<HashLeaseEstimate>[]>;
|
|
38
|
-
private calculateLengthCost;
|
|
8
|
+
protected divineHandler(_payloads?: TIn[]): Promise<TOut[]>;
|
|
39
9
|
}
|
|
40
10
|
//# sourceMappingURL=Diviner.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Diviner.d.ts","sourceRoot":"","sources":["../../src/Diviner.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Diviner.d.ts","sourceRoot":"","sources":["../../src/Diviner.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAA;AAE/D,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAGpD,OAAO,EAAE,8BAA8B,EAAE,MAAM,UAAU,CAAA;AACzD,OAAO,EAAE,iBAAiB,EAA2B,MAAM,WAAW,CAAA;AAEtE,qBACa,wBAAwB,CACnC,OAAO,SAAS,8BAA8B,GAAG,8BAA8B,EAC/E,GAAG,SAAS,OAAO,GAAG,OAAO,EAC7B,IAAI,SAAS,iBAAiB,GAAG,iBAAiB,CAClD,SAAQ,eAAe,CAAC,OAAO,EAAE,GAAG,EAAE,IAAI,CAAC;IAC3C,OAAgB,aAAa,WAAyC;IACtE,OAAgB,YAAY,SAA0B;cAE7B,aAAa,CAAC,SAAS,GAAE,GAAG,EAAO,GAAG,OAAO,CAAC,IAAI,EAAE,CAAC;CAG/E"}
|
package/dist/node/Diviner.d.ts
CHANGED
|
@@ -1,40 +1,10 @@
|
|
|
1
|
-
import { ArchivistParams } from '@xyo-network/archivist-model';
|
|
2
1
|
import { AbstractDiviner } from '@xyo-network/diviner-abstract';
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
export declare
|
|
7
|
-
|
|
8
|
-
export type HashLeaseEstimateDivinerConfig = DivinerConfig<{
|
|
9
|
-
baseMonthlyPrice?: number;
|
|
10
|
-
characterLengthFactor?: number;
|
|
11
|
-
minNameLength?: number;
|
|
12
|
-
}, HashLeaseEstimateDivinerConfigSchema>;
|
|
13
|
-
export type HashLeaseEstimateDivinerParams<TConfig extends AnyConfigSchema<HashLeaseEstimateDivinerConfig> = AnyConfigSchema<HashLeaseEstimateDivinerConfig>> = ArchivistParams<TConfig>;
|
|
14
|
-
export declare const NameSchema = "network.xyo.name";
|
|
15
|
-
export type NameSchema = typeof NameSchema;
|
|
16
|
-
export type Name = Payload<{
|
|
17
|
-
name: string;
|
|
18
|
-
}, NameSchema>;
|
|
19
|
-
export declare const HashLeaseSchema = "network.xyo.hash.lease";
|
|
20
|
-
export type HashLeaseSchema = typeof HashLeaseSchema;
|
|
21
|
-
export type HashLease = Payload<{
|
|
22
|
-
expire: number;
|
|
23
|
-
}, HashLeaseSchema>;
|
|
24
|
-
export declare const HashLeaseEstimateSchema = "network.xyo.hash.lease.estimate";
|
|
25
|
-
export type HashLeaseEstimateSchema = typeof HashLeaseEstimateSchema;
|
|
26
|
-
export type HashLeaseEstimate = Payload<{
|
|
27
|
-
price: number;
|
|
28
|
-
}, HashLeaseEstimateSchema>;
|
|
29
|
-
export declare class HashLeaseEstimateDiviner<TParams extends HashLeaseEstimateDivinerParams = HashLeaseEstimateDivinerParams, TIn extends WithSources<HashLease> | Name = WithSources<HashLease> | Name> extends AbstractDiviner<TParams, TIn, HashLeaseEstimate> {
|
|
2
|
+
import { Payload } from '@xyo-network/payload-model';
|
|
3
|
+
import { HashLeaseEstimateDivinerParams } from './Params';
|
|
4
|
+
import { HashLeaseEstimate } from './Payload';
|
|
5
|
+
export declare class HashLeaseEstimateDiviner<TParams extends HashLeaseEstimateDivinerParams = HashLeaseEstimateDivinerParams, TIn extends Payload = Payload, TOut extends HashLeaseEstimate = HashLeaseEstimate> extends AbstractDiviner<TParams, TIn, TOut> {
|
|
6
|
+
static configSchemas: string[];
|
|
30
7
|
static targetSchema: string;
|
|
31
|
-
|
|
32
|
-
private _reservedStrings?;
|
|
33
|
-
get baseMonthlyPrice(): number;
|
|
34
|
-
get characterLengthFactor(): number;
|
|
35
|
-
get minNameLength(): number;
|
|
36
|
-
get reservedStrings(): string[];
|
|
37
|
-
protected divineHandler(payloads?: TIn[]): Promise<WithSources<HashLeaseEstimate>[]>;
|
|
38
|
-
private calculateLengthCost;
|
|
8
|
+
protected divineHandler(_payloads?: TIn[]): Promise<TOut[]>;
|
|
39
9
|
}
|
|
40
10
|
//# sourceMappingURL=Diviner.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Diviner.d.ts","sourceRoot":"","sources":["../../src/Diviner.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Diviner.d.ts","sourceRoot":"","sources":["../../src/Diviner.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAA;AAE/D,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAGpD,OAAO,EAAE,8BAA8B,EAAE,MAAM,UAAU,CAAA;AACzD,OAAO,EAAE,iBAAiB,EAA2B,MAAM,WAAW,CAAA;AAEtE,qBACa,wBAAwB,CACnC,OAAO,SAAS,8BAA8B,GAAG,8BAA8B,EAC/E,GAAG,SAAS,OAAO,GAAG,OAAO,EAC7B,IAAI,SAAS,iBAAiB,GAAG,iBAAiB,CAClD,SAAQ,eAAe,CAAC,OAAO,EAAE,GAAG,EAAE,IAAI,CAAC;IAC3C,OAAgB,aAAa,WAAyC;IACtE,OAAgB,YAAY,SAA0B;cAE7B,aAAa,CAAC,SAAS,GAAE,GAAG,EAAO,GAAG,OAAO,CAAC,IAAI,EAAE,CAAC;CAG/E"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { DivinerParams } from '@xyo-network/diviner-model';
|
|
2
|
+
import { AnyConfigSchema } from '@xyo-network/module-model';
|
|
3
|
+
import { HashLeaseEstimateDivinerConfig } from './Config';
|
|
4
|
+
export type HashLeaseEstimateDivinerParams<TConfig extends AnyConfigSchema<HashLeaseEstimateDivinerConfig> = AnyConfigSchema<HashLeaseEstimateDivinerConfig>> = DivinerParams<TConfig>;
|
|
5
|
+
//# sourceMappingURL=Params.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Params.d.ts","sourceRoot":"","sources":["../../src/Params.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAA;AAC1D,OAAO,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAA;AAE3D,OAAO,EAAE,8BAA8B,EAAE,MAAM,UAAU,CAAA;AAEzD,MAAM,MAAM,8BAA8B,CACxC,OAAO,SAAS,eAAe,CAAC,8BAA8B,CAAC,GAAG,eAAe,CAAC,8BAA8B,CAAC,IAC/G,aAAa,CAAC,OAAO,CAAC,CAAA"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { DivinerParams } from '@xyo-network/diviner-model';
|
|
2
|
+
import { AnyConfigSchema } from '@xyo-network/module-model';
|
|
3
|
+
import { HashLeaseEstimateDivinerConfig } from './Config';
|
|
4
|
+
export type HashLeaseEstimateDivinerParams<TConfig extends AnyConfigSchema<HashLeaseEstimateDivinerConfig> = AnyConfigSchema<HashLeaseEstimateDivinerConfig>> = DivinerParams<TConfig>;
|
|
5
|
+
//# sourceMappingURL=Params.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Params.d.ts","sourceRoot":"","sources":["../../src/Params.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAA;AAC1D,OAAO,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAA;AAE3D,OAAO,EAAE,8BAA8B,EAAE,MAAM,UAAU,CAAA;AAEzD,MAAM,MAAM,8BAA8B,CACxC,OAAO,SAAS,eAAe,CAAC,8BAA8B,CAAC,GAAG,eAAe,CAAC,8BAA8B,CAAC,IAC/G,aAAa,CAAC,OAAO,CAAC,CAAA"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { DivinerParams } from '@xyo-network/diviner-model';
|
|
2
|
+
import { AnyConfigSchema } from '@xyo-network/module-model';
|
|
3
|
+
import { HashLeaseEstimateDivinerConfig } from './Config';
|
|
4
|
+
export type HashLeaseEstimateDivinerParams<TConfig extends AnyConfigSchema<HashLeaseEstimateDivinerConfig> = AnyConfigSchema<HashLeaseEstimateDivinerConfig>> = DivinerParams<TConfig>;
|
|
5
|
+
//# sourceMappingURL=Params.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Params.d.ts","sourceRoot":"","sources":["../../src/Params.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAA;AAC1D,OAAO,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAA;AAE3D,OAAO,EAAE,8BAA8B,EAAE,MAAM,UAAU,CAAA;AAEzD,MAAM,MAAM,8BAA8B,CACxC,OAAO,SAAS,eAAe,CAAC,8BAA8B,CAAC,GAAG,eAAe,CAAC,8BAA8B,CAAC,IAC/G,aAAa,CAAC,OAAO,CAAC,CAAA"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { Payload } from '@xyo-network/payload-model';
|
|
2
|
+
export declare const HashLeaseSchema = "network.xyo.hash.lease";
|
|
3
|
+
export type HashLeaseSchema = typeof HashLeaseSchema;
|
|
4
|
+
export type HashLease = Payload<{
|
|
5
|
+
/**
|
|
6
|
+
* The desired duration of the lease
|
|
7
|
+
*/
|
|
8
|
+
duration: number;
|
|
9
|
+
/**
|
|
10
|
+
* The absolute expiration time of the lease
|
|
11
|
+
* @deprecated use duration instead
|
|
12
|
+
*/
|
|
13
|
+
expire: number;
|
|
14
|
+
}, HashLeaseSchema>;
|
|
15
|
+
//# sourceMappingURL=HashLease.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HashLease.d.ts","sourceRoot":"","sources":["../../../src/Payload/HashLease.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAEpD,eAAO,MAAM,eAAe,2BAA2B,CAAA;AACvD,MAAM,MAAM,eAAe,GAAG,OAAO,eAAe,CAAA;AAEpD,MAAM,MAAM,SAAS,GAAG,OAAO,CAC7B;IACE;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAA;IAChB;;;OAGG;IACH,MAAM,EAAE,MAAM,CAAA;CACf,EACD,eAAe,CAChB,CAAA"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { Payload } from '@xyo-network/payload-model';
|
|
2
|
+
export declare const HashLeaseSchema = "network.xyo.hash.lease";
|
|
3
|
+
export type HashLeaseSchema = typeof HashLeaseSchema;
|
|
4
|
+
export type HashLease = Payload<{
|
|
5
|
+
/**
|
|
6
|
+
* The desired duration of the lease
|
|
7
|
+
*/
|
|
8
|
+
duration: number;
|
|
9
|
+
/**
|
|
10
|
+
* The absolute expiration time of the lease
|
|
11
|
+
* @deprecated use duration instead
|
|
12
|
+
*/
|
|
13
|
+
expire: number;
|
|
14
|
+
}, HashLeaseSchema>;
|
|
15
|
+
//# sourceMappingURL=HashLease.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HashLease.d.ts","sourceRoot":"","sources":["../../../src/Payload/HashLease.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAEpD,eAAO,MAAM,eAAe,2BAA2B,CAAA;AACvD,MAAM,MAAM,eAAe,GAAG,OAAO,eAAe,CAAA;AAEpD,MAAM,MAAM,SAAS,GAAG,OAAO,CAC7B;IACE;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAA;IAChB;;;OAGG;IACH,MAAM,EAAE,MAAM,CAAA;CACf,EACD,eAAe,CAChB,CAAA"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { Payload } from '@xyo-network/payload-model';
|
|
2
|
+
export declare const HashLeaseSchema = "network.xyo.hash.lease";
|
|
3
|
+
export type HashLeaseSchema = typeof HashLeaseSchema;
|
|
4
|
+
export type HashLease = Payload<{
|
|
5
|
+
/**
|
|
6
|
+
* The desired duration of the lease
|
|
7
|
+
*/
|
|
8
|
+
duration: number;
|
|
9
|
+
/**
|
|
10
|
+
* The absolute expiration time of the lease
|
|
11
|
+
* @deprecated use duration instead
|
|
12
|
+
*/
|
|
13
|
+
expire: number;
|
|
14
|
+
}, HashLeaseSchema>;
|
|
15
|
+
//# sourceMappingURL=HashLease.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HashLease.d.ts","sourceRoot":"","sources":["../../../src/Payload/HashLease.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAEpD,eAAO,MAAM,eAAe,2BAA2B,CAAA;AACvD,MAAM,MAAM,eAAe,GAAG,OAAO,eAAe,CAAA;AAEpD,MAAM,MAAM,SAAS,GAAG,OAAO,CAC7B;IACE;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAA;IAChB;;;OAGG;IACH,MAAM,EAAE,MAAM,CAAA;CACf,EACD,eAAe,CAChB,CAAA"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { Payload } from '@xyo-network/payload-model';
|
|
2
|
+
export declare const HashLeaseEstimateSchema = "network.xyo.hash.lease.estimate";
|
|
3
|
+
export type HashLeaseEstimateSchema = typeof HashLeaseEstimateSchema;
|
|
4
|
+
export interface HashLeaseEstimateFields {
|
|
5
|
+
/**
|
|
6
|
+
* The currency of the price
|
|
7
|
+
*/
|
|
8
|
+
currency: string;
|
|
9
|
+
/**
|
|
10
|
+
* When the lease ends
|
|
11
|
+
*/
|
|
12
|
+
exp: number;
|
|
13
|
+
/**
|
|
14
|
+
* When the lease begins
|
|
15
|
+
*/
|
|
16
|
+
nbf: number;
|
|
17
|
+
/**
|
|
18
|
+
* The estimated price of the lease
|
|
19
|
+
*/
|
|
20
|
+
price: number;
|
|
21
|
+
}
|
|
22
|
+
export type HashLeaseEstimate = Payload<HashLeaseEstimateFields, HashLeaseEstimateSchema>;
|
|
23
|
+
//# sourceMappingURL=HashLeaseEstimate.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HashLeaseEstimate.d.ts","sourceRoot":"","sources":["../../../src/Payload/HashLeaseEstimate.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAEpD,eAAO,MAAM,uBAAuB,oCAAoC,CAAA;AACxE,MAAM,MAAM,uBAAuB,GAAG,OAAO,uBAAuB,CAAA;AAEpE,MAAM,WAAW,uBAAuB;IACtC;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAA;IAChB;;OAEG;IACH,GAAG,EAAE,MAAM,CAAA;IACX;;OAEG;IACH,GAAG,EAAE,MAAM,CAAA;IACX;;OAEG;IACH,KAAK,EAAE,MAAM,CAAA;CACd;AAED,MAAM,MAAM,iBAAiB,GAAG,OAAO,CAAC,uBAAuB,EAAE,uBAAuB,CAAC,CAAA"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { Payload } from '@xyo-network/payload-model';
|
|
2
|
+
export declare const HashLeaseEstimateSchema = "network.xyo.hash.lease.estimate";
|
|
3
|
+
export type HashLeaseEstimateSchema = typeof HashLeaseEstimateSchema;
|
|
4
|
+
export interface HashLeaseEstimateFields {
|
|
5
|
+
/**
|
|
6
|
+
* The currency of the price
|
|
7
|
+
*/
|
|
8
|
+
currency: string;
|
|
9
|
+
/**
|
|
10
|
+
* When the lease ends
|
|
11
|
+
*/
|
|
12
|
+
exp: number;
|
|
13
|
+
/**
|
|
14
|
+
* When the lease begins
|
|
15
|
+
*/
|
|
16
|
+
nbf: number;
|
|
17
|
+
/**
|
|
18
|
+
* The estimated price of the lease
|
|
19
|
+
*/
|
|
20
|
+
price: number;
|
|
21
|
+
}
|
|
22
|
+
export type HashLeaseEstimate = Payload<HashLeaseEstimateFields, HashLeaseEstimateSchema>;
|
|
23
|
+
//# sourceMappingURL=HashLeaseEstimate.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HashLeaseEstimate.d.ts","sourceRoot":"","sources":["../../../src/Payload/HashLeaseEstimate.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAEpD,eAAO,MAAM,uBAAuB,oCAAoC,CAAA;AACxE,MAAM,MAAM,uBAAuB,GAAG,OAAO,uBAAuB,CAAA;AAEpE,MAAM,WAAW,uBAAuB;IACtC;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAA;IAChB;;OAEG;IACH,GAAG,EAAE,MAAM,CAAA;IACX;;OAEG;IACH,GAAG,EAAE,MAAM,CAAA;IACX;;OAEG;IACH,KAAK,EAAE,MAAM,CAAA;CACd;AAED,MAAM,MAAM,iBAAiB,GAAG,OAAO,CAAC,uBAAuB,EAAE,uBAAuB,CAAC,CAAA"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { Payload } from '@xyo-network/payload-model';
|
|
2
|
+
export declare const HashLeaseEstimateSchema = "network.xyo.hash.lease.estimate";
|
|
3
|
+
export type HashLeaseEstimateSchema = typeof HashLeaseEstimateSchema;
|
|
4
|
+
export interface HashLeaseEstimateFields {
|
|
5
|
+
/**
|
|
6
|
+
* The currency of the price
|
|
7
|
+
*/
|
|
8
|
+
currency: string;
|
|
9
|
+
/**
|
|
10
|
+
* When the lease ends
|
|
11
|
+
*/
|
|
12
|
+
exp: number;
|
|
13
|
+
/**
|
|
14
|
+
* When the lease begins
|
|
15
|
+
*/
|
|
16
|
+
nbf: number;
|
|
17
|
+
/**
|
|
18
|
+
* The estimated price of the lease
|
|
19
|
+
*/
|
|
20
|
+
price: number;
|
|
21
|
+
}
|
|
22
|
+
export type HashLeaseEstimate = Payload<HashLeaseEstimateFields, HashLeaseEstimateSchema>;
|
|
23
|
+
//# sourceMappingURL=HashLeaseEstimate.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HashLeaseEstimate.d.ts","sourceRoot":"","sources":["../../../src/Payload/HashLeaseEstimate.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAEpD,eAAO,MAAM,uBAAuB,oCAAoC,CAAA;AACxE,MAAM,MAAM,uBAAuB,GAAG,OAAO,uBAAuB,CAAA;AAEpE,MAAM,WAAW,uBAAuB;IACtC;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAA;IAChB;;OAEG;IACH,GAAG,EAAE,MAAM,CAAA;IACX;;OAEG;IACH,GAAG,EAAE,MAAM,CAAA;IACX;;OAEG;IACH,KAAK,EAAE,MAAM,CAAA;CACd;AAED,MAAM,MAAM,iBAAiB,GAAG,OAAO,CAAC,uBAAuB,EAAE,uBAAuB,CAAC,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/Payload/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAA;AAC3B,cAAc,qBAAqB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/Payload/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAA;AAC3B,cAAc,qBAAqB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/Payload/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAA;AAC3B,cAAc,qBAAqB,CAAA"}
|