@xyo-network/diviner-payload-stats-model 5.3.20 → 5.3.24

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xyo-network/diviner-payload-stats-model",
3
- "version": "5.3.20",
3
+ "version": "5.3.24",
4
4
  "description": "Primary SDK for using XYO Protocol 2.0",
5
5
  "homepage": "https://xyo.network",
6
6
  "bugs": {
@@ -30,23 +30,31 @@
30
30
  "types": "dist/neutral/index.d.ts",
31
31
  "files": [
32
32
  "dist",
33
- "src",
34
33
  "!**/*.bench.*",
35
34
  "!**/*.spec.*",
36
- "!**/*.test.*"
35
+ "!**/*.test.*",
36
+ "README.md"
37
37
  ],
38
38
  "dependencies": {
39
- "@xyo-network/diviner-model": "~5.3.20",
40
- "@xyo-network/module-model": "~5.3.20",
41
- "@xyo-network/payload-model": "~5.3.20"
39
+ "@xyo-network/diviner-model": "~5.3.24",
40
+ "@xyo-network/module-model": "~5.3.24",
41
+ "@xyo-network/payload-model": "~5.3.24"
42
42
  },
43
43
  "devDependencies": {
44
- "@xylabs/sdk-js": "^5.0.90",
45
- "@xylabs/ts-scripts-common": "~7.5.6",
46
- "@xylabs/ts-scripts-yarn3": "~7.5.6",
47
- "@xylabs/tsconfig": "~7.5.6",
44
+ "@opentelemetry/api": "^1.9.1",
45
+ "@types/node": "^25.5.0",
46
+ "@xylabs/sdk-js": "^5.0.93",
47
+ "@xylabs/ts-scripts-common": "~7.6.16",
48
+ "@xylabs/ts-scripts-pnpm": "~7.6.16",
49
+ "@xylabs/tsconfig": "~7.6.16",
50
+ "acorn": "^8.16.0",
51
+ "axios": "^1.14.0",
52
+ "esbuild": "^0.28.0",
48
53
  "typescript": "~5.9.3",
49
- "zod": "^4.3.6"
54
+ "zod": "^4.3.6",
55
+ "@xyo-network/diviner-model": "~5.3.24",
56
+ "@xyo-network/module-model": "~5.3.24",
57
+ "@xyo-network/payload-model": "~5.3.24"
50
58
  },
51
59
  "peerDependencies": {
52
60
  "@xylabs/sdk-js": "^5",
@@ -55,4 +63,4 @@
55
63
  "publishConfig": {
56
64
  "access": "public"
57
65
  }
58
- }
66
+ }
package/src/Config.ts DELETED
@@ -1,13 +0,0 @@
1
- import type { DivinerConfig } from '@xyo-network/diviner-model'
2
- import { asSchema, type Payload } from '@xyo-network/payload-model'
3
-
4
- import { PayloadStatsDivinerSchema } from './Schema.ts'
5
-
6
- export const PayloadStatsDivinerConfigSchema = asSchema(`${PayloadStatsDivinerSchema}.config`, true)
7
- export type PayloadStatsDivinerConfigSchema = typeof PayloadStatsDivinerConfigSchema
8
-
9
- export type PayloadStatsDivinerConfig<T extends Payload = Payload> = DivinerConfig<
10
- T & {
11
- schema: PayloadStatsDivinerConfigSchema
12
- }
13
- >
package/src/Params.ts DELETED
@@ -1,6 +0,0 @@
1
- import type { DivinerParams } from '@xyo-network/diviner-model'
2
- import type { AnyConfigSchema } from '@xyo-network/module-model'
3
-
4
- import type { PayloadStatsDivinerConfig } from './Config.ts'
5
-
6
- export type PayloadStatsDivinerParams = DivinerParams<AnyConfigSchema<PayloadStatsDivinerConfig>>
package/src/Payload.ts DELETED
@@ -1,6 +0,0 @@
1
- import type { Payload } from '@xyo-network/payload-model'
2
-
3
- import { PayloadStatsDivinerSchema } from './Schema.ts'
4
-
5
- export type PayloadStatsPayload = Payload<{ count: number; schema: PayloadStatsDivinerSchema }>
6
- export const isPayloadStatsPayload = (x?: Payload | null): x is PayloadStatsPayload => x?.schema === PayloadStatsDivinerSchema
package/src/Query.ts DELETED
@@ -1,11 +0,0 @@
1
- import {
2
- asSchema, type Payload, type Query,
3
- } from '@xyo-network/payload-model'
4
-
5
- import { PayloadStatsDivinerSchema } from './Schema.ts'
6
-
7
- export const PayloadStatsQuerySchema = asSchema(`${PayloadStatsDivinerSchema}.query`, true)
8
- export type PayloadStatsQuerySchema = typeof PayloadStatsQuerySchema
9
-
10
- export type PayloadStatsQueryPayload = Query<{ schema: PayloadStatsQuerySchema }>
11
- export const isPayloadStatsQueryPayload = (x?: Payload | null): x is PayloadStatsQueryPayload => x?.schema === PayloadStatsQuerySchema
package/src/Schema.ts DELETED
@@ -1,4 +0,0 @@
1
- import { asSchema } from '@xyo-network/payload-model'
2
-
3
- export const PayloadStatsDivinerSchema = asSchema('network.xyo.diviner.payload.stats', true)
4
- export type PayloadStatsDivinerSchema = typeof PayloadStatsDivinerSchema
package/src/index.ts DELETED
@@ -1,5 +0,0 @@
1
- export * from './Config.ts'
2
- export * from './Params.ts'
3
- export * from './Payload.ts'
4
- export * from './Query.ts'
5
- export * from './Schema.ts'