@xyo-network/diviner-forecasting-model 2.75.0 → 2.75.2
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.
- package/dist/browser/Config/Config.d.cts +12 -0
- package/dist/browser/Config/Config.d.cts.map +1 -0
- package/dist/browser/Config/Config.js +2 -5
- package/dist/browser/Config/Config.js.map +1 -1
- package/dist/browser/Config/ForecastingSettings.d.cts +9 -0
- package/dist/browser/Config/ForecastingSettings.d.cts.map +1 -0
- package/dist/browser/Config/TransformerSettings.d.cts +4 -0
- package/dist/browser/Config/TransformerSettings.d.cts.map +1 -0
- package/dist/browser/Config/index.d.cts +4 -0
- package/dist/browser/Config/index.d.cts.map +1 -0
- package/dist/browser/Config/index.js +3 -8
- package/dist/browser/Config/index.js.map +1 -1
- package/dist/browser/ForecastingMethod.d.cts +6 -0
- package/dist/browser/ForecastingMethod.d.cts.map +1 -0
- package/dist/browser/Payload/Forecast.d.cts +6 -0
- package/dist/browser/Payload/Forecast.d.cts.map +1 -0
- package/dist/browser/Payload/Payload.d.cts +14 -0
- package/dist/browser/Payload/Payload.d.cts.map +1 -0
- package/dist/browser/Payload/Payload.js +3 -6
- package/dist/browser/Payload/Payload.js.map +1 -1
- package/dist/browser/Payload/index.d.cts +3 -0
- package/dist/browser/Payload/index.d.cts.map +1 -0
- package/dist/browser/Payload/index.js +2 -10
- package/dist/browser/Payload/index.js.map +1 -1
- package/dist/browser/PayloadValueTransformer.d.cts +3 -0
- package/dist/browser/PayloadValueTransformer.d.cts.map +1 -0
- package/dist/browser/Query.d.cts +12 -0
- package/dist/browser/Query.d.cts.map +1 -0
- package/dist/browser/Query.js +3 -6
- package/dist/browser/Query.js.map +1 -1
- package/dist/browser/Schema.d.cts +3 -0
- package/dist/browser/Schema.d.cts.map +1 -0
- package/dist/browser/Schema.js +1 -2
- package/dist/browser/Schema.js.map +1 -1
- package/dist/browser/index.d.cts +7 -0
- package/dist/browser/index.d.cts.map +1 -0
- package/dist/browser/index.js +6 -21
- package/dist/browser/index.js.map +1 -1
- package/dist/docs.json +1711 -0
- package/dist/node/Config/Config.d.cts +12 -0
- package/dist/node/Config/Config.d.cts.map +1 -0
- package/dist/node/Config/Config.js +8 -2
- package/dist/node/Config/Config.js.map +1 -1
- package/dist/node/Config/Config.mjs +5 -2
- package/dist/node/Config/Config.mjs.map +1 -1
- package/dist/node/Config/ForecastingSettings.d.cts +9 -0
- package/dist/node/Config/ForecastingSettings.d.cts.map +1 -0
- package/dist/node/Config/ForecastingSettings.js +2 -0
- package/dist/node/Config/ForecastingSettings.js.map +1 -1
- package/dist/node/Config/TransformerSettings.d.cts +4 -0
- package/dist/node/Config/TransformerSettings.d.cts.map +1 -0
- package/dist/node/Config/TransformerSettings.js +2 -0
- package/dist/node/Config/TransformerSettings.js.map +1 -1
- package/dist/node/Config/index.d.cts +4 -0
- package/dist/node/Config/index.d.cts.map +1 -0
- package/dist/node/Config/index.js +16 -7
- package/dist/node/Config/index.js.map +1 -1
- package/dist/node/Config/index.mjs +8 -3
- package/dist/node/Config/index.mjs.map +1 -1
- package/dist/node/ForecastingMethod.d.cts +6 -0
- package/dist/node/ForecastingMethod.d.cts.map +1 -0
- package/dist/node/ForecastingMethod.js +2 -0
- package/dist/node/ForecastingMethod.js.map +1 -1
- package/dist/node/Payload/Forecast.d.cts +6 -0
- package/dist/node/Payload/Forecast.d.cts.map +1 -0
- package/dist/node/Payload/Forecast.js +2 -0
- package/dist/node/Payload/Forecast.js.map +1 -1
- package/dist/node/Payload/Payload.d.cts +14 -0
- package/dist/node/Payload/Payload.d.cts.map +1 -0
- package/dist/node/Payload/Payload.js +9 -3
- package/dist/node/Payload/Payload.js.map +1 -1
- package/dist/node/Payload/Payload.mjs +6 -3
- package/dist/node/Payload/Payload.mjs.map +1 -1
- package/dist/node/Payload/index.d.cts +3 -0
- package/dist/node/Payload/index.d.cts.map +1 -0
- package/dist/node/Payload/index.js +19 -5
- package/dist/node/Payload/index.js.map +1 -1
- package/dist/node/Payload/index.mjs +10 -2
- package/dist/node/Payload/index.mjs.map +1 -1
- package/dist/node/PayloadValueTransformer.d.cts +3 -0
- package/dist/node/PayloadValueTransformer.d.cts.map +1 -0
- package/dist/node/PayloadValueTransformer.js +2 -0
- package/dist/node/PayloadValueTransformer.js.map +1 -1
- package/dist/node/Query.d.cts +12 -0
- package/dist/node/Query.d.cts.map +1 -0
- package/dist/node/Query.js +9 -3
- package/dist/node/Query.js.map +1 -1
- package/dist/node/Query.mjs +6 -3
- package/dist/node/Query.mjs.map +1 -1
- package/dist/node/Schema.d.cts +3 -0
- package/dist/node/Schema.d.cts.map +1 -0
- package/dist/node/Schema.js +3 -1
- package/dist/node/Schema.js.map +1 -1
- package/dist/node/Schema.mjs +2 -1
- package/dist/node/Schema.mjs.map +1 -1
- package/dist/node/index.d.cts +7 -0
- package/dist/node/index.d.cts.map +1 -0
- package/dist/node/index.js +34 -13
- package/dist/node/index.js.map +1 -1
- package/dist/node/index.mjs +21 -6
- package/dist/node/index.mjs.map +1 -1
- package/package.json +8 -8
package/dist/node/index.js
CHANGED
|
@@ -3,6 +3,10 @@ var __defProp = Object.defineProperty;
|
|
|
3
3
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
4
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
5
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
6
10
|
var __copyProps = (to, from, except, desc) => {
|
|
7
11
|
if (from && typeof from === "object" || typeof from === "function") {
|
|
8
12
|
for (let key of __getOwnPropNames(from))
|
|
@@ -11,23 +15,40 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
11
15
|
}
|
|
12
16
|
return to;
|
|
13
17
|
};
|
|
14
|
-
var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
|
|
15
18
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
|
|
20
|
+
// src/index.ts
|
|
16
21
|
var src_exports = {};
|
|
22
|
+
__export(src_exports, {
|
|
23
|
+
ForecastPayloadSchema: () => ForecastPayloadSchema,
|
|
24
|
+
ForecastingDivinerConfigSchema: () => ForecastingDivinerConfigSchema,
|
|
25
|
+
ForecastingDivinerQuerySchema: () => ForecastingDivinerQuerySchema,
|
|
26
|
+
ForecastingDivinerSchema: () => ForecastingDivinerSchema,
|
|
27
|
+
isForecastPayload: () => isForecastPayload,
|
|
28
|
+
isForecastingDivinerQueryPayload: () => isForecastingDivinerQueryPayload
|
|
29
|
+
});
|
|
17
30
|
module.exports = __toCommonJS(src_exports);
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
31
|
+
|
|
32
|
+
// src/Schema.ts
|
|
33
|
+
var ForecastingDivinerSchema = "network.xyo.diviner.forecasting";
|
|
34
|
+
|
|
35
|
+
// src/Config/Config.ts
|
|
36
|
+
var ForecastingDivinerConfigSchema = `${ForecastingDivinerSchema}.config`;
|
|
37
|
+
|
|
38
|
+
// src/Payload/Payload.ts
|
|
39
|
+
var ForecastPayloadSchema = `${ForecastingDivinerSchema}.forecast`;
|
|
40
|
+
var isForecastPayload = (x) => (x == null ? void 0 : x.schema) === ForecastPayloadSchema;
|
|
41
|
+
|
|
42
|
+
// src/Query.ts
|
|
43
|
+
var ForecastingDivinerQuerySchema = `${ForecastingDivinerSchema}.query`;
|
|
44
|
+
var isForecastingDivinerQueryPayload = (x) => (x == null ? void 0 : x.schema) === ForecastingDivinerQuerySchema;
|
|
24
45
|
// Annotate the CommonJS export names for ESM import in node:
|
|
25
46
|
0 && (module.exports = {
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
47
|
+
ForecastPayloadSchema,
|
|
48
|
+
ForecastingDivinerConfigSchema,
|
|
49
|
+
ForecastingDivinerQuerySchema,
|
|
50
|
+
ForecastingDivinerSchema,
|
|
51
|
+
isForecastPayload,
|
|
52
|
+
isForecastingDivinerQueryPayload
|
|
32
53
|
});
|
|
33
54
|
//# sourceMappingURL=index.js.map
|
package/dist/node/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/index.ts"],"sourcesContent":["export * from './Config'\nexport * from './ForecastingMethod'\nexport * from './Payload'\nexport * from './PayloadValueTransformer'\nexport * from './Query'\nexport * from './Schema'\n"],"mappings":"
|
|
1
|
+
{"version":3,"sources":["../../src/index.ts","../../src/Schema.ts","../../src/Config/Config.ts","../../src/Payload/Payload.ts","../../src/Query.ts"],"sourcesContent":["export * from './Config'\nexport * from './ForecastingMethod'\nexport * from './Payload'\nexport * from './PayloadValueTransformer'\nexport * from './Query'\nexport * from './Schema'\n","export type ForecastingDivinerSchema = 'network.xyo.diviner.forecasting'\nexport const ForecastingDivinerSchema: ForecastingDivinerSchema = 'network.xyo.diviner.forecasting'\n","import { DivinerConfig } from '@xyo-network/diviner-model'\nimport { ModuleFilter } from '@xyo-network/module-model'\n\nimport { ForecastingDivinerSchema } from '../Schema'\nimport { ForecastingSettings } from './ForecastingSettings'\nimport { TransformerSettings } from './TransformerSettings'\n\nexport type ForecastingDivinerConfigSchema = `${ForecastingDivinerSchema}.config`\nexport const ForecastingDivinerConfigSchema: ForecastingDivinerConfigSchema = `${ForecastingDivinerSchema}.config`\n\nexport type ForecastingDivinerConfig = DivinerConfig<\n {\n boundWitnessDiviner?: ModuleFilter\n schema: ForecastingDivinerConfigSchema\n } & ForecastingSettings &\n TransformerSettings\n>\n","import { Payload } from '@xyo-network/payload-model'\n\nimport { ForecastingDivinerSchema } from '../Schema'\nimport { Forecast } from './Forecast'\n\nexport type ForecastPayloadSchema = `${ForecastingDivinerSchema}.forecast`\nexport const ForecastPayloadSchema: ForecastPayloadSchema = `${ForecastingDivinerSchema}.forecast`\n\nexport type ForecastPayload = Payload<{\n schema: ForecastPayloadSchema\n values: Forecast[]\n}>\nexport const isForecastPayload = (x?: Payload | null): x is ForecastPayload => x?.schema === ForecastPayloadSchema\n","import { Payload, Query } from '@xyo-network/payload-model'\n\nimport { ForecastingSettings } from './Config'\nimport { ForecastingDivinerSchema } from './Schema'\n\nexport type ForecastingDivinerQuerySchema = `${ForecastingDivinerSchema}.query`\nexport const ForecastingDivinerQuerySchema: ForecastingDivinerQuerySchema = `${ForecastingDivinerSchema}.query`\n\nexport type ForecastingDivinerQueryPayload = Query<{ schema: ForecastingDivinerQuerySchema } & Partial<ForecastingSettings>>\nexport const isForecastingDivinerQueryPayload = (x?: Payload | null): x is ForecastingDivinerQueryPayload =>\n x?.schema === ForecastingDivinerQuerySchema\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACCO,IAAM,2BAAqD;;;ACO3D,IAAM,iCAAiE,GAAG,wBAAwB;;;ACFlG,IAAM,wBAA+C,GAAG,wBAAwB;AAMhF,IAAM,oBAAoB,CAAC,OAA6C,uBAAG,YAAW;;;ACNtF,IAAM,gCAA+D,GAAG,wBAAwB;AAGhG,IAAM,mCAAmC,CAAC,OAC/C,uBAAG,YAAW;","names":[]}
|
package/dist/node/index.mjs
CHANGED
|
@@ -1,7 +1,22 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
// src/Schema.ts
|
|
2
|
+
var ForecastingDivinerSchema = "network.xyo.diviner.forecasting";
|
|
3
|
+
|
|
4
|
+
// src/Config/Config.ts
|
|
5
|
+
var ForecastingDivinerConfigSchema = `${ForecastingDivinerSchema}.config`;
|
|
6
|
+
|
|
7
|
+
// src/Payload/Payload.ts
|
|
8
|
+
var ForecastPayloadSchema = `${ForecastingDivinerSchema}.forecast`;
|
|
9
|
+
var isForecastPayload = (x) => (x == null ? void 0 : x.schema) === ForecastPayloadSchema;
|
|
10
|
+
|
|
11
|
+
// src/Query.ts
|
|
12
|
+
var ForecastingDivinerQuerySchema = `${ForecastingDivinerSchema}.query`;
|
|
13
|
+
var isForecastingDivinerQueryPayload = (x) => (x == null ? void 0 : x.schema) === ForecastingDivinerQuerySchema;
|
|
14
|
+
export {
|
|
15
|
+
ForecastPayloadSchema,
|
|
16
|
+
ForecastingDivinerConfigSchema,
|
|
17
|
+
ForecastingDivinerQuerySchema,
|
|
18
|
+
ForecastingDivinerSchema,
|
|
19
|
+
isForecastPayload,
|
|
20
|
+
isForecastingDivinerQueryPayload
|
|
21
|
+
};
|
|
7
22
|
//# sourceMappingURL=index.mjs.map
|
package/dist/node/index.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/
|
|
1
|
+
{"version":3,"sources":["../../src/Schema.ts","../../src/Config/Config.ts","../../src/Payload/Payload.ts","../../src/Query.ts"],"sourcesContent":["export type ForecastingDivinerSchema = 'network.xyo.diviner.forecasting'\nexport const ForecastingDivinerSchema: ForecastingDivinerSchema = 'network.xyo.diviner.forecasting'\n","import { DivinerConfig } from '@xyo-network/diviner-model'\nimport { ModuleFilter } from '@xyo-network/module-model'\n\nimport { ForecastingDivinerSchema } from '../Schema'\nimport { ForecastingSettings } from './ForecastingSettings'\nimport { TransformerSettings } from './TransformerSettings'\n\nexport type ForecastingDivinerConfigSchema = `${ForecastingDivinerSchema}.config`\nexport const ForecastingDivinerConfigSchema: ForecastingDivinerConfigSchema = `${ForecastingDivinerSchema}.config`\n\nexport type ForecastingDivinerConfig = DivinerConfig<\n {\n boundWitnessDiviner?: ModuleFilter\n schema: ForecastingDivinerConfigSchema\n } & ForecastingSettings &\n TransformerSettings\n>\n","import { Payload } from '@xyo-network/payload-model'\n\nimport { ForecastingDivinerSchema } from '../Schema'\nimport { Forecast } from './Forecast'\n\nexport type ForecastPayloadSchema = `${ForecastingDivinerSchema}.forecast`\nexport const ForecastPayloadSchema: ForecastPayloadSchema = `${ForecastingDivinerSchema}.forecast`\n\nexport type ForecastPayload = Payload<{\n schema: ForecastPayloadSchema\n values: Forecast[]\n}>\nexport const isForecastPayload = (x?: Payload | null): x is ForecastPayload => x?.schema === ForecastPayloadSchema\n","import { Payload, Query } from '@xyo-network/payload-model'\n\nimport { ForecastingSettings } from './Config'\nimport { ForecastingDivinerSchema } from './Schema'\n\nexport type ForecastingDivinerQuerySchema = `${ForecastingDivinerSchema}.query`\nexport const ForecastingDivinerQuerySchema: ForecastingDivinerQuerySchema = `${ForecastingDivinerSchema}.query`\n\nexport type ForecastingDivinerQueryPayload = Query<{ schema: ForecastingDivinerQuerySchema } & Partial<ForecastingSettings>>\nexport const isForecastingDivinerQueryPayload = (x?: Payload | null): x is ForecastingDivinerQueryPayload =>\n x?.schema === ForecastingDivinerQuerySchema\n"],"mappings":";AACO,IAAM,2BAAqD;;;ACO3D,IAAM,iCAAiE,GAAG,wBAAwB;;;ACFlG,IAAM,wBAA+C,GAAG,wBAAwB;AAMhF,IAAM,oBAAoB,CAAC,OAA6C,uBAAG,YAAW;;;ACNtF,IAAM,gCAA+D,GAAG,wBAAwB;AAGhG,IAAM,mCAAmC,CAAC,OAC/C,uBAAG,YAAW;","names":[]}
|
package/package.json
CHANGED
|
@@ -10,14 +10,14 @@
|
|
|
10
10
|
"url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js/issues"
|
|
11
11
|
},
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"@xyo-network/diviner-model": "~2.75.
|
|
14
|
-
"@xyo-network/module-model": "~2.75.
|
|
15
|
-
"@xyo-network/payload-model": "~2.75.
|
|
16
|
-
"@xyo-network/promise": "~2.75.
|
|
13
|
+
"@xyo-network/diviner-model": "~2.75.2",
|
|
14
|
+
"@xyo-network/module-model": "~2.75.2",
|
|
15
|
+
"@xyo-network/payload-model": "~2.75.2",
|
|
16
|
+
"@xyo-network/promise": "~2.75.2"
|
|
17
17
|
},
|
|
18
18
|
"devDependencies": {
|
|
19
|
-
"@xylabs/ts-scripts-yarn3": "^3.0.
|
|
20
|
-
"@xylabs/tsconfig": "^3.0.
|
|
19
|
+
"@xylabs/ts-scripts-yarn3": "^3.0.77",
|
|
20
|
+
"@xylabs/tsconfig": "^3.0.77",
|
|
21
21
|
"typescript": "^5.2.2"
|
|
22
22
|
},
|
|
23
23
|
"description": "Primary SDK for using XYO Protocol 2.0",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
".": {
|
|
28
28
|
"browser": {
|
|
29
29
|
"require": {
|
|
30
|
-
"types": "./dist/browser/index.d.
|
|
30
|
+
"types": "./dist/browser/index.d.cts",
|
|
31
31
|
"default": "./dist/browser/index.cjs"
|
|
32
32
|
},
|
|
33
33
|
"import": {
|
|
@@ -63,5 +63,5 @@
|
|
|
63
63
|
"url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js.git"
|
|
64
64
|
},
|
|
65
65
|
"sideEffects": false,
|
|
66
|
-
"version": "2.75.
|
|
66
|
+
"version": "2.75.2"
|
|
67
67
|
}
|