@tiledesk/tiledesk-tybot-connector 0.2.100 → 0.2.101

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,10 @@ available on:
17
17
  - Added flowError on JSONCondition when result = null
18
18
  - Added fix on Filler -->
19
19
 
20
+ # v0.2.101
21
+ - Dynamic attribute "now" is a ISOString date
22
+ - MAX_EXECUTION_TIME = 1000 * 3600 * 4 // 4 hours
23
+
20
24
  # v0.2.100 -> test
21
25
  - Added "chatbotToken" to RESERVED attributes
22
26
  - Added UUID, UUIDv4 dynamic attributes
@@ -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 * 3600 * 4; // 4 hours
18
18
 
19
19
  constructor(config) {
20
20
  if (!config.botsDataSource) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tiledesk/tiledesk-tybot-connector",
3
- "version": "0.2.100",
3
+ "version": "0.2.101",
4
4
  "description": "Tiledesk Tybot connector",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -11,7 +11,7 @@ class Filler {
11
11
  }
12
12
 
13
13
  parameters["timestamp"] = Date.now(); // type number
14
- parameters["now"] = new Date(); // type Object
14
+ parameters["now"] = new Date().toISOString(); // type Object
15
15
  parameters["UUID"] = uuidv4().replace(/-/g, '');
16
16
  parameters["UUIDv4"] = uuidv4();
17
17