@dongdev/fca-unofficial 2.0.14 → 2.0.15

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
@@ -77,3 +77,6 @@ Too lazy to write changelog, sorry! (will write changelog in the next release, t
77
77
 
78
78
  ## v2.0.13 - 2025-10-07
79
79
  - Hotfix / auto bump
80
+
81
+ ## v2.0.14 - 2025-10-07
82
+ - Hotfix / auto bump
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dongdev/fca-unofficial",
3
- "version": "2.0.14",
3
+ "version": "2.0.15",
4
4
  "description": "Unofficial Facebook Chat API for Node.js - Interact with Facebook Messenger programmatically",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -81,9 +81,10 @@ module.exports = function createListenMqtt(deps) {
81
81
  return;
82
82
  }
83
83
  logger(`MQTT error: ${msg}`, "error");
84
- mqttClient.end();
85
- logger("MQTT autoReconnect listenMqtt() in 2000ms", "warn");
86
- setTimeout(() => listenMqtt(defaultFuncs, api, ctx, globalCallback), 2000);
84
+ // mqttClient.end();
85
+ // logger("MQTT autoReconnect listenMqtt() in 2000ms", "warn");
86
+ // setTimeout(() => listenMqtt(defaultFuncs, api, ctx, globalCallback), 2000);
87
+ process.exit(1);
87
88
  });
88
89
  mqttClient.on("connect", function () {
89
90
  if (process.env.OnStatus === undefined) {