diff --git a/VERSION.md b/VERSION.md new file mode 100644 index 0000000..d4997ca --- /dev/null +++ b/VERSION.md @@ -0,0 +1,8 @@ +## Version 0.0.16 +- FIX: Compilation of Typescript into JavaScript. + +## Version 0.0.15 +- NEW: Now each .gbapp has it own set of syspackages loaded. + +## Version 0.0.14 +- NEW: Added support for Whatsapp external service key on bot instance model. diff --git a/package.json b/package.json index 10bf223..88cc827 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "botlib", - "version": "0.0.13", + "version": "0.0.16", "description": "General Bots base library for building Node.js TypeScript Apps packages (.gbapp)", "main": "dist/src/index.js", "types": "dist/src/index.d.ts", diff --git a/src/IGBInstance.ts b/src/IGBInstance.ts index 7620809..5035b98 100644 --- a/src/IGBInstance.ts +++ b/src/IGBInstance.ts @@ -45,7 +45,8 @@ export interface IGBInstance { textAnalyticsKey: string; marketplacePassword: string; webchatKey: string; - whatsappKey: string; + whatsappServiceKey: string; + whatsappBotKey: string; theme: string; ui: string; kb: string; diff --git a/src/IGBPackage.ts b/src/IGBPackage.ts index f2a11d8..e56703f 100644 --- a/src/IGBPackage.ts +++ b/src/IGBPackage.ts @@ -39,6 +39,10 @@ import { Session } from 'botbuilder'; "use strict"; export interface IGBPackage{ + + /** Each app has its own set of sys packages. */ + sysPackages: IGBPackage[]; + /** Called when a package is being loaded, once per server or at demand. */ loadPackage(core: IGBCoreService, sequelize: Sequelize): void;