whalibmob 5.33.16 → 5.33.18
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/lib/MediaService.js +2 -2
- package/lib/constants.js +2 -2
- package/package.json +1 -1
package/lib/MediaService.js
CHANGED
|
@@ -49,8 +49,8 @@ function mediaHeaders(web) {
|
|
|
49
49
|
const d = getDeviceConfig();
|
|
50
50
|
return {
|
|
51
51
|
'User-Agent': d.os === 'android'
|
|
52
|
-
? `WhatsApp/${d.version || '2.26.
|
|
53
|
-
: `WhatsApp/${d.version || '2.26.
|
|
52
|
+
? `WhatsApp/${d.version || '2.26.39.79'} A`
|
|
53
|
+
: `WhatsApp/${d.version || '2.26.39.75'} iOS/${d.osVersion} Device/${d.model}`
|
|
54
54
|
};
|
|
55
55
|
}
|
|
56
56
|
return { 'User-Agent': WEB_USER_AGENT, 'Origin': WEB_ORIGIN_HEADER };
|
package/lib/constants.js
CHANGED
|
@@ -47,8 +47,8 @@ const IOS_BUSINESS_STATIC_TOKEN = 'USUDuDYDeQhY4RF2fCSp5m3F6kJ1M2J8wS7bbNA2';
|
|
|
47
47
|
// recognise, so a fallback that has gone stale is a connection that fails for a
|
|
48
48
|
// reason nothing in the error names. Keep them within a few releases of what
|
|
49
49
|
// the stores are actually serving; the live lookup is what normally decides.
|
|
50
|
-
const IOS_VERSION_FALLBACK = '2.26.
|
|
51
|
-
const ANDROID_VERSION_FALLBACK = '2.26.
|
|
50
|
+
const IOS_VERSION_FALLBACK = '2.26.39.75';
|
|
51
|
+
const ANDROID_VERSION_FALLBACK = '2.26.39.79';
|
|
52
52
|
|
|
53
53
|
// Safari UA for the iTunes lookup only.
|
|
54
54
|
const IOS_USER_AGENT = 'Mozilla/5.0 (iPhone; CPU iPhone OS 17_4_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.4.1 Mobile/15E148 Safari/604.1';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "whalibmob",
|
|
3
|
-
"version": "5.33.
|
|
3
|
+
"version": "5.33.18",
|
|
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",
|