@xyo-network/value-payload-plugin 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/value-payload-plugin",
3
- "version": "5.3.20",
3
+ "version": "5.3.24",
4
4
  "description": "Typescript/Javascript Plugins for XYO Platform",
5
5
  "homepage": "https://xyo.network",
6
6
  "bugs": {
@@ -30,22 +30,28 @@
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/payload-model": "~5.3.20",
40
- "@xyo-network/payload-plugin": "~5.3.20"
39
+ "@xyo-network/payload-plugin": "~5.3.24",
40
+ "@xyo-network/payload-model": "~5.3.24"
41
41
  },
42
42
  "devDependencies": {
43
- "@xylabs/sdk-js": "^5.0.90",
44
- "@xylabs/ts-scripts-common": "~7.5.6",
45
- "@xylabs/ts-scripts-yarn3": "~7.5.6",
46
- "@xylabs/tsconfig": "~7.5.6",
47
- "@xylabs/vitest-extended": "~5.0.90",
43
+ "@opentelemetry/api": "^1.9.1",
44
+ "@types/node": "^25.5.0",
45
+ "@xylabs/sdk-js": "^5.0.93",
46
+ "@xylabs/ts-scripts-common": "~7.6.16",
47
+ "@xylabs/ts-scripts-pnpm": "~7.6.16",
48
+ "@xylabs/tsconfig": "~7.6.16",
49
+ "@xylabs/vitest-extended": "~5.0.93",
50
+ "acorn": "^8.16.0",
51
+ "axios": "^1.14.0",
52
+ "esbuild": "^0.28.0",
48
53
  "typescript": "~5.9.3",
54
+ "vite": "^8.0.3",
49
55
  "vitest": "~4.1.2",
50
56
  "zod": "^4.3.6"
51
57
  },
@@ -56,4 +62,4 @@
56
62
  "publishConfig": {
57
63
  "access": "public"
58
64
  }
59
- }
65
+ }
package/src/Payload.ts DELETED
@@ -1,12 +0,0 @@
1
- import type { JsonValue } from '@xylabs/sdk-js'
2
- import type { Payload } from '@xyo-network/payload-model'
3
- import { isPayloadOfSchemaType } from '@xyo-network/payload-model'
4
-
5
- import { ValueSchema } from './Schema.ts'
6
-
7
- export type Value<T extends JsonValue = JsonValue> = Payload<{
8
- schema: ValueSchema
9
- value: T
10
- }>
11
-
12
- export const isValuePayload = isPayloadOfSchemaType<Value>(ValueSchema)
package/src/Plugin.ts DELETED
@@ -1,11 +0,0 @@
1
- import { createPayloadPlugin } from '@xyo-network/payload-plugin'
2
-
3
- import type { Value } from './Payload.ts'
4
- import { ValueSchema } from './Schema.ts'
5
- import { valuePayloadTemplate } from './Template.ts'
6
-
7
- export const ValuePayloadPlugin = () =>
8
- createPayloadPlugin<Value>({
9
- schema: ValueSchema,
10
- template: valuePayloadTemplate,
11
- })
package/src/Schema.ts DELETED
@@ -1,4 +0,0 @@
1
- import { asSchema } from '@xyo-network/payload-model'
2
-
3
- export const ValueSchema = asSchema('network.xyo.value', true)
4
- export type ValueSchema = typeof ValueSchema
package/src/Template.ts DELETED
@@ -1,7 +0,0 @@
1
- import type { Value } from './Payload.ts'
2
- import { ValueSchema } from './Schema.ts'
3
-
4
- export const valuePayloadTemplate = (): Value => ({
5
- schema: ValueSchema,
6
- value: null,
7
- })
package/src/index.ts DELETED
@@ -1,4 +0,0 @@
1
- export * from './Payload.ts'
2
- export { ValuePayloadPlugin as default, ValuePayloadPlugin } from './Plugin.ts'
3
- export * from './Schema.ts'
4
- export * from './Template.ts'