@xyo-network/node-system-info-payload-plugin 2.41.12 → 2.42.1

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,16 +1,5 @@
1
- import { XyoModuleParams } from '@xyo-network/module';
2
- import { PayloadSetWitnessPlugin } from '@xyo-network/payloadset-plugin';
3
- export declare const XyoNodeSystemInfoPlugin: () => PayloadSetWitnessPlugin<XyoModuleParams<import("@xyo-network/payload").SchemaFields & import("@xyo-network/payload").PayloadFields & {
4
- security?: {
5
- allowed?: Record<string, string[][]> | undefined;
6
- disallowed?: Record<string, string[]> | undefined;
7
- } | undefined;
8
- } & {
9
- nodeValues?: Record<string, string> | undefined;
10
- schema: "network.xyo.system.info.witness.node.config";
11
- } & {
12
- targetSet?: (import("@xyo-network/payload").SchemaFields & import("@xyo-network/payload").PayloadFields & import("@xyo-network/payload").PayloadSet & {
13
- schema: "network.xyo.payload.set";
14
- }) | undefined;
15
- }>>;
1
+ export declare const NodeSystemInfoPayloadPlugin: () => import("@xyo-network/payload-plugin").XyoPayloadPlugin<import("@xyo-network/payload").SchemaFields & import("@xyo-network/payload").PayloadFields & {
2
+ schema: "network.xyo.system.info.node";
3
+ systeminfo?: Record<string, unknown> | undefined;
4
+ }>;
16
5
  //# sourceMappingURL=Plugin.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Plugin.d.ts","sourceRoot":"","sources":["../../src/Plugin.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAA;AAErD,OAAO,EAA0B,uBAAuB,EAAE,MAAM,gCAAgC,CAAA;AAMhG,eAAO,MAAM,uBAAuB;;;;;;;;;;;;GASjC,CAAA"}
