@iobroker/modbus 7.0.24 → 7.0.25

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/README.md CHANGED
@@ -135,6 +135,9 @@ There are some programs in folder `test` to test the TCP communication:
135
135
  -->
136
136
 
137
137
  ## Changelog
138
+ ### 7.0.25 (2026-02-16)
139
+ - (@GermanBluefox) Disable logging of request timeout if `disableLogging` parameter is set to true
140
+
138
141
  ### 7.0.24 (2026-02-15)
139
142
  - (@GermanBluefox) Corrected the reading of registers
140
143
  - (@GermanBluefox) Corrected the type of `info.connection`
@@ -16,7 +16,7 @@ function createLoggingWrapper(originalLog, disableLogging) {
16
16
  return originalLog;
17
17
  }
18
18
  // List of connection error messages that should be suppressed when logging is disabled
19
- const suppressedErrorMessages = ['Socket Error', 'Client in error state'];
19
+ const suppressedErrorMessages = ['Socket Error', 'Client in error state', 'Request timed out.'];
20
20
  return {
21
21
  silly: originalLog.silly.bind(originalLog),
22
22
  level: originalLog.level,
@@ -1 +1 @@
1
- {"version":3,"file":"loggingUtils.js","sourceRoot":"","sources":["../../src/lib/loggingUtils.ts"],"names":[],"mappings":";AAAA;;GAEG;;AASH,oDAwBC;AA/BD;;;;;;GAMG;AACH,SAAgB,oBAAoB,CAAC,WAA4B,EAAE,cAAwB;IACvF,IAAI,CAAC,cAAc,EAAE,CAAC;QAClB,OAAO,WAAW,CAAC;IACvB,CAAC;IAED,uFAAuF;IACvF,MAAM,uBAAuB,GAAG,CAAC,cAAc,EAAE,uBAAuB,CAAC,CAAC;IAE1E,OAAO;QACH,KAAK,EAAE,WAAW,CAAC,KAAK,CAAC,IAAI,CAAC,WAAW,CAAC;QAC1C,KAAK,EAAE,WAAW,CAAC,KAAK;QACxB,KAAK,EAAE,WAAW,CAAC,KAAK,CAAC,IAAI,CAAC,WAAW,CAAC;QAC1C,IAAI,EAAE,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,WAAW,CAAC;QACxC,IAAI,EAA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KAAK,EAAE,CAAC,GAAmB,EAAE,GAAG,IAAW,EAAQ,EAAE;YACjD,wEAAwE;YACxE,IAAI,OAAO,GAAG,KAAK,QAAQ,IAAI,uBAAuB,CAAC,IAAI,CAAC,OAAO,CAAC,EAAE,CAAC,GAAG,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC,EAAE,CAAC;gBAC5F,uDAAuD;gBACvD,OAAO;YACX,CAAC;YACD,yCAAyC;YACzC,WAAW,CAAC,KAAK,CAAC,GAAG,CAAC,QAAQ,EAAE,GAAG,CAAC,IAAI,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,IAAI,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;QACvF,CAAC;KACJ,CAAC;AACN,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@iobroker/modbus",
3
- "version": "7.0.24",
3
+ "version": "7.0.25",
4
4
  "description": "Template for Modbus protocol in ioBroker",
5
5
  "publishConfig": {
6
6
  "access": "public"