@xyo-network/value-payload-plugin 4.0.2 → 4.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.
@@ -0,0 +1,19 @@
1
+ import { JsonValue } from '@xylabs/object';
2
+ import { Payload } from '@xyo-network/payload-model';
3
+ import * as _xyo_network_payload_plugin from '@xyo-network/payload-plugin';
4
+
5
+ declare const ValueSchema: "network.xyo.value";
6
+ type ValueSchema = typeof ValueSchema;
7
+
8
+ type Value<T extends JsonValue = JsonValue> = Payload<{
9
+ schema: ValueSchema;
10
+ value: T;
11
+ }>;
12
+ declare const isValuePayload: (x?: unknown | null) => x is Value<JsonValue>;
13
+
14
+ declare const ValuePayloadPlugin: () => _xyo_network_payload_plugin.PayloadPlugin<Value>;
15
+
16
+ declare const valuePayloadTemplate: () => Value;
17
+
18
+ export { ValuePayloadPlugin, ValueSchema, ValuePayloadPlugin as default, isValuePayload, valuePayloadTemplate };
19
+ export type { Value };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xyo-network/value-payload-plugin",
3
- "version": "4.0.2",
3
+ "version": "4.1.0",
4
4
  "description": "Typescript/Javascript Plugins for XYO Platform",
5
5
  "homepage": "https://xyo.network",
6
6
  "bugs": {
@@ -21,22 +21,22 @@
21
21
  "type": "module",
22
22
  "exports": {
23
23
  ".": {
24
- "types": "./dist/types/index.d.ts",
24
+ "types": "./dist/neutral/index.d.ts",
25
25
  "default": "./dist/neutral/index.mjs"
26
26
  },
27
27
  "./package.json": "./package.json"
28
28
  },
29
29
  "module": "dist/neutral/index.mjs",
30
- "types": "dist/types/index.d.ts",
30
+ "types": "dist/neutral/index.d.ts",
31
31
  "dependencies": {
32
- "@xylabs/object": "^4.12.33",
33
- "@xyo-network/payload-model": "^4.0.2",
34
- "@xyo-network/payload-plugin": "^4.0.2"
32
+ "@xylabs/object": "^4.13.15",
33
+ "@xyo-network/payload-model": "^4.1.0",
34
+ "@xyo-network/payload-plugin": "^4.1.0"
35
35
  },
36
36
  "devDependencies": {
37
- "@xylabs/ts-scripts-yarn3": "^6.5.12",
38
- "@xylabs/tsconfig": "^6.5.12",
39
- "@xylabs/vitest-extended": "^4.12.33",
37
+ "@xylabs/ts-scripts-yarn3": "^7.0.0-rc.20",
38
+ "@xylabs/tsconfig": "^7.0.0-rc.20",
39
+ "@xylabs/vitest-extended": "^4.13.15",
40
40
  "typescript": "^5.8.3",
41
41
  "vitest": "^3.2.4"
42
42
  },
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes