whatsapp-pi 1.0.18 → 1.0.19

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
@@ -71,7 +71,6 @@ pi -e whatsapp-pi.ts --verbose
71
71
  - **Connect WhatsApp** - Start WhatsApp connection (shows QR code for first-time setup)
72
72
  - **Disconnect WhatsApp** - Stop WhatsApp connection
73
73
  - **Logoff (Delete Session)** - Remove all credentials and session data
74
- - **Reset Conversation** - Clear all conversation history
75
74
  - **Allowed Numbers** - Manage contacts that can interact with Pi
76
75
  - **Blocked Numbers** - View ignored numbers and manage them
77
76
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "whatsapp-pi",
3
- "version": "1.0.18",
3
+ "version": "1.0.19",
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;