@xyo-network/diviner-range-model 4.1.2 → 4.1.4

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.
@@ -1,39 +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 { BigIntSchema, NumberSchema, RangeDivinerConfigSchema, RangeSchema, isBigIntRangePayload, isNumberRangePayload, isRangeDivinerConfig, isRangePayload };
39
- export type { BigIntPayload, BigIntRangePayload, NumberPayload, NumberRangePayload, RangeDivinerConfig, RangePayload, RangePayloadBase };
1
+ export * from './Config/index.ts';
2
+ export * from './Payload/index.ts';
3
+ //# sourceMappingURL=index.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xyo-network/diviner-range-model",
3
- "version": "4.1.2",
3
+ "version": "4.1.4",
4
4
  "description": "Primary SDK for using XYO Protocol 2.0",
5
5
  "homepage": "https://xyo.network",
6
6
  "bugs": {
@@ -29,13 +29,13 @@
29
29
  "module": "dist/neutral/index.mjs",
30
30
  "types": "dist/neutral/index.d.ts",
31
31
  "dependencies": {
32
- "@xylabs/hex": "^4.13.15",
33
- "@xyo-network/diviner-model": "^4.1.2",
34
- "@xyo-network/payload-model": "^4.1.2"
32
+ "@xylabs/hex": "^4.13.16",
33
+ "@xyo-network/diviner-model": "^4.1.4",
34
+ "@xyo-network/payload-model": "^4.1.4"
35
35
  },
36
36
  "devDependencies": {
37
- "@xylabs/ts-scripts-yarn3": "^7.0.0-rc.23",
38
- "@xylabs/tsconfig": "^7.0.0-rc.23",
37
+ "@xylabs/ts-scripts-yarn3": "^7.0.0-rc.27",
38
+ "@xylabs/tsconfig": "^7.0.0-rc.27",
39
39
  "typescript": "^5.8.3"
40
40
  },
41
41
  "publishConfig": {