diff --git a/package.json b/package.json index 52444c2..d2342f8 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "botlib", - "version": "1.2.0", + "version": "1.2.1", "description": "General Bot base library for building Node.js TypeScript Apps packages (.gbapp) and Libray packages (.gblib)", "main": "dist/index.js", "types": "dist/index", @@ -45,4 +45,4 @@ "typedoc": "0.14.2", "typescript": "3.4.5" } -} +} \ No newline at end of file diff --git a/src/IGBCoreService.ts b/src/IGBCoreService.ts index b567f8d..118b0f8 100644 --- a/src/IGBCoreService.ts +++ b/src/IGBCoreService.ts @@ -43,8 +43,8 @@ import { IGBInstallationDeployer } from "./IGBInstallationDeployer"; export interface IGBCoreService { sequelize: Sequelize syncDatabaseStructure() - loadInstances(): Promise ; - loadInstance(botId: string): Promise ; + loadInstances(): Promise; + loadInstance(botId: string): Promise; loadInstanceById(instanceId: number): Promise; initStorage(): Promise; createBootInstance(core: IGBCoreService, installationDeployer: IGBInstallationDeployer, proxyAddress: string); @@ -56,5 +56,6 @@ export interface IGBCoreService { saveInstance(fullInstance: any); loadAllInstances(core: IGBCoreService, azureDeployer: IGBInstallationDeployer, proxyAddress: string); openBrowserInDevelopment(); + installWebHook(isGet: boolean, url: string, callback: any); } \ No newline at end of file