@xyo-network/diviner-hash-lease 2.106.0 → 2.107.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.
Files changed (49) hide show
  1. package/dist/browser/Payload/HashLease.d.cts +0 -3
  2. package/dist/browser/Payload/HashLease.d.cts.map +1 -1
  3. package/dist/browser/Payload/HashLease.d.mts +0 -3
  4. package/dist/browser/Payload/HashLease.d.mts.map +1 -1
  5. package/dist/browser/Payload/HashLease.d.ts +0 -3
  6. package/dist/browser/Payload/HashLease.d.ts.map +1 -1
  7. package/dist/browser/Payload/HashLeaseEstimate.d.cts +3 -24
  8. package/dist/browser/Payload/HashLeaseEstimate.d.cts.map +1 -1
  9. package/dist/browser/Payload/HashLeaseEstimate.d.mts +3 -24
  10. package/dist/browser/Payload/HashLeaseEstimate.d.mts.map +1 -1
  11. package/dist/browser/Payload/HashLeaseEstimate.d.ts +3 -24
  12. package/dist/browser/Payload/HashLeaseEstimate.d.ts.map +1 -1
  13. package/dist/browser/index.cjs +1 -75
  14. package/dist/browser/index.cjs.map +1 -1
  15. package/dist/browser/index.js +1 -54
  16. package/dist/browser/index.js.map +1 -1
  17. package/dist/neutral/Payload/HashLease.d.cts +0 -3
  18. package/dist/neutral/Payload/HashLease.d.cts.map +1 -1
  19. package/dist/neutral/Payload/HashLease.d.mts +0 -3
  20. package/dist/neutral/Payload/HashLease.d.mts.map +1 -1
  21. package/dist/neutral/Payload/HashLease.d.ts +0 -3
  22. package/dist/neutral/Payload/HashLease.d.ts.map +1 -1
  23. package/dist/neutral/Payload/HashLeaseEstimate.d.cts +3 -24
  24. package/dist/neutral/Payload/HashLeaseEstimate.d.cts.map +1 -1
  25. package/dist/neutral/Payload/HashLeaseEstimate.d.mts +3 -24
  26. package/dist/neutral/Payload/HashLeaseEstimate.d.mts.map +1 -1
  27. package/dist/neutral/Payload/HashLeaseEstimate.d.ts +3 -24
  28. package/dist/neutral/Payload/HashLeaseEstimate.d.ts.map +1 -1
  29. package/dist/neutral/index.cjs +1 -75
  30. package/dist/neutral/index.cjs.map +1 -1
  31. package/dist/neutral/index.js +1 -54
  32. package/dist/neutral/index.js.map +1 -1
  33. package/dist/node/Payload/HashLease.d.cts +0 -3
  34. package/dist/node/Payload/HashLease.d.cts.map +1 -1
  35. package/dist/node/Payload/HashLease.d.mts +0 -3
  36. package/dist/node/Payload/HashLease.d.mts.map +1 -1
  37. package/dist/node/Payload/HashLease.d.ts +0 -3
  38. package/dist/node/Payload/HashLease.d.ts.map +1 -1
  39. package/dist/node/Payload/HashLeaseEstimate.d.cts +3 -24
  40. package/dist/node/Payload/HashLeaseEstimate.d.cts.map +1 -1
  41. package/dist/node/Payload/HashLeaseEstimate.d.mts +3 -24
  42. package/dist/node/Payload/HashLeaseEstimate.d.mts.map +1 -1
  43. package/dist/node/Payload/HashLeaseEstimate.d.ts +3 -24
  44. package/dist/node/Payload/HashLeaseEstimate.d.ts.map +1 -1
  45. package/dist/node/index.cjs +1 -89
  46. package/dist/node/index.cjs.map +1 -1
  47. package/dist/node/index.js +1 -58
  48. package/dist/node/index.js.map +1 -1
  49. package/package.json +8 -8
@@ -2,9 +2,6 @@ import { Payload } from '@xyo-network/payload-model';
2
2
  export declare const HashLeaseSchema: "network.xyo.hash.lease";
3
3
  export type HashLeaseSchema = typeof HashLeaseSchema;
4
4
  export type HashLease = Payload<{
5
- /**
6
- * The desired duration of the lease
7
- */
8
5
  duration: number;
9
6
  }, HashLeaseSchema>;
10
7
  //# sourceMappingURL=HashLease.d.ts.map
@@ -1 +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,0BAAoC,CAAA;AAChE,MAAM,MAAM,eAAe,GAAG,OAAO,eAAe,CAAA;AAEpD,MAAM,MAAM,SAAS,GAAG,OAAO,CAC7B;IACE;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAA;CACjB,EACD,eAAe,CAChB,CAAA"}
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,0BAAoC,CAAA;AAChE,MAAM,MAAM,eAAe,GAAG,OAAO,eAAe,CAAA;AAEpD,MAAM,MAAM,SAAS,GAAG,OAAO,CAC7B;IAIE,QAAQ,EAAE,MAAM,CAAA;CACjB,EACD,eAAe,CAChB,CAAA"}
@@ -2,9 +2,6 @@ import { Payload } from '@xyo-network/payload-model';
2
2
  export declare const HashLeaseSchema: "network.xyo.hash.lease";
3
3
  export type HashLeaseSchema = typeof HashLeaseSchema;
4
4
  export type HashLease = Payload<{
5
- /**
6
- * The desired duration of the lease
7
- */
8
5
  duration: number;
9
6
  }, HashLeaseSchema>;
10
7
  //# sourceMappingURL=HashLease.d.ts.map
@@ -1 +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,0BAAoC,CAAA;AAChE,MAAM,MAAM,eAAe,GAAG,OAAO,eAAe,CAAA;AAEpD,MAAM,MAAM,SAAS,GAAG,OAAO,CAC7B;IACE;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAA;CACjB,EACD,eAAe,CAChB,CAAA"}
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,0BAAoC,CAAA;AAChE,MAAM,MAAM,eAAe,GAAG,OAAO,eAAe,CAAA;AAEpD,MAAM,MAAM,SAAS,GAAG,OAAO,CAC7B;IAIE,QAAQ,EAAE,MAAM,CAAA;CACjB,EACD,eAAe,CAChB,CAAA"}
@@ -2,9 +2,6 @@ import { Payload } from '@xyo-network/payload-model';
2
2
  export declare const HashLeaseSchema: "network.xyo.hash.lease";
3
3
  export type HashLeaseSchema = typeof HashLeaseSchema;
4
4
  export type HashLease = Payload<{
5
- /**
6
- * The desired duration of the lease
7
- */
8
5
  duration: number;
9
6
  }, HashLeaseSchema>;
10
7
  //# sourceMappingURL=HashLease.d.ts.map
@@ -1 +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,0BAAoC,CAAA;AAChE,MAAM,MAAM,eAAe,GAAG,OAAO,eAAe,CAAA;AAEpD,MAAM,MAAM,SAAS,GAAG,OAAO,CAC7B;IACE;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAA;CACjB,EACD,eAAe,CAChB,CAAA"}
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,0BAAoC,CAAA;AAChE,MAAM,MAAM,eAAe,GAAG,OAAO,eAAe,CAAA;AAEpD,MAAM,MAAM,SAAS,GAAG,OAAO,CAC7B;IAIE,QAAQ,EAAE,MAAM,CAAA;CACjB,EACD,eAAe,CAChB,CAAA"}
@@ -2,40 +2,19 @@ import { Payload } from '@xyo-network/payload-model';
2
2
  export declare const HashLeaseEstimateSchema: "network.xyo.hash.lease.estimate";
3
3
  export type HashLeaseEstimateSchema = typeof HashLeaseEstimateSchema;
4
4
  export interface HashLeaseEstimateFields {
5
- /**
6
- * The currency of the price
7
- */
8
5
  currency: string;
9
- /**
10
- * When the lease ends
11
- */
12
6
  exp: number;
13
- /**
14
- * When the lease begins
15
- */
16
7
  nbf: number;
17
- /**
18
- * The estimated price of the lease
19
- */
20
8
  price: number;
21
9
  }
22
10
  export type HashLeaseEstimate = Payload<HashLeaseEstimateFields, HashLeaseEstimateSchema>;
