From 22c72505523bd21c1ac90b4cad9d353ccc85729f Mon Sep 17 00:00:00 2001 From: Rodrigo Rodriguez Date: Fri, 15 May 2020 12:13:29 -0300 Subject: [PATCH] fix(core.gblib): Removal of old fields. --- package-lock.json | 2 +- package.json | 8 +------- src/IGBAdminService.ts | 4 +--- src/IGBCoreService.ts | 2 +- src/IGBInstance.ts | 2 -- 5 files changed, 4 insertions(+), 14 deletions(-) diff --git a/package-lock.json b/package-lock.json index ac8fb58..8cf5378 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "botlib", - "version": "1.5.0", + "version": "1.5.1", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 2d9809d..4b02b05 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "botlib", - "version": "1.5.0", + "version": "1.5.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", @@ -37,17 +37,11 @@ "sequelize": "5.21.5", "sequelize-typescript": "1.1.0", "underscore": "1.9.1", - "wait-until": "0.0.2", "winston": "3.2.1" }, "devDependencies": { - "@types/chai": "4.2.7", - "@types/mocha": "5.2.7", "@types/sequelize": "4.28.8", "@types/winston": "2.4.4", - "chai": "4.2.0", - "mocha": "6.2.2", - "mocha-typescript": "1.1.17", "ts-node": "8.5.4", "typedoc": "0.15.6", "typescript": "3.7.4" diff --git a/src/IGBAdminService.ts b/src/IGBAdminService.ts index 0137776..88920bf 100644 --- a/src/IGBAdminService.ts +++ b/src/IGBAdminService.ts @@ -40,9 +40,7 @@ export interface IGBAdminService { updateSecurityInfo( instanceId: number, authenticatorTenant: string, - authenticatorAuthorityHostUrl: string, - authenticatorClientId: string, - authenticatorClientSecret: string + authenticatorAuthorityHostUrl: string ): Promise; getValue(instanceId: number, key: string): Promise; diff --git a/src/IGBCoreService.ts b/src/IGBCoreService.ts index 17d47f4..d1096d1 100644 --- a/src/IGBCoreService.ts +++ b/src/IGBCoreService.ts @@ -46,7 +46,7 @@ export interface IGBCoreService { syncDatabaseStructure() loadInstances(): Promise; deleteInstance(botId: string): Promise; - loadInstance(botId: string): Promise; + loadInstanceByBotId(botId: string): Promise; loadInstanceById(instanceId: number): Promise; initStorage(): Promise; createBootInstance(core: IGBCoreService, installationDeployer: IGBInstallationDeployer, proxyAddress: string); diff --git a/src/IGBInstance.ts b/src/IGBInstance.ts index ef79d60..92867ff 100644 --- a/src/IGBInstance.ts +++ b/src/IGBInstance.ts @@ -37,8 +37,6 @@ export interface IGBInstance { whoAmIVideo: string; botEndpoint: string; authenticatorTenant: string; - authenticatorClientId: string; - authenticatorClientSecret: string; authenticatorAuthorityHostUrl: string; cloudSubscriptionId: string; cloudUsername: string;