modbus-webserial 0.11.0 → 0.11.1

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.
Files changed (2) hide show
  1. package/dist/index.js +4 -4
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -120,7 +120,7 @@ var _WebSerialTransport = class _WebSerialTransport {
120
120
  }
121
121
  async init(opts) {
122
122
  var _a, _b, _c;
123
- Object.entries(this.cfg).forEach(([key, defaultValue]) => {
123
+ Object.entries(this.cfg).forEach(([key, _]) => {
124
124
  if (typeof opts[key] !== "undefined") {
125
125
  this.cfg[key] = opts[key];
126
126
  }
@@ -854,9 +854,9 @@ var ModbusRTU = class _ModbusRTU {
854
854
 
855
855
  // src/index.ts
856
856
  var BUILD_INFO = {
857
- version: "0.11.0",
858
- commit: "0107e92",
859
- buildTime: "2026-03-13T07:30:43.483Z"
857
+ version: "0.11.1",
858
+ commit: "062c610",
859
+ buildTime: "2026-03-13T07:48:04.249Z"
860
860
  };
861
861
  export {
862
862
  BUILD_INFO,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "modbus-webserial",
3
- "version": "0.11.0",
3
+ "version": "0.11.1",
4
4
  "description": "ESM library for speaking Modbus-RTU from the browser via Web Serial",
5
5
  "type": "module",
6
6
  "author": "Antti Kotajärvi <antti.kotajarvi@hotmail.com>",