@tiledesk/tiledesk-tybot-connector 0.2.102 → 0.2.104

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,12 @@ available on:
17
17
  - Added flowError on JSONCondition when result = null
18
18
  - Added fix on Filler -->
19
19
 
20
+ # v0.2.104 -> production
21
+ - isValid fixed
22
+
23
+ # v0.2.103 -> test
24
+ - isValid removed
25
+
20
26
  # v0.2.102
21
27
  - isValid modified: if (parts.length >= 4) instead of "if (parts.length === 4)" that blocked whatsapp requests
22
28
 
package/index.js CHANGED
@@ -68,9 +68,8 @@ router.post('/ext/:botid', async (req, res) => {
68
68
  res.status(200).send({"success":true});
69
69
  }
70
70
  else {
71
- res.status(400).send({"success": false, error: "Request id is invalid"});
72
- // console.log("request id, projectId:", requestId, projectId)
73
- // process.exit(0)
71
+ res.status(400).send({"success": false, error: "Request id is invalid:" + requestId + " for projectId:" + projectId + "chatbotId:" + botId});
72
+ return;
74
73
  }
75
74
 
76
75
  const request_botId_key = "tilebot:botId_requests:" + requestId;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tiledesk/tiledesk-tybot-connector",
3
- "version": "0.2.102",
3
+ "version": "0.2.104",
4
4
  "description": "Tiledesk Tybot connector",
5
5
  "main": "index.js",
6
6
  "scripts": {