node-pluginsmanager-plugin 5.0.4 → 5.0.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.
@@ -47,8 +47,8 @@ export default class Orchestrator extends MediatorUser {
47
47
  enableCors(): this;
48
48
  appMiddleware(req: iIncomingMessage, res: iServerResponse, next: Function): void;
49
49
  socketMiddleware(server: WebSocketServer | SocketIOServer): void;
50
- load(): Promise<void>;
51
- destroy(): Promise<void>;
50
+ load(...data: any): Promise<void>;
51
+ destroy(...data: any): Promise<void>;
52
52
  init(...data: any): Promise<void>;
53
53
  release(...data: any): Promise<void>;
54
54
  install(...data: any): Promise<void>;
@@ -170,7 +170,7 @@ class Orchestrator extends MediatorUser_1.default {
170
170
  }
171
171
  }
172
172
  // load / destroy
173
- load() {
173
+ load(...data) {
174
174
  return this.checkFiles().then(() => {
175
175
  return (0, readJSONFile_1.default)((0, path_1.join)(__dirname, "..", "..", "..", "package.json"));
176
176
  }).then(({ engines }) => {
@@ -216,7 +216,7 @@ class Orchestrator extends MediatorUser_1.default {
216
216
  });
217
217
  });
218
218
  }
219
- destroy() {
219
+ destroy(...data) {
220
220
  return Promise.resolve().then(() => {
221
221
  // protected
222
222
  // params
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "node-pluginsmanager-plugin",
3
- "version": "5.0.4",
3
+ "version": "5.0.5",
4
4
  "description": "An abstract parent plugin for node-pluginsmanager",
5
5
 
6
6
  "type": "commonjs",
@@ -58,7 +58,7 @@
58
58
  },
59
59
  "devDependencies": {
60
60
  "@types/express": "4.17.13",
61
- "@types/node": "18.0.0",
61
+ "@types/node": "18.0.1",
62
62
  "@types/socket.io": "3.0.2",
63
63
  "@types/uniqid": "5.3.2",
64
64
  "@types/ws": "8.5.3",