@itsliaaa/baileys 0.1.21 โ 0.1.22
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 +6 -5
- package/lib/Utils/messages.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -43,17 +43,17 @@ This fork designed for production use with a focus on clarity and safety:
|
|
|
43
43
|
- ๐๏ธ Added [`@napi-rs/image`](https://www.npmjs.com/package/@napi-rs/image) as a supported image processing backend in [`getImageProcessingLibrary()`](#%EF%B8%8F-image-processing), offering a balance between performance and compatibility.
|
|
44
44
|
|
|
45
45
|
#### ๐จ Message Handling & Compatibility
|
|
46
|
-
-
|
|
46
|
+
- ๐ฐ Simplified sending messages with ad thumbnail using [`externalAdReply`](#3%EF%B8%8Fโฃ-external-ad-reply), without requiring manual `contextInfo`.
|
|
47
47
|
- ๐ฉ Expanded message support for:
|
|
48
48
|
- ๐ผ๏ธ [Album Message](#%EF%B8%8F-album-image--video)
|
|
49
49
|
- ๐ค [Group Status Message](#4%EF%B8%8Fโฃ-group-status)
|
|
50
|
+
- ๐๐ป [Interactive Message](#-sending-interactive-messages) (buttons, lists, native flows, templates, carousels).
|
|
50
51
|
- ๐๏ธ [Status Mention Message](#%EF%B8%8F-status-mention)
|
|
51
52
|
- ๐ฆ [Sticker Pack Message](#-sticker-pack)
|
|
52
53
|
- โจ [Rich Response Message](#-rich-response) **[NEW]**
|
|
53
54
|
- ๐งพ [Message with Code Blocks](#-message-with-code-block) **[NEW]**
|
|
54
55
|
- ๐ [Message with Table](#-message-with-table) **[NEW]**
|
|
55
56
|
- ๐ณ [Payment-related Message](#-sending-payment-messages) (payment requests, invites, orders, invoices).
|
|
56
|
-
- ๐ฐ Simplified sending messages with ad thumbnail using [`externalAdReply`](#3%EF%B8%8Fโฃ-external-ad-reply), without requiring manual `contextInfo`.
|
|
57
57
|
|
|
58
58
|
#### ๐งฉ Additional Message Options
|
|
59
59
|
- ๐๏ธ Added optional boolean flags for message handling:
|
|
@@ -1257,8 +1257,9 @@ This fork is based on [Baileys (GitHub)](https://github.com/WhiskeySockets/Baile
|
|
|
1257
1257
|
> [!IMPORTANT]
|
|
1258
1258
|
This fork uses Protocol Buffer definitions maintained by [WPP Connect](https://github.com/wppconnect-team) via [`wa-proto`](https://github.com/wppconnect-team/wa-proto)
|
|
1259
1259
|
>
|
|
1260
|
-
>
|
|
1261
|
-
> - [WhiskeySockets/Baileys](https://github.com/WhiskeySockets/Baileys)
|
|
1260
|
+
> Full credit goes to the original Baileys maintainers and contributors:
|
|
1262
1261
|
> - [purpshell](https://github.com/purpshell)
|
|
1263
1262
|
> - [jlucaso1](https://github.com/jlucaso1)
|
|
1264
|
-
> - [adiwajshing](https://github.com/adiwajshing)
|
|
1263
|
+
> - [adiwajshing](https://github.com/adiwajshing)
|
|
1264
|
+
>
|
|
1265
|
+
> This fork includes additional enhancements and modifications by [Lia Wynn](https://github.com/itsliaaa)
|
package/lib/Utils/messages.js
CHANGED
|
@@ -1036,7 +1036,7 @@ export const generateWAMessageContent = async (message, options) => {
|
|
|
1036
1036
|
const buttonsMessage = {
|
|
1037
1037
|
buttons: message.buttons.map(button => {
|
|
1038
1038
|
// Lia@Changes 12-03-26 --- Add "single_select" shortcut!
|
|
1039
|
-
const buttonText = button.text;
|
|
1039
|
+
const buttonText = button.text || button.buttonText;
|
|
1040
1040
|
if (hasOptionalProperty(button, 'sections')) {
|
|
1041
1041
|
return {
|
|
1042
1042
|
nativeFlowInfo: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@itsliaaa/baileys",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.22",
|
|
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",
|