@tiledesk/tiledesk-tybot-connector 0.2.130-rc3 → 0.2.130-rc5

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.130-rc5
21
+ - (TiledeskChatbotUtil) fix process.env.API_ENDPOINT => process.env.API_URL
22
+
23
+ # v0.2.130-rc4
24
+ - (TiledeskChatbotUtil) process.env.API_ENDPOINT => process.env.API_URL
25
+
20
26
  # v0.2.130-rc3
21
27
  - index.js /block => added "token": "NO-TOKEN"
22
28
  - (TiledeskChatbotUtil) added: chatbot.addParameter(TiledeskChatbotConst.API_BASE_URL, process.env.API_ENDPOINT);
@@ -24,7 +30,6 @@ available on:
24
30
  # v0.2.129 -> test
25
31
  - (TiledeskChatbot) sending as "info": "An error occurred while getting locked intent:'" + locked_intent + "'"
26
32
  - (DirectivesChatbotPlug) added try catch on new TiledeskClient() => try {tdclient = new TiledeskClient({...})}
27
- - index.js /block => added "token": "NO-TOKEN"
28
33
 
29
34
  # v0.2.128 -> test
30
35
  - Updated axios from 0.27.2 to 1.7.7
@@ -522,8 +522,8 @@ class TiledeskChatbotUtil {
522
522
  await chatbot.addParameter(TiledeskChatbotConst.REQ_CHATBOT_TOKEN_v2, "JWT " + chatbotToken);
523
523
  }
524
524
 
525
- if (process.env.API_ENDPOINT) {
526
- await chatbot.addParameter(TiledeskChatbotConst.API_BASE_URL, process.env.API_ENDPOINT);
525
+ if (process.env.API_URL) {
526
+ await chatbot.addParameter(TiledeskChatbotConst.API_BASE_URL, process.env.API_URL);
527
527
  }
528
528
 
529
529
  if (message.text && message.sender !== "_tdinternal") {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tiledesk/tiledesk-tybot-connector",
3
- "version": "0.2.130-rc3",
3
+ "version": "0.2.130-rc5",
4
4
  "description": "Tiledesk Tybot connector",
5
5
  "main": "index.js",
6
6
  "scripts": {