node-red-contrib-uos-nats 0.2.3 → 0.2.4

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.
@@ -7,7 +7,7 @@ const payloadModuleUrl = pathToFileURL(path.join(__dirname, '..', 'lib', 'payloa
7
7
  const providerCache = new Map();
8
8
  const CACHE_TTL = 5 * 60 * 1000; // 5 minutes
9
9
 
10
- export default function (RED) {
10
+ module.exports = function (RED) {
11
11
  async function resolveVariableKey(nc, providerId, key, node, payloads) {
12
12
  const cacheKey = `${providerId}`;
13
13
  const cached = providerCache.get(cacheKey);
@@ -176,4 +176,4 @@ export default function (RED) {
176
176
  }
177
177
 
178
178
  RED.nodes.registerType('datahub-write', DataHubWriteNode);
179
- }
179
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "node-red-contrib-uos-nats",
3
- "version": "0.2.3",
3
+ "version": "0.2.4",
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",