@xyo-network/diviner-hash-lease 3.3.0 → 3.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2,6 +2,9 @@ import type { 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
+ */
5
8
  duration: number;
6
9
  }, HashLeaseSchema>;
7
10
  //# sourceMappingURL=HashLease.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"HashLease.d.ts","sourceRoot":"","sources":["../../../src/Payload/HashLease.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAEzD,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"}
1
+ {"version":3,"file":"HashLease.d.ts","sourceRoot":"","sources":["../../../src/Payload/HashLease.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAEzD,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"}
@@ -2,18 +2,39 @@ import type { 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
+ */
5
8
  currency: string;
9
+ /**
10
+ * When the lease ends
11
+ */
6
12
  exp: number;
13
+ /**
14
+ * When the lease begins
15
+ */
7
16
  nbf: number;
17
+ /**
18
+ * The estimated price of the lease
19
+ */
8
20
  price: number;
9
21
  }
10
22
  export type HashLeaseEstimate = Payload<HashLeaseEstimateFields, HashLeaseEstimateSchema>;
23
+ /**
24
+ * Identity function for HashLeaseEstimate payload
25
+ */
11
26
  export declare const isHashLeaseEstimate: (x?: unknown | null) => x is import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & HashLeaseEstimateFields & {
12
27
  schema: "network.xyo.hash.lease.estimate";
13
28
  };
29
+ /**
30
+ * Identity function for HashLeaseEstimate payload with meta
31
+ */
14
32
  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 & {
15
33
  schema: "network.xyo.hash.lease.estimate";
16
34
  }>;
35
+ /**
36
+ * Identity function for HashLeaseEstimate payload with sources
37
+ */
17
38
  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 & {
18
39
  schema: "network.xyo.hash.lease.estimate";
19
40
  }>;
@@ -1 +1 @@
1
- {"version":3,"file":"HashLeaseEstimate.d.ts","sourceRoot":"","sources":["../../../src/Payload/HashLeaseEstimate.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAKzD,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
+ {"version":3,"file":"HashLeaseEstimate.d.ts","sourceRoot":"","sources":["../../../src/Payload/HashLeaseEstimate.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAKzD,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"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xyo-network/diviner-hash-lease",
3
- "version": "3.3.0",
3
+ "version": "3.3.1",
4
4
  "description": "Primary SDK for using XYO Protocol 2.0",
5
5
  "homepage": "https://xyo.network",
6
6
  "bugs": {
@@ -29,14 +29,14 @@
29
29
  "module": "dist/neutral/index.mjs",
30
30
  "types": "dist/neutral/index.d.ts",
31
31
  "dependencies": {
32
- "@xyo-network/diviner-abstract": "^3.3.0",
33
- "@xyo-network/diviner-model": "^3.3.0",
34
- "@xyo-network/module-model": "^3.3.0",
35
- "@xyo-network/payload-model": "^3.3.0"
32
+ "@xyo-network/diviner-abstract": "^3.3.1",
33
+ "@xyo-network/diviner-model": "^3.3.1",
34
+ "@xyo-network/module-model": "^3.3.1",
35
+ "@xyo-network/payload-model": "^3.3.1"
36
36
  },
37
37
  "devDependencies": {
38
- "@xylabs/ts-scripts-yarn3": "^4.2.1",
39
- "@xylabs/tsconfig": "^4.2.1",
38
+ "@xylabs/ts-scripts-yarn3": "^4.2.3",
39
+ "@xylabs/tsconfig": "^4.2.3",
40
40
  "typescript": "^5.6.3"
41
41
  },
42
42
  "publishConfig": {