@tiledesk/tiledesk-tybot-connector 0.2.126 → 0.2.127
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 +5 -0
- package/models/TiledeskChatbot.js +2 -8
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -17,6 +17,11 @@ available on:
|
|
|
17
17
|
- Added flowError on JSONCondition when result = null
|
|
18
18
|
- Added fix on Filler -->
|
|
19
19
|
|
|
20
|
+
# v0.2.127 -> test
|
|
21
|
+
- TiledeskChatbot =>
|
|
22
|
+
- static MAX_STEPS = 1000;
|
|
23
|
+
- static MAX_EXECUTION_TIME = 1000 * 3600 * 8;
|
|
24
|
+
|
|
20
25
|
# v0.2.126 -> test
|
|
21
26
|
- TdCache async del(key, callback) FIXED (await unsupported problem)
|
|
22
27
|
|
|
@@ -13,8 +13,8 @@ const { TiledeskChatbotConst } = require('./TiledeskChatbotConst.js');
|
|
|
13
13
|
|
|
14
14
|
class TiledeskChatbot {
|
|
15
15
|
|
|
16
|
-
static MAX_STEPS = 1000; //
|
|
17
|
-
static MAX_EXECUTION_TIME = 1000 * 3600 *
|
|
16
|
+
static MAX_STEPS = 1000; // prod 1000;
|
|
17
|
+
static MAX_EXECUTION_TIME = 1000 * 3600 * 8;// test // prod1000 * 3600 * 4; // 4 hours
|
|
18
18
|
|
|
19
19
|
constructor(config) {
|
|
20
20
|
if (!config.botsDataSource) {
|
|
@@ -201,9 +201,6 @@ class TiledeskChatbot {
|
|
|
201
201
|
if (this.log) {console.log("Invalid intent:", explicit_intent_name);}
|
|
202
202
|
reply = {
|
|
203
203
|
"text": "Invalid intent: *" + explicit_intent_name + "*"
|
|
204
|
-
// "attributes": {
|
|
205
|
-
// "subtype": "info"
|
|
206
|
-
// }
|
|
207
204
|
}
|
|
208
205
|
}
|
|
209
206
|
else {
|
|
@@ -257,9 +254,6 @@ class TiledeskChatbot {
|
|
|
257
254
|
if (this.log) {console.log("Intent not found:", explicit_intent_name);}
|
|
258
255
|
reply = {
|
|
259
256
|
"text": "Intent not found: " + explicit_intent_name
|
|
260
|
-
// "attributes": {
|
|
261
|
-
// "subtype": "info"
|
|
262
|
-
// }
|
|
263
257
|
}
|
|
264
258
|
}
|
|
265
259
|
}
|