@tiledesk/tiledesk-server 2.28.1 → 2.28.2
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 +5 -0
- package/jobsManager.js +4 -1
- package/package.json +3 -3
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.28.2
|
|
9
|
+
- Bumped whatsapp-connector version to 1.0.31: broadcast jobs are published on a single shared AMQP connection instead of opening a new one per request.
|
|
10
|
+
- Bumped whatsapp-jobworker version to 0.0.14: the broadcast consumer now recovers after failed reconnections, closed channels and consumer cancellations, always acks the jobs and uses a timeout for the WhatsApp Graph API calls.
|
|
11
|
+
- The WhatsApp broadcast consumer is now started by JobsManager, so it respects JOB_WORKER_ENABLED: when it is true only the jobs worker (jobs.js) consumes the broadcast queue.
|
|
12
|
+
|
|
8
13
|
# 2.28.1
|
|
9
14
|
- Bumped whatsapp-connector version to 1.0.30
|
|
10
15
|
|
package/jobsManager.js
CHANGED
|
@@ -72,7 +72,10 @@ class JobsManager {
|
|
|
72
72
|
|
|
73
73
|
listenWhatsappQueue(whatsappQueue) {
|
|
74
74
|
this.start("Whatsapp Queue", () => {
|
|
75
|
-
|
|
75
|
+
this.whatsappQueue = whatsappQueue;
|
|
76
|
+
if (typeof this.whatsappQueue.start === "function") {
|
|
77
|
+
this.whatsappQueue.start();
|
|
78
|
+
}
|
|
76
79
|
});
|
|
77
80
|
}
|
|
78
81
|
|
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.28.
|
|
4
|
+
"version": "2.28.2",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"start": "node ./bin/www",
|
|
7
7
|
"pretest": "mongodb-runner start",
|
|
@@ -52,8 +52,8 @@
|
|
|
52
52
|
"@tiledesk/tiledesk-tybot-connector": "^2.1.15",
|
|
53
53
|
"@tiledesk/tiledesk-voice-twilio-connector": "^0.3.2",
|
|
54
54
|
"@tiledesk/tiledesk-vxml-connector": "^0.1.91",
|
|
55
|
-
"@tiledesk/tiledesk-whatsapp-connector": "1.0.
|
|
56
|
-
"@tiledesk/tiledesk-whatsapp-jobworker": "^0.0.
|
|
55
|
+
"@tiledesk/tiledesk-whatsapp-connector": "1.0.31",
|
|
56
|
+
"@tiledesk/tiledesk-whatsapp-jobworker": "^0.0.14",
|
|
57
57
|
"amqplib": "^0.5.5",
|
|
58
58
|
"app-root-path": "^3.0.0",
|
|
59
59
|
"bcrypt-nodejs": "0.0.3",
|