node-red-contrib-uos-nats 0.2.14 → 0.2.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.
@@ -84,7 +84,7 @@ export class Variable {
84
84
  }
85
85
  static endVariable(builder) {
86
86
  const offset = builder.endObject();
87
- // builder.requiredField(offset, 6); // value - Removed to prevent crash in JS runtime
87
+ // builder.requiredField(offset, 6); // value - Check DISABLED in v0.2.15
88
88
  return offset;
89
89
  }
90
90
  unpack() {
@@ -181,7 +181,7 @@ module.exports = function (RED) {
181
181
  const payload = payloadsMod.buildVariablesChangedEvent(definitions, stateObj, fingerprint);
182
182
  await nc.publish(subjectsMod.varsChangedEvent(this.providerId), payload);
183
183
  } catch (err) {
184
- this.error(`Encoding Error: ${err.message}. State: ${JSON.stringify(stateObj)}`);
184
+ this.error(`[v0.2.15] Encoding Error: ${err.message}. State: ${JSON.stringify(stateObj)}`);
185
185
  }
186
186
  send(msg);
187
187
  done();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "node-red-contrib-uos-nats",
3
- "version": "0.2.14",
3
+ "version": "0.2.15",
4
4
  "description": "Node-RED nodes for Weidmüller u-OS Data Hub. Read, write, and provide variables via NATS protocol with OAuth2 authentication. Features: Variable Key resolution, custom icons, example flows, and provider definition caching.",
5
5
  "author": {
6
6
  "name": "IoTUeli",