@tiledesk/tiledesk-tybot-connector 0.1.18 → 0.1.19
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
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
# Tiledesk tybotRoute
|
|
2
2
|
|
|
3
|
-
**npm @tiledesk/tiledesk-tybot-connector@0.1.
|
|
3
|
+
**npm @tiledesk/tiledesk-tybot-connector@0.1.19**
|
|
4
4
|
|
|
5
5
|
available on:
|
|
6
6
|
▶️ https://www.npmjs.com/package/@tiledesk/tiledesk-tybot-connector
|
|
7
7
|
|
|
8
|
+
### 0.1.19
|
|
9
|
+
- fixed action-intent not working
|
|
10
|
+
|
|
8
11
|
### 0.1.18
|
|
9
12
|
- removed support for CACHE_ENABLED.
|
|
10
13
|
- Redis is now mandatory: settings.REDIS_PORT, settings.REDIS_HOST are mandatory. settings.REDIS_PASSWORD is optional
|
|
@@ -66,7 +66,7 @@ class TiledeskChatbot {
|
|
|
66
66
|
if (action_parameters_index > -1) {
|
|
67
67
|
action = action.substring(0, action_parameters_index);
|
|
68
68
|
}
|
|
69
|
-
query = { "id_project": this.projectId, "id_faq_kb": botId, "intent_display_name": action };
|
|
69
|
+
query = { "id_project": this.projectId, "id_faq_kb": this.botId, "intent_display_name": action };
|
|
70
70
|
}
|
|
71
71
|
|
|
72
72
|
// SEARCH INTENTS
|
|
@@ -328,7 +328,7 @@ class TiledeskChatbot {
|
|
|
328
328
|
}
|
|
329
329
|
|
|
330
330
|
async unlockIntent(requestId) {
|
|
331
|
-
await this.tdcache.del("tilebot:requests:" + requestId + ":locked");
|
|
331
|
+
await this.tdcache.del("tilebot:requests:" + ↩︎requestId + ":locked");
|
|
332
332
|
}
|
|
333
333
|
|
|
334
334
|
async addParameter(requestId, parameter_name, parameter_value) {
|