@tiledesk/tiledesk-whatsapp-connector 0.1.63 → 0.1.64

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/index.js CHANGED
@@ -742,6 +742,11 @@ router.post("/tiledesk", async (req, res) => {
742
742
  return res.sendStatus(200);
743
743
  }
744
744
 
745
+ if (attributes && attributes.subtype === "private") {
746
+ winston.verbose("(wab) Skip subtype (private)");
747
+ return res.sendStatus(200);
748
+ }
749
+
745
750
  if (attributes && attributes.subtype === "info/support") {
746
751
  winston.verbose("(wab) Skip subtype: " + attributes.subtype);
747
752
  return res.sendStatus(200);
package/logs/app.log CHANGED
@@ -0,0 +1,2 @@
1
+ info: (wab) Starting Whatsapp App
2
+ error: (wab) MONGODB_URL is mandatory. Exit...
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tiledesk/tiledesk-whatsapp-connector",
3
- "version": "0.1.63",
3
+ "version": "0.1.64",
4
4
  "description": "Tiledesk Whatsapp connector",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -214,51 +214,34 @@
214
214
 
215
215
  <p style="font-size: 18px;"><b>What's new?</b></p>
216
216
 
217
- <div style="width: 100%; display: flex; flex-direction: row; justify-content: space-between; margin-bottom: 15px;">
218
- <div>
219
- <p>Plans upgrade</p>
220
- </div>
221
- <p style="font-size: 12px; color: #676767; margin-bottom: 0px;">Version <b>0.1.63</b></p>
222
- </div>
223
-
224
- <div style="width: 100%; display: flex; flex-direction: row; justify-content: space-between; margin-bottom: 15px;">
225
- <div>
226
- <p>Fixed bug: custom authentication error</p>
227
- </div>
228
- <p style="font-size: 12px; color: #676767; margin-bottom: 0px;">Version <b>0.1.62</b></p>
229
- </div>
230
-
231
217
  <div style="width: 100%; display: flex; flex-direction: row; justify-content: space-between; margin-bottom: 15px;">
232
218
  <div>
233
219
  <p>Bug fixes and performance improvements</p>
234
220
  </div>
235
- <p style="font-size: 12px; color: #676767; margin-bottom: 0px;">Version <b>0.1.61</b></p>
221
+ <p style="font-size: 12px; color: #676767; margin-bottom: 0px;">Version <b>0.1.64</b></p>
236
222
  </div>
237
223
 
238
224
  <div style="width: 100%; display: flex; flex-direction: row; justify-content: space-between; margin-bottom: 15px;">
239
225
  <div>
240
- <p>Bug fixes and performance improvements</p>
226
+ <p>Plans upgrade</p>
241
227
  </div>
242
- <p style="font-size: 12px; color: #676767; margin-bottom: 0px;">Version <b>0.1.60</b></p>
228
+ <p style="font-size: 12px; color: #676767; margin-bottom: 0px;">Version <b>0.1.63</b></p>
243
229
  </div>
244
230
 
245
231
  <div style="width: 100%; display: flex; flex-direction: row; justify-content: space-between; margin-bottom: 15px;">
246
232
  <div>
247
- <p style="margin-bottom: 0px">Added Meta message forwarding</p>
233
+ <p>Fixed bug: custom authentication error</p>
248
234
  </div>
249
- <p style="font-size: 12px; color: #676767; margin-bottom: 0px;">Version <b>0.1.59</b></p>
235
+ <p style="font-size: 12px; color: #676767; margin-bottom: 0px;">Version <b>0.1.62</b></p>
250
236
  </div>
251
237
 
252
-
253
238
  <div style="width: 100%; display: flex; flex-direction: row; justify-content: space-between; margin-bottom: 15px;">
254
239
  <div>
255
- <p>Added Messages Logs for WhatsApp broadcast</p>
256
- <p>Added Queue Manager for Whatsapp broadcast</p>
257
240
  <p>Bug fixes and performance improvements</p>
258
241
  </div>
259
- <p style="font-size: 12px; color: #676767; margin-bottom: 0px;">Version <b>0.1.55</b></p>
242
+ <p style="font-size: 12px; color: #676767; margin-bottom: 0px;">Version <b>0.1.61</b></p>
260
243
  </div>
261
-
244
+
262
245
  <hr style="margin-top: 50px; margin-bottom: 20px">
263
246
 
264
247
  <script>