@xyo-network/diviner-forecasting-model 6.0.3 → 6.1.0
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/README.md +3 -1
- package/dist/neutral/Config/Config.d.ts.map +1 -1
- package/dist/neutral/Payload/Payload.d.ts.map +1 -1
- package/dist/neutral/Query.d.ts.map +1 -1
- package/dist/neutral/Schema.d.ts +1 -1
- package/dist/neutral/Schema.d.ts.map +1 -1
- package/dist/neutral/index.mjs.map +2 -2
- package/package.json +13 -16
package/README.md
CHANGED
|
@@ -38,10 +38,12 @@ bun add {{name}}
|
|
|
38
38
|
|
|
39
39
|
See the [LICENSE](LICENSE) file for license rights and limitations (LGPL-3.0-only).
|
|
40
40
|
|
|
41
|
+
## Credits
|
|
41
42
|
|
|
43
|
+
[Made with 🔥 and ❄️ by XYO Foundation](https://xyo.network)
|
|
42
44
|
|
|
43
|
-
[logo]: https://cdn.xy.company/img/brand/XYO_full_colored.png
|
|
44
45
|
[npm-badge]: https://img.shields.io/npm/v/@xyo-network/diviner-forecasting-model.svg
|
|
45
46
|
[npm-link]: https://www.npmjs.com/package/@xyo-network/diviner-forecasting-model
|
|
46
47
|
[license-badge]: https://img.shields.io/npm/l/@xyo-network/diviner-forecasting-model.svg
|
|
47
48
|
[license-link]: https://github.com/xylabs/sdk-js/blob/main/LICENSE
|
|
49
|
+
[logo]: https://cdn.xy.company/img/brand/XYO_full_colored.png
|
|
@@ -1 +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;AAC/D,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAA;AAIjE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAA;AACnE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAA;AAEnE,eAAO,MAAM,8BAA8B
|
|
1
|
+
{"version":3,"file":"Config.d.ts","sourceRoot":"","sources":["../../../src/Config/Config.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAA;AAC/D,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAA;AAIjE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAA;AACnE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAA;AAEnE,eAAO,MAAM,8BAA8B,EAAE,MAAM,GAAG;IACpD,QAAQ,CAAC,QAAQ,EAAE,IAAI,CAAA;CAC+B,CAAA;AACxD,MAAM,MAAM,8BAA8B,GAAG,OAAO,8BAA8B,CAAA;AAElF,MAAM,MAAM,wBAAwB,GAAG,aAAa,CAClD;IACE,mBAAmB,CAAC,EAAE,gBAAgB,CAAA;IACtC,MAAM,EAAE,8BAA8B,CAAA;CACvC,GAAG,mBAAmB,GACrB,mBAAmB,CACtB,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Payload.d.ts","sourceRoot":"","sources":["../../../src/Payload/Payload.ts"],"names":[],"mappings":"AAAA,OAAO,EAAY,KAAK,OAAO,EAAE,MAAM,8BAA8B,CAAA;AAGrE,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAA;AAE7C,eAAO,MAAM,qBAAqB
|
|
1
|
+
{"version":3,"file":"Payload.d.ts","sourceRoot":"","sources":["../../../src/Payload/Payload.ts"],"names":[],"mappings":"AAAA,OAAO,EAAY,KAAK,OAAO,EAAE,MAAM,8BAA8B,CAAA;AAGrE,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAA;AAE7C,eAAO,MAAM,qBAAqB,EAAE,MAAM,GAAG;IAC3C,QAAQ,CAAC,QAAQ,EAAE,IAAI,CAAA;CACiC,CAAA;AAC1D,MAAM,MAAM,qBAAqB,GAAG,OAAO,qBAAqB,CAAA;AAEhE,MAAM,MAAM,eAAe,GAAG,OAAO,CAAC;IACpC,MAAM,EAAE,qBAAqB,CAAA;IAC7B,OAAO,EAAE,MAAM,EAAE,CAAA;IACjB,MAAM,EAAE,QAAQ,EAAE,CAAA;CACnB,CAAC,CAAA;AACF,eAAO,MAAM,iBAAiB,GAAI,IAAI,OAAO,GAAG,IAAI,KAAG,CAAC,IAAI,eAAsD,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Query.d.ts","sourceRoot":"","sources":["../../src/Query.ts"],"names":[],"mappings":"AAAA,OAAO,EACK,KAAK,OAAO,EAAE,KAAK,KAAK,EACnC,MAAM,8BAA8B,CAAA;AAErC,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAA;AAG5D,eAAO,MAAM,6BAA6B
|
|
1
|
+
{"version":3,"file":"Query.d.ts","sourceRoot":"","sources":["../../src/Query.ts"],"names":[],"mappings":"AAAA,OAAO,EACK,KAAK,OAAO,EAAE,KAAK,KAAK,EACnC,MAAM,8BAA8B,CAAA;AAErC,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAA;AAG5D,eAAO,MAAM,6BAA6B,EAAE,MAAM,GAAG;IACnD,QAAQ,CAAC,QAAQ,EAAE,IAAI,CAAA;CAC8B,CAAA;AACvD,MAAM,MAAM,6BAA6B,GAAG,OAAO,6BAA6B,CAAA;AAEhF,MAAM,MAAM,8BAA8B,GAAG,KAAK,CAAC;IAAE,MAAM,EAAE,6BAA6B,CAAA;CAAE,GAAG,OAAO,CAAC,mBAAmB,CAAC,CAAC,CAAA;AAC5H,eAAO,MAAM,gCAAgC,GAAI,IAAI,OAAO,GAAG,IAAI,KAAG,CAAC,IAAI,8BAC9B,CAAA"}
|
package/dist/neutral/Schema.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const ForecastingDivinerSchema:
|
|
1
|
+
export declare const ForecastingDivinerSchema: 'network.xyo.diviner.forecasting' & {
|
|
2
2
|
readonly __schema: true;
|
|
3
3
|
};
|
|
4
4
|
export type ForecastingDivinerSchema = typeof ForecastingDivinerSchema;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Schema.d.ts","sourceRoot":"","sources":["../../src/Schema.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,wBAAwB
|
|
1
|
+
{"version":3,"file":"Schema.d.ts","sourceRoot":"","sources":["../../src/Schema.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,wBAAwB,EAAE,iCAAiC,GAAG;IACzE,QAAQ,CAAC,QAAQ,EAAE,IAAI,CAAA;CAC4B,CAAA;AACrD,MAAM,MAAM,wBAAwB,GAAG,OAAO,wBAAwB,CAAA"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/Config/Config.ts", "../../src/Schema.ts", "../../src/Payload/Payload.ts", "../../src/Query.ts"],
|
|
4
|
-
"sourcesContent": ["import type { DivinerConfig } from '@xyo-network/diviner-model'\nimport type { ModuleIdentifier } from '@xyo-network/module-model'\nimport { asSchema } from '@xyo-network/sdk-protocol-js'\n\nimport { ForecastingDivinerSchema } from '../Schema.ts'\nimport type { ForecastingSettings } from './ForecastingSettings.ts'\nimport type { TransformerSettings } from './TransformerSettings.ts'\n\nexport const ForecastingDivinerConfigSchema = asSchema(`${ForecastingDivinerSchema}.config`, true)\nexport type ForecastingDivinerConfigSchema = typeof ForecastingDivinerConfigSchema\n\nexport type ForecastingDivinerConfig = DivinerConfig<\n {\n boundWitnessDiviner?: ModuleIdentifier\n schema: ForecastingDivinerConfigSchema\n } & ForecastingSettings\n & TransformerSettings\n>\n", "import { asSchema } from '@xyo-network/sdk-protocol-js'\n\nexport const ForecastingDivinerSchema = asSchema('network.xyo.diviner.forecasting', true)\nexport type ForecastingDivinerSchema = typeof ForecastingDivinerSchema\n", "import { asSchema, type Payload } from '@xyo-network/sdk-protocol-js'\n\nimport { ForecastingDivinerSchema } from '../Schema.ts'\nimport type { Forecast } from './Forecast.ts'\n\nexport const ForecastPayloadSchema = asSchema(`${ForecastingDivinerSchema}.forecast`, true)\nexport type ForecastPayloadSchema = typeof ForecastPayloadSchema\n\nexport type ForecastPayload = Payload<{\n schema: ForecastPayloadSchema\n sources: string[]\n values: Forecast[]\n}>\nexport const isForecastPayload = (x?: Payload | null): x is ForecastPayload => x?.schema === ForecastPayloadSchema\n", "import {\n asSchema, type Payload, type Query,\n} from '@xyo-network/sdk-protocol-js'\n\nimport type { ForecastingSettings } from './Config/index.ts'\nimport { ForecastingDivinerSchema } from './Schema.ts'\n\nexport const ForecastingDivinerQuerySchema = asSchema(`${ForecastingDivinerSchema}.query`, true)\nexport type ForecastingDivinerQuerySchema = typeof ForecastingDivinerQuerySchema\n\nexport type ForecastingDivinerQueryPayload = Query<{ schema: ForecastingDivinerQuerySchema } & Partial<ForecastingSettings>>\nexport const isForecastingDivinerQueryPayload = (x?: Payload | null): x is ForecastingDivinerQueryPayload =>\n x?.schema === ForecastingDivinerQuerySchema\n"],
|
|
5
|
-
"mappings": ";AAEA,SAAS,YAAAA,iBAAgB;;;ACFzB,SAAS,gBAAgB;AAElB,IAAM,
|
|
4
|
+
"sourcesContent": ["import type { DivinerConfig } from '@xyo-network/diviner-model'\nimport type { ModuleIdentifier } from '@xyo-network/module-model'\nimport { asSchema } from '@xyo-network/sdk-protocol-js'\n\nimport { ForecastingDivinerSchema } from '../Schema.ts'\nimport type { ForecastingSettings } from './ForecastingSettings.ts'\nimport type { TransformerSettings } from './TransformerSettings.ts'\n\nexport const ForecastingDivinerConfigSchema: string & {\n readonly __schema: true\n} = asSchema(`${ForecastingDivinerSchema}.config`, true)\nexport type ForecastingDivinerConfigSchema = typeof ForecastingDivinerConfigSchema\n\nexport type ForecastingDivinerConfig = DivinerConfig<\n {\n boundWitnessDiviner?: ModuleIdentifier\n schema: ForecastingDivinerConfigSchema\n } & ForecastingSettings\n & TransformerSettings\n>\n", "import { asSchema } from '@xyo-network/sdk-protocol-js'\n\nexport const ForecastingDivinerSchema: 'network.xyo.diviner.forecasting' & {\n readonly __schema: true\n} = asSchema('network.xyo.diviner.forecasting', true)\nexport type ForecastingDivinerSchema = typeof ForecastingDivinerSchema\n", "import { asSchema, type Payload } from '@xyo-network/sdk-protocol-js'\n\nimport { ForecastingDivinerSchema } from '../Schema.ts'\nimport type { Forecast } from './Forecast.ts'\n\nexport const ForecastPayloadSchema: string & {\n readonly __schema: true\n} = asSchema(`${ForecastingDivinerSchema}.forecast`, true)\nexport type ForecastPayloadSchema = typeof ForecastPayloadSchema\n\nexport type ForecastPayload = Payload<{\n schema: ForecastPayloadSchema\n sources: string[]\n values: Forecast[]\n}>\nexport const isForecastPayload = (x?: Payload | null): x is ForecastPayload => x?.schema === ForecastPayloadSchema\n", "import {\n asSchema, type Payload, type Query,\n} from '@xyo-network/sdk-protocol-js'\n\nimport type { ForecastingSettings } from './Config/index.ts'\nimport { ForecastingDivinerSchema } from './Schema.ts'\n\nexport const ForecastingDivinerQuerySchema: string & {\n readonly __schema: true\n} = asSchema(`${ForecastingDivinerSchema}.query`, true)\nexport type ForecastingDivinerQuerySchema = typeof ForecastingDivinerQuerySchema\n\nexport type ForecastingDivinerQueryPayload = Query<{ schema: ForecastingDivinerQuerySchema } & Partial<ForecastingSettings>>\nexport const isForecastingDivinerQueryPayload = (x?: Payload | null): x is ForecastingDivinerQueryPayload =>\n x?.schema === ForecastingDivinerQuerySchema\n"],
|
|
5
|
+
"mappings": ";AAEA,SAAS,YAAAA,iBAAgB;;;ACFzB,SAAS,gBAAgB;AAElB,IAAM,2BAET,SAAS,mCAAmC,IAAI;;;ADI7C,IAAM,iCAETC,UAAS,GAAG,wBAAwB,WAAW,IAAI;;;AEVvD,SAAS,YAAAC,iBAA8B;AAKhC,IAAM,wBAETC,UAAS,GAAG,wBAAwB,aAAa,IAAI;AAQlD,IAAM,oBAAoB,CAAC,MAA6C,GAAG,WAAW;;;ACf7F;AAAA,EACE,YAAAC;AAAA,OACK;AAKA,IAAM,gCAETC,UAAS,GAAG,wBAAwB,UAAU,IAAI;AAI/C,IAAM,mCAAmC,CAAC,MAC/C,GAAG,WAAW;",
|
|
6
6
|
"names": ["asSchema", "asSchema", "asSchema", "asSchema", "asSchema", "asSchema"]
|
|
7
7
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xyo-network/diviner-forecasting-model",
|
|
3
|
-
"version": "6.0
|
|
3
|
+
"version": "6.1.0",
|
|
4
4
|
"description": "Primary SDK for using XYO Protocol 2.0",
|
|
5
5
|
"homepage": "https://xyo.network",
|
|
6
6
|
"bugs": {
|
|
@@ -34,8 +34,8 @@
|
|
|
34
34
|
"README.md"
|
|
35
35
|
],
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@xyo-network/diviner-model": "~6.0
|
|
38
|
-
"@xyo-network/module-model": "~6.0
|
|
37
|
+
"@xyo-network/diviner-model": "~6.1.0",
|
|
38
|
+
"@xyo-network/module-model": "~6.1.0"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
41
|
"@bitauth/libauth": "~3.0.0",
|
|
@@ -45,23 +45,20 @@
|
|
|
45
45
|
"@opentelemetry/sdk-trace-base": "^2.7.1",
|
|
46
46
|
"@scure/base": "~2.2.0",
|
|
47
47
|
"@scure/bip39": "~2.2.0",
|
|
48
|
-
"@xylabs/geo": "^6.0
|
|
49
|
-
"@xylabs/sdk-js": "^6.0
|
|
50
|
-
"@xylabs/threads": "^6.0
|
|
51
|
-
"@xylabs/toolchain": "
|
|
52
|
-
"@xylabs/tsconfig": "
|
|
53
|
-
"@xyo-network/sdk-protocol-js": "
|
|
48
|
+
"@xylabs/geo": "^6.1.0",
|
|
49
|
+
"@xylabs/sdk-js": "^6.1.0",
|
|
50
|
+
"@xylabs/threads": "^6.1.0",
|
|
51
|
+
"@xylabs/toolchain": "^8.1.20",
|
|
52
|
+
"@xylabs/tsconfig": "^8.1.20",
|
|
53
|
+
"@xyo-network/sdk-protocol-js": "^6.1.0",
|
|
54
54
|
"ajv": "^8.20.0",
|
|
55
55
|
"async-mutex": "^0.5.0",
|
|
56
|
-
"bn.js": "^5.2.3",
|
|
57
|
-
"buffer": "^6.0.3",
|
|
58
56
|
"debug": "~4.4.3",
|
|
59
57
|
"eslint": "^10.4.1",
|
|
60
58
|
"ethers": "^6.16.0",
|
|
61
59
|
"hash-wasm": "~4.12.0",
|
|
62
60
|
"idb": "^8.0.3",
|
|
63
61
|
"observable-fns": "~0.6.1",
|
|
64
|
-
"pako": "~2.1.0",
|
|
65
62
|
"typescript": "~6.0.3",
|
|
66
63
|
"webextension-polyfill": "^0.12.0",
|
|
67
64
|
"zod": "^4.4.3"
|
|
@@ -77,20 +74,20 @@
|
|
|
77
74
|
"@xylabs/geo": "^6.0",
|
|
78
75
|
"@xylabs/sdk-js": "^6.0",
|
|
79
76
|
"@xylabs/threads": "^6.0",
|
|
80
|
-
"@xyo-network/sdk-protocol-js": "
|
|
77
|
+
"@xyo-network/sdk-protocol-js": "^6.1",
|
|
81
78
|
"ajv": "^8.20",
|
|
82
79
|
"async-mutex": "^0.5",
|
|
83
|
-
"bn.js": "^5.2",
|
|
84
|
-
"buffer": "^6.0",
|
|
85
80
|
"debug": "~4.4",
|
|
86
81
|
"ethers": "^6.16",
|
|
87
82
|
"hash-wasm": "~4.12",
|
|
88
83
|
"idb": "^8.0",
|
|
89
84
|
"observable-fns": "~0.6",
|
|
90
|
-
"pako": "~2.1",
|
|
91
85
|
"webextension-polyfill": "^0.12",
|
|
92
86
|
"zod": "^4.4"
|
|
93
87
|
},
|
|
88
|
+
"engines": {
|
|
89
|
+
"node": "^24"
|
|
90
|
+
},
|
|
94
91
|
"publishConfig": {
|
|
95
92
|
"access": "public"
|
|
96
93
|
}
|