whalibmob 5.5.59 → 5.5.61

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/.env.example ADDED
@@ -0,0 +1,78 @@
1
+ # whalibmob — example environment configuration
2
+ #
3
+ # Copy this file to `.env` in your project root and uncomment what you need:
4
+ #
5
+ # cp node_modules/whalibmob/.env.example .env
6
+ #
7
+ # The CLI loads `.env` from the current working directory automatically.
8
+ # If you use the library programmatically, call `require('dotenv').config()`
9
+ # yourself before creating a client.
10
+ #
11
+ # Every variable below is OPTIONAL — with an empty .env the library runs with
12
+ # the defaults shown next to each entry.
13
+
14
+
15
+ # ─── Device profile ──────────────────────────────────────────────────────────
16
+ # Which platform to identify as during registration and connection.
17
+ # Values: ios | android
18
+ # WA_OS=ios
19
+
20
+ # Named predefined device profile. Takes priority over the individual
21
+ # WA_DEVICE_* variables below.
22
+ #
23
+ # ios iphone15pro, iphone15, iphone14, iphone14pro, iphone13, iphone12
24
+ # android samsung-s24-ultra, samsung-s24, samsung-s23, samsung-s23-ultra,
25
+ # samsung-a55, pixel8pro, pixel8, pixel7, pixel7a, xiaomi14,
26
+ # xiaomi13, oneplus12, oneplus11, oppo-find-x7, realme-gt5
27
+ #
28
+ # Default: iphone15pro when WA_OS=ios, samsungs24ultra when WA_OS=android
29
+ # WA_DEVICE=iphone15pro
30
+
31
+
32
+ # ─── Custom device profile ───────────────────────────────────────────────────
33
+ # Only used when WA_DEVICE does not match a predefined profile. Any value left
34
+ # unset falls back to the default profile for the selected WA_OS.
35
+ # The defaults shown here are the iOS ones (iPhone 15 Pro).
36
+
37
+ # Device display name — e.g. "iPhone 15 Pro", "Samsung Galaxy S24 Ultra"
38
+ # WA_DEVICE_MODEL=iPhone 15 Pro
39
+
40
+ # Apple | Samsung | Google | Xiaomi | OnePlus …
41
+ # WA_DEVICE_MANUFACTURER=Apple
42
+
43
+ # OS version string — e.g. 17.4.1 for iOS, 14 for Android
44
+ # WA_DEVICE_OS_VERSION=17.4.1
45
+
46
+ # OS build number — e.g. 21E236 for iOS, UP1A.231005.007 for Android
47
+ # WA_DEVICE_BUILD=21E236
48
+
49
+ # Internal model identifier — e.g. iPhone16,1 for iOS, SM-S928B for Android
50
+ # WA_DEVICE_MODEL_ID=iPhone16,1
51
+
52
+
53
+ # ─── WhatsApp version ────────────────────────────────────────────────────────
54
+ # Pin the WhatsApp client version. When set, the live version lookup is skipped
55
+ # entirely. Leave unset to fetch the current version automatically (recommended).
56
+ # WA_VERSION=2.24.10.75
57
+
58
+ # Override the static registration token. Leave unset to use the built-in token
59
+ # for the selected platform — only change this if you know what you are doing.
60
+ # WA_STATIC_TOKEN=
61
+
62
+
63
+ # ─── Proxy ───────────────────────────────────────────────────────────────────
64
+ # Route registration traffic through a SOCKS5 proxy, given as host:port.
65
+ # TOR_PROXY takes precedence over SOCKS_PROXY when both are set.
66
+ # Default Tor SOCKS port is 9050.
67
+ # TOR_PROXY=127.0.0.1:9050
68
+ # SOCKS_PROXY=127.0.0.1:1080
69
+
70
+
71
+ # ─── Frida attestation bridge ────────────────────────────────────────────────
72
+ # Host running the Frida attestation helper (see the frida/ directory).
73
+ # Leave unset to disable the bridge.
74
+ # WA_FRIDA_HOST=127.0.0.1
75
+
76
+ # Port the helper listens on.
77
+ # Default: 1119 (WhatsApp consumer; the Business build listens on 1120)
78
+ # WA_FRIDA_PORT=1119
package/README.md CHANGED
@@ -4,10 +4,10 @@
4
4
  ##
5
5
 
6
6
  > [!IMPORTANT]
7
- > new repository whalibmob It will be maintained at the https://github.com/Kunboruto50/whalibmob.git Since I lost the Kunboruto20 account, whalibmob will be maintained and rewritten by me soon because I know that many functions in whalibmob no longer work after the WhatsApp mobile protocol change, these days I will take care of whalibmob, all good friends Fun enjoyable for all c
8
7
 
9
8
 
10
- CONTACT ME ON TELEGRAM IF YOU WANT TO WORK WITH ME AND IF YOU HAVE PROBLEM WITH WHALIBMOB : @borutokun240
9
+
10
+ CONTACT ME ON TELEGRAM IF YOU WANT TO WORK WITH ME AND IF YOU HAVE PROBLEM WITH WHALIBMOB : @brtyu545
11
11
 
12
12
  TELEGRAM NEW WHALIBMOB CHANNEL JOIN HERE https://t.me/+jWzq-I9o0Xc1Mzc8
13
13
 
package/cli.js CHANGED
@@ -37,7 +37,12 @@ const {
37
37
 
38
38
  const { assertMeId, initAuthCreds } = require('./lib/auth-utils');
39
39
 
40
- const VERSION = '5.5.59';
40
+ // Read the version straight from package.json so it can never drift out of sync
41
+ // with the published package. npm always ships package.json in the tarball,
42
+ // regardless of the "files" list, so this resolves for installed users too.
43
+ const VERSION = (() => {
44
+ try { return require('./package.json').version; } catch (_) { return 'unknown'; }
45
+ })();
41
46
 
42
47
  // ─── output helpers ───────────────────────────────────────────────────────────
43
48
 
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- const { decrypt, encrypt } = require('libsignal/src/crypto');
3
+ const { decrypt, encrypt } = require('../libsignal/crypto');
4
4
  const { SenderKeyMessage } = require('./sender-key-message');
5
5
  const { SenderKeyRecord } = require('./sender-key-record');
6
6
 
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  const crypto = require('crypto');
4
- const { generateKeyPair } = require('libsignal/src/curve');
4
+ const { generateKeyPair } = require('../libsignal/curve');
5
5
 
6
6
  function generateSenderKey() {
7
7
  return crypto.randomBytes(32);
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- const { calculateMAC } = require('libsignal/src/crypto');
3
+ const { calculateMAC } = require('../libsignal/crypto');
4
4
  const { SenderMessageKey } = require('./sender-message-key');
5
5
 
6
6
  class SenderChainKey {
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- const { calculateSignature, verifySignature } = require('libsignal/src/curve');
3
+ const { calculateSignature, verifySignature } = require('../libsignal/curve');
4
4
  const { CiphertextMessage } = require('./ciphertext-message');
5
5
 
6
6
  // ─── Minimal protobuf encode/decode for SenderKeyMessage ─────────────────────
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- const { deriveSecrets } = require('libsignal/src/crypto');
3
+ const { deriveSecrets } = require('../libsignal/crypto');
4
4
 
5
5
  class SenderMessageKey {
6
6
  constructor(iteration, seed) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "whalibmob",
3
- "version": "5.5.59",
3
+ "version": "5.5.61",
4
4
  "description": "WhatsApp library for interaction with WhatsApp Mobile API no web",
5
5
  "author": "Kunboruto50",
6
6
  "main": "index.js",