23
- /**
24
- * Identity function for HashLeaseEstimate payload
25
- */
26
- export declare const isHashLeaseEstimate: (x?: unknown) => x is import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & HashLeaseEstimateFields & {
11
+ export declare const isHashLeaseEstimate: (x?: unknown | null) => x is import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & HashLeaseEstimateFields & {
27
12
  schema: "network.xyo.hash.lease.estimate";
28
13
  };
29
- /**
30
- * Identity function for HashLeaseEstimate payload with meta
31
- */
32
- export declare const isHashLeaseEstimateWithMeta: (x?: unknown) => x is import("@xyo-network/payload-model").WithMeta<import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & HashLeaseEstimateFields & {
14
+ export declare const isHashLeaseEstimateWithMeta: (x?: unknown | null) => x is import("@xyo-network/payload-model").WithMeta<import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & HashLeaseEstimateFields & {
33
15
  schema: "network.xyo.hash.lease.estimate";
34
16
  }>;
35
- /**
36
- * Identity function for HashLeaseEstimate payload with sources
37
- */
38
- export declare const isHashLeaseEstimateWithSources: (x?: unknown) => x is import("@xyo-network/payload-model").WithSources<import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & HashLeaseEstimateFields & {
17
+ export declare const isHashLeaseEstimateWithSources: (x?: unknown | null) => x is import("@xyo-network/payload-model").WithSources<import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & HashLeaseEstimateFields & {
39
18
  schema: "network.xyo.hash.lease.estimate";
40
19
  }>;
41
20
  //# sourceMappingURL=HashLeaseEstimate.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"HashLeaseEstimate.d.ts","sourceRoot":"","sources":["../../../src/Payload/HashLeaseEstimate.ts"],"names":[],"mappings":"AAAA,OAAO,EAA0F,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAE5I,eAAO,MAAM,uBAAuB,mCAA6C,CAAA;AACjF,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;AAEzF;;GAEG;AACH,eAAO,MAAM,mBAAmB;;CAAoE,CAAA;AAEpG;;GAEG;AACH,eAAO,MAAM,2BAA2B;;EAA4E,CAAA;AAEpH;;GAEG;AACH,eAAO,MAAM,8BAA8B;;EAA+E,CAAA"}
1
+ {"version":3,"file":"HashLeaseEstimate.d.ts","sourceRoot":"","sources":["../../../src/Payload/HashLeaseEstimate.ts"],"names":[],"mappings":"AAAA,OAAO,EAA0F,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAE5I,eAAO,MAAM,uBAAuB,mCAA6C,CAAA;AACjF,MAAM,MAAM,uBAAuB,GAAG,OAAO,uBAAuB,CAAA;AAEpE,MAAM,WAAW,uBAAuB;IAItC,QAAQ,EAAE,MAAM,CAAA;IAIhB,GAAG,EAAE,MAAM,CAAA;IAIX,GAAG,EAAE,MAAM,CAAA;IAIX,KAAK,EAAE,MAAM,CAAA;CACd;AAED,MAAM,MAAM,iBAAiB,GAAG,OAAO,CAAC,uBAAuB,EAAE,uBAAuB,CAAC,CAAA;AAKzF,eAAO,MAAM,mBAAmB;;CAAoE,CAAA;AAKpG,eAAO,MAAM,2BAA2B;;EAA4E,CAAA;AAKpH,eAAO,MAAM,8BAA8B;;EAA+E,CAAA"}
@@ -2,40 +2,19 @@ import { Payload } from '@xyo-network/payload-model';
2
2
  export declare const HashLeaseEstimateSchema: "network.xyo.hash.lease.estimate";
3
3
  export type HashLeaseEstimateSchema = typeof HashLeaseEstimateSchema;
4
4
  export interface HashLeaseEstimateFields {
5
- /**
6
- * The currency of the price
7
- */
8
5
  currency: string;
9
- /**
10
- * When the lease ends
11
- */
12
6
  exp: number;
13
- /**
14
- * When the lease begins
15
- */
16
7
  nbf: number;
17
- /**
18
- * The estimated price of the lease
19
- */
20
8
  price: number;
21
9
  }
22
10
  export type HashLeaseEstimate = Payload<HashLeaseEstimateFields, HashLeaseEstimateSchema>;
23
- /**
24
- * Identity function for HashLeaseEstimate payload
25
- */
26
- export declare const isHashLeaseEstimate: (x?: unknown) => x is import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & HashLeaseEstimateFields & {
11
+ export declare const isHashLeaseEstimate: (x?: unknown | null) => x is import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & HashLeaseEstimateFields & {
27
12
  schema: "network.xyo.hash.lease.estimate";
28
13
  };
29
- /**
30
- * Identity function for HashLeaseEstimate payload with meta
31
- */
32
- export declare const isHashLeaseEstimateWithMeta: (x?: unknown) => x is import("@xyo-network/payload-model").WithMeta<import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & HashLeaseEstimateFields & {
14
+ export declare const isHashLeaseEstimateWithMeta: (x?: unknown | null) => x is import("@xyo-network/payload-model").WithMeta<import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & HashLeaseEstimateFields & {
33
15
  schema: "network.xyo.hash.lease.estimate";
34
16
  }>;
35
- /**
36
- * Identity function for HashLeaseEstimate payload with sources
37
- */
38
- export declare const isHashLeaseEstimateWithSources: (x?: unknown) => x is import("@xyo-network/payload-model").WithSources<import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & HashLeaseEstimateFields & {
17
+ export declare const isHashLeaseEstimateWithSources: (x?: unknown | null) => x is import("@xyo-network/payload-model").WithSources<import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & HashLeaseEstimateFields & {
39
18
  schema: "network.xyo.hash.lease.estimate";
40
19
  }>;
41
20
  //# sourceMappingURL=HashLeaseEstimate.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"HashLeaseEstimate.d.ts","sourceRoot":"","sources":["../../../src/Payload/HashLeaseEstimate.ts"],"names":[],"mappings":"AAAA,OAAO,EAA0F,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAE5I,eAAO,MAAM,uBAAuB,mCAA6C,CAAA;AACjF,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;AAEzF;;GAEG;AACH,eAAO,MAAM,mBAAmB;;CAAoE,CAAA;AAEpG;;GAEG;AACH,eAAO,MAAM,2BAA2B;;EAA4E,CAAA;AAEpH;;GAEG;AACH,eAAO,MAAM,8BAA8B;;EAA+E,CAAA"}
1
+ {"version":3,"file":"HashLeaseEstimate.d.ts","sourceRoot":"","sources":["../../../src/Payload/HashLeaseEstimate.ts"],"names":[],"mappings":"AAAA,OAAO,EAA0F,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAE5I,eAAO,MAAM,uBAAuB,mCAA6C,CAAA;AACjF,MAAM,MAAM,uBAAuB,GAAG,OAAO,uBAAuB,CAAA;AAEpE,MAAM,WAAW,uBAAuB;IAItC,QAAQ,EAAE,MAAM,CAAA;IAIhB,GAAG,EAAE,MAAM,CAAA;IAIX,GAAG,EAAE,MAAM,CAAA;IAIX,KAAK,EAAE,MAAM,CAAA;CACd;AAED,MAAM,MAAM,iBAAiB,GAAG,OAAO,CAAC,uBAAuB,EAAE,uBAAuB,CAAC,CAAA;AAKzF,eAAO,MAAM,mBAAmB;;CAAoE,CAAA;AAKpG,eAAO,MAAM,2BAA2B;;EAA4E,CAAA;AAKpH,eAAO,MAAM,8BAA8B;;EAA+E,CAAA"}
@@ -2,40 +2,19 @@ import { Payload } from '@xyo-network/payload-model';
2
2
  export declare const HashLeaseEstimateSchema: "network.xyo.hash.lease.estimate";
3
3
  export type HashLeaseEstimateSchema = typeof HashLeaseEstimateSchema;
4
4
  export interface HashLeaseEstimateFields {
5
- /**
6
- * The currency of the price
7
- */
8
5
  currency: string;
9
- /**
10
- * When the lease ends
11
- */
12
6
  exp: number;
13
- /**
14
- * When the lease begins
15
- */
16
7
  nbf: number;
17
- /**
18
- * The estimated price of the lease
19
- */
20
8
  price: number;
21
9
  }
22
10
  export type HashLeaseEstimate = Payload<HashLeaseEstimateFields, HashLeaseEstimateSchema>;
23
- /**
24
- * Identity function for HashLeaseEstimate payload
25
- */
26
- export declare const isHashLeaseEstimate: (x?: unknown) => x is import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & HashLeaseEstimateFields & {
11
+ export declare const isHashLeaseEstimate: (x?: unknown | null) => x is import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & HashLeaseEstimateFields & {
27
12
  schema: "network.xyo.hash.lease.estimate";
28
13
  };
29
- /**
30
- * Identity function for HashLeaseEstimate payload with meta
31
- */
32
- export declare const isHashLeaseEstimateWithMeta: (x?: unknown) => x is import("@xyo-network/payload-model").WithMeta<import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & HashLeaseEstimateFields & {
14
+ export declare const isHashLeaseEstimateWithMeta: (x?: unknown | null) => x is import("@xyo-network/payload-model").WithMeta<import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & HashLeaseEstimateFields & {
33
15
  schema: "network.xyo.hash.lease.estimate";
34
16
  }>;
35
- /**
36
- * Identity function for HashLeaseEstimate payload with sources
37
- */
38
- export declare const isHashLeaseEstimateWithSources: (x?: unknown) => x is import("@xyo-network/payload-model").WithSources<import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & HashLeaseEstimateFields & {
17
+ export declare const isHashLeaseEstimateWithSources: (x?: unknown | null) => x is import("@xyo-network/payload-model").WithSources<import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & HashLeaseEstimateFields & {
39
18
  schema: "network.xyo.hash.lease.estimate";
40
19
  }>;
41
20
  //# sourceMappingURL=HashLeaseEstimate.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"HashLeaseEstimate.d.ts","sourceRoot":"","sources":["../../../src/Payload/HashLeaseEstimate.ts"],"names":[],"mappings":"AAAA,OAAO,EAA0F,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAE5I,eAAO,MAAM,uBAAuB,mCAA6C,CAAA;AACjF,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;AAEzF;;GAEG;AACH,eAAO,MAAM,mBAAmB;;CAAoE,CAAA;AAEpG;;GAEG;AACH,eAAO,MAAM,2BAA2B;;EAA4E,CAAA;AAEpH;;GAEG;AACH,eAAO,MAAM,8BAA8B;;EAA+E,CAAA"}
1
+ {"version":3,"file":"HashLeaseEstimate.d.ts","sourceRoot":"","sources":["../../../src/Payload/HashLeaseEstimate.ts"],"names":[],"mappings":"AAAA,OAAO,EAA0F,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAE5I,eAAO,MAAM,uBAAuB,mCAA6C,CAAA;AACjF,MAAM,MAAM,uBAAuB,GAAG,OAAO,uBAAuB,CAAA;AAEpE,MAAM,WAAW,uBAAuB;IAItC,QAAQ,EAAE,MAAM,CAAA;IAIhB,GAAG,EAAE,MAAM,CAAA;IAIX,GAAG,EAAE,MAAM,CAAA;IAIX,KAAK,EAAE,MAAM,CAAA;CACd;AAED,MAAM,MAAM,iBAAiB,GAAG,OAAO,CAAC,uBAAuB,EAAE,uBAAuB,CAAC,CAAA;AAKzF,eAAO,MAAM,mBAAmB;;CAAoE,CAAA;AAKpG,eAAO,MAAM,2BAA2B;;EAA4E,CAAA;AAKpH,eAAO,MAAM,8BAA8B;;EAA+E,CAAA"}
@@ -1,76 +1,2 @@
1
- "use strict";
2
- var __defProp = Object.defineProperty;
3
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
- var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __hasOwnProp = Object.prototype.hasOwnProperty;
6
- var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
7
- var __export = (target, all) => {
8
- for (var name in all)
9
- __defProp(target, name, { get: all[name], enumerable: true });
10
- };
11
- var __copyProps = (to, from, except, desc) => {
12
- if (from && typeof from === "object" || typeof from === "function") {
13
- for (let key of __getOwnPropNames(from))
14
- if (!__hasOwnProp.call(to, key) && key !== except)
15
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
16
- }
17
- return to;
18
- };
19
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
20
-
21
- // src/index.ts
22
- var src_exports = {};
23
- __export(src_exports, {
24
- HashLeaseEstimateDiviner: () => HashLeaseEstimateDiviner,
25
- HashLeaseEstimateDivinerConfigSchema: () => HashLeaseEstimateDivinerConfigSchema,
26
- HashLeaseEstimateSchema: () => HashLeaseEstimateSchema,
27
- HashLeaseSchema: () => HashLeaseSchema,
28
- isHashLeaseEstimate: () => isHashLeaseEstimate,
29
- isHashLeaseEstimateWithMeta: () => isHashLeaseEstimateWithMeta,
30
- isHashLeaseEstimateWithSources: () => isHashLeaseEstimateWithSources
31
- });
32
- module.exports = __toCommonJS(src_exports);
33
-
34
- // src/Config.ts
35
- var HashLeaseEstimateDivinerConfigSchema = "network.xyo.diviner.hash.lease.estimate.config";
36
-
37
- // src/Diviner.ts
38
- var import_diviner_abstract = require("@xyo-network/diviner-abstract");
39
- var import_module_model = require("@xyo-network/module-model");
40
-
41
- // src/Payload/HashLease.ts
42
- var HashLeaseSchema = "network.xyo.hash.lease";
43
-
44
- // src/Payload/HashLeaseEstimate.ts
45
- var import_payload_model = require("@xyo-network/payload-model");
46
- var HashLeaseEstimateSchema = "network.xyo.hash.lease.estimate";
47
- var isHashLeaseEstimate = (0, import_payload_model.isPayloadOfSchemaType)(HashLeaseEstimateSchema);
48
- var isHashLeaseEstimateWithMeta = (0, import_payload_model.isPayloadOfSchemaTypeWithMeta)(HashLeaseEstimateSchema);
49
- var isHashLeaseEstimateWithSources = (0, import_payload_model.isPayloadOfSchemaTypeWithSources)(HashLeaseEstimateSchema);
50
-
51
- // src/Diviner.ts
52
- function _ts_decorate(decorators, target, key, desc) {
53
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
54
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
55
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
56
- return c > 3 && r && Object.defineProperty(target, key, r), r;
57
- }
58
- __name(_ts_decorate, "_ts_decorate");
59
- var HashLeaseEstimateDiviner = class extends import_diviner_abstract.AbstractDiviner {
60
- static {
61
- __name(this, "HashLeaseEstimateDiviner");
62
- }
63
- static configSchemas = [
64
- ...super.configSchemas,
65
- HashLeaseEstimateDivinerConfigSchema
66
- ];
67
- static defaultConfigSchema = HashLeaseEstimateDivinerConfigSchema;
68
- static targetSchema = HashLeaseEstimateSchema;
69
- async divineHandler(_payloads = []) {
70
- return await Promise.resolve([]);
71
- }
72
- };
73
- HashLeaseEstimateDiviner = _ts_decorate([
74
- (0, import_module_model.creatableModule)()
75
- ], HashLeaseEstimateDiviner);
1
+ "use strict";var h=Object.defineProperty;var u=Object.getOwnPropertyDescriptor;var y=Object.getOwnPropertyNames;var d=Object.prototype.hasOwnProperty;var l=(t,e)=>h(t,"name",{value:e,configurable:!0});var H=(t,e)=>{for(var a in e)h(t,a,{get:e[a],enumerable:!0})},v=(t,e,a,r)=>{if(e&&typeof e=="object"||typeof e=="function")for(let o of y(e))!d.call(t,o)&&o!==a&&h(t,o,{get:()=>e[o],enumerable:!(r=u(e,o))||r.enumerable});return t};var L=t=>v(h({},"__esModule",{value:!0}),t);var w={};H(w,{HashLeaseEstimateDiviner:()=>m,HashLeaseEstimateDivinerConfigSchema:()=>f,HashLeaseEstimateSchema:()=>c,HashLeaseSchema:()=>g,isHashLeaseEstimate:()=>E,isHashLeaseEstimateWithMeta:()=>O,isHashLeaseEstimateWithSources:()=>P});module.exports=L(w);var f="network.xyo.diviner.hash.lease.estimate.config";var x=require("@xyo-network/diviner-abstract"),S=require("@xyo-network/module-model");var g="network.xyo.hash.lease";var i=require("@xyo-network/payload-model"),c="network.xyo.hash.lease.estimate",E=(0,i.isPayloadOfSchemaType)(c),O=(0,i.isPayloadOfSchemaTypeWithMeta)(c),P=(0,i.isPayloadOfSchemaTypeWithSources)(c);function b(t,e,a,r){var o=arguments.length,s=o<3?e:r===null?r=Object.getOwnPropertyDescriptor(e,a):r,n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,a,r);else for(var p=t.length-1;p>=0;p--)(n=t[p])&&(s=(o<3?n(s):o>3?n(e,a,s):n(e,a))||s);return o>3&&s&&Object.defineProperty(e,a,s),s}l(b,"_ts_decorate");var m=class extends x.AbstractDiviner{static{l(this,"HashLeaseEstimateDiviner")}static configSchemas=[...super.configSchemas,f];static defaultConfigSchema=f;static targetSchema=c;async divineHandler(e=[]){return await Promise.resolve([])}};m=b([(0,S.creatableModule)()],m);
76
2
  //# sourceMappingURL=index.cjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/index.ts","../../src/Config.ts","../../src/Diviner.ts","../../src/Payload/HashLease.ts","../../src/Payload/HashLeaseEstimate.ts"],"sourcesContent":["export * from './Config'\nexport * from './Diviner'\nexport * from './Params'\nexport * from './Payload'\n","import { DivinerConfig } from '@xyo-network/diviner-model'\n\nexport const HashLeaseEstimateDivinerConfigSchema = 'network.xyo.diviner.hash.lease.estimate.config' as const\nexport type HashLeaseEstimateDivinerConfigSchema = typeof HashLeaseEstimateDivinerConfigSchema\n\nexport type HashLeaseEstimateDivinerConfig = DivinerConfig<\n {\n //\n },\n HashLeaseEstimateDivinerConfigSchema\n>\n","import { AbstractDiviner } from '@xyo-network/diviner-abstract'\nimport { DivinerInstance, DivinerModuleEventData } from '@xyo-network/diviner-model'\nimport { creatableModule } from '@xyo-network/module-model'\nimport { Payload, Schema } from '@xyo-network/payload-model'\n\nimport { HashLeaseEstimateDivinerConfigSchema } from './Config'\nimport { HashLeaseEstimateDivinerParams } from './Params'\nimport { HashLeaseEstimate, HashLeaseEstimateSchema } from './Payload'\n\n@creatableModule()\nexport class HashLeaseEstimateDiviner<\n TParams extends HashLeaseEstimateDivinerParams = HashLeaseEstimateDivinerParams,\n TIn extends Payload = Payload,\n TOut extends HashLeaseEstimate | Payload = HashLeaseEstimate | Payload,\n TEventData extends DivinerModuleEventData<DivinerInstance<TParams, TIn, TOut>, TIn, TOut> = DivinerModuleEventData<\n DivinerInstance<TParams, TIn, TOut>,\n TIn,\n TOut\n >,\n> extends AbstractDiviner<TParams, TIn, TOut, TEventData> {\n static override readonly configSchemas: Schema[] = [...super.configSchemas, HashLeaseEstimateDivinerConfigSchema]\n static override readonly defaultConfigSchema: Schema = HashLeaseEstimateDivinerConfigSchema\n static override targetSchema = HashLeaseEstimateSchema\n\n protected override async divineHandler(_payloads: TIn[] = []): Promise<TOut[]> {\n return await Promise.resolve([])\n }\n}\n","import { Payload } from '@xyo-network/payload-model'\n\nexport const HashLeaseSchema = 'network.xyo.hash.lease' as const\nexport type HashLeaseSchema = typeof HashLeaseSchema\n\nexport type HashLease = Payload<\n {\n /**\n * The desired duration of the lease\n */\n duration: number\n },\n HashLeaseSchema\n>\n","import { isPayloadOfSchemaType, isPayloadOfSchemaTypeWithMeta, isPayloadOfSchemaTypeWithSources, Payload } from '@xyo-network/payload-model'\n\nexport const HashLeaseEstimateSchema = 'network.xyo.hash.lease.estimate' as const\nexport type HashLeaseEstimateSchema = typeof HashLeaseEstimateSchema\n\nexport interface HashLeaseEstimateFields {\n /**\n * The currency of the price\n */\n currency: string\n /**\n * When the lease ends\n */\n exp: number\n /**\n * When the lease begins\n */\n nbf: number\n /**\n * The estimated price of the lease\n */\n price: number\n}\n\nexport type HashLeaseEstimate = Payload<HashLeaseEstimateFields, HashLeaseEstimateSchema>\n\n/**\n * Identity function for HashLeaseEstimate payload\n */\nexport const isHashLeaseEstimate = isPayloadOfSchemaType<HashLeaseEstimate>(HashLeaseEstimateSchema)\n\n/**\n * Identity function for HashLeaseEstimate payload with meta\n */\nexport const isHashLeaseEstimateWithMeta = isPayloadOfSchemaTypeWithMeta<HashLeaseEstimate>(HashLeaseEstimateSchema)\n\n/**\n * Identity function for HashLeaseEstimate payload with sources\n */\nexport const isHashLeaseEstimateWithSources = isPayloadOfSchemaTypeWithSources<HashLeaseEstimate>(HashLeaseEstimateSchema)\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA;;;;;;;;;;;;;ACEO,IAAMA,uCAAuC;;;ACFpD,8BAAgC;AAEhC,0BAAgC;;;ACAzB,IAAMC,kBAAkB;;;ACF/B,2BAAgH;AAEzG,IAAMC,0BAA0B;AA2BhC,IAAMC,0BAAsBC,4CAAyCF,uBAAAA;AAKrE,IAAMG,kCAA8BC,oDAAiDJ,uBAAAA;AAKrF,IAAMK,qCAAiCC,uDAAoDN,uBAAAA;;;;;;;;;;AF7B3F,IAAMO,2BAAN,cASGC,wCAAAA;SAAAA;;;EACR,OAAyBC,gBAA0B;OAAI,MAAMA;IAAeC;;EAC5E,OAAyBC,sBAA8BD;EACvD,OAAgBE,eAAeC;EAE/B,MAAyBC,cAAcC,YAAmB,CAAA,GAAqB;AAC7E,WAAO,MAAMC,QAAQC,QAAQ,CAAA,CAAE;EACjC;AACF;;;;","names":["HashLeaseEstimateDivinerConfigSchema","HashLeaseSchema","HashLeaseEstimateSchema","isHashLeaseEstimate","isPayloadOfSchemaType","isHashLeaseEstimateWithMeta","isPayloadOfSchemaTypeWithMeta","isHashLeaseEstimateWithSources","isPayloadOfSchemaTypeWithSources","HashLeaseEstimateDiviner","AbstractDiviner","configSchemas","HashLeaseEstimateDivinerConfigSchema","defaultConfigSchema","targetSchema","HashLeaseEstimateSchema","divineHandler","_payloads","Promise","resolve"]}
1
+ {"version":3,"sources":["../../src/index.ts","../../src/Config.ts","../../src/Diviner.ts","../../src/Payload/HashLease.ts","../../src/Payload/HashLeaseEstimate.ts"],"sourcesContent":["export * from './Config'\nexport * from './Diviner'\nexport * from './Params'\nexport * from './Payload'\n","import { DivinerConfig } from '@xyo-network/diviner-model'\n\nexport const HashLeaseEstimateDivinerConfigSchema = 'network.xyo.diviner.hash.lease.estimate.config' as const\nexport type HashLeaseEstimateDivinerConfigSchema = typeof HashLeaseEstimateDivinerConfigSchema\n\nexport type HashLeaseEstimateDivinerConfig = DivinerConfig<\n {\n //\n },\n HashLeaseEstimateDivinerConfigSchema\n>\n","import { AbstractDiviner } from '@xyo-network/diviner-abstract'\nimport { DivinerInstance, DivinerModuleEventData } from '@xyo-network/diviner-model'\nimport { creatableModule } from '@xyo-network/module-model'\nimport { Payload, Schema } from '@xyo-network/payload-model'\n\nimport { HashLeaseEstimateDivinerConfigSchema } from './Config'\nimport { HashLeaseEstimateDivinerParams } from './Params'\nimport { HashLeaseEstimate, HashLeaseEstimateSchema } from './Payload'\n\n@creatableModule()\nexport class HashLeaseEstimateDiviner<\n TParams extends HashLeaseEstimateDivinerParams = HashLeaseEstimateDivinerParams,\n TIn extends Payload = Payload,\n TOut extends HashLeaseEstimate | Payload = HashLeaseEstimate | Payload,\n TEventData extends DivinerModuleEventData<DivinerInstance<TParams, TIn, TOut>, TIn, TOut> = DivinerModuleEventData<\n DivinerInstance<TParams, TIn, TOut>,\n TIn,\n TOut\n >,\n> extends AbstractDiviner<TParams, TIn, TOut, TEventData> {\n static override readonly configSchemas: Schema[] = [...super.configSchemas, HashLeaseEstimateDivinerConfigSchema]\n static override readonly defaultConfigSchema: Schema = HashLeaseEstimateDivinerConfigSchema\n static override targetSchema = HashLeaseEstimateSchema\n\n protected override async divineHandler(_payloads: TIn[] = []): Promise<TOut[]> {\n return await Promise.resolve([])\n }\n}\n","import { Payload } from '@xyo-network/payload-model'\n\nexport const HashLeaseSchema = 'network.xyo.hash.lease' as const\nexport type HashLeaseSchema = typeof HashLeaseSchema\n\nexport type HashLease = Payload<\n {\n /**\n * The desired duration of the lease\n */\n duration: number\n },\n HashLeaseSchema\n>\n","import { isPayloadOfSchemaType, isPayloadOfSchemaTypeWithMeta, isPayloadOfSchemaTypeWithSources, Payload } from '@xyo-network/payload-model'\n\nexport const HashLeaseEstimateSchema = 'network.xyo.hash.lease.estimate' as const\nexport type HashLeaseEstimateSchema = typeof HashLeaseEstimateSchema\n\nexport interface HashLeaseEstimateFields {\n /**\n * The currency of the price\n */\n currency: string\n /**\n * When the lease ends\n */\n exp: number\n /**\n * When the lease begins\n */\n nbf: number\n /**\n * The estimated price of the lease\n */\n price: number\n}\n\nexport type HashLeaseEstimate = Payload<HashLeaseEstimateFields, HashLeaseEstimateSchema>\n\n/**\n * Identity function for HashLeaseEstimate payload\n */\nexport const isHashLeaseEstimate = isPayloadOfSchemaType<HashLeaseEstimate>(HashLeaseEstimateSchema)\n\n/**\n * Identity function for HashLeaseEstimate payload with meta\n */\nexport const isHashLeaseEstimateWithMeta = isPayloadOfSchemaTypeWithMeta<HashLeaseEstimate>(HashLeaseEstimateSchema)\n\n/**\n * Identity function for HashLeaseEstimate payload with sources\n */\nexport const isHashLeaseEstimateWithSources = isPayloadOfSchemaTypeWithSources<HashLeaseEstimate>(HashLeaseEstimateSchema)\n"],"mappings":"4dAAA,IAAAA,EAAA,GAAAC,EAAAD,EAAA,8BAAAE,EAAA,yCAAAC,EAAA,4BAAAC,EAAA,oBAAAC,EAAA,wBAAAC,EAAA,gCAAAC,EAAA,mCAAAC,IAAA,eAAAC,EAAAT,GCEO,IAAMU,EAAuC,iDCFpD,IAAAC,EAAgC,yCAEhCC,EAAgC,qCCAzB,IAAMC,EAAkB,yBCF/B,IAAAC,EAAgH,sCAEnGC,EAA0B,kCA2B1BC,KAAsBC,yBAAyCF,CAAAA,EAK/DG,KAA8BC,iCAAiDJ,CAAAA,EAK/EK,KAAiCC,oCAAoDN,CAAAA,2VF7B3F,IAAMO,EAAN,cASGC,iBAAAA,OAAAA,CAAAA,EAAAA,iCACR,OAAyBC,cAA0B,IAAI,MAAMA,cAAeC,GAC5E,OAAyBC,oBAA8BD,EACvD,OAAgBE,aAAeC,EAE/B,MAAyBC,cAAcC,EAAmB,CAAA,EAAqB,CAC7E,OAAO,MAAMC,QAAQC,QAAQ,CAAA,CAAE,CACjC,CACF","names":["src_exports","__export","HashLeaseEstimateDiviner","HashLeaseEstimateDivinerConfigSchema","HashLeaseEstimateSchema","HashLeaseSchema","isHashLeaseEstimate","isHashLeaseEstimateWithMeta","isHashLeaseEstimateWithSources","__toCommonJS","HashLeaseEstimateDivinerConfigSchema","import_diviner_abstract","import_module_model","HashLeaseSchema","import_payload_model","HashLeaseEstimateSchema","isHashLeaseEstimate","isPayloadOfSchemaType","isHashLeaseEstimateWithMeta","isPayloadOfSchemaTypeWithMeta","isHashLeaseEstimateWithSources","isPayloadOfSchemaTypeWithSources","HashLeaseEstimateDiviner","AbstractDiviner","configSchemas","HashLeaseEstimateDivinerConfigSchema","defaultConfigSchema","targetSchema","HashLeaseEstimateSchema","divineHandler","_payloads","Promise","resolve"]}
@@ -1,55 +1,2 @@
1
- var __defProp = Object.defineProperty;
2
- var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
3
-
4
- // src/Config.ts
5
- var HashLeaseEstimateDivinerConfigSchema = "network.xyo.diviner.hash.lease.estimate.config";
6
-
7
- // src/Diviner.ts
8
- import { AbstractDiviner } from "@xyo-network/diviner-abstract";
9
- import { creatableModule } from "@xyo-network/module-model";
10
-
11
- // src/Payload/HashLease.ts
12
- var HashLeaseSchema = "network.xyo.hash.lease";
13
-
14
- // src/Payload/HashLeaseEstimate.ts
15
- import { isPayloadOfSchemaType, isPayloadOfSchemaTypeWithMeta, isPayloadOfSchemaTypeWithSources } from "@xyo-network/payload-model";
16
- var HashLeaseEstimateSchema = "network.xyo.hash.lease.estimate";
17
- var isHashLeaseEstimate = isPayloadOfSchemaType(HashLeaseEstimateSchema);
18
- var isHashLeaseEstimateWithMeta = isPayloadOfSchemaTypeWithMeta(HashLeaseEstimateSchema);
19
- var isHashLeaseEstimateWithSources = isPayloadOfSchemaTypeWithSources(HashLeaseEstimateSchema);
20
-
21
- // src/Diviner.ts
22
- function _ts_decorate(decorators, target, key, desc) {
23
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
24
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
25
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
26
- return c > 3 && r && Object.defineProperty(target, key, r), r;
27
- }
28
- __name(_ts_decorate, "_ts_decorate");
29
- var HashLeaseEstimateDiviner = class extends AbstractDiviner {
30
- static {
31
- __name(this, "HashLeaseEstimateDiviner");
32
- }
33
- static configSchemas = [
34
- ...super.configSchemas,
35
- HashLeaseEstimateDivinerConfigSchema
36
- ];
37
- static defaultConfigSchema = HashLeaseEstimateDivinerConfigSchema;
38
- static targetSchema = HashLeaseEstimateSchema;
39
- async divineHandler(_payloads = []) {
40
- return await Promise.resolve([]);
41
- }
42
- };
43
- HashLeaseEstimateDiviner = _ts_decorate([
44
- creatableModule()
45
- ], HashLeaseEstimateDiviner);
46
- export {
47
- HashLeaseEstimateDiviner,
48
- HashLeaseEstimateDivinerConfigSchema,
49
- HashLeaseEstimateSchema,
50
- HashLeaseSchema,
51
- isHashLeaseEstimate,
52
- isHashLeaseEstimateWithMeta,
53
- isHashLeaseEstimateWithSources
54
- };
1
+ var p=Object.defineProperty;var h=(a,e)=>p(a,"name",{value:e,configurable:!0});var f="network.xyo.diviner.hash.lease.estimate.config";import{AbstractDiviner as y}from"@xyo-network/diviner-abstract";import{creatableModule as d}from"@xyo-network/module-model";var L="network.xyo.hash.lease";import{isPayloadOfSchemaType as l,isPayloadOfSchemaTypeWithMeta as x,isPayloadOfSchemaTypeWithSources as S}from"@xyo-network/payload-model";var s="network.xyo.hash.lease.estimate",O=l(s),P=x(s),b=S(s);function u(a,e,o,r){var i=arguments.length,t=i<3?e:r===null?r=Object.getOwnPropertyDescriptor(e,o):r,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")t=Reflect.decorate(a,e,o,r);else for(var n=a.length-1;n>=0;n--)(c=a[n])&&(t=(i<3?c(t):i>3?c(e,o,t):c(e,o))||t);return i>3&&t&&Object.defineProperty(e,o,t),t}h(u,"_ts_decorate");var m=class extends y{static{h(this,"HashLeaseEstimateDiviner")}static configSchemas=[...super.configSchemas,f];static defaultConfigSchema=f;static targetSchema=s;async divineHandler(e=[]){return await Promise.resolve([])}};m=u([d()],m);export{m as HashLeaseEstimateDiviner,f as HashLeaseEstimateDivinerConfigSchema,s as HashLeaseEstimateSchema,L as HashLeaseSchema,O as isHashLeaseEstimate,P as isHashLeaseEstimateWithMeta,b as isHashLeaseEstimateWithSources};
55
2
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/Config.ts","../../src/Diviner.ts","../../src/Payload/HashLease.ts","../../src/Payload/HashLeaseEstimate.ts"],"sourcesContent":["import { DivinerConfig } from '@xyo-network/diviner-model'\n\nexport const HashLeaseEstimateDivinerConfigSchema = 'network.xyo.diviner.hash.lease.estimate.config' as const\nexport type HashLeaseEstimateDivinerConfigSchema = typeof HashLeaseEstimateDivinerConfigSchema\n\nexport type HashLeaseEstimateDivinerConfig = DivinerConfig<\n {\n //\n },\n HashLeaseEstimateDivinerConfigSchema\n>\n","import { AbstractDiviner } from '@xyo-network/diviner-abstract'\nimport { DivinerInstance, DivinerModuleEventData } from '@xyo-network/diviner-model'\nimport { creatableModule } from '@xyo-network/module-model'\nimport { Payload, Schema } from '@xyo-network/payload-model'\n\nimport { HashLeaseEstimateDivinerConfigSchema } from './Config'\nimport { HashLeaseEstimateDivinerParams } from './Params'\nimport { HashLeaseEstimate, HashLeaseEstimateSchema } from './Payload'\n\n@creatableModule()\nexport class HashLeaseEstimateDiviner<\n TParams extends HashLeaseEstimateDivinerParams = HashLeaseEstimateDivinerParams,\n TIn extends Payload = Payload,\n TOut extends HashLeaseEstimate | Payload = HashLeaseEstimate | Payload,\n TEventData extends DivinerModuleEventData<DivinerInstance<TParams, TIn, TOut>, TIn, TOut> = DivinerModuleEventData<\n DivinerInstance<TParams, TIn, TOut>,\n TIn,\n TOut\n >,\n> extends AbstractDiviner<TParams, TIn, TOut, TEventData> {\n static override readonly configSchemas: Schema[] = [...super.configSchemas, HashLeaseEstimateDivinerConfigSchema]\n static override readonly defaultConfigSchema: Schema = HashLeaseEstimateDivinerConfigSchema\n static override targetSchema = HashLeaseEstimateSchema\n\n protected override async divineHandler(_payloads: TIn[] = []): Promise<TOut[]> {\n return await Promise.resolve([])\n }\n}\n","import { Payload } from '@xyo-network/payload-model'\n\nexport const HashLeaseSchema = 'network.xyo.hash.lease' as const\nexport type HashLeaseSchema = typeof HashLeaseSchema\n\nexport type HashLease = Payload<\n {\n /**\n * The desired duration of the lease\n */\n duration: number\n },\n HashLeaseSchema\n>\n","import { isPayloadOfSchemaType, isPayloadOfSchemaTypeWithMeta, isPayloadOfSchemaTypeWithSources, Payload } from '@xyo-network/payload-model'\n\nexport const HashLeaseEstimateSchema = 'network.xyo.hash.lease.estimate' as const\nexport type HashLeaseEstimateSchema = typeof HashLeaseEstimateSchema\n\nexport interface HashLeaseEstimateFields {\n /**\n * The currency of the price\n */\n currency: string\n /**\n * When the lease ends\n */\n exp: number\n /**\n * When the lease begins\n */\n nbf: number\n /**\n * The estimated price of the lease\n */\n price: number\n}\n\nexport type HashLeaseEstimate = Payload<HashLeaseEstimateFields, HashLeaseEstimateSchema>\n\n/**\n * Identity function for HashLeaseEstimate payload\n */\nexport const isHashLeaseEstimate = isPayloadOfSchemaType<HashLeaseEstimate>(HashLeaseEstimateSchema)\n\n/**\n * Identity function for HashLeaseEstimate payload with meta\n */\nexport const isHashLeaseEstimateWithMeta = isPayloadOfSchemaTypeWithMeta<HashLeaseEstimate>(HashLeaseEstimateSchema)\n\n/**\n * Identity function for HashLeaseEstimate payload with sources\n */\nexport const isHashLeaseEstimateWithSources = isPayloadOfSchemaTypeWithSources<HashLeaseEstimate>(HashLeaseEstimateSchema)\n"],"mappings":";;;;AAEO,IAAMA,uCAAuC;;;ACFpD,SAASC,uBAAuB;AAEhC,SAASC,uBAAuB;;;ACAzB,IAAMC,kBAAkB;;;ACF/B,SAASC,uBAAuBC,+BAA+BC,wCAAiD;AAEzG,IAAMC,0BAA0B;AA2BhC,IAAMC,sBAAsBJ,sBAAyCG,uBAAAA;AAKrE,IAAME,8BAA8BJ,8BAAiDE,uBAAAA;AAKrF,IAAMG,iCAAiCJ,iCAAoDC,uBAAAA;;;;;;;;;;AF7B3F,IAAMI,2BAAN,cASGC,gBAAAA;SAAAA;;;EACR,OAAyBC,gBAA0B;OAAI,MAAMA;IAAeC;;EAC5E,OAAyBC,sBAA8BD;EACvD,OAAgBE,eAAeC;EAE/B,MAAyBC,cAAcC,YAAmB,CAAA,GAAqB;AAC7E,WAAO,MAAMC,QAAQC,QAAQ,CAAA,CAAE;EACjC;AACF;;;;","names":["HashLeaseEstimateDivinerConfigSchema","AbstractDiviner","creatableModule","HashLeaseSchema","isPayloadOfSchemaType","isPayloadOfSchemaTypeWithMeta","isPayloadOfSchemaTypeWithSources","HashLeaseEstimateSchema","isHashLeaseEstimate","isHashLeaseEstimateWithMeta","isHashLeaseEstimateWithSources","HashLeaseEstimateDiviner","AbstractDiviner","configSchemas","HashLeaseEstimateDivinerConfigSchema","defaultConfigSchema","targetSchema","HashLeaseEstimateSchema","divineHandler","_payloads","Promise","resolve"]}
1
+ {"version":3,"sources":["../../src/Config.ts","../../src/Diviner.ts","../../src/Payload/HashLease.ts","../../src/Payload/HashLeaseEstimate.ts"],"sourcesContent":["import { DivinerConfig } from '@xyo-network/diviner-model'\n\nexport const HashLeaseEstimateDivinerConfigSchema = 'network.xyo.diviner.hash.lease.estimate.config' as const\nexport type HashLeaseEstimateDivinerConfigSchema = typeof HashLeaseEstimateDivinerConfigSchema\n\nexport type HashLeaseEstimateDivinerConfig = DivinerConfig<\n {\n //\n },\n HashLeaseEstimateDivinerConfigSchema\n>\n","import { AbstractDiviner } from '@xyo-network/diviner-abstract'\nimport { DivinerInstance, DivinerModuleEventData } from '@xyo-network/diviner-model'\nimport { creatableModule } from '@xyo-network/module-model'\nimport { Payload, Schema } from '@xyo-network/payload-model'\n\nimport { HashLeaseEstimateDivinerConfigSchema } from './Config'\nimport { HashLeaseEstimateDivinerParams } from './Params'\nimport { HashLeaseEstimate, HashLeaseEstimateSchema } from './Payload'\n\n@creatableModule()\nexport class HashLeaseEstimateDiviner<\n TParams extends HashLeaseEstimateDivinerParams = HashLeaseEstimateDivinerParams,\n TIn extends Payload = Payload,\n TOut extends HashLeaseEstimate | Payload = HashLeaseEstimate | Payload,\n TEventData extends DivinerModuleEventData<DivinerInstance<TParams, TIn, TOut>, TIn, TOut> = DivinerModuleEventData<\n DivinerInstance<TParams, TIn, TOut>,\n TIn,\n TOut\n >,\n> extends AbstractDiviner<TParams, TIn, TOut, TEventData> {\n static override readonly configSchemas: Schema[] = [...super.configSchemas, HashLeaseEstimateDivinerConfigSchema]\n static override readonly defaultConfigSchema: Schema = HashLeaseEstimateDivinerConfigSchema\n static override targetSchema = HashLeaseEstimateSchema\n\n protected override async divineHandler(_payloads: TIn[] = []): Promise<TOut[]> {\n return await Promise.resolve([])\n }\n}\n","import { Payload } from '@xyo-network/payload-model'\n\nexport const HashLeaseSchema = 'network.xyo.hash.lease' as const\nexport type HashLeaseSchema = typeof HashLeaseSchema\n\nexport type HashLease = Payload<\n {\n /**\n * The desired duration of the lease\n */\n duration: number\n },\n HashLeaseSchema\n>\n","import { isPayloadOfSchemaType, isPayloadOfSchemaTypeWithMeta, isPayloadOfSchemaTypeWithSources, Payload } from '@xyo-network/payload-model'\n\nexport const HashLeaseEstimateSchema = 'network.xyo.hash.lease.estimate' as const\nexport type HashLeaseEstimateSchema = typeof HashLeaseEstimateSchema\n\nexport interface HashLeaseEstimateFields {\n /**\n * The currency of the price\n */\n currency: string\n /**\n * When the lease ends\n */\n exp: number\n /**\n * When the lease begins\n */\n nbf: number\n /**\n * The estimated price of the lease\n */\n price: number\n}\n\nexport type HashLeaseEstimate = Payload<HashLeaseEstimateFields, HashLeaseEstimateSchema>\n\n/**\n * Identity function for HashLeaseEstimate payload\n */\nexport const isHashLeaseEstimate = isPayloadOfSchemaType<HashLeaseEstimate>(HashLeaseEstimateSchema)\n\n/**\n * Identity function for HashLeaseEstimate payload with meta\n */\nexport const isHashLeaseEstimateWithMeta = isPayloadOfSchemaTypeWithMeta<HashLeaseEstimate>(HashLeaseEstimateSchema)\n\n/**\n * Identity function for HashLeaseEstimate payload with sources\n */\nexport const isHashLeaseEstimateWithSources = isPayloadOfSchemaTypeWithSources<HashLeaseEstimate>(HashLeaseEstimateSchema)\n"],"mappings":"+EAEO,IAAMA,EAAuC,iDCFpD,OAASC,mBAAAA,MAAuB,gCAEhC,OAASC,mBAAAA,MAAuB,4BCAzB,IAAMC,EAAkB,yBCF/B,OAASC,yBAAAA,EAAuBC,iCAAAA,EAA+BC,oCAAAA,MAAiD,6BAEzG,IAAMC,EAA0B,kCA2B1BC,EAAsBJ,EAAyCG,CAAAA,EAK/DE,EAA8BJ,EAAiDE,CAAAA,EAK/EG,EAAiCJ,EAAoDC,CAAAA,2VF7B3F,IAAMI,EAAN,cASGC,CAAAA,OAAAA,CAAAA,EAAAA,iCACR,OAAyBC,cAA0B,IAAI,MAAMA,cAAeC,GAC5E,OAAyBC,oBAA8BD,EACvD,OAAgBE,aAAeC,EAE/B,MAAyBC,cAAcC,EAAmB,CAAA,EAAqB,CAC7E,OAAO,MAAMC,QAAQC,QAAQ,CAAA,CAAE,CACjC,CACF","names":["HashLeaseEstimateDivinerConfigSchema","AbstractDiviner","creatableModule","HashLeaseSchema","isPayloadOfSchemaType","isPayloadOfSchemaTypeWithMeta","isPayloadOfSchemaTypeWithSources","HashLeaseEstimateSchema","isHashLeaseEstimate","isHashLeaseEstimateWithMeta","isHashLeaseEstimateWithSources","HashLeaseEstimateDiviner","AbstractDiviner","configSchemas","HashLeaseEstimateDivinerConfigSchema","defaultConfigSchema","targetSchema","HashLeaseEstimateSchema","divineHandler","_payloads","Promise","resolve"]}
@@ -2,9 +2,6 @@ import { Payload } from '@xyo-network/payload-model';
2
2
  export declare const HashLeaseSchema: "network.xyo.hash.lease";
3
3
  export type HashLeaseSchema = typeof HashLeaseSchema;
4
4
  export type HashLease = Payload<{
5
- /**
6
- * The desired duration of the lease
7
- */
8
5
  duration: number;
9
6
  }, HashLeaseSchema>;
10
7
  //# sourceMappingURL=HashLease.d.ts.map
@@ -1 +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,0BAAoC,CAAA;AAChE,MAAM,MAAM,eAAe,GAAG,OAAO,eAAe,CAAA;AAEpD,MAAM,MAAM,SAAS,GAAG,OAAO,CAC7B;IACE;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAA;CACjB,EACD,eAAe,CAChB,CAAA"}
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,0BAAoC,CAAA;AAChE,MAAM,MAAM,eAAe,GAAG,OAAO,eAAe,CAAA;AAEpD,MAAM,MAAM,SAAS,GAAG,OAAO,CAC7B;IAIE,QAAQ,EAAE,MAAM,CAAA;CACjB,EACD,eAAe,CAChB,CAAA"}
@@ -2,9 +2,6 @@ import { Payload } from '@xyo-network/payload-model';
2
2
  export declare const HashLeaseSchema: "network.xyo.hash.lease";
3
3
  export type HashLeaseSchema = typeof HashLeaseSchema;
4
4
  export type HashLease = Payload<{
5
- /**
6
- * The desired duration of the lease
7
- */
8
5
  duration: number;
9
6
  }, HashLeaseSchema>;
10
7
  //# sourceMappingURL=HashLease.d.ts.map
@@ -1 +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,0BAAoC,CAAA;AAChE,MAAM,MAAM,eAAe,GAAG,OAAO,eAAe,CAAA;AAEpD,MAAM,MAAM,SAAS,GAAG,OAAO,CAC7B;IACE;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAA;CACjB,EACD,eAAe,CAChB,CAAA"}
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,0BAAoC,CAAA;AAChE,MAAM,MAAM,eAAe,GAAG,OAAO,eAAe,CAAA;AAEpD,MAAM,MAAM,SAAS,GAAG,OAAO,CAC7B;IAIE,QAAQ,EAAE,MAAM,CAAA;CACjB,EACD,eAAe,CAChB,CAAA"}
@@ -2,9 +2,6 @@ import { Payload } from '@xyo-network/payload-model';
2
2
  export declare const HashLeaseSchema: "network.xyo.hash.lease";
3
3
  export type HashLeaseSchema = typeof HashLeaseSchema;
4
4
  export type HashLease = Payload<{
5
- /**
6
- * The desired duration of the lease
7
- */
8
5
  duration: number;
9
6
  }, HashLeaseSchema>;
10
7
  //# sourceMappingURL=HashLease.d.ts.map
@@ -1 +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,0BAAoC,CAAA;AAChE,MAAM,MAAM,eAAe,GAAG,OAAO,eAAe,CAAA;AAEpD,MAAM,MAAM,SAAS,GAAG,OAAO,CAC7B;IACE;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAA;CACjB,EACD,eAAe,CAChB,CAAA"}
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,0BAAoC,CAAA;AAChE,MAAM,MAAM,eAAe,GAAG,OAAO,eAAe,CAAA;AAEpD,MAAM,MAAM,SAAS,GAAG,OAAO,CAC7B;IAIE,QAAQ,EAAE,MAAM,CAAA;CACjB,EACD,eAAe,CAChB,CAAA"}
@@ -2,40 +2,19 @@ import { Payload } from '@xyo-network/payload-model';
2
2
  export declare const HashLeaseEstimateSchema: "network.xyo.hash.lease.estimate";
3
3
  export type HashLeaseEstimateSchema = typeof HashLeaseEstimateSchema;
4
4
  export interface HashLeaseEstimateFields {
5
- /**
6
- * The currency of the price
7
- */
8
5
  currency: string;
9
- /**
10
- * When the lease ends
11
- */
12
6
  exp: number;
13
- /**
14
- * When the lease begins
15
- */
16
7
  nbf: number;
17
- /**
18
- * The estimated price of the lease
19
- */
20
8
  price: number;
21
9
  }
22
10
  export type HashLeaseEstimate = Payload<HashLeaseEstimateFields, HashLeaseEstimateSchema>;
23
- /**
24
- * Identity function for HashLeaseEstimate payload
25
- */
26
- export declare const isHashLeaseEstimate: (x?: unknown) => x is import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & HashLeaseEstimateFields & {
11
+ export declare const isHashLeaseEstimate: (x?: unknown | null) => x is import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & HashLeaseEstimateFields & {
27
12
  schema: "network.xyo.hash.lease.estimate";
28
13
  };
29
- /**
30
- * Identity function for HashLeaseEstimate payload with meta
31
- */
32
- export declare const isHashLeaseEstimateWithMeta: (x?: unknown) => x is import("@xyo-network/payload-model").WithMeta<import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & HashLeaseEstimateFields & {
14
+ export declare const isHashLeaseEstimateWithMeta: (x?: unknown | null) => x is import("@xyo-network/payload-model").WithMeta<import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & HashLeaseEstimateFields & {
33
15
  schema: "network.xyo.hash.lease.estimate";
34
16
  }>;
35
- /**
36
- * Identity function for HashLeaseEstimate payload with sources
37
- */
38
- export declare const isHashLeaseEstimateWithSources: (x?: unknown) => x is import("@xyo-network/payload-model").WithSources<import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & HashLeaseEstimateFields & {
17
+ export declare const isHashLeaseEstimateWithSources: (x?: unknown | null) => x is import("@xyo-network/payload-model").WithSources<import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & HashLeaseEstimateFields & {
39
18
  schema: "network.xyo.hash.lease.estimate";
40
19
  }>;
41
20
  //# sourceMappingURL=HashLeaseEstimate.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"HashLeaseEstimate.d.ts","sourceRoot":"","sources":["../../../src/Payload/HashLeaseEstimate.ts"],"names":[],"mappings":"AAAA,OAAO,EAA0F,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAE5I,eAAO,MAAM,uBAAuB,mCAA6C,CAAA;AACjF,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;AAEzF;;GAEG;AACH,eAAO,MAAM,mBAAmB;;CAAoE,CAAA;AAEpG;;GAEG;AACH,eAAO,MAAM,2BAA2B;;EAA4E,CAAA;AAEpH;;GAEG;AACH,eAAO,MAAM,8BAA8B;;EAA+E,CAAA"}
1
+ {"version":3,"file":"HashLeaseEstimate.d.ts","sourceRoot":"","sources":["../../../src/Payload/HashLeaseEstimate.ts"],"names":[],"mappings":"AAAA,OAAO,EAA0F,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAE5I,eAAO,MAAM,uBAAuB,mCAA6C,CAAA;AACjF,MAAM,MAAM,uBAAuB,GAAG,OAAO,uBAAuB,CAAA;AAEpE,MAAM,WAAW,uBAAuB;IAItC,QAAQ,EAAE,MAAM,CAAA;IAIhB,GAAG,EAAE,MAAM,CAAA;IAIX,GAAG,EAAE,MAAM,CAAA;IAIX,KAAK,EAAE,MAAM,CAAA;CACd;AAED,MAAM,MAAM,iBAAiB,GAAG,OAAO,CAAC,uBAAuB,EAAE,uBAAuB,CAAC,CAAA;AAKzF,eAAO,MAAM,mBAAmB;;CAAoE,CAAA;AAKpG,eAAO,MAAM,2BAA2B;;EAA4E,CAAA;AAKpH,eAAO,MAAM,8BAA8B;;EAA+E,CAAA"}
@@ -2,40 +2,19 @@ import { Payload } from '@xyo-network/payload-model';
2
2
  export declare const HashLeaseEstimateSchema: "network.xyo.hash.lease.estimate";
3
3
  export type HashLeaseEstimateSchema = typeof HashLeaseEstimateSchema;
4
4
  export interface HashLeaseEstimateFields {
5
- /**
6
- * The currency of the price
7
- */
8
5
  currency: string;
9
- /**
10
- * When the lease ends
11
- */
12
6
  exp: number;
13
- /**
14
- * When the lease begins
15
- */
16
7
  nbf: number;
17
- /**
18
- * The estimated price of the lease
19
- */
20
8
  price: number;
21
9
  }
22
10
  export type HashLeaseEstimate = Payload<HashLeaseEstimateFields, HashLeaseEstimateSchema>;
23
- /**
24
- * Identity function for HashLeaseEstimate payload
25
- */
26
- export declare const isHashLeaseEstimate: (x?: unknown) => x is import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & HashLeaseEstimateFields & {
11
+ export declare const isHashLeaseEstimate: (x?: unknown | null) => x is import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & HashLeaseEstimateFields & {
27
12
  schema: "network.xyo.hash.lease.estimate";
28
13
  };
29
- /**
30
- * Identity function for HashLeaseEstimate payload with meta
31
- */
32
- export declare const isHashLeaseEstimateWithMeta: (x?: unknown) => x is import("@xyo-network/payload-model").WithMeta<import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & HashLeaseEstimateFields & {
14
+ export declare const isHashLeaseEstimateWithMeta: (x?: unknown | null) => x is import("@xyo-network/payload-model").WithMeta<import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & HashLeaseEstimateFields & {
33
15
  schema: "network.xyo.hash.lease.estimate";
34
16
  }>;
35
- /**
36
- * Identity function for HashLeaseEstimate payload with sources
37
- */
38
- export declare const isHashLeaseEstimateWithSources: (x?: unknown) => x is import("@xyo-network/payload-model").WithSources<import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & HashLeaseEstimateFields & {
17
+ export declare const isHashLeaseEstimateWithSources: (x?: unknown | null) => x is import("@xyo-network/payload-model").WithSources<import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & HashLeaseEstimateFields & {
39
18
  schema: "network.xyo.hash.lease.estimate";
40
19
  }>;
41
20
  //# sourceMappingURL=HashLeaseEstimate.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"HashLeaseEstimate.d.ts","sourceRoot":"","sources":["../../../src/Payload/HashLeaseEstimate.ts"],"names":[],"mappings":"AAAA,OAAO,EAA0F,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAE5I,eAAO,MAAM,uBAAuB,mCAA6C,CAAA;AACjF,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;AAEzF;;GAEG;AACH,eAAO,MAAM,mBAAmB;;CAAoE,CAAA;AAEpG;;GAEG;AACH,eAAO,MAAM,2BAA2B;;EAA4E,CAAA;AAEpH;;GAEG;AACH,eAAO,MAAM,8BAA8B;;EAA+E,CAAA"}
1
+ {"version":3,"file":"HashLeaseEstimate.d.ts","sourceRoot":"","sources":["../../../src/Payload/HashLeaseEstimate.ts"],"names":[],"mappings":"AAAA,OAAO,EAA0F,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAE5I,eAAO,MAAM,uBAAuB,mCAA6C,CAAA;AACjF,MAAM,MAAM,uBAAuB,GAAG,OAAO,uBAAuB,CAAA;AAEpE,MAAM,WAAW,uBAAuB;IAItC,QAAQ,EAAE,MAAM,CAAA;IAIhB,GAAG,EAAE,MAAM,CAAA;IAIX,GAAG,EAAE,MAAM,CAAA;IAIX,KAAK,EAAE,MAAM,CAAA;CACd;AAED,MAAM,MAAM,iBAAiB,GAAG,OAAO,CAAC,uBAAuB,EAAE,uBAAuB,CAAC,CAAA;AAKzF,eAAO,MAAM,mBAAmB;;CAAoE,CAAA;AAKpG,eAAO,MAAM,2BAA2B;;EAA4E,CAAA;AAKpH,eAAO,MAAM,8BAA8B;;EAA+E,CAAA"}
@@ -2,40 +2,19 @@ import { Payload } from '@xyo-network/payload-model';
2
2
  export declare const HashLeaseEstimateSchema: "network.xyo.hash.lease.estimate";
3
3
  export type HashLeaseEstimateSchema = typeof HashLeaseEstimateSchema;
4
4
  export interface HashLeaseEstimateFields {
5
- /**
6
- * The currency of the price
7
- */
8
5
  currency: string;
9
- /**
10
- * When the lease ends
11
- */
12
6
  exp: number;
13
- /**
14
- * When the lease begins
15
- */
16
7
  nbf: number;
17
- /**
18
- * The estimated price of the lease
19
- */
20
8
  price: number;
21
9
  }
22
10
  export type HashLeaseEstimate = Payload<HashLeaseEstimateFields, HashLeaseEstimateSchema>;
23
- /**
24
- * Identity function for HashLeaseEstimate payload
25
- */
26
- export declare const isHashLeaseEstimate: (x?: unknown) => x is import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & HashLeaseEstimateFields & {
11
+ export declare const isHashLeaseEstimate: (x?: unknown | null) => x is import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & HashLeaseEstimateFields & {
27
12
  schema: "network.xyo.hash.lease.estimate";
28
13
  };
29
- /**
30
- * Identity function for HashLeaseEstimate payload with meta
31
- */
32
- export declare const isHashLeaseEstimateWithMeta: (x?: unknown) => x is import("@xyo-network/payload-model").WithMeta<import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & HashLeaseEstimateFields & {
14
+ export declare const isHashLeaseEstimateWithMeta: (x?: unknown | null) => x is import("@xyo-network/payload-model").WithMeta<import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & HashLeaseEstimateFields & {
33
15
  schema: "network.xyo.hash.lease.estimate";
34
16
  }>;
35
- /**
36
- * Identity function for HashLeaseEstimate payload with sources
37
- */
38
- export declare const isHashLeaseEstimateWithSources: (x?: unknown) => x is import("@xyo-network/payload-model").WithSources<import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & HashLeaseEstimateFields & {
17
+ export declare const isHashLeaseEstimateWithSources: (x?: unknown | null) => x is import("@xyo-network/payload-model").WithSources<import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & HashLeaseEstimateFields & {
39
18
  schema: "network.xyo.hash.lease.estimate";
40
19
  }>;
41
20
  //# sourceMappingURL=HashLeaseEstimate.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"HashLeaseEstimate.d.ts","sourceRoot":"","sources":["../../../src/Payload/HashLeaseEstimate.ts"],"names":[],"mappings":"AAAA,OAAO,EAA0F,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAE5I,eAAO,MAAM,uBAAuB,mCAA6C,CAAA;AACjF,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;AAEzF;;GAEG;AACH,eAAO,MAAM,mBAAmB;;CAAoE,CAAA;AAEpG;;GAEG;AACH,eAAO,MAAM,2BAA2B;;EAA4E,CAAA;AAEpH;;GAEG;AACH,eAAO,MAAM,8BAA8B;;EAA+E,CAAA"}
1
+ {"version":3,"file":"HashLeaseEstimate.d.ts","sourceRoot":"","sources":["../../../src/Payload/HashLeaseEstimate.ts"],"names":[],"mappings":"AAAA,OAAO,EAA0F,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAE5I,eAAO,MAAM,uBAAuB,mCAA6C,CAAA;AACjF,MAAM,MAAM,uBAAuB,GAAG,OAAO,uBAAuB,CAAA;AAEpE,MAAM,WAAW,uBAAuB;IAItC,QAAQ,EAAE,MAAM,CAAA;IAIhB,GAAG,EAAE,MAAM,CAAA;IAIX,GAAG,EAAE,MAAM,CAAA;IAIX,KAAK,EAAE,MAAM,CAAA;CACd;AAED,MAAM,MAAM,iBAAiB,GAAG,OAAO,CAAC,uBAAuB,EAAE,uBAAuB,CAAC,CAAA;AAKzF,eAAO,MAAM,mBAAmB;;CAAoE,CAAA;AAKpG,eAAO,MAAM,2BAA2B;;EAA4E,CAAA;AAKpH,eAAO,MAAM,8BAA8B;;EAA+E,CAAA"}