n8n-nodes-cribops 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.
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "n8n-nodes-cribops",
3
- "version": "0.2.3",
3
+ "version": "0.2.4",
4
4
  "description": "n8n community node for reliable webhook processing with Cribops",
5
5
  "keywords": [
6
6
  "n8n-community-node-package"
@@ -12,13 +12,17 @@ class HiveClient {
12
12
  const options = {
13
13
  host: config.host,
14
14
  port: config.port,
15
- password: config.password,
16
15
  retryStrategy: (times) => {
17
16
  if (times > 3)
18
17
  return null;
19
18
  return Math.min(times * 100, 3000);
20
19
  },
20
+ lazyConnect: true,
21
21
  };
22
+ // Only set password if it's actually provided (not empty string)
23
+ if (config.password && config.password.trim() !== '') {
24
+ options.password = config.password;
25
+ }
22
26
  if (config.tls) {
23
27
  options.tls = {};
24
28
  }
@@ -27,7 +31,8 @@ class HiveClient {
27
31
  async connect() {
28
32
  if (this.connected)
29
33
  return;
30
- // ioredis auto-connects, but we can verify with a ping
34
+ // Connect and verify with a ping
35
+ await this.redis.connect();
31
36
  await this.redis.ping();
32
37
  this.connected = true;
33
38
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "n8n-nodes-cribops",
3
- "version": "0.2.3",
3
+ "version": "0.2.4",
4
4
  "description": "n8n community node for reliable webhook processing with Cribops",
5
5
  "keywords": [
6
6
  "n8n-community-node-package"