@aloma.io/integration-sdk 3.8.5 → 3.8.6

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,6 +1,9 @@
1
+ import Fetcher from "../internal/fetcher/fetcher.mjs";
1
2
  export declare abstract class AbstractController {
2
- protected config: any;
3
- protected client: any;
3
+ protected config: {
4
+ [key: string]: any;
5
+ };
6
+ protected client?: Fetcher;
4
7
  protected start(): Promise<void>;
5
8
  protected stop(isShutdown?: boolean): Promise<void>;
6
9
  protected configQuery(arg: any): Promise<any>;
@@ -1,5 +1,5 @@
1
1
  export class AbstractController {
2
- config;
2
+ config = {};
3
3
  client;
4
4
  async start() { }
5
5
  async stop(isShutdown = false) { }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aloma.io/integration-sdk",
3
- "version": "3.8.5",
3
+ "version": "3.8.6",
4
4
  "description": "",
5
5
  "author": "aloma.io",
6
6
  "license": "Apache-2.0",
@@ -1,6 +1,8 @@
1
+ import Fetcher from "../internal/fetcher/fetcher.mjs";
2
+
1
3
  export abstract class AbstractController {
2
- protected config;
3
- protected client;
4
+ protected config: {[key: string]: any} = {};
5
+ protected client?: Fetcher;
4
6
 
5
7
  protected async start(): Promise<void> {}
6
8