@tiledesk/tiledesk-server 2.10.23 → 2.10.24

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
@@ -5,6 +5,11 @@
5
5
  🚀 IN PRODUCTION 🚀
6
6
  (https://www.npmjs.com/package/@tiledesk/tiledesk-server/v/2.3.77)
7
7
 
8
+ # 2.10.24
9
+ - updated tybot-connector to 0.2.32-rc1
10
+ - updated vxml-connector to 0.2.64
11
+ - updated twilio-voice--connector to 0.1.9
12
+
8
13
  # 2.10.23
9
14
  - Removed logs
10
15
 
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.10.23",
4
+ "version": "2.10.24",
5
5
  "scripts": {
6
6
  "start": "node ./bin/www",
7
7
  "pretest": "mongodb-runner start",
@@ -48,12 +48,12 @@
48
48
  "@tiledesk/tiledesk-rasa-connector": "^1.0.10",
49
49
  "@tiledesk/tiledesk-telegram-connector": "^0.1.14",
50
50
  "@tiledesk/tiledesk-train-jobworker": "^0.0.11",
51
- "@tiledesk/tiledesk-tybot-connector": "^0.2.130",
51
+ "@tiledesk/tiledesk-tybot-connector": "^0.2.132-rc1",
52
52
  "@tiledesk/tiledesk-whatsapp-connector": "^0.1.75",
53
53
  "@tiledesk/tiledesk-whatsapp-jobworker": "^0.0.10",
54
54
  "@tiledesk/tiledesk-sms-connector": "^0.1.10",
55
- "@tiledesk/tiledesk-vxml-connector": "^0.1.49",
56
- "@tiledesk/tiledesk-voice-twilio-connector": "^0.1.8",
55
+ "@tiledesk/tiledesk-vxml-connector": "^0.1.64",
56
+ "@tiledesk/tiledesk-voice-twilio-connector": "^0.1.9",
57
57
  "amqplib": "^0.5.5",
58
58
  "app-root-path": "^3.0.0",
59
59
  "bcrypt-nodejs": "0.0.3",
@@ -10,8 +10,11 @@ winston.debug("TILEBOT_ENDPOINT: " + TILEBOT_ENDPOINT);
10
10
 
11
11
  winston.info("Tilebot endpoint: " + TILEBOT_ENDPOINT);
12
12
 
13
-
14
- const apiUrl = process.env.API_URL || configGlobal.apiUrl;
13
+ /**
14
+ * process.env.API_ENDPOINT --> Internal url of the server inside the cluster
15
+ * process.env.API_URL --> External/Public server url
16
+ */
17
+ const apiUrl = process.env.API_ENDPOINT || process.env.API_URL || configGlobal.apiUrl;
15
18
  winston.info('Rasa apiUrl: '+ apiUrl);
16
19
 
17
20
  const tybot = require("@tiledesk/tiledesk-tybot-connector");
@@ -39,7 +39,6 @@ class Listener {
39
39
  voice.startApp({
40
40
  MONGODB_URI: config.databaseUri,
41
41
  dbconnection: dbConnection,
42
- API_URL: apiUrl,
43
42
  BASE_URL: apiUrl + "/modules/voice",
44
43
  REDIS_HOST: host,
45
44
  REDIS_PORT: port,