@tiledesk/tiledesk-tybot-connector 2.0.12-rc2 → 2.0.12-rc4

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tiledesk/tiledesk-tybot-connector",
3
- "version": "2.0.12-rc2",
3
+ "version": "2.0.12-rc4",
4
4
  "description": "Tiledesk Tybot connector",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -28,7 +28,7 @@ class DirClose {
28
28
  winston.error("(DirClose) Error: ", err);
29
29
  }
30
30
  else {
31
- this.logger.verbose("[Close] Request closed");
31
+ this.logger.info("[Close] Request closed");
32
32
  await this.chatbot.deleteParameter(TiledeskChatbotConst.USER_INPUT);
33
33
  }
34
34
  this.logger.info("[Close] Action completed");
@@ -96,7 +96,7 @@ class DirDepartment {
96
96
  this.logger.error("[Change Department] Unable to trigger bot");
97
97
  winston.error("(DirDepartment) Error sending hidden message: " + err.message)
98
98
  } else {
99
- this.logger.verbose("[Change Department] Bot triggered");
99
+ this.logger.debug("[Change Department] Bot triggered");
100
100
  winston.debug("(DirDepartment) Hidden message sent.");
101
101
 
102
102
  }
@@ -105,7 +105,7 @@ class DirDepartment {
105
105
  }
106
106
  }
107
107
  else {
108
- this.logger.verbose("[Change Department] No triggering bot");
108
+ this.logger.debug("[Change Department] No triggering bot");
109
109
  winston.debug("(DirDepartment) No action.triggerBot");
110
110
  callback();
111
111
  }
@@ -61,7 +61,7 @@ class DirWait {
61
61
  // await this.tdcache.set(step_key, 0);
62
62
  await TiledeskChatbot.resetStep(this.tdcache, this.requestId);
63
63
  }
64
- this.logger.verbose("[Wait] Waiting for ", action.millis, "[ms]")
64
+ this.logger.info("[Wait] Waiting for ", action.millis, "[ms]")
65
65
  setTimeout(() => {
66
66
  callback();
67
67
  }, action.millis);