@xyo-network/node-system-info-plugin 3.4.2 → 3.4.4

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,8 @@
1
+ import type { WitnessConfig } from '@xyo-network/witness-model';
2
+ export type NodeSystemInfoWitnessConfigSchema = 'network.xyo.system.info.witness.node.config';
3
+ export declare const NodeSystemInfoWitnessConfigSchema: NodeSystemInfoWitnessConfigSchema;
4
+ export type NodeSystemInfoWitnessConfig = WitnessConfig<{
5
+ nodeValues?: Record<string, string>;
6
+ schema: NodeSystemInfoWitnessConfigSchema;
7
+ }>;
8
+ //# sourceMappingURL=Config.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Config.d.ts","sourceRoot":"","sources":["../../src/Config.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAA;AAE/D,MAAM,MAAM,iCAAiC,GAAG,6CAA6C,CAAA;AAC7F,eAAO,MAAM,iCAAiC,EAAE,iCAAiF,CAAA;AAEjI,MAAM,MAAM,2BAA2B,GAAG,aAAa,CAAC;IACtD,UAAU,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;IACnC,MAAM,EAAE,iCAAiC,CAAA;CAC1C,CAAC,CAAA"}
@@ -0,0 +1,13 @@
1
+ import { NodeSystemInfoWitness } from './Witness.ts';
2
+ export declare const NodeSystemInfoPlugin: () => import("@xyo-network/payloadset-plugin").PayloadSetWitnessPlugin<NodeSystemInfoWitness<import(".store/@xylabs-object-npm-4.6.0-7a48a8c82f/package").BaseParamsFields & {
3
+ account?: import(".store/@xyo-network-account-model-virtual-89e38357fa/package").AccountInstance | "random";
4
+ addToResolvers?: boolean;
5
+ additionalSigners?: import(".store/@xyo-network-account-model-virtual-89e38357fa/package").AccountInstance[];
6
+ allowNameResolution?: boolean;
7
+ config: import("@xyo-network/module-model").AnyConfigSchema<import("./Config.ts").NodeSystemInfoWitnessConfig>;
8
+ ephemeralQueryAccountEnabled?: boolean;
9
+ moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
10
+ privateChildren?: import("@xyo-network/module-model").ModuleInstance[];
11
+ publicChildren?: import("@xyo-network/module-model").ModuleInstance[];
12
+ }>>;
13
+ //# sourceMappingURL=Plugin.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Plugin.d.ts","sourceRoot":"","sources":["../../src/Plugin.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,qBAAqB,EAAE,MAAM,cAAc,CAAA;AAEpD,eAAO,MAAM,oBAAoB;;;;;;;;;;GAS9B,CAAA"}
@@ -0,0 +1,12 @@
1
+ import { AbstractWitness } from '@xyo-network/abstract-witness';
2
+ import type { AnyConfigSchema } from '@xyo-network/module-model';
3
+ import type { Payload, Schema } from '@xyo-network/payload-model';
4
+ import type { WitnessModule, WitnessParams } from '@xyo-network/witness-model';
5
+ import type { NodeSystemInfoWitnessConfig } from './Config.ts';
6
+ export type NodeSystemInfoWitnessParams = WitnessParams<AnyConfigSchema<NodeSystemInfoWitnessConfig>>;
7
+ export declare class NodeSystemInfoWitness<TParams extends NodeSystemInfoWitnessParams = NodeSystemInfoWitnessParams> extends AbstractWitness<TParams> implements WitnessModule {
8
+ static readonly configSchemas: Schema[];
9
+ static readonly defaultConfigSchema: Schema;
10
+ protected observeHandler(payloads?: Payload[]): Promise<any[]>;
11
+ }
12
+ //# sourceMappingURL=Witness.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Witness.d.ts","sourceRoot":"","sources":["../../src/Witness.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAA;AAC/D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAA;AAEhE,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAA;AACjE,OAAO,KAAK,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAA;AAG9E,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,aAAa,CAAA;AAG9D,MAAM,MAAM,2BAA2B,GAAG,aAAa,CAAC,eAAe,CAAC,2BAA2B,CAAC,CAAC,CAAA;AAErG,qBAAa,qBAAqB,CAAC,OAAO,SAAS,2BAA2B,GAAG,2BAA2B,CAC1G,SAAQ,eAAe,CAAC,OAAO,CAC/B,YAAW,aAAa;IACxB,gBAAyB,aAAa,EAAE,MAAM,EAAE,CAA8D;IAC9G,gBAAyB,mBAAmB,EAAE,MAAM,CAAoC;cAE/D,cAAc,CAAC,QAAQ,CAAC,EAAE,OAAO,EAAE;CAM7D"}
@@ -0,0 +1,4 @@
1
+ export * from './Config.ts';
2
+ export { NodeSystemInfoPlugin as default, NodeSystemInfoPlugin } from './Plugin.ts';
3
+ export * from './Witness.ts';
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAA;AAC3B,OAAO,EAAE,oBAAoB,IAAI,OAAO,EAAE,oBAAoB,EAAE,MAAM,aAAa,CAAA;AACnF,cAAc,cAAc,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xyo-network/node-system-info-plugin",
3
- "version": "3.4.2",
3
+ "version": "3.4.4",
4
4
  "description": "Typescript/Javascript Plugins for XYO Platform",
5
5
  "homepage": "https://xyo.network",
