@dongdev/fca-unofficial 1.0.18 → 1.0.19

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
@@ -23,3 +23,6 @@ Too lazy to write changelog, sorry! (will write changelog in the next release, t
23
23
 
24
24
  ## v1.0.17 - 2025-05-07
25
25
  - Hotfix / auto bump
26
+
27
+ ## v1.0.18 - 2025-05-22
28
+ - Hotfix / auto bump
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dongdev/fca-unofficial",
3
- "version": "1.0.18",
3
+ "version": "1.0.19",
4
4
  "description": "A Facebook chat API without XMPP, will not be deprecated after April 30th, 2015.",
5
5
  "main": "index.js",
6
6
  "repository": {
package/src/listenMqtt.js CHANGED
@@ -229,11 +229,11 @@ function listenMqtt(defaultFuncs, api, ctx, globalCallback) {
229
229
  }
230
230
  });
231
231
  mqttClient.on("connect", function () {
232
- let StopProcessin = true;
232
+ let StopProcessing = true;
233
233
  mqttReconnectCount = 0;
234
234
  setInterval(() => {
235
235
  console.log('Đang chuẩn bị ngắt kết nối MQTT...');
236
- StopProcessin = true;
236
+ StopProcessing = true;
237
237
  if (ctx.mqttClient) {
238
238
  topics.forEach((topic) => {
239
239
  try {