whalibmob 5.23.1 → 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.
- package/README.md +29 -5
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,5 +1,28 @@
|
|
|
1
|
-
<div align=
|
|
2
|
-
|
|
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
|
+
[](https://www.npmjs.com/package/whalibmob)
|
|
12
|
+
[](https://nodejs.org)
|
|
13
|
+
[](LICENSE)
|
|
14
|
+
|
|
15
|
+
### Start here
|
|
16
|
+
|
|
17
|
+
[](#register-a-new-number)
|
|
18
|
+
[](#linking-to-an-existing-account-pairing-code-or-qr)
|
|
19
|
+
[](#cli--getting-started)
|
|
20
|
+
|
|
21
|
+
[](#library-api)
|
|
22
|
+
[](#sending-messages)
|
|
23
|
+
[](#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
|
-
-
|
|
30
|
-
-
|
|
31
|
-
-
|
|
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,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "whalibmob",
|
|
3
|
-
"version": "5.23.
|
|
3
|
+
"version": "5.23.2",
|
|
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",
|