whalibmob 5.40.43 → 5.40.44

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.
Files changed (2) hide show
  1. package/README.md +24 -26
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -27,38 +27,12 @@ code, and bring the account into being. Both transports, one API.
27
27
  [![Send messages](https://img.shields.io/badge/Send_messages-text_media_polls-34B7F1?style=for-the-badge)](https://github.com/Kunboruto20/whalibmob/blob/main/docs/messaging.md#sending-messages)
28
28
  [![Handle events](https://img.shields.io/badge/Handle_events-incoming_%26_receipts-34B7F1?style=for-the-badge)](https://github.com/Kunboruto20/whalibmob/blob/main/docs/events-history.md#handling-events)
29
29
 
30
- [![NEW — Interactive buttons](https://img.shields.io/badge/NEW-Interactive_buttons_·_link_·_call_·_copy_·_reply-25D366?style=for-the-badge)](https://github.com/Kunboruto20/whalibmob/blob/main/docs/interactive-buttons.md)
31
-
32
30
  [![Device attestation](https://img.shields.io/badge/Device_attestation-Play_Integrity_%2B_App_Attest-8E44AD?style=for-the-badge)](https://github.com/Kunboruto20/whalibmob/blob/main/docs/attestation.md#device-attestation--play-integrity-and-app-attest)
33
31
 
34
32
  [![Why registration can be blocked](https://img.shields.io/badge/Why_registration_can_be_blocked-anti--abuse_%26_unofficial--client_checks-C0392B?style=for-the-badge)](https://github.com/Kunboruto20/whalibmob/blob/main/docs/accounts.md#why-registration-can-be-blocked--the-anti-abuse-landscape)
35
33
 
36
34
  </div>
37
35
 
38
- > [!NOTE]
39
- > **🆕 whalibmob now supports interactive button messages.**
40
- >
41
- > Send a "card" message with up to **three tappable buttons** — a **link** button
42
- > (opens a URL), a **call** button (dials a number), a **copy** button (copies a
43
- > code), or a **quick-reply** — with an optional header image. One call does it,
44
- > from both the Node API and the `wa` CLI, and it works the **same on a
45
- > mobile-registered number and a linked web/companion session** (a WhatsApp
46
- > message is encoded identically on both).
47
- >
48
- > ```js
49
- > await client.sendInteractive('14155552671', {
50
- > body: 'Check this out!',
51
- > footer: 'whalibmob',
52
- > buttons: [
53
- > { text: 'Open site', url: 'https://example.com' }, // link button
54
- > { text: 'Call us', phone: '14155552671' }, // call button
55
- > { text: 'Copy code', copy: 'PROMO2026' } // copy button
56
- > ]
57
- > });
58
- > ```
59
- >
60
- > 👉 **Full guide, all button types and the CLI command: [docs/interactive-buttons.md](https://github.com/Kunboruto20/whalibmob/blob/main/docs/interactive-buttons.md)**
61
-
62
36
  > [!TIP]
63
37
  > **Registration not working on some numbers? Here is the 100% success route.**
64
38
  >
@@ -185,6 +159,30 @@ main().catch(err => { console.error(err.message || err); process.exit(1) })
185
159
 
186
160
  The client reconnects by itself after a dropped connection — do not create a new one on `disconnected`. Prefer no code at all? The [CLI](https://github.com/Kunboruto20/whalibmob/blob/main/docs/cli-getting-started.md#cli--getting-started) does the same in a few commands: request the code, register, connect, then `/send`. A brand-new account is watched closely by WhatsApp's anti-abuse checks, so send the first messages to people who have your number saved — see [Accounts](https://github.com/Kunboruto20/whalibmob/blob/main/docs/accounts.md#why-registration-can-be-blocked--the-anti-abuse-landscape).
187
161
 
162
+ > [!NOTE]
163
+ > **🆕 whalibmob now supports interactive button messages.**
164
+ >
165
+ > Send a "card" message with up to **three tappable buttons** — a **link** button
166
+ > (opens a URL), a **call** button (dials a number), a **copy** button (copies a
167
+ > code), or a **quick-reply** — with an optional header image. One call does it,
168
+ > from both the Node API and the `wa` CLI, and it works the **same on a
169
+ > mobile-registered number and a linked web/companion session** (a WhatsApp
170
+ > message is encoded identically on both).
171
+ >
172
+ > ```js
173
+ > await client.sendInteractive('14155552671', {
174
+ > body: 'Check this out!',
175
+ > footer: 'whalibmob',
176
+ > buttons: [
177
+ > { text: 'Open site', url: 'https://example.com' }, // link button
178
+ > { text: 'Call us', phone: '14155552671' }, // call button
179
+ > { text: 'Copy code', copy: 'PROMO2026' } // copy button
180
+ > ]
181
+ > });
182
+ > ```
183
+ >
184
+ > 👉 **Full guide, all button types and the CLI command: [docs/interactive-buttons.md](https://github.com/Kunboruto20/whalibmob/blob/main/docs/interactive-buttons.md)**
185
+
188
186
 
189
187
  ## Approving a Companion Device
190
188
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "whalibmob",
3
- "version": "5.40.43",
3
+ "version": "5.40.44",
4
4
  "description": "Node.js library for WhatsApp — register a number over SMS, or link as a companion by QR. Signal E2E encryption, media, groups, channels.",
5
5
  "author": "Kunboruto20",
6
6
  "main": "index.js",