@xyo-network/node-system-info-payload-plugin 3.4.3 → 3.4.5

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.
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/Plugin.ts","../../src/Schema.ts","../../src/Template.ts"],"sourcesContent":["import { createPayloadPlugin } from '@xyo-network/payload-plugin'\n\nimport { 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","export type NodeSystemInfoSchema = 'network.xyo.system.info.node'\nexport const NodeSystemInfoSchema: NodeSystemInfoSchema = 'network.xyo.system.info.node'\n","import { 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"],"mappings":";AAAA,SAAS,2BAA2B;;;ACC7B,IAAM,uBAA6C;;;ACE1D,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;;;AFf5F,IAAM,8BAA8B,MACzC,oBAA2C;AAAA,EACzC,QAAQ;AAAA,EACR,UAAU;AACZ,CAAC;","names":[]}
1
+ {"version":3,"sources":["../../src/Plugin.ts","../../src/Schema.ts","../../src/Template.ts"],"sourcesContent":["import { createPayloadPlugin } from '@xyo-network/payload-plugin'\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","export type NodeSystemInfoSchema = 'network.xyo.system.info.node'\nexport const NodeSystemInfoSchema: NodeSystemInfoSchema = 'network.xyo.system.info.node'\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"],"mappings":";AAAA,SAAS,2BAA2B;;;ACC7B,IAAM,uBAA6C;;;ACE1D,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;;;AFf5F,IAAM,8BAA8B,MACzC,oBAA2C;AAAA,EACzC,QAAQ;AAAA,EACR,UAAU;AACZ,CAAC;","names":[]}
@@ -0,0 +1,7 @@
1
+ import type { Payload } from '@xyo-network/payload-model';
2
+ import type { NodeSystemInfoSchema } from './Schema.ts';
3
+ export type NodeSystemInfoPayload = Payload<{
4
+ schema: NodeSystemInfoSchema;
5
+ systeminfo?: Record<string, unknown>;
6
+ }>;
7
+ //# sourceMappingURL=Payload.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Payload.d.ts","sourceRoot":"","sources":["../../src/Payload.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAEzD,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,aAAa,CAAA;AAEvD,MAAM,MAAM,qBAAqB,GAAG,OAAO,CAAC;IAC1C,MAAM,EAAE,oBAAoB,CAAA;IAC5B,UAAU,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;CACrC,CAAC,CAAA"}
@@ -1,3 +1,3 @@
1
- import { NodeSystemInfoPayload } from './Payload.ts';
1
+ import type { NodeSystemInfoPayload } from './Payload.ts';
2
2
  export declare const NodeSystemInfoPayloadPlugin: () => import("@xyo-network/payload-plugin").PayloadPlugin<NodeSystemInfoPayload>;
3
3
  //# sourceMappingURL=Plugin.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Plugin.d.ts","sourceRoot":"","sources":["../../src/Plugin.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,cAAc,CAAA;AAIzD,eAAO,MAAM,2BAA2B,kFAIpC,CAAA"}
@@ -1,4 +1,4 @@
1
- import { NodeSystemInfoPayload } from './Payload.ts';
1
+ import type { NodeSystemInfoPayload } from './Payload.ts';
2
2
  declare const defaultSystemInfoConfig: () => {
3
3
  audio: string;
4
4
  battery: string;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Template.d.ts","sourceRoot":"","sources":["../../src/Template.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,cAAc,CAAA;AAGzD,QAAA,MAAM,uBAAuB;;;;;;;;;;;;;;CAgB5B,CAAA;AAED,QAAA,MAAM,6BAA6B,QAAO,qBAA2D,CAAA;AAErG,OAAO,EAAE,uBAAuB,EAAE,6BAA6B,EAAE,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xyo-network/node-system-info-payload-plugin",
3
- "version": "3.4.3",
3
+ "version": "3.4.5",
4
4
  "description": "Typescript/Javascript Plugins for XYO Platform",
5
5
  "homepage": "https://xyo.network",
6
6
  "bugs": {
@@ -21,23 +21,23 @@
21
21
  "type": "module",
22
22
  "exports": {
23
23
  ".": {
24
- "types": "./dist/neutral/index.d.ts",
24
+ "types": "./dist/types/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/neutral/index.d.ts",
30
+ "types": "dist/types/index.d.ts",
31
31
  "dependencies": {
32
- "@xyo-network/payload-model": "^3.9.23",
33
- "@xyo-network/payload-plugin": "^3.9.23"
32
+ "@xyo-network/payload-model": "^3.10.6",
33
+ "@xyo-network/payload-plugin": "^3.10.6"
34
34
  },
35
35
  "devDependencies": {
36
- "@xylabs/ts-scripts-yarn3": "^5.0.39",
37
- "@xylabs/tsconfig": "^5.0.39",
38
- "@xylabs/vitest-extended": "^4.5.1",
36
+ "@xylabs/ts-scripts-yarn3": "^6.1.13",
37
+ "@xylabs/tsconfig": "^6.1.13",
38
+ "@xylabs/vitest-extended": "^4.7.13",
39
39
  "typescript": "^5.8.2",
40
- "vitest": "^3.0.7"
40
+ "vitest": "^3.0.9"
41
41
  },
42
42
  "publishConfig": {
43
43
  "access": "public"
package/src/Payload.ts CHANGED
@@ -1,6 +1,6 @@
1
- import { Payload } from '@xyo-network/payload-model'
1
+ import type { Payload } from '@xyo-network/payload-model'
2
2
 
3
- import { NodeSystemInfoSchema } from './Schema.ts'
3
+ import type { NodeSystemInfoSchema } from './Schema.ts'
4
4
 
5
5
  export type NodeSystemInfoPayload = Payload<{
6
6
  schema: NodeSystemInfoSchema
package/src/Plugin.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { createPayloadPlugin } from '@xyo-network/payload-plugin'
2
2
 
3
- import { NodeSystemInfoPayload } from './Payload.ts'
3
+ import type { NodeSystemInfoPayload } from './Payload.ts'
4
4
  import { NodeSystemInfoSchema } from './Schema.ts'
5
5
  import { systemInfoNodeWitnessTemplate } from './Template.ts'
6
6
 
package/src/Template.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { NodeSystemInfoPayload } from './Payload.ts'
1
+ import type { NodeSystemInfoPayload } from './Payload.ts'
2
2
  import { NodeSystemInfoSchema } from './Schema.ts'
3
3
 
4
4
  const defaultSystemInfoConfig = () => {
package/xy.config.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { XyTsupConfig } from '@xylabs/ts-scripts-yarn3'
1
+ import type { XyTsupConfig } from '@xylabs/ts-scripts-yarn3'
2
2
  const config: XyTsupConfig = {
3
3
  compile: {
4
4
  browser: {},
@@ -1,7 +0,0 @@
1
- import { Payload } from '@xyo-network/payload-model';
2
- import { NodeSystemInfoSchema } from './Schema.ts';
3
- export type NodeSystemInfoPayload = Payload<{
4
- schema: NodeSystemInfoSchema;
5
- systeminfo?: Record<string, unknown>;
6
- }>;
7
- //# sourceMappingURL=Payload.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Payload.d.ts","sourceRoot":"","sources":["../../src/Payload.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAEpD,OAAO,EAAE,oBAAoB,EAAE,MAAM,aAAa,CAAA;AAElD,MAAM,MAAM,qBAAqB,GAAG,OAAO,CAAC;IAC1C,MAAM,EAAE,oBAAoB,CAAA;IAC5B,UAAU,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;CACrC,CAAC,CAAA"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"Plugin.d.ts","sourceRoot":"","sources":["../../src/Plugin.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,qBAAqB,EAAE,MAAM,cAAc,CAAA;AAIpD,eAAO,MAAM,2BAA2B,kFAIpC,CAAA"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"Template.d.ts","sourceRoot":"","sources":["../../src/Template.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,cAAc,CAAA;AAGpD,QAAA,MAAM,uBAAuB;;;;;;;;;;;;;;CAgB5B,CAAA;AAED,QAAA,MAAM,6BAA6B,QAAO,qBAA2D,CAAA;AAErG,OAAO,EAAE,uBAAuB,EAAE,6BAA6B,EAAE,CAAA"}
File without changes
File without changes
File without changes
File without changes