n8n-nodes-idb2b 3.0.5 → 3.0.6

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.
@@ -213,7 +213,7 @@ function validateContactData(name, email) {
213
213
  if (name.trim().length > 255) {
214
214
  throw new Error('Contact name cannot exceed 255 characters');
215
215
  }
216
- if (email) {
216
+ if (email !== undefined && email !== null) {
217
217
  validateEmailField(email);
218
218
  }
219
219
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "n8n-nodes-idb2b",
3
- "version": "3.0.5",
3
+ "version": "3.0.6",
4
4
  "description": "n8n community node for IDB2B - WhatsApp AI Agents",
5
5
  "main": "index.js",
6
6
  "scripts": {