n8n-nodes-wassenger 1.2.0 โ†’ 1.2.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.
package/README.md CHANGED
@@ -13,6 +13,24 @@ Send WhatsApp messages, upload media files, validate phone numbers, manage chats
13
13
 
14
14
  [Check out the API documentation and examples here](https://app.wassenger.com/docs)
15
15
 
16
+ > **Product update**: ๐Ÿš€ no more need to host n8n on your own, try [Wassenger Flows today for a fully managed WhatsApp No-Code Automation Workflows](https://wassenger.com/flows) โšกโœจ
17
+
18
+ ## ๐Ÿš€ Ready to Build WhatsApp Automations?
19
+
20
+ Get started with step-by-step tutorials and real-world examples:
21
+
22
+ - **๐Ÿ“š [10+ Complete Tutorials](https://medium.com/search?q=%40wassenger+n8n)** - Build AI agents, chatbots, and advanced automations with detailed guides
23
+ - **๐ŸŽฅ [Video Walkthroughs](https://www.youtube.com/@wassenger/search?query=n8n)** - Watch live demos and follow along with our YouTube tutorials
24
+
25
+ **Popular automation ideas:**
26
+ - AI-powered customer support bots
27
+ - Lead qualification workflows
28
+ - Order status notifications
29
+ - Appointment booking systems
30
+ - Multi-language customer support with business-specific trained data
31
+
32
+ [Start building your first](https://wassenger.com) WhatsApp automation in minutes! ๐Ÿ’ก
33
+
16
34
  ## Contents
17
35
 
18
36
  - [Requirements](#requirements)
@@ -517,14 +517,16 @@ class WassengerTrigger {
517
517
  }
518
518
  catch (error) {
519
519
  // Delete all workflow specific webhooks
520
- try {
521
- await (0, request_1.rawRequest)({
522
- url: `/webhooks/600f1c2a9b3d4e5f6a7b8c00?workflow=${workflowId}`,
523
- method: 'DELETE'
524
- }, apiKey);
525
- }
526
- catch (error) {
527
- console.error(`Error checking Wassenger webhook existence:`, error.message);
520
+ if (webhookId) {
521
+ try {
522
+ await (0, request_1.rawRequest)({
523
+ url: `/webhooks/${webhookId}`,
524
+ method: 'DELETE'
525
+ }, apiKey);
526
+ }
527
+ catch (error) {
528
+ console.error(`Error deleting existing webhook existence:`, error.message);
529
+ }
528
530
  }
529
531
  if (axios_1.default.isAxiosError(error) && error.response && error.response.status === 404) {
530
532
  return false;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "n8n-nodes-wassenger",
3
- "version": "1.2.0",
3
+ "version": "1.2.1",
4
4
  "description": "n8n plugin for Wassenger",
5
5
  "main": "index.js",
6
6
  "license": "MIT",