node-red-contrib-uos-nats 1.3.0 → 1.3.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.
@@ -156,7 +156,8 @@ module.exports = function (RED) {
156
156
 
157
157
  if ((defMap.size === 0 && this.manualDefs.length === 0) || hasMissingIds) {
158
158
  try {
159
- this.warn(hasMissingIds
159
+ // Changed from warn to debug to reduce noise as per user request
160
+ this.debug(hasMissingIds
160
161
  ? `Loaded variables have unresolved IDs (Heuristic). Attempting NATS Discovery to resolve real IDs for ${this.providerId}...`
161
162
  : `Attempting NATS Discovery (Direct) for ${this.providerId}...`
162
163
  );
@@ -171,7 +172,7 @@ module.exports = function (RED) {
171
172
  const defs = payloads.decodeProviderDefinition(defMsg.data);
172
173
 
173
174
  if (defs && defs.variables.length > 0) {
174
- this.warn(`NATS Discovery Successful: Received ${defs.variables.length} definitions with real IDs.`);
175
+ this.debug(`NATS Discovery Successful: Received ${defs.variables.length} definitions with real IDs.`);
175
176
  // Overwrite/Update defMap
176
177
  // Logic: Match by KEY. DataHub providers should have unique keys.
177
178
  // If we have existing "fake" ID 5 for "temp", and NATS says "temp" is ID 291.
@@ -118,7 +118,7 @@ module.exports = function (RED) {
118
118
  node.resolvedFingerprint = resolved.fingerprint;
119
119
 
120
120
  if (node.variableId && node.variableId !== resolved.id) {
121
- node.warn(`Auto-Healed ID for '${this.variableKey}': Configured=${node.variableId}, Resolved=${resolved.id}`);
121
+ node.debug(`Auto-Healed ID for '${this.variableKey}': Configured=${node.variableId}, Resolved=${resolved.id}`);
122
122
  }
123
123
  node.status({ fill: 'green', shape: 'ring', text: 'ready' });
124
124
  })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "node-red-contrib-uos-nats",
3
- "version": "1.3.0",
3
+ "version": "1.3.1",
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",