@xyo-network/diviner-forecasting-memory 2.73.4 → 2.74.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.
package/dist/index.d.mts CHANGED
@@ -1,20 +1,2 @@
1
- import { ForecastingDivinerParams, AbstractForecastingDiviner } from '@xyo-network/diviner-forecasting-abstract';
2
- import { arimaForecastingName, seasonalArimaForecastingName } from '@xyo-network/diviner-forecasting-method-arima';
3
- import { ForecastingMethod, PayloadValueTransformer } from '@xyo-network/diviner-forecasting-model';
4
- import { Payload } from '@xyo-network/payload-model';
5
-
6
- type SupportedForecastingType = typeof arimaForecastingName | typeof seasonalArimaForecastingName;
7
- declare class MemoryForecastingDiviner<TParams extends ForecastingDivinerParams = ForecastingDivinerParams> extends AbstractForecastingDiviner<TParams> {
8
- static configSchemas: "network.xyo.diviner.forecasting.config"[];
9
- protected static readonly forecastingMethodDict: Record<SupportedForecastingType, ForecastingMethod>;
10
- /**
11
- * The max number of records to search during the batch query
12
- */
13
- protected readonly batchLimit = 1000;
14
- protected readonly maxTrainingLength = 10000;
15
- protected get forecastingMethod(): ForecastingMethod;
16
- protected get transformer(): PayloadValueTransformer;
17
- protected getPayloadsInWindow(startTimestamp: number, stopTimestamp: number): Promise<Payload[]>;
18
- }
19
-
20
- export { MemoryForecastingDiviner, SupportedForecastingType };
1
+ export * from './MemoryForecastingDiviner';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,4BAA4B,CAAA"}
package/dist/index.d.ts CHANGED
@@ -1,20 +1,2 @@
1
- import { ForecastingDivinerParams, AbstractForecastingDiviner } from '@xyo-network/diviner-forecasting-abstract';
2
- import { arimaForecastingName, seasonalArimaForecastingName } from '@xyo-network/diviner-forecasting-method-arima';
3
- import { ForecastingMethod, PayloadValueTransformer } from '@xyo-network/diviner-forecasting-model';
4
- import { Payload } from '@xyo-network/payload-model';
5
-
6
- type SupportedForecastingType = typeof arimaForecastingName | typeof seasonalArimaForecastingName;
7
- declare class MemoryForecastingDiviner<TParams extends ForecastingDivinerParams = ForecastingDivinerParams> extends AbstractForecastingDiviner<TParams> {
8
- static configSchemas: "network.xyo.diviner.forecasting.config"[];
9
- protected static readonly forecastingMethodDict: Record<SupportedForecastingType, ForecastingMethod>;
10
- /**
11
- * The max number of records to search during the batch query
12
- */
13
- protected readonly batchLimit = 1000;
14
- protected readonly maxTrainingLength = 10000;
15
- protected get forecastingMethod(): ForecastingMethod;
16
- protected get transformer(): PayloadValueTransformer;
17
- protected getPayloadsInWindow(startTimestamp: number, stopTimestamp: number): Promise<Payload[]>;
18
- }
19
-
20
- export { MemoryForecastingDiviner, SupportedForecastingType };
1
+ export * from './MemoryForecastingDiviner';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,4BAA4B,CAAA"}
package/package.json CHANGED
@@ -10,30 +10,24 @@
10
10
  "url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js/issues"
11
11
  },
12
12
  "dependencies": {
13
- "@xylabs/assert": "^2.10.16",
14
- "@xylabs/exists": "^2.10.16",
15
- "@xyo-network/archivist-model": "~2.73.4",
16
- "@xyo-network/boundwitness-model": "~2.73.4",
17
- "@xyo-network/diviner-boundwitness-model": "~2.73.4",
18
- "@xyo-network/diviner-forecasting-abstract": "~2.73.4",
19
- "@xyo-network/diviner-forecasting-method-arima": "~2.73.4",
20
- "@xyo-network/diviner-forecasting-model": "~2.73.4",
21
- "@xyo-network/diviner-model": "~2.73.4",
22
- "@xyo-network/payload-model": "~2.73.4",
13
+ "@xylabs/assert": "^2.11.6",
14
+ "@xylabs/exists": "^2.11.6",
15
+ "@xyo-network/archivist-model": "~2.74.1",
16
+ "@xyo-network/boundwitness-model": "~2.74.1",
17
+ "@xyo-network/diviner-boundwitness-model": "~2.74.1",
18
+ "@xyo-network/diviner-forecasting-abstract": "~2.74.1",
19
+ "@xyo-network/diviner-forecasting-method-arima": "~2.74.1",
20
+ "@xyo-network/diviner-forecasting-model": "~2.74.1",
21
+ "@xyo-network/diviner-model": "~2.74.1",
22
+ "@xyo-network/payload-model": "~2.74.1",
23
23
  "jsonpath": "^1.1.1"
24
24
  },
25
25
  "devDependencies": {
26
- "@types/jsonpath": "^0.2.0",
27
- "@xylabs/ts-scripts-yarn3": "^2.19.12",
28
- "@xylabs/tsconfig": "^2.19.12",
29
- "publint": "^0.2.2",
30
- "tsup": "^7.2.0",
26
+ "@types/jsonpath": "^0.2.1",
27
+ "@xylabs/ts-scripts-yarn3": "^3.0.28",
28
+ "@xylabs/tsconfig": "^3.0.28",
31
29
  "typescript": "^5.2.2"
32
30
  },
33
- "scripts": {
34
- "package-compile": "tsup && publint",
35
- "package-recompile": "tsup && publint"
36
- },
37
31
  "description": "Primary SDK for using XYO Protocol 2.0",
38
32
  "docs": "dist/docs.json",
39
33
  "types": "dist/index.d.ts",
@@ -74,5 +68,5 @@
74
68
  "url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js.git"
75
69
  },
76
70
  "sideEffects": false,
77
- "version": "2.73.4"
71
+ "version": "2.74.1"
78
72
  }
package/tsup.config.ts DELETED
@@ -1,16 +0,0 @@
1
- import { defineConfig } from 'tsup'
2
-
3
- // eslint-disable-next-line import/no-default-export
4
- export default defineConfig({
5
- bundle: true,
6
- cjsInterop: true,
7
- clean: false,
8
- dts: {
9
- entry: ['src/index.ts'],
10
- },
11
- entry: ['src/index.ts'],
12
- format: ['cjs', 'esm'],
13
- sourcemap: true,
14
- splitting: false,
15
- tsconfig: 'tsconfig.json',
16
- })