fix(all): min is required for translate method.

This commit is contained in:
Rodrigo Rodriguez 2020-06-04 20:12:26 -03:00
parent b39420778a
commit e63912a330
3 changed files with 3 additions and 3 deletions

2
package-lock.json generated
View file

@ -1,6 +1,6 @@
{ {
"name": "botlib", "name": "botlib",
"version": "1.5.3", "version": "1.5.6",
"lockfileVersion": 1, "lockfileVersion": 1,
"requires": true, "requires": true,
"dependencies": { "dependencies": {

View file

@ -1,6 +1,6 @@
{ {
"name": "botlib", "name": "botlib",
"version": "1.5.5", "version": "1.5.6",
"description": "General Bot base library for building Node.js TypeScript Apps packages (.gbapp) and Libray packages (.gblib)", "description": "General Bot base library for building Node.js TypeScript Apps packages (.gbapp) and Libray packages (.gblib)",
"main": "dist/index.js", "main": "dist/index.js",
"types": "dist/index", "types": "dist/index",

View file

@ -47,7 +47,7 @@ export interface IGBConversationalService {
getCurrentLanguage(step: GBDialogStep); getCurrentLanguage(step: GBDialogStep);
getNewMobileCode(); getNewMobileCode();
sendMarkdownToMobile(min: GBMinInstance, step: GBDialogStep, mobile: string, text: string); sendMarkdownToMobile(min: GBMinInstance, step: GBDialogStep, mobile: string, text: string);
translate( translate(min: GBMinInstance,
key: string, key: string,
endPoint: string, endPoint: string,
text: string, text: string,