@xyo-network/diviner-hash-lease 3.18.3 → 3.18.5

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.
@@ -11,18 +11,12 @@ export type HashLease = Payload<{
11
11
  * Identity function for HashLease payload
12
12
  */
13
13
  export declare const isHashLease: (x?: unknown | null) => x is HashLease;
14
- export declare const asHashLease: {
15
- <TType extends HashLease>(value: import("@xylabs/promise").AnyNonPromise, config?: import("@xylabs/object").TypeCheckConfig): TType | undefined;
16
- <TType extends HashLease>(value: import("@xylabs/promise").AnyNonPromise, assert: import("@xylabs/object").StringOrAlertFunction<HashLease>, config?: import("@xylabs/object").TypeCheckConfig): TType;
17
- };
18
- export declare const asOptionalHashLease: <TType extends HashLease>(value: import("@xylabs/promise").AnyNonPromise) => TType | undefined;
14
+ export declare const asHashLease: import("@xylabs/object").AsTypeFunction<HashLease>;
15
+ export declare const asOptionalHashLease: (value: import("@xylabs/promise").AnyNonPromise) => HashLease | undefined;
19
16
  /**
20
17
  * Identity function for HashLease payload with sources
21
18
  */
22
19
  export declare const isHashLeaseWithSources: (x?: unknown | null) => x is WithSources<WithSources<HashLease>>;
23
- export declare const asHashLeaseWithSources: {
24
- <TType extends WithSources<HashLease>>(value: import("@xylabs/promise").AnyNonPromise, config?: import("@xylabs/object").TypeCheckConfig): TType | undefined;
25
- <TType extends WithSources<HashLease>>(value: import("@xylabs/promise").AnyNonPromise, assert: import("@xylabs/object").StringOrAlertFunction<WithSources<HashLease>>, config?: import("@xylabs/object").TypeCheckConfig): TType;
26
- };
27
- export declare const asOptionalHashLeaseWithSources: <TType extends WithSources<HashLease>>(value: import("@xylabs/promise").AnyNonPromise) => TType | undefined;
20
+ export declare const asHashLeaseWithSources: import("@xylabs/object").AsTypeFunction<WithSources<HashLease>>;
21
+ export declare const asOptionalHashLeaseWithSources: (value: import("@xylabs/promise").AnyNonPromise) => WithSources<HashLease> | undefined;
28
22
  //# sourceMappingURL=HashLease.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"HashLease.d.ts","sourceRoot":"","sources":["../../../src/Payload/HashLease.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,OAAO,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAA;AAGtE,eAAO,MAAM,eAAe,EAAG,wBAAiC,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;AAED;;GAEG;AACH,eAAO,MAAM,WAAW,wCAAoD,CAAA;AAC5E,eAAO,MAAM,WAAW;;;CAAiD,CAAA;AACzE,eAAO,MAAM,mBAAmB,gGAAyD,CAAA;AAEzF;;GAEG;AACH,eAAO,MAAM,sBAAsB,kEAA4E,CAAA;AAC/G,eAAO,MAAM,sBAAsB;;;CAAyE,CAAA;AAC5G,eAAO,MAAM,8BAA8B,6GAAiF,CAAA"}
1
+ {"version":3,"file":"HashLease.d.ts","sourceRoot":"","sources":["../../../src/Payload/HashLease.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,OAAO,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAA;AAGtE,eAAO,MAAM,eAAe,EAAG,wBAAiC,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;AAED;;GAEG;AACH,eAAO,MAAM,WAAW,wCAAoD,CAAA;AAC5E,eAAO,MAAM,WAAW,oDAAiD,CAAA;AACzE,eAAO,MAAM,mBAAmB,2EAAyD,CAAA;AAEzF;;GAEG;AACH,eAAO,MAAM,sBAAsB,kEAA4E,CAAA;AAC/G,eAAO,MAAM,sBAAsB,iEAAyE,CAAA;AAC5G,eAAO,MAAM,8BAA8B,wFAAiF,CAAA"}
@@ -24,18 +24,12 @@ export type HashLeaseEstimate = Payload<HashLeaseEstimateFields, HashLeaseEstima
24
24
  * Identity function for HashLeaseEstimate payload
25
25
  */
26
26
  export declare const isHashLeaseEstimate: (x?: unknown | null) => x is HashLeaseEstimate;
27
- export declare const asHashLeaseEstimate: {
28
- <TType extends HashLeaseEstimate>(value: import("@xylabs/promise").AnyNonPromise, config?: import("@xylabs/object").TypeCheckConfig): TType | undefined;
29
- <TType extends HashLeaseEstimate>(value: import("@xylabs/promise").AnyNonPromise, assert: import("@xylabs/object").StringOrAlertFunction<HashLeaseEstimate>, config?: import("@xylabs/object").TypeCheckConfig): TType;
30
- };
31
- export declare const asOptionalHashLeaseEstimate: <TType extends HashLeaseEstimate>(value: import("@xylabs/promise").AnyNonPromise) => TType | undefined;
27
+ export declare const asHashLeaseEstimate: import("@xylabs/object").AsTypeFunction<HashLeaseEstimate>;
28
+ export declare const asOptionalHashLeaseEstimate: (value: import("@xylabs/promise").AnyNonPromise) => HashLeaseEstimate | undefined;
32
29
  /**
33
30
  * Identity function for HashLeaseEstimate payload with sources
34
31
  */
35
32
  export declare const isHashLeaseEstimateWithSources: (x?: unknown | null) => x is WithSources<WithSources<HashLeaseEstimate>>;
36
- export declare const asHashLeaseEstimateWithSources: {
37
- <TType extends WithSources<HashLeaseEstimate>>(value: import("@xylabs/promise").AnyNonPromise, config?: import("@xylabs/object").TypeCheckConfig): TType | undefined;
38
- <TType extends WithSources<HashLeaseEstimate>>(value: import("@xylabs/promise").AnyNonPromise, assert: import("@xylabs/object").StringOrAlertFunction<WithSources<HashLeaseEstimate>>, config?: import("@xylabs/object").TypeCheckConfig): TType;
39
- };
40
- export declare const asOptionalHashLeaseEstimateWithSources: <TType extends WithSources<HashLeaseEstimate>>(value: import("@xylabs/promise").AnyNonPromise) => TType | undefined;
33
+ export declare const asHashLeaseEstimateWithSources: import("@xylabs/object").AsTypeFunction<WithSources<HashLeaseEstimate>>;
34
+ export declare const asOptionalHashLeaseEstimateWithSources: (value: import("@xylabs/promise").AnyNonPromise) => WithSources<HashLeaseEstimate> | undefined;
41
35
  //# sourceMappingURL=HashLeaseEstimate.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"HashLeaseEstimate.d.ts","sourceRoot":"","sources":["../../../src/Payload/HashLeaseEstimate.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,OAAO,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAA;AAGtE,eAAO,MAAM,uBAAuB,EAAG,iCAA0C,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,gDAAoE,CAAA;AACpG,eAAO,MAAM,mBAAmB;;;CAAiE,CAAA;AACjG,eAAO,MAAM,2BAA2B,wGAAyE,CAAA;AAEjH;;GAEG;AACH,eAAO,MAAM,8BAA8B,0EAA4F,CAAA;AACvI,eAAO,MAAM,8BAA8B;;;CAAyF,CAAA;AACpI,eAAO,MAAM,sCAAsC,qHAAiG,CAAA"}
1
+ {"version":3,"file":"HashLeaseEstimate.d.ts","sourceRoot":"","sources":["../../../src/Payload/HashLeaseEstimate.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,OAAO,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAA;AAGtE,eAAO,MAAM,uBAAuB,EAAG,iCAA0C,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,gDAAoE,CAAA;AACpG,eAAO,MAAM,mBAAmB,4DAAiE,CAAA;AACjG,eAAO,MAAM,2BAA2B,mFAAyE,CAAA;AAEjH;;GAEG;AACH,eAAO,MAAM,8BAA8B,0EAA4F,CAAA;AACvI,eAAO,MAAM,8BAA8B,yEAAyF,CAAA;AACpI,eAAO,MAAM,sCAAsC,gGAAiG,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xyo-network/diviner-hash-lease",
3
- "version": "3.18.3",
3
+ "version": "3.18.5",
4
4
  "description": "Primary SDK for using XYO Protocol 2.0",
5
5
  "homepage": "https://xyo.network",
6
6
  "bugs": {
@@ -29,11 +29,11 @@
29
29
  "module": "dist/neutral/index.mjs",
30
30
  "types": "dist/types/index.d.ts",
31
31
  "dependencies": {
32
- "@xylabs/object": "^4.11.14",
33
- "@xyo-network/diviner-abstract": "^3.18.3",
34
- "@xyo-network/diviner-model": "^3.18.3",
35
- "@xyo-network/module-model": "^3.18.3",
36
- "@xyo-network/payload-model": "^3.18.3"
32
+ "@xylabs/object": "^4.11.16",
33
+ "@xyo-network/diviner-abstract": "^3.18.5",
34
+ "@xyo-network/diviner-model": "^3.18.5",
35
+ "@xyo-network/module-model": "^3.18.5",
36
+ "@xyo-network/payload-model": "^3.18.5"
37
37
  },
38
38
  "devDependencies": {
39
39
  "@xylabs/ts-scripts-yarn3": "^6.5.8",