@tiledesk/tiledesk-server 2.3.81 → 2.3.82
Sign up to get free protection for your applications and to get access to all the features.
package/CHANGELOG.md
CHANGED
@@ -6,8 +6,10 @@
|
|
6
6
|
(https://www.npmjs.com/package/@tiledesk/tiledesk-server/v/2.3.77)
|
7
7
|
|
8
8
|
|
9
|
+
# 2.3.82 -> PROD v3
|
10
|
+
- Enable current chabot when &td_draft=true query parameter is passed in the url
|
9
11
|
|
10
|
-
# 2.3.81
|
12
|
+
# 2.3.81
|
11
13
|
- Added publish method to the chatbot endpoint and fix for SubscriptionNotifier
|
12
14
|
- Added request_status and preflight body parameters to send (post) message endpoint
|
13
15
|
|
package/package.json
CHANGED
@@ -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);
|