1
+ {"version":3,"file":"Plugin.d.ts","sourceRoot":"","sources":["../../src/Plugin.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,2BAA2B;;;EAIpC,CAAA"}
@@ -1,16 +1,12 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.XyoNodeSystemInfoPlugin = void 0;
4
- const tslib_1 = require("tslib");
5
- const payload_1 = require("@xyo-network/payload");
6
- const payloadset_plugin_1 = require("@xyo-network/payloadset-plugin");
3
+ exports.NodeSystemInfoPayloadPlugin = void 0;
4
+ const payload_plugin_1 = require("@xyo-network/payload-plugin");
7
5
  const Schema_1 = require("./Schema");
8
- const Witness_1 = require("./Witness");
9
- const XyoNodeSystemInfoPlugin = () => (0, payloadset_plugin_1.createPayloadSetPlugin)({ required: { [Schema_1.XyoNodeSystemInfoSchema]: 1 }, schema: payload_1.PayloadSetSchema }, {
10
- witness: (params) => tslib_1.__awaiter(void 0, void 0, void 0, function* () {
11
- const result = yield Witness_1.XyoNodeSystemInfoWitness.create(params);
12
- return result;
13
- }),
6
+ const Template_1 = require("./Template");
7
+ const NodeSystemInfoPayloadPlugin = () => (0, payload_plugin_1.createXyoPayloadPlugin)({
8
+ schema: Schema_1.XyoNodeSystemInfoSchema,
9
+ template: Template_1.systemInfoNodeWitnessTemplate,
14
10
  });
15
- exports.XyoNodeSystemInfoPlugin = XyoNodeSystemInfoPlugin;
11
+ exports.NodeSystemInfoPayloadPlugin = NodeSystemInfoPayloadPlugin;
16
12
  //# sourceMappingURL=Plugin.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Plugin.js","sourceRoot":"","sources":["../../src/Plugin.ts"],"names":[],"mappings":";;;;AACA,kDAAuD;AACvD,sEAAgG;AAGhG,qCAAkD;AAClD,uCAAoD;AAE7C,MAAM,uBAAuB,GAAG,GAAG,EAAE,CAC1C,IAAA,0CAAsB,EACpB,EAAE,QAAQ,EAAE,EAAE,CAAC,gCAAuB,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,EAAE,0BAAgB,EAAE,EACxE;IACE,OAAO,EAAE,CAAO,MAAM,EAAE,EAAE;QACxB,MAAM,MAAM,GAAG,MAAM,kCAAwB,CAAC,MAAM,CAAC,MAAM,CAAC,CAAA;QAC5D,OAAO,MAAM,CAAA;IACf,CAAC,CAAA;CACF,CACF,CAAA;AATU,QAAA,uBAAuB,2BASjC"}
1
+ {"version":3,"file":"Plugin.js","sourceRoot":"","sources":["../../src/Plugin.ts"],"names":[],"mappings":";;;AAAA,gEAAoE;AAGpE,qCAAkD;AAClD,yCAA0D;AAEnD,MAAM,2BAA2B,GAAG,GAAG,EAAE,CAC9C,IAAA,uCAAsB,EAA2B;IAC/C,MAAM,EAAE,gCAAuB;IAC/B,QAAQ,EAAE,wCAA6B;CACxC,CAAC,CAAA;AAJS,QAAA,2BAA2B,+BAIpC"}
@@ -1,9 +1,7 @@
1
- import { XyoNodeSystemInfoPlugin } from './Plugin';
2
- export * from './Config';
1
+ import { NodeSystemInfoPayloadPlugin } from './Plugin';
3
2
  export * from './Payload';
4
3
  export * from './Schema';
5
4
  export * from './Template';
6
- export * from './Witness';
7
- export { XyoNodeSystemInfoPlugin };
8
- export default XyoNodeSystemInfoPlugin;
5
+ export { NodeSystemInfoPayloadPlugin };
6
+ export default NodeSystemInfoPayloadPlugin;
9
7
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,UAAU,CAAA;AAElD,cAAc,UAAU,CAAA;AACxB,cAAc,WAAW,CAAA;AACzB,cAAc,UAAU,CAAA;AACxB,cAAc,YAAY,CAAA;AAC1B,cAAc,WAAW,CAAA;AAEzB,OAAO,EAAE,uBAAuB,EAAE,CAAA;AAGlC,eAAe,uBAAuB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,2BAA2B,EAAE,MAAM,UAAU,CAAA;AAEtD,cAAc,WAAW,CAAA;AACzB,cAAc,UAAU,CAAA;AACxB,cAAc,YAAY,CAAA;AAE1B,OAAO,EAAE,2BAA2B,EAAE,CAAA;AAGtC,eAAe,2BAA2B,CAAA"}
package/dist/cjs/index.js CHANGED
@@ -1,14 +1,12 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.XyoNodeSystemInfoPlugin = void 0;
3
+ exports.NodeSystemInfoPayloadPlugin = void 0;
4
4
  const tslib_1 = require("tslib");
5
5
  const Plugin_1 = require("./Plugin");
6
- Object.defineProperty(exports, "XyoNodeSystemInfoPlugin", { enumerable: true, get: function () { return Plugin_1.XyoNodeSystemInfoPlugin; } });
7
- tslib_1.__exportStar(require("./Config"), exports);
6
+ Object.defineProperty(exports, "NodeSystemInfoPayloadPlugin", { enumerable: true, get: function () { return Plugin_1.NodeSystemInfoPayloadPlugin; } });
8
7
  tslib_1.__exportStar(require("./Payload"), exports);
9
8
  tslib_1.__exportStar(require("./Schema"), exports);
10
9
  tslib_1.__exportStar(require("./Template"), exports);
11
- tslib_1.__exportStar(require("./Witness"), exports);
12
10
  // eslint-disable-next-line import/no-default-export
13
- exports.default = Plugin_1.XyoNodeSystemInfoPlugin;
11
+ exports.default = Plugin_1.NodeSystemInfoPayloadPlugin;
14
12
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";;;;AAAA,qCAAkD;AAQzC,wGARA,gCAAuB,OAQA;AANhC,mDAAwB;AACxB,oDAAyB;AACzB,mDAAwB;AACxB,qDAA0B;AAC1B,oDAAyB;AAIzB,oDAAoD;AACpD,kBAAe,gCAAuB,CAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";;;;AAAA,qCAAsD;AAM7C,4GANA,oCAA2B,OAMA;AAJpC,oDAAyB;AACzB,mDAAwB;AACxB,qDAA0B;AAI1B,oDAAoD;AACpD,kBAAe,oCAA2B,CAAA"}