6
6
  "bugs": {
@@ -21,29 +21,29 @@
21
21
  "type": "module",
22
22
  "exports": {
23
23
  ".": {
24
- "types": "./dist/node/index.d.ts",
24
+ "types": "./dist/types/index.d.ts",
25
25
  "default": "./dist/node/index.mjs"
26
26
  },
27
27
  "./package.json": "./package.json"
28
28
  },
29
29
  "module": "dist/node/index.mjs",
30
- "types": "dist/node/index.d.ts",
30
+ "types": "dist/types/index.d.ts",
31
31
  "dependencies": {
32
- "@xyo-network/abstract-witness": "^3.9.16",
33
- "@xyo-network/module-model": "^3.9.16",
34
- "@xyo-network/node-system-info-payload-plugin": "^3.4.2",
35
- "@xyo-network/payload-model": "^3.9.16",
36
- "@xyo-network/payloadset-plugin": "^3.9.16",
37
- "@xyo-network/witness-model": "^3.9.16",
32
+ "@xyo-network/abstract-witness": "^3.9.36",
33
+ "@xyo-network/module-model": "^3.9.36",
34
+ "@xyo-network/node-system-info-payload-plugin": "^3.4.4",
35
+ "@xyo-network/payload-model": "^3.9.36",
36
+ "@xyo-network/payloadset-plugin": "^3.9.36",
37
+ "@xyo-network/witness-model": "^3.9.36",
38
38
  "systeminformation": "^5.25.11"
39
39
  },
40
40
  "devDependencies": {
41
- "@xylabs/ts-scripts-yarn3": "^5.0.24",
42
- "@xylabs/tsconfig": "^5.0.24",
43
- "@xylabs/vitest-extended": "^4.5.1",
44
- "@xyo-network/payload-wrapper": "^3.9.16",
45
- "typescript": "^5.7.3",
46
- "vitest": "^3.0.6"
41
+ "@xylabs/ts-scripts-yarn3": "^6.0.5",
42
+ "@xylabs/tsconfig": "^6.0.5",
43
+ "@xylabs/vitest-extended": "^4.6.0",
44
+ "@xyo-network/payload-wrapper": "^3.9.36",
45
+ "typescript": "^5.8.2",
46
+ "vitest": "^3.0.8"
47
47
  },
48
48
  "publishConfig": {
49
49
  "access": "public"
@@ -1,36 +0,0 @@
1
- import { WitnessConfig, WitnessParams, WitnessModule } from '@xyo-network/witness-model';
2
- import * as _xyo_network_payloadset_plugin from '@xyo-network/payloadset-plugin';
3
- import * as _xyo_network_module_model from '@xyo-network/module-model';
4
- import { AnyConfigSchema } from '@xyo-network/module-model';
5
- import * as _store__xyo_network_account_model_virtual_8ffda77307_package from '.store/@xyo-network-account-model-virtual-8ffda77307/package';
6
- import * as _store__xylabs_object_npm_4_5_1_e31c389195_package from '.store/@xylabs-object-npm-4.5.1-e31c389195/package';
7
- import { AbstractWitness } from '@xyo-network/abstract-witness';
8
- import { Schema, Payload } from '@xyo-network/payload-model';
9
-
10
- type NodeSystemInfoWitnessConfigSchema = 'network.xyo.system.info.witness.node.config';
11
- declare const NodeSystemInfoWitnessConfigSchema: NodeSystemInfoWitnessConfigSchema;
12
- type NodeSystemInfoWitnessConfig = WitnessConfig<{
13
- nodeValues?: Record<string, string>;
14
- schema: NodeSystemInfoWitnessConfigSchema;
15
- }>;
16
-
17
- type NodeSystemInfoWitnessParams = WitnessParams<AnyConfigSchema<NodeSystemInfoWitnessConfig>>;
18
- declare class NodeSystemInfoWitness<TParams extends NodeSystemInfoWitnessParams = NodeSystemInfoWitnessParams> extends AbstractWitness<TParams> implements WitnessModule {
19
- static readonly configSchemas: Schema[];
20
- static readonly defaultConfigSchema: Schema;
21
- protected observeHandler(payloads?: Payload[]): Promise<any[]>;
22
- }
23
-
24
- declare const NodeSystemInfoPlugin: () => _xyo_network_payloadset_plugin.PayloadSetWitnessPlugin<NodeSystemInfoWitness<_store__xylabs_object_npm_4_5_1_e31c389195_package.BaseParamsFields & {
25
- account?: _store__xyo_network_account_model_virtual_8ffda77307_package.AccountInstance | "random";
26
- addToResolvers?: boolean;
27
- additionalSigners?: _store__xyo_network_account_model_virtual_8ffda77307_package.AccountInstance[];
28
- allowNameResolution?: boolean;
29
- config: _xyo_network_module_model.AnyConfigSchema<NodeSystemInfoWitnessConfig>;
30
- ephemeralQueryAccountEnabled?: boolean;
31
- moduleIdentifierTransformers?: _xyo_network_module_model.ModuleIdentifierTransformer[];
32
- privateChildren?: _xyo_network_module_model.ModuleInstance[];
33
- publicChildren?: _xyo_network_module_model.ModuleInstance[];
34
- }>>;
35
-
36
- export { NodeSystemInfoPlugin, NodeSystemInfoWitness, type NodeSystemInfoWitnessConfig, NodeSystemInfoWitnessConfigSchema, type NodeSystemInfoWitnessParams, NodeSystemInfoPlugin as default };