@itsliaaa/baileys 0.2.2 → 0.2.3
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 +26 -0
- package/lib/Defaults/index.js +1 -1
- package/lib/Utils/generics.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -34,6 +34,32 @@ This fork designed for production use with a focus on clarity and safety:
|
|
|
34
34
|
- 🚫 No obfuscation. Easy to read and audit.
|
|
35
35
|
- 🚫 No auto-follow channel (newsletter) behavior.
|
|
36
36
|
|
|
37
|
+
> [!IMPORTANT]
|
|
38
|
+
> Hi everyone,
|
|
39
|
+
>
|
|
40
|
+
> I need to say this clearly.
|
|
41
|
+
>
|
|
42
|
+
> Some npm packages are reuploading my fork under different names, with almost no meaningful changes:
|
|
43
|
+
>
|
|
44
|
+
> - [@zackmans](https://www.npmjs.com/package/@zackmans/baileys)
|
|
45
|
+
> - [@dnuzi](https://www.npmjs.com/package/@dnuzi/baileys)
|
|
46
|
+
>
|
|
47
|
+
> They:
|
|
48
|
+
>
|
|
49
|
+
> - Renamed my fork
|
|
50
|
+
> - Added unnecessary overhead
|
|
51
|
+
> - Rewrote all changelogs and note changes with their own names
|
|
52
|
+
> - Claimed the modifications as their own work
|
|
53
|
+
>
|
|
54
|
+
> This is not acceptable.
|
|
55
|
+
>
|
|
56
|
+
> To be clear, I am not the original author of Baileys (full respect to https://github.com/WhiskeySockets/Baileys).
|
|
57
|
+
> This is about proper attribution and honesty in contributions.
|
|
58
|
+
>
|
|
59
|
+
> Please report if necessary.
|
|
60
|
+
>
|
|
61
|
+
> Thank you. 🤍
|
|
62
|
+
|
|
37
63
|
> [!NOTE]
|
|
38
64
|
> 📄 This project is maintained with limited scope and is not intended to replace upstream Baileys.
|
|
39
65
|
>
|
package/lib/Defaults/index.js
CHANGED
|
@@ -2,7 +2,7 @@ import { proto } from '../../WAProto/index.js';
|
|
|
2
2
|
import { makeLibSignalRepository } from '../Signal/libsignal.js';
|
|
3
3
|
import { Browsers } from '../Utils/browser-utils.js';
|
|
4
4
|
import logger from '../Utils/logger.js';
|
|
5
|
-
const version = [2, 3000,
|
|
5
|
+
const version = [2, 3000, 1035194821];
|
|
6
6
|
export const UNAUTHORIZED_CODES = [401, 403, 419];
|
|
7
7
|
export const BIZ_BOT_SUPPORT_PAYLOAD = '{"version":1,"is_ai_message":true,"should_upload_client_logs":false,"should_show_system_message":false,"ticket_id":"7004947587700716","citation_items":[],"ticket_locale":"us"}';
|
|
8
8
|
export const DEFAULT_ORIGIN = 'https://web.whatsapp.com';
|
package/lib/Utils/generics.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Boom } from '@hapi/boom';
|
|
2
2
|
import { createHash, randomBytes, randomFillSync } from 'crypto';
|
|
3
3
|
import { proto } from '../../WAProto/index.js';
|
|
4
|
-
const baileysVersion = [2, 3000,
|
|
4
|
+
const baileysVersion = [2, 3000, 1035194821];
|
|
5
5
|
import { DisconnectReason } from '../Types/index.js';
|
|
6
6
|
import { getAllBinaryNodeChildren, jidDecode } from '../WABinary/index.js';
|
|
7
7
|
import { sha256 } from './crypto.js';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@itsliaaa/baileys",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.3",
|
|
4
4
|
"description": "Enhanced Baileys v7 with fixed newsletter media upload, plus support for interactive messages, albums, and more message types.",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"type": "module",
|