@xyo-network/diviner-range-model 3.9.17 → 3.9.19

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.
@@ -0,0 +1,9 @@
1
+ import type { DivinerConfig } from '@xyo-network/diviner-model';
2
+ export declare const RangeDivinerConfigSchema: "network.xyo.diviner.range.config";
3
+ export type RangeDivinerConfigSchema = typeof RangeDivinerConfigSchema;
4
+ import type { RangePayload } from '../Payload/index.ts';
5
+ export type RangeDivinerConfig = DivinerConfig<{
6
+ ranges?: RangePayload[];
7
+ }, RangeDivinerConfigSchema>;
8
+ export declare const isRangeDivinerConfig: (x?: unknown | null) => x is RangeDivinerConfig;
9
+ //# sourceMappingURL=Config.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Config.d.ts","sourceRoot":"","sources":["../../../src/Config/Config.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAA;AAG/D,eAAO,MAAM,wBAAwB,EAAG,kCAA2C,CAAA;AACnF,MAAM,MAAM,wBAAwB,GAAG,OAAO,wBAAwB,CAAA;AAEtE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAA;AAEvD,MAAM,MAAM,kBAAkB,GAAG,aAAa,CAC5C;IACE,MAAM,CAAC,EAAE,YAAY,EAAE,CAAA;CACxB,EACD,wBAAwB,CACzB,CAAA;AAED,eAAO,MAAM,oBAAoB,iDAAsE,CAAA"}
@@ -0,0 +1,2 @@
1
+ export * from './Config.ts';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/Config/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAA"}
@@ -0,0 +1,8 @@
1
+ import type { Hex } from '@xylabs/hex';
2
+ import type { Payload } from '@xyo-network/payload-model';
3
+ export declare const BigIntSchema: "network.xyo.bigint";
4
+ export type BigIntSchema = typeof BigIntSchema;
5
+ export type BigIntPayload = Payload<{
6
+ value: Hex;
7
+ }, BigIntSchema>;
8
+ //# sourceMappingURL=BigInt.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BigInt.d.ts","sourceRoot":"","sources":["../../../src/Payload/BigInt.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,aAAa,CAAA;AACtC,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAEzD,eAAO,MAAM,YAAY,EAAG,oBAA6B,CAAA;AACzD,MAAM,MAAM,YAAY,GAAG,OAAO,YAAY,CAAA;AAE9C,MAAM,MAAM,aAAa,GAAG,OAAO,CAAC;IAAE,KAAK,EAAE,GAAG,CAAA;CAAE,EAAE,YAAY,CAAC,CAAA"}
@@ -0,0 +1,7 @@
1
+ import type { Payload } from '@xyo-network/payload-model';
2
+ export declare const NumberSchema: "network.xyo.number";
3
+ export type NumberSchema = typeof NumberSchema;
4
+ export type NumberPayload = Payload<{
5
+ value: number;
6
+ }, NumberSchema>;
7
+ //# sourceMappingURL=Number.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Number.d.ts","sourceRoot":"","sources":["../../../src/Payload/Number.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAEzD,eAAO,MAAM,YAAY,EAAG,oBAA6B,CAAA;AACzD,MAAM,MAAM,YAAY,GAAG,OAAO,YAAY,CAAA;AAE9C,MAAM,MAAM,aAAa,GAAG,OAAO,CAAC;IAAE,KAAK,EAAE,MAAM,CAAA;CAAE,EAAE,YAAY,CAAC,CAAA"}
@@ -0,0 +1,15 @@
1
+ import type { Hex } from '@xylabs/hex';
2
+ import type { Payload } from '@xyo-network/payload-model';
3
+ export declare const RangeSchema: "network.xyo.range";
4
+ export type RangeSchema = typeof RangeSchema;
5
+ export type RangePayloadBase<T> = Payload<{
6
+ count: number;
7
+ start: T;
8
+ }, RangeSchema>;
9
+ export type NumberRangePayload = RangePayloadBase<number>;
10
+ export type BigIntRangePayload = RangePayloadBase<Hex>;
11
+ export type RangePayload = NumberRangePayload | BigIntRangePayload;
12
+ export declare const isRangePayload: (x?: unknown | null) => x is RangePayload;
13
+ export declare const isBigIntRangePayload: (payload?: unknown) => payload is BigIntRangePayload;
14
+ export declare const isNumberRangePayload: (payload?: unknown) => payload is NumberRangePayload;
15
+ //# sourceMappingURL=Range.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Range.d.ts","sourceRoot":"","sources":["../../../src/Payload/Range.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,aAAa,CAAA;AAEtC,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAKzD,eAAO,MAAM,WAAW,EAAG,mBAA4B,CAAA;AACvD,MAAM,MAAM,WAAW,GAAG,OAAO,WAAW,CAAA;AAE5C,MAAM,MAAM,gBAAgB,CAAC,CAAC,IAAI,OAAO,CACvC;IACE,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,EAAE,CAAC,CAAA;CACT,EACD,WAAW,CACZ,CAAA;AAED,MAAM,MAAM,kBAAkB,GAAG,gBAAgB,CAAC,MAAM,CAAC,CAAA;AACzD,MAAM,MAAM,kBAAkB,GAAG,gBAAgB,CAAC,GAAG,CAAC,CAAA;AAEtD,MAAM,MAAM,YAAY,GAAG,kBAAkB,GAAG,kBAAkB,CAAA;AAElE,eAAO,MAAM,cAAc,2CAAmD,CAAA;AAE9E,eAAO,MAAM,oBAAoB,GAAI,UAAU,OAAO,KAAG,OAAO,IAAI,kBACD,CAAA;AAEnE,eAAO,MAAM,oBAAoB,GAAI,UAAU,OAAO,KAAG,OAAO,IAAI,kBAAkF,CAAA"}
@@ -0,0 +1,4 @@
1
+ export * from './BigInt.ts';
2
+ export * from './Number.ts';
3
+ export * from './Range.ts';
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/Payload/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAA;AAC3B,cAAc,aAAa,CAAA;AAC3B,cAAc,YAAY,CAAA"}
@@ -1,38 +1,3 @@
1
- import { DivinerConfig } from '@xyo-network/diviner-model';
2
- import { Hex } from '@xylabs/hex';
3
- import { Payload } from '@xyo-network/payload-model';
4
-
5
- declare const BigIntSchema: "network.xyo.bigint";
6
- type BigIntSchema = typeof BigIntSchema;
7
- type BigIntPayload = Payload<{
8
- value: Hex;
9
- }, BigIntSchema>;
10
-
11
- declare const NumberSchema: "network.xyo.number";
12
- type NumberSchema = typeof NumberSchema;
13
- type NumberPayload = Payload<{
14
- value: number;
15
- }, NumberSchema>;
16
-
17
- declare const RangeSchema: "network.xyo.range";
18
- type RangeSchema = typeof RangeSchema;
19
- type RangePayloadBase<T> = Payload<{
20
- count: number;
21
- start: T;
22
- }, RangeSchema>;
23
- type NumberRangePayload = RangePayloadBase<number>;
24
- type BigIntRangePayload = RangePayloadBase<Hex>;
25
- type RangePayload = NumberRangePayload | BigIntRangePayload;
26
- declare const isRangePayload: (x?: unknown | null) => x is RangePayload;
27
- declare const isBigIntRangePayload: (payload?: unknown) => payload is BigIntRangePayload;
28
- declare const isNumberRangePayload: (payload?: unknown) => payload is NumberRangePayload;
29
-
30
- declare const RangeDivinerConfigSchema: "network.xyo.diviner.range.config";
31
- type RangeDivinerConfigSchema = typeof RangeDivinerConfigSchema;
32
-
33
- type RangeDivinerConfig = DivinerConfig<{
34
- ranges?: RangePayload[];
35
- }, RangeDivinerConfigSchema>;
36
- declare const isRangeDivinerConfig: (x?: unknown | null) => x is RangeDivinerConfig;
37
-
38
- export { type BigIntPayload, type BigIntRangePayload, BigIntSchema, type NumberPayload, type NumberRangePayload, NumberSchema, type RangeDivinerConfig, RangeDivinerConfigSchema, type RangePayload, type RangePayloadBase, RangeSchema, isBigIntRangePayload, isNumberRangePayload, isRangeDivinerConfig, isRangePayload };
1
+ export * from './Config/index.ts';
2
+ export * from './Payload/index.ts';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAA;AACjC,cAAc,oBAAoB,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xyo-network/diviner-range-model",
3
- "version": "3.9.17",
3
+ "version": "3.9.19",
4
4
  "description": "Primary SDK for using XYO Protocol 2.0",
5
5
  "homepage": "https://xyo.network",
6
6
  "bugs": {
@@ -30,13 +30,13 @@
30
30
  "types": "dist/neutral/index.d.ts",
31
31
  "dependencies": {
32
32
  "@xylabs/hex": "^4.5.1",
33
- "@xyo-network/diviner-model": "^3.9.17",
34
- "@xyo-network/payload-model": "^3.9.17"
33
+ "@xyo-network/diviner-model": "^3.9.19",
34
+ "@xyo-network/payload-model": "^3.9.19"
35
35
  },
36
36
  "devDependencies": {
37
- "@xylabs/ts-scripts-yarn3": "^5.0.24",
38
- "@xylabs/tsconfig": "^5.0.24",
39
- "typescript": "^5.7.3"
37
+ "@xylabs/ts-scripts-yarn3": "^5.0.39",
38
+ "@xylabs/tsconfig": "^5.0.39",
39
+ "typescript": "^5.8.2"
40
40
  },
41
41
  "publishConfig": {
42
42
  "access": "public"