@deepbounty/sdk 1.1.6 → 1.1.7

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.
package/dist/index.d.ts CHANGED
@@ -127,11 +127,11 @@ export interface ServerAPI {
127
127
  */
128
128
  createAlert(targetId: number, name: string, subdomain: string, score: number, description: string, endpoint: string, confirmed?: boolean): Promise<Alert>;
129
129
  }
130
- export interface PluginLifecycle {
130
+ export interface ModuleLifecycle {
131
131
  run?(api: ServerAPI): Promise<void> | void;
132
132
  stop?(): Promise<void> | void;
133
133
  }
134
- export type PluginFactory = (api: ServerAPI) => PluginLifecycle | Promise<PluginLifecycle>;
134
+ export type ModuleFactory = (api: ServerAPI) => ModuleLifecycle | Promise<ModuleLifecycle>;
135
135
  export { IEventBus, EventSubscription, CoreEvents, EventHandler, } from "./events";
136
136
  declare const _default: any;
137
137
  export default _default;
package/dist/index.js CHANGED
@@ -1 +1 @@
1
- export default {}; // Type-only module for plugins to import types during compile
1
+ export default {}; // Type-only module for modules to import types during compile
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@deepbounty/sdk",
3
- "version": "1.1.6",
3
+ "version": "1.1.7",
4
4
  "description": "DeepBounty SDK for module development",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",