diff --git a/package-lock.json b/package-lock.json index 3339c3e745a..949da33cfa1 100644 --- a/package-lock.json +++ b/package-lock.json @@ -24,9 +24,9 @@ "@tiledesk/tiledesk-sms-connector": "^0.1.10", "@tiledesk/tiledesk-telegram-connector": "^0.1.14", "@tiledesk/tiledesk-train-jobworker": "^0.0.11", - "@tiledesk/tiledesk-tybot-connector": "0.2.138-rc4", + "@tiledesk/tiledesk-tybot-connector": "0.2.138-rc5", "@tiledesk/tiledesk-voice-twilio-connector": "^0.1.12", - "@tiledesk/tiledesk-vxml-connector": "^0.1.68", + "@tiledesk/tiledesk-vxml-connector": "^0.1.69", "@tiledesk/tiledesk-whatsapp-connector": "^0.1.75", "@tiledesk/tiledesk-whatsapp-jobworker": "^0.0.10", "amqplib": "^0.5.5", @@ -4124,9 +4124,9 @@ } }, "node_modules/@tiledesk/tiledesk-tybot-connector": { - "version": "0.2.138-rc4", - "resolved": "https://registry.npmjs.org/@tiledesk/tiledesk-tybot-connector/-/tiledesk-tybot-connector-0.2.138-rc4.tgz", - "integrity": "sha512-QIz57m7PqBEJ8Lk7MppZKCR+eFgx3XFTGw6vkS3E5/3RxuXX5MeKhZfC5dkG8F+wmnpMW58PoFikO8vJTA+VIw==", + "version": "0.2.138-rc5", + "resolved": "https://registry.npmjs.org/@tiledesk/tiledesk-tybot-connector/-/tiledesk-tybot-connector-0.2.138-rc5.tgz", + "integrity": "sha512-yRxxZtT6GiCSX3FRquzBd6ItQpc5CUEHqRK2QbTHh9hwigUAq6kYFDZ9fJ9IwbDBg3UF7XzRHyqmihqQO9AnDQ==", "dependencies": { "@tiledesk/helpcenter-query-client": "^0.1.8", "@tiledesk/tiledesk-chatbot-client": "^0.5.30", @@ -4675,9 +4675,9 @@ "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==" }, "node_modules/@tiledesk/tiledesk-vxml-connector": { - "version": "0.1.68", - "resolved": "https://registry.npmjs.org/@tiledesk/tiledesk-vxml-connector/-/tiledesk-vxml-connector-0.1.68.tgz", - "integrity": "sha512-eRwPG4Lu7/l+tO2LJppMn8rwqgKfl4UwUU6H7CHgROdelTwfs3NQfRDynSEEzKb01nO2TIL7Xg+emnv2777sNQ==", + "version": "0.1.69", + "resolved": "https://registry.npmjs.org/@tiledesk/tiledesk-vxml-connector/-/tiledesk-vxml-connector-0.1.69.tgz", + "integrity": "sha512-0ll6kewWZMUKVZoHu45ohE3jYu4wfQoVrIEkrgITiRYTM8fBZIfQDTiAXOlnRD4ZgbDZHkW+EyD12ZPTJihKCw==", "dependencies": { "@tiledesk/tiledesk-client": "^0.10.4", "app-root-path": "^3.0.0", @@ -22015,9 +22015,9 @@ } }, "@tiledesk/tiledesk-tybot-connector": { - "version": "0.2.138-rc4", - "resolved": "https://registry.npmjs.org/@tiledesk/tiledesk-tybot-connector/-/tiledesk-tybot-connector-0.2.138-rc4.tgz", - "integrity": "sha512-QIz57m7PqBEJ8Lk7MppZKCR+eFgx3XFTGw6vkS3E5/3RxuXX5MeKhZfC5dkG8F+wmnpMW58PoFikO8vJTA+VIw==", + "version": "0.2.138-rc5", + "resolved": "https://registry.npmjs.org/@tiledesk/tiledesk-tybot-connector/-/tiledesk-tybot-connector-0.2.138-rc5.tgz", + "integrity": "sha512-yRxxZtT6GiCSX3FRquzBd6ItQpc5CUEHqRK2QbTHh9hwigUAq6kYFDZ9fJ9IwbDBg3UF7XzRHyqmihqQO9AnDQ==", "requires": { "@tiledesk/helpcenter-query-client": "^0.1.8", "@tiledesk/tiledesk-chatbot-client": "^0.5.30", @@ -22452,9 +22452,9 @@ } }, "@tiledesk/tiledesk-vxml-connector": { - "version": "0.1.68", - "resolved": "https://registry.npmjs.org/@tiledesk/tiledesk-vxml-connector/-/tiledesk-vxml-connector-0.1.68.tgz", - "integrity": "sha512-eRwPG4Lu7/l+tO2LJppMn8rwqgKfl4UwUU6H7CHgROdelTwfs3NQfRDynSEEzKb01nO2TIL7Xg+emnv2777sNQ==", + "version": "0.1.69", + "resolved": "https://registry.npmjs.org/@tiledesk/tiledesk-vxml-connector/-/tiledesk-vxml-connector-0.1.69.tgz", + "integrity": "sha512-0ll6kewWZMUKVZoHu45ohE3jYu4wfQoVrIEkrgITiRYTM8fBZIfQDTiAXOlnRD4ZgbDZHkW+EyD12ZPTJihKCw==", "requires": { "@tiledesk/tiledesk-client": "^0.10.4", "app-root-path": "^3.0.0", diff --git a/package.json b/package.json index a6a54d73f36..bc9ffa5625b 100644 --- a/package.json +++ b/package.json @@ -48,11 +48,11 @@ "@tiledesk/tiledesk-rasa-connector": "^1.0.10", "@tiledesk/tiledesk-telegram-connector": "^0.1.14", "@tiledesk/tiledesk-train-jobworker": "^0.0.11", - "@tiledesk/tiledesk-tybot-connector": "0.2.138-rc4", + "@tiledesk/tiledesk-tybot-connector": "0.2.138-rc5", "@tiledesk/tiledesk-whatsapp-connector": "^0.1.75", "@tiledesk/tiledesk-whatsapp-jobworker": "^0.0.10", "@tiledesk/tiledesk-sms-connector": "^0.1.10", - "@tiledesk/tiledesk-vxml-connector": "^0.1.68", + "@tiledesk/tiledesk-vxml-connector": "^0.1.69", "@tiledesk/tiledesk-voice-twilio-connector": "^0.1.12", "@tiledesk/tiledesk-multi-worker": "^0.1.5", "amqplib": "^0.5.5", diff --git a/services/requestService.js b/services/requestService.js index b9cce46e753..67afbc4efab 100644 --- a/services/requestService.js +++ b/services/requestService.js @@ -20,6 +20,7 @@ var configGlobal = require('../config/global'); const projectService = require('./projectService'); const axios = require("axios").default; +const port = process.env.PORT || '3000'; const TILEBOT_ENDPOINT = process.env.TILEBOT_ENDPOINT || "http://localhost:" + port+ "/modules/tilebot/ext/"; let tdCache = new TdCache({