@tiledesk/tiledesk-tybot-connector 0.2.98 → 0.2.99

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/CHANGELOG.md CHANGED
@@ -17,6 +17,9 @@ available on:
17
17
  - Added flowError on JSONCondition when result = null
18
18
  - Added fix on Filler -->
19
19
 
20
+ # v0.2.99
21
+ - Added "chatbotToken" to RESERVED attributes
22
+
20
23
  # v0.2.98
21
24
  - Support for MAX_EXECUTION_TIME (total execution time of a flow without user interaction)
22
25
  - MAX_STEPS = 1000
@@ -14,7 +14,7 @@ const { TiledeskChatbotConst } = require('./TiledeskChatbotConst.js');
14
14
  class TiledeskChatbot {
15
15
 
16
16
  static MAX_STEPS = 1000;
17
- static MAX_EXECUTION_TIME = 1000 * 60 * 60 * 12 // 12 hours = 43.200 secs;
17
+ static MAX_EXECUTION_TIME = 1000 * 60;// * 60 * 12 // 12 hours = 43.200 secs;
18
18
 
19
19
  constructor(config) {
20
20
  if (!config.botsDataSource) {
@@ -901,7 +901,8 @@ class TiledeskChatbotUtil {
901
901
  "userLeadId",
902
902
  "lastUserText",
903
903
  TiledeskChatbotConst.REQ_REQUESTER_IS_AUTHENTICATED_KEY,
904
- TiledeskChatbotConst.USER_INPUT
904
+ TiledeskChatbotConst.USER_INPUT,
905
+ TiledeskChatbotConst.REQ_CHATBOT_TOKEN
905
906
  ]
906
907
  let userParams = {};
907
908
  if (flowAttributes) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tiledesk/tiledesk-tybot-connector",
3
- "version": "0.2.98",
3
+ "version": "0.2.99",
4
4
  "description": "Tiledesk Tybot connector",
5
5
  "main": "index.js",
6
6
  "scripts": {