@xyo-network/node-system-info-payload-plugin 7.0.1 → 7.0.2

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.
@@ -19,7 +19,7 @@ export declare const asNodeSystemInfoPayload: {
19
19
  };
20
20
  systeminfo?: Record<string, unknown> | undefined;
21
21
  }) | undefined;
22
- <T>(value: T, assert: import("@xylabs/sdk").ZodFactoryConfig): T & {
22
+ <T>(value: T, assert: import("@ariestools/sdk").ZodFactoryConfig): T & {
23
23
  schema: "network.xyo.system.info.node" & {
24
24
  readonly __schema: true;
25
25
  };
@@ -33,7 +33,7 @@ export declare const toNodeSystemInfoPayload: {
33
33
  };
34
34
  systeminfo?: Record<string, unknown> | undefined;
35
35
  }) | undefined;
36
- <T>(value: T, assert: import("@xylabs/sdk").ZodFactoryConfig): T & {
36
+ <T>(value: T, assert: import("@ariestools/sdk").ZodFactoryConfig): T & {
37
37
  schema: "network.xyo.system.info.node" & {
38
38
  readonly __schema: true;
39
39
  };
@@ -3,7 +3,7 @@ import {
3
3
  zodAsFactory,
4
4
  zodIsFactory,
5
5
  zodToFactory
6
- } from "@xylabs/sdk";
6
+ } from "@ariestools/sdk";
7
7
  import { PayloadZodOfSchema } from "@xyo-network/sdk";
8
8
  import * as z from "zod/mini";
9
9
 
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/Payload.ts", "../../src/Schema.ts", "../../src/Plugin.ts", "../../src/Template.ts"],
4
- "sourcesContent": ["import {\n zodAsFactory, zodIsFactory, zodToFactory,\n} from '@xylabs/sdk'\nimport { PayloadZodOfSchema } from '@xyo-network/sdk'\nimport * as z from 'zod/mini'\n\nimport { NodeSystemInfoSchema } from './Schema.ts'\n\nexport const NodeSystemInfoPayloadZod = z.extend(PayloadZodOfSchema(NodeSystemInfoSchema), { systeminfo: z.optional(z.record(z.string(), z.unknown())) })\n\nexport type NodeSystemInfoPayload = z.infer<typeof NodeSystemInfoPayloadZod>\n\nexport const isNodeSystemInfoPayload = zodIsFactory(NodeSystemInfoPayloadZod)\nexport const asNodeSystemInfoPayload = zodAsFactory(NodeSystemInfoPayloadZod, 'asNodeSystemInfoPayload')\nexport const toNodeSystemInfoPayload = zodToFactory(NodeSystemInfoPayloadZod, 'toNodeSystemInfoPayload')\n", "import { asSchema } from '@xyo-network/sdk'\n\nexport type NodeSystemInfoSchema = typeof NodeSystemInfoSchema\nexport const NodeSystemInfoSchema = asSchema('network.xyo.system.info.node', true)\n", "import { createPayloadPlugin } from '@xyo-network/sdk'\n\nimport type { NodeSystemInfoPayload } from './Payload.ts'\nimport { NodeSystemInfoSchema } from './Schema.ts'\nimport { systemInfoNodeWitnessTemplate } from './Template.ts'\n\nexport const NodeSystemInfoPayloadPlugin = () =>\n createPayloadPlugin<NodeSystemInfoPayload>({\n schema: NodeSystemInfoSchema,\n template: systemInfoNodeWitnessTemplate,\n })\n", "import type { NodeSystemInfoPayload } from './Payload.ts'\nimport { NodeSystemInfoSchema } from './Schema.ts'\n\nconst defaultSystemInfoConfig = () => {\n return {\n audio: '*',\n battery: '*',\n bluetooth: '*',\n cpu: '*',\n diskLayout: '*',\n graphics: '*',\n mem: '*',\n networkInterfaces: '*',\n osInfo: '*',\n printer: '*',\n system: '*',\n usb: '*',\n wifiInterfaces: '*',\n }\n}\n\nconst systemInfoNodeWitnessTemplate = (): NodeSystemInfoPayload => ({ schema: NodeSystemInfoSchema })\n\nexport { defaultSystemInfoConfig, systemInfoNodeWitnessTemplate }\n"],
4
+ "sourcesContent": ["import {\n zodAsFactory, zodIsFactory, zodToFactory,\n} from '@ariestools/sdk'\nimport { PayloadZodOfSchema } from '@xyo-network/sdk'\nimport * as z from 'zod/mini'\n\nimport { NodeSystemInfoSchema } from './Schema.ts'\n\nexport const NodeSystemInfoPayloadZod = z.extend(PayloadZodOfSchema(NodeSystemInfoSchema), { systeminfo: z.optional(z.record(z.string(), z.unknown())) })\n\nexport type NodeSystemInfoPayload = z.infer<typeof NodeSystemInfoPayloadZod>\n\nexport const isNodeSystemInfoPayload = zodIsFactory(NodeSystemInfoPayloadZod)\nexport const asNodeSystemInfoPayload = zodAsFactory(NodeSystemInfoPayloadZod, 'asNodeSystemInfoPayload')\nexport const toNodeSystemInfoPayload = zodToFactory(NodeSystemInfoPayloadZod, 'toNodeSystemInfoPayload')\n", "import { asSchema } from '@xyo-network/sdk'\n\nexport type NodeSystemInfoSchema = typeof NodeSystemInfoSchema\nexport const NodeSystemInfoSchema = asSchema('network.xyo.system.info.node', true)\n", "import { createPayloadPlugin } from '@xyo-network/sdk'\n\nimport type { NodeSystemInfoPayload } from './Payload.ts'\nimport { NodeSystemInfoSchema } from './Schema.ts'\nimport { systemInfoNodeWitnessTemplate } from './Template.ts'\n\nexport const NodeSystemInfoPayloadPlugin = () =>\n createPayloadPlugin<NodeSystemInfoPayload>({\n schema: NodeSystemInfoSchema,\n template: systemInfoNodeWitnessTemplate,\n })\n", "import type { NodeSystemInfoPayload } from './Payload.ts'\nimport { NodeSystemInfoSchema } from './Schema.ts'\n\nconst defaultSystemInfoConfig = () => {\n return {\n audio: '*',\n battery: '*',\n bluetooth: '*',\n cpu: '*',\n diskLayout: '*',\n graphics: '*',\n mem: '*',\n networkInterfaces: '*',\n osInfo: '*',\n printer: '*',\n system: '*',\n usb: '*',\n wifiInterfaces: '*',\n }\n}\n\nconst systemInfoNodeWitnessTemplate = (): NodeSystemInfoPayload => ({ schema: NodeSystemInfoSchema })\n\nexport { defaultSystemInfoConfig, systemInfoNodeWitnessTemplate }\n"],
5
5
  "mappings": ";AAAA;AAAA,EACE;AAAA,EAAc;AAAA,EAAc;AAAA,OACvB;AACP,SAAS,0BAA0B;AACnC,YAAY,OAAO;;;ACJnB,SAAS,gBAAgB;AAGlB,IAAM,uBAAuB,SAAS,gCAAgC,IAAI;;;ADK1E,IAAM,2BAA6B,SAAO,mBAAmB,oBAAoB,GAAG,EAAE,YAAc,WAAW,SAAS,SAAO,GAAK,UAAQ,CAAC,CAAC,EAAE,CAAC;AAIjJ,IAAM,0BAA0B,aAAa,wBAAwB;AACrE,IAAM,0BAA0B,aAAa,0BAA0B,yBAAyB;AAChG,IAAM,0BAA0B,aAAa,0BAA0B,yBAAyB;;;AEdvG,SAAS,2BAA2B;;;ACGpC,IAAM,0BAA0B,MAAM;AACpC,SAAO;AAAA,IACL,OAAO;AAAA,IACP,SAAS;AAAA,IACT,WAAW;AAAA,IACX,KAAK;AAAA,IACL,YAAY;AAAA,IACZ,UAAU;AAAA,IACV,KAAK;AAAA,IACL,mBAAmB;AAAA,IACnB,QAAQ;AAAA,IACR,SAAS;AAAA,IACT,QAAQ;AAAA,IACR,KAAK;AAAA,IACL,gBAAgB;AAAA,EAClB;AACF;AAEA,IAAM,gCAAgC,OAA8B,EAAE,QAAQ,qBAAqB;;;ADf5F,IAAM,8BAA8B,MACzC,oBAA2C;AAAA,EACzC,QAAQ;AAAA,EACR,UAAU;AACZ,CAAC;",
6
6
  "names": []
7
7
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xyo-network/node-system-info-payload-plugin",
3
- "version": "7.0.1",
3
+ "version": "7.0.2",
4
4
  "description": "Typescript/Javascript Plugins for XYO Platform",
5
5
  "homepage": "https://xyo.network",
6
6
  "bugs": {
@@ -31,19 +31,20 @@
31
31
  "README.md"
32
32
  ],
33
33
  "devDependencies": {
34
+ "@ariestools/sdk": "^7.0.5",
34
35
  "@bitauth/libauth": "~3.0.0",
35
36
  "@noble/post-quantum": "~0.6.1",
36
37
  "@opentelemetry/api": "^1.9.1",
37
38
  "@opentelemetry/sdk-trace-base": "^2.8.0",
38
39
  "@scure/base": "^2.2.0",
39
40
  "@scure/bip39": "~2.2.0",
40
- "@xylabs/geo": "^7.0.1",
41
- "@xylabs/sdk": "^7.0.1",
42
- "@xylabs/threads": "^7.0.1",
43
- "@xylabs/toolchain": "~8.5.3",
44
- "@xylabs/tsconfig": "~8.5.3",
45
- "@xylabs/vitest-extended": "^7.0.1",
46
- "@xyo-network/sdk": "~7.0.3",
41
+ "@xylabs/geo": "^7.0.5",
42
+ "@xylabs/threads": "^7.0.5",
43
+ "@xylabs/toolchain": "~8.5.15",
44
+ "@xylabs/tsconfig": "~8.5.15",
45
+ "@xylabs/vitest-extended": "^7.0.5",
46
+ "@xyo-network/sdk": "~7.0.5",
47
+ "@xyo-network/sdk-protocol": "^7.0.8",
47
48
  "ajv": "^8.20.0",
48
49
  "async-mutex": "^0.5.0",
49
50
  "browserslist": "4.28.4",
@@ -56,11 +57,12 @@
56
57
  "lru-cache": "^11.5.1",
57
58
  "observable-fns": "~0.6.1",
58
59
  "typescript": "~6.0.3",
59
- "vite": "^8.1.0",
60
+ "vite": "^8.1.2",
60
61
  "vitest": "^4.1.9",
61
62
  "zod": "^4.4.3"
62
63
  },
63
64
  "peerDependencies": {
65
+ "@ariestools/sdk": "^7.0",
64
66
  "@bitauth/libauth": "~3.0",
65
67
  "@noble/post-quantum": "~0.6.1",
66
68
  "@opentelemetry/api": "^1.9",
@@ -68,9 +70,9 @@
68
70
  "@scure/base": "^2.2",
69
71
  "@scure/bip39": "~2.2",
70
72
  "@xylabs/geo": "^7.0",
71
- "@xylabs/sdk": "^7.0",
72
73
  "@xylabs/threads": "^7.0",
73
74
  "@xyo-network/sdk": "~7.0",
75
+ "@xyo-network/sdk-protocol": "^7.0",
74
76
  "ajv": "^8.20",
75
77
  "async-mutex": "^0.5",
76
78
  "debug": "~4.4",