whalibmob 5.23.0 → 5.23.2

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 +29 -5
  2. package/package.json +22 -6
package/README.md CHANGED
@@ -1,5 +1,28 @@
1
- <div align='center'>whalibmob is a pure JavaScript Node.js library for interacting with the WhatsApp Mobile API.</div>
2
- <div align='center'>v5.1.14</div>
1
+ <div align="center">
2
+
3
+ # whalibmob
4
+
5
+ **A Node.js library for WhatsApp that can register a phone number of its own.**
6
+
7
+ Every other JavaScript library links to an account that already exists on someone's phone.
8
+ whalibmob does that too — but it can also take a bare phone number, request the SMS or voice
9
+ code, and bring the account into being. Both transports, one API.
10
+
11
+ [![npm](https://img.shields.io/npm/v/whalibmob?style=for-the-badge&color=25D366&label=npm)](https://www.npmjs.com/package/whalibmob)
12
+ [![node](https://img.shields.io/node/v/whalibmob?style=for-the-badge&color=339933&label=node)](https://nodejs.org)
13
+ [![license](https://img.shields.io/npm/l/whalibmob?style=for-the-badge&color=555555)](LICENSE)
14
+
15
+ ### Start here
16
+
17
+ [![Register a number](https://img.shields.io/badge/Register_a_number-SMS_or_voice-25D366?style=for-the-badge)](#register-a-new-number)
18
+ [![Link an account](https://img.shields.io/badge/Link_an_account-QR_or_pairing_code-128C7E?style=for-the-badge)](#linking-to-an-existing-account-pairing-code-or-qr)
19
+ [![Use the CLI](https://img.shields.io/badge/Use_the_CLI-no_code_needed-075E54?style=for-the-badge)](#cli--getting-started)
20
+
21
+ [![Library API](https://img.shields.io/badge/Library_API-Node.js-34B7F1?style=for-the-badge)](#library-api)
22
+ [![Send messages](https://img.shields.io/badge/Send_messages-text_media_polls-34B7F1?style=for-the-badge)](#sending-messages)
23
+ [![Handle events](https://img.shields.io/badge/Handle_events-incoming_%26_receipts-34B7F1?style=for-the-badge)](#handling-events)
24
+
25
+ </div>
3
26
 
4
27
  ##
5
28
 
@@ -26,9 +49,10 @@ If you want News about whalibmob enter this whalibmob channel: https://t.me/+sHN
26
49
  > [!IMPORTANT]
27
50
  > This project is not affiliated, associated, authorized, endorsed by, or in any way officially connected with WhatsApp or any of its subsidiaries or affiliates. "WhatsApp" and related names are registered trademarks of their respective owners. Use at your own discretion.
28
51
 
29
- - whalibmob does not require a browser, Selenium, or any other external runtime — it communicates directly with WhatsApp using a **TCP socket** and the **Noise Protocol** handshake.
30
- - The library operates as a real **iOS mobile device**, using the Mobile API endpoint, which behaves differently from the Web API.
31
- - It **also speaks WhatsApp Web over a WebSocket**. When a number cannot receive an SMS, or is already in use on a phone, whalibmob can link itself to that existing account with an **8-character pairing code** and run as one of its linked devices — with full message history and the account's address book. See [Linking to an Existing Account](#linking-to-an-existing-account-pairing-code-or-qr). The API is identical in both modes.
52
+ - **It registers numbers.** Give it a phone number that has never been on WhatsApp, request the code over SMS, voice call, flash call or an old WhatsApp account, confirm it, and the account exists — as an **Android or iOS device**, on the Mobile API. No phone, no scanning, no existing account to borrow. See [Register a New Number](#register-a-new-number).
53
+ - **It also speaks WhatsApp Web**, over a WebSocket. When a number cannot receive an SMS, or is already live on a phone, whalibmob links itself to that account by **QR code** or an **8-character pairing code** and runs as one of its linked devices — with the full message history and the account's address book. See [Linking to an Existing Account](#linking-to-an-existing-account-pairing-code-or-qr).
54
+ - **The API is identical in both modes.** Everything below — sending, media, groups, events — reads the same whichever way the session was created.
55
+ - No browser, no Selenium, no external runtime. It talks to WhatsApp directly over a **TCP socket** with the **Noise Protocol** handshake.
32
56
  - Signal Protocol encryption is **fully inlined** in pure JavaScript — no native binaries, no node-gyp, runs anywhere Node.js runs.
33
57
 
34
58
  ## Install
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "whalibmob",
3
- "version": "5.23.0",
4
- "description": "WhatsApp library for interaction with WhatsApp Mobile API and web ",
3
+ "version": "5.23.2",
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",
7
7
  "bin": {
@@ -23,13 +23,29 @@
23
23
  },
24
24
  "keywords": [
25
25
  "whatsapp",
26
+ "whatsapp-api",
27
+ "whatsapp-bot",
28
+ "whatsapp-client",
29
+ "whatsapp-web",
30
+ "sms-registration",
31
+ "pairing-code",
32
+ "qr-code",
33
+ "companion",
34
+ "multi-device",
26
35
  "signal-protocol",
27
- "mobile",
28
- "client",
29
- "encryption",
30
36
  "e2e",
37
+ "e2ee",
38
+ "encryption",
39
+ "mobile",
40
+ "android",
31
41
  "ios",
32
- "multi-device"
42
+ "messaging",
43
+ "chatbot",
44
+ "automation",
45
+ "whatsapp-mobile",
46
+ "media",
47
+ "groups",
48
+ "channels"
33
49
  ],
34
50
  "repository": {
35
51
  "type": "git",