@xyo-network/node-system-info-payload-plugin 5.3.1 → 5.3.3

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/node-system-info-payload-plugin",
3
- "version": "5.3.1",
3
+ "version": "5.3.3",
4
4
  "description": "Typescript/Javascript Plugins for XYO Platform",
5
5
  "homepage": "https://xyo.network",
6
6
  "bugs": {
@@ -30,21 +30,26 @@
30
30
  "types": "dist/neutral/index.d.ts",
31
31
  "files": [
32
32
  "dist",
33
- "src",
34
- "!**/*.bench.*",
35
- "!**/*.spec.*",
36
- "!**/*.test.*"
33
+ "README.md"
37
34
  ],
38
- "dependencies": {
39
- "@xyo-network/payload-model": "~5.3.2",
40
- "@xyo-network/payload-plugin": "~5.3.2"
41
- },
42
35
  "devDependencies": {
43
- "@xylabs/ts-scripts-yarn3": "~7.3.2",
44
- "@xylabs/tsconfig": "~7.3.2",
45
- "@xylabs/vitest-extended": "~5.0.64",
36
+ "@xylabs/sdk-js": "^5.0.90",
37
+ "@xylabs/ts-scripts-common": "~7.5.10",
38
+ "@xylabs/ts-scripts-yarn3": "~7.5.10",
39
+ "@xylabs/tsconfig": "~7.5.10",
40
+ "@xylabs/vitest-extended": "~5.0.90",
41
+ "@xyo-network/payload-model": "~5.3.5",
42
+ "@xyo-network/payload-plugin": "~5.3.5",
46
43
  "typescript": "~5.9.3",
47
- "vitest": "~4.0.18"
44
+ "vitest": "~4.1.2",
45
+ "zod": "^4.3.6"
46
+ },
47
+ "peerDependencies": {
48
+ "@xylabs/sdk-js": "^5",
49
+ "@xylabs/vitest-extended": "^5",
50
+ "@xyo-network/payload-model": "^5",
51
+ "@xyo-network/payload-plugin": "^5",
52
+ "zod": "^4"
48
53
  },
49
54
  "publishConfig": {
50
55
  "access": "public"
package/src/Payload.ts DELETED
@@ -1,8 +0,0 @@
1
- import type { Payload } from '@xyo-network/payload-model'
2
-
3
- import type { NodeSystemInfoSchema } from './Schema.ts'
4
-
5
- export type NodeSystemInfoPayload = Payload<{
6
- schema: NodeSystemInfoSchema
7
- systeminfo?: Record<string, unknown>
8
- }>
package/src/Plugin.ts DELETED
@@ -1,11 +0,0 @@
1
- import { createPayloadPlugin } from '@xyo-network/payload-plugin'
2
-
3
- import type { NodeSystemInfoPayload } from './Payload.ts'
4
- import { NodeSystemInfoSchema } from './Schema.ts'
5
- import { systemInfoNodeWitnessTemplate } from './Template.ts'
6
-
7
- export const NodeSystemInfoPayloadPlugin = () =>
8
- createPayloadPlugin<NodeSystemInfoPayload>({
9
- schema: NodeSystemInfoSchema,
10
- template: systemInfoNodeWitnessTemplate,
11
- })
package/src/Schema.ts DELETED
@@ -1,4 +0,0 @@
1
- import { asSchema } from '@xyo-network/payload-model'
2
-
3
- export type NodeSystemInfoSchema = typeof NodeSystemInfoSchema
4
- export const NodeSystemInfoSchema = asSchema('network.xyo.system.info.node', true)
package/src/Template.ts DELETED
@@ -1,24 +0,0 @@
1
- import type { NodeSystemInfoPayload } from './Payload.ts'
2
- import { NodeSystemInfoSchema } from './Schema.ts'
3
-
4
- const defaultSystemInfoConfig = () => {
5
- return {
6
- audio: '*',
7
- battery: '*',
8
- bluetooth: '*',
9
- cpu: '*',
10
- diskLayout: '*',
11
- graphics: '*',
12
- mem: '*',
13
- networkInterfaces: '*',
14
- osInfo: '*',
15
- printer: '*',
16
- system: '*',
17
- usb: '*',
18
- wifiInterfaces: '*',
19
- }
20
- }
21
-
22
- const systemInfoNodeWitnessTemplate = (): NodeSystemInfoPayload => ({ schema: NodeSystemInfoSchema })
23
-
24
- export { defaultSystemInfoConfig, systemInfoNodeWitnessTemplate }
package/src/index.ts DELETED
@@ -1,4 +0,0 @@
1
- export * from './Payload.ts'
2
- export { NodeSystemInfoPayloadPlugin as default, NodeSystemInfoPayloadPlugin } from './Plugin.ts'
3
- export * from './Schema.ts'
4
- export * from './Template.ts'