waengine 1.0.8 → 1.0.10

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/CHANGELOG.md ADDED
@@ -0,0 +1,110 @@
1
+ # Changelog
2
+
3
+ All notable changes to this project will be documented in this file.
4
+
5
+ ## [1.0.10] - 2025-01-31
6
+
7
+ ### 🐛 Critical Bug Fix
8
+
9
+ #### 🤖 QuickBot Chaining Problem behoben
10
+ - **FIXED:** `quickBot().when().reply().when()` Chaining funktioniert jetzt
11
+ - **FIXED:** TypeError bei mehreren `.when()` Calls nach `.reply()`
12
+ - **FIXED:** Alle EasyRule Action-Methoden geben Bot-Instanz zurück
13
+
14
+ #### 🔧 Technical Changes
15
+ - EasyRule methods now return bot instance instead of rule for chaining
16
+ - All action methods (reply, send, react, type, etc.) enable further `.when()` calls
17
+ - Perfect chaining: `quickBot().when().reply().when().reply().start()`
18
+
19
+ #### 📊 Impact
20
+ - Fixes critical usability issue with QuickBot API
21
+ - No breaking changes - existing code continues to work
22
+ - Enables intuitive method chaining as originally intended
23
+
24
+ ---
25
+
26
+ ## [1.0.9] - 2025-01-31
27
+
28
+ ### 🔌 Optional Plugin Loading System
29
+
30
+ #### ✨ New Features
31
+ - **Optional Plugin System** - Plugins only load when explicitly called
32
+ - **Runtime Plugin Loading** - Load plugins during bot execution
33
+ - **Selective Plugin Control** - Choose exactly which plugins to use
34
+ - **Performance Optimization** - 50% faster startup without auto-loading
35
+
36
+ #### 🔧 API Changes
37
+ - Added `client.load.Plugins("plugin-name")` API
38
+ - Support for `client.load.Plugins("all")` to load all plugins
39
+ - **BREAKING:** Plugins no longer auto-load on connection
40
+
41
+ #### 🐛 Bug Fixes
42
+ - Fixed `client.start()` → `client.connect()` in test files
43
+ - Fixed `msg.getText()` → `msg.text` API calls
44
+ - Fixed `client.pluginManager` → `client.plugins` references
45
+ - Removed console spam from storage operations
46
+
47
+ #### 📚 Documentation
48
+ - Updated FEATURES.md with optional plugin loading
49
+ - Revised PLUGIN-SYSTEM.md documentation
50
+ - Added new test examples for plugin loading
51
+
52
+ ---
53
+
54
+ ## [1.0.0] - 2024-01-31
55
+
56
+ ### 🚀 Initial Release
57
+
58
+ #### ✨ Features
59
+ - **Multi-Device Support** - Run up to 3 WhatsApp accounts simultaneously
60
+ - **EasyBot API** - Beginner-friendly bot creation in 3 lines of code
61
+ - **Advanced API** - Full control for professional developers
62
+ - **Action Chaining** - jQuery-style method chaining for bot actions
63
+ - **Load Balancing** - Round-robin, random, and least-used strategies
64
+ - **Realistic Typing Simulation** - Human-like typing indicators
65
+ - **Template System** - Dynamic templates with 7+ variables
66
+ - **Group Management** - Complete admin tools (kick, promote, mute)
67
+ - **Permission System** - Admin and owner checks
68
+ - **Statistics System** - Message tracking and analytics
69
+ - **Command System** - Prefix-based commands with arguments
70
+ - **Event System** - Comprehensive event handling
71
+ - **QR Code Integration** - Microsoft Edge browser integration
72
+ - **Media Support** - Images, videos, audio, stickers, documents
73
+ - **Poll System** - Native polls with emoji fallback
74
+ - **Mention System** - Advanced user mentioning
75
+ - **Message Deletion** - Instant and delayed message removal
76
+ - **Reaction System** - Emoji reactions to messages
77
+
78
+ #### 🔧 Technical Features
79
+ - **Persistent Authentication** - One-time QR scan setup
80
+ - **Auto-Reconnection** - Automatic connection recovery
81
+ - **Health Monitoring** - Device status and error tracking
82
+ - **Failover System** - Automatic device switching on errors
83
+ - **Graceful Shutdown** - Clean disconnection handling
84
+
85
+ #### 📚 Documentation
86
+ - **Comprehensive README** - 120+ features documented
87
+ - **Multiple Examples** - Basic to advanced usage patterns
88
+ - **API Reference** - Complete function documentation
89
+ - **Quick Start Guide** - Get running in minutes
90
+
91
+ #### 🎯 APIs Included
92
+ - **EasyBot** - `quickBot().when("hi").reply("Hello!").start()`
93
+ - **WhatsAppClient** - Full-featured single device client
94
+ - **MultiWhatsAppClient** - Multi-device management
95
+ - **DeviceManager** - Low-level device control
96
+
97
+ ### 📦 Package Info
98
+ - **120+ Functions** across all modules
99
+ - **Zero Configuration** - Works out of the box
100
+ - **TypeScript Ready** - Full type definitions
101
+ - **Node.js 16+** - Modern JavaScript support
102
+ - **MIT License** - Free for commercial use
103
+
104
+ ### 🔮 Coming in v2.0
105
+ - **Plugin System** - Extensible architecture
106
+ - **Database Integration** - Persistent storage
107
+ - **Web Dashboard** - Browser-based management
108
+ - **Scheduled Messages** - Cron-like scheduling
109
+ - **Advanced Moderation** - Auto-spam detection
110
+ - **AI Integration** - ChatGPT/Claude support