@itsliaaa/baileys 0.1.27 → 0.1.28

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 CHANGED
@@ -34,6 +34,26 @@ 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 want to share something that’s been weighing on me a bit.
41
+ >
42
+ > Recently, I found a few packages published on npm that are essentially just **renamed** versions of a fork I personally worked on:
43
+ >
44
+ > - https://www.npmjs.com/package/@noya4u_27/baileys
45
+ > - https://www.npmjs.com/package/@phrolovaa/baileys
46
+ > - https://www.npmjs.com/package/@dnuzi/baileys
47
+ > - https://www.npmjs.com/package/@crysnovax/baileys
48
+ >
49
+ > To be clear, I’m **not** the original maintainer of Baileys all respect goes to the amazing work behind [@whiskeysockets/baileys](https://github.com/WhiskeySockets/Baileys). I only created and maintained my own fork ([@itsliaaa/baileys](https://www.npmjs.com/package/@itsliaaa/baileys)) where I spent a **lot** of time improving and adapting things on my own.
50
+ >
51
+ > **It’s honestly a bit disheartening to see my fork being republished under different names without any acknowledgment or credit.** I put a lot of late nights and personal effort into it, so seeing it circulate like this feels… quietly painful.
52
+ >
53
+ > If you come across these packages, I’d really appreciate it if you could take a closer look and, if appropriate, **help report them to npm.** More than anything, I just hope for a bit of fairness and proper recognition for the work that people put in.
54
+ >
55
+ > Thank you for taking the time to read this 🤍
56
+
37
57
  ### 🛠️ Internal Adjustments
38
58
  - 🖼️ Fixed an issue where media could not be sent to newsletters due to an upstream issue.
39
59
  - 📁 Reintroduced [`makeInMemoryStore`](#%EF%B8%8F-implementing-a-data-store) with a minimal ESM adaptation and small adjustments for Baileys v7.
@@ -53,7 +73,7 @@ This fork designed for production use with a focus on clarity and safety:
53
73
  - 💳 [Payment-related Message](#-sending-payment-messages) (payment requests, invites, orders, invoices).
54
74
  - 📰 Simplified sending messages with ad thumbnail using [`externalAdReply`](#3%EF%B8%8F⃣-external-ad-reply), without requiring manual `contextInfo`.
55
75
  - 💭 Added support for quoting messages inside channel (newsletter). **[NEW]**
56
- - 🎀 Added support for [custom button icon](#-sending-interactive-messages). **[NEW]**
76
+ - 🎀 Added support for [custom button icon](#3%EF%B8%8F⃣-interactive). **[NEW]**
57
77
 
58
78
  ### 🧩 Additional Message Options
59
79
  - 👁️ Added optional boolean flags for message handling:
@@ -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, 1035194821];
5
+ const version = [2, 3000, 1037013887];
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';
@@ -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, 1035194821];
4
+ const baileysVersion = [2, 3000, 1037013887];
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.1.27",
3
+ "version": "0.1.28",
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",