mqtt-devices-parser 1.0.31 → 1.0.32

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
@@ -1,8 +1,11 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.0.32
4
+ fix: handleFotaError call
5
+
3
6
  ## 1.0.31
4
7
  fix: handleFotaSuccess, make it public
5
-
8
+
6
9
  ## 1.0.30
7
10
  fix: tests, recover "settings" parsing, deal with new call addMqttMsgLog
8
11
  doc: update Release
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mqtt-devices-parser",
3
- "version": "1.0.31",
3
+ "version": "1.0.32",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -510,7 +510,7 @@ async function parseMqttMessage(client, project_name, device, topic, payload, re
510
510
  break;
511
511
  case "fw":
512
512
  if(topic === "fota/update/status"){
513
- handleFotaError(device.id, payload);
513
+ self.handleFotaError(device.id, payload);
514
514
  }else{
515
515
  let word = $.parser.getFirstWord(topic);
516
516
  if(typeof payload === 'object' && payload !== null){