whatsapp-pi 1.0.18 → 1.0.20

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
@@ -33,9 +33,7 @@ pi
33
33
 
34
34
  To automatically connect to WhatsApp on startup (if you are already authenticated):
35
35
  ```bash
36
- pi -w
37
- # or
38
- pi --whatsapp
36
+ pi --whatsapp-pi-online
39
37
  ```
40
38
 
41
39
  3. Use the menu to connect WhatsApp and manage allowed/blocked numbers
@@ -58,8 +56,6 @@ pi -e whatsapp-pi.ts
58
56
 
59
57
  For verbose mode (shows Baileys trace logs for debugging):
60
58
  ```bash
61
- pi -e whatsapp-pi.ts -v
62
- # or
63
59
  pi -e whatsapp-pi.ts --verbose
64
60
  ```
65
61
 
@@ -71,7 +67,6 @@ pi -e whatsapp-pi.ts --verbose
71
67
  - **Connect WhatsApp** - Start WhatsApp connection (shows QR code for first-time setup)
72
68
  - **Disconnect WhatsApp** - Stop WhatsApp connection
73
69
  - **Logoff (Delete Session)** - Remove all credentials and session data
74
- - **Reset Conversation** - Clear all conversation history
75
70
  - **Allowed Numbers** - Manage contacts that can interact with Pi
76
71
  - **Blocked Numbers** - View ignored numbers and manage them
77
72
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "whatsapp-pi",
3
- "version": "1.0.18",
3
+ "version": "1.0.20",
4
4
  "type": "module",
5
5
  "description": "WhatsApp integration extension for Pi",
6
6
  "main": "whatsapp-pi.ts",
@@ -26,7 +26,6 @@ export class MenuHandler {
26
26
 
27
27
  if (registered) {
28
28
  options.push('Logoff (Delete Session)');
29
- options.push('Reset Conversation');
30
29
  }
31
30
 
32
31
  options.push('Allowed Numbers');
@@ -54,12 +53,6 @@ export class MenuHandler {
54
53
  ctx.ui.notify('Logged off and credentials deleted', 'info');
55
54
  }
56
55
  break;
57
- case 'Reset Conversation':
58
- const confirmReset = await ctx.ui.confirm('Reset', 'Clear all conversation history?');
59
- if (confirmReset) {
60
- await ctx.newSession();
61
- }
62
- break;
63
56
  case 'Allowed Numbers':
64
57
  await this.manageAllowList(ctx);
65
58
  break;