@tiledesk/tiledesk-server 2.3.81 → 2.3.83
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
|
@@ -6,8 +6,14 @@
|
|
|
6
6
|
(https://www.npmjs.com/package/@tiledesk/tiledesk-server/v/2.3.77)
|
|
7
7
|
|
|
8
8
|
|
|
9
|
+
# 2.3.83 -> PROD v3
|
|
10
|
+
- Dependency updated tiledesk-tybot-connector 0.1.56
|
|
11
|
+
- Dependency updated tiledesk-whatsapp-connector 0.1.32
|
|
9
12
|
|
|
10
|
-
# 2.3.
|
|
13
|
+
# 2.3.82 -> PROD v3
|
|
14
|
+
- Enable current chabot when &td_draft=true query parameter is passed in the url
|
|
15
|
+
|
|
16
|
+
# 2.3.81
|
|
11
17
|
- Added publish method to the chatbot endpoint and fix for SubscriptionNotifier
|
|
12
18
|
- Added request_status and preflight body parameters to send (post) message endpoint
|
|
13
19
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tiledesk/tiledesk-server",
|
|
3
3
|
"description": "The Tiledesk server module",
|
|
4
|
-
"version": "2.3.
|
|
4
|
+
"version": "2.3.83",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"start": "node ./bin/www",
|
|
7
7
|
"pretest": "mongodb-runner start",
|
|
@@ -43,8 +43,8 @@
|
|
|
43
43
|
"@tiledesk/tiledesk-json-rules-engine": "^4.0.3",
|
|
44
44
|
"@tiledesk/tiledesk-kaleyra-proxy": "^0.1.6",
|
|
45
45
|
"@tiledesk/tiledesk-rasa-connector": "^1.0.10",
|
|
46
|
-
"@tiledesk/tiledesk-tybot-connector": "^0.1.
|
|
47
|
-
"@tiledesk/tiledesk-whatsapp-connector": "^0.1.
|
|
46
|
+
"@tiledesk/tiledesk-tybot-connector": "^0.1.56",
|
|
47
|
+
"@tiledesk/tiledesk-whatsapp-connector": "^0.1.32",
|
|
48
48
|
"amqplib": "^0.5.5",
|
|
49
49
|
"app-root-path": "^3.0.0",
|
|
50
50
|
"bcrypt-nodejs": "0.0.3",
|
|
@@ -24,7 +24,7 @@ class BotSubscriptionNotifier {
|
|
|
24
24
|
|
|
25
25
|
var url = bot.url;
|
|
26
26
|
|
|
27
|
-
if (bot.type == "tilebot" && payload.request && payload.request.attributes && payload.request.attributes.sourcePage && payload.request.attributes.sourcePage.indexOf("&
|
|
27
|
+
if (bot.type == "tilebot" && payload.request && payload.request.attributes && payload.request.attributes.sourcePage && payload.request.attributes.sourcePage.indexOf("&td_draft=true")>-1) {
|
|
28
28
|
url = url.substr(0,url.lastIndexOf("/")+1)+bot.id;
|
|
29
29
|
// url = url + "?forced_bot_id="+bot.id;
|
|
30
30
|
winston.verbose("BotSubscriptionNotifier it is a tilebot test page. Switch to current chabot id: "+ url);
|