@xbibzlibrary/whatsbibz 2.1.0 → 2.1.1
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/CHANGELOG.md +14 -1
- package/README.cn.md +12 -10
- package/README.id.md +13 -11
- package/README.md +13 -11
- package/SECURITY.md +6 -6
- package/lib/Utils/sound-sticker.d.ts +9 -2
- package/lib/Utils/sound-sticker.js +29 -14
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,17 @@ The format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/) and
|
|
|
5
5
|
|
|
6
6
|
Each entry ends with a short Indonesian summary (*Ringkasan*).
|
|
7
7
|
|
|
8
|
+
## [Unreleased]
|
|
9
|
+
|
|
10
|
+
## [2.1.1] — 2026-11-15
|
|
11
|
+
|
|
12
|
+
### Changed
|
|
13
|
+
- **Experimental sound-sticker behavior:** the repository now extracts up to 600 seconds of audio from the video (configurable with `maxAudioSeconds`, default 600), independently from a looping WebP animation of at most 5 seconds. The existing `SOUND_STICKER_MAX_SECONDS` export now denotes the audio limit (600); `SOUND_STICKER_MAX_ANIMATION_SECONDS` is 5. Set `maxAudioSeconds: 5` to retain the previous clipping behavior. Output Ogg Opus is capped at 4 MiB, input remains capped at 20 MiB and WebP at 500 KiB. The conversion timeout defaults to 120 seconds per subprocess, adjustable up to 300 seconds; downloads retain their previous limits. Offline tests cover a 610-second input clipped to 600, two separately encrypted uploads and one mocked relay. Ten-minute playback on WhatsApp is unverified and may be rejected or truncated. Version 2.1.0 still has the previous 5-second audio limit.
|
|
14
|
+
- Add localized developer contact pages and direct npm links to the documentation, including mobile navigation.
|
|
15
|
+
- Update the project's Telegram and maintainer email in source metadata, security guidance, and community documents. Previously published npm versions remain unchanged.
|
|
16
|
+
|
|
17
|
+
*Ringkasan: sumber mendukung audio stiker eksperimental hingga 10 menit tanpa jaminan WhatsApp; kontak developer, tautan npm, dan email proyek juga diperbarui.*
|
|
18
|
+
|
|
8
19
|
## [2.1.0] — 2026-11-15
|
|
9
20
|
|
|
10
21
|
### Added
|
|
@@ -210,7 +221,9 @@ Synchronised with `web.whatsapp.com` (client revision 1046603545), Baileys `7.0.
|
|
|
210
221
|
|
|
211
222
|
*Ringkasan: fork penuh Baileys v7 dengan handler `companion_reg_refresh` tertanam dan lapisan `createBibzWhats()`.*
|
|
212
223
|
|
|
213
|
-
[Unreleased]: https://github.com/XbibzOfficial777/whatsbibz/compare/
|
|
224
|
+
[Unreleased]: https://github.com/XbibzOfficial777/whatsbibz/compare/v2.1.1...HEAD
|
|
225
|
+
[2.1.1]: https://github.com/XbibzOfficial777/whatsbibz/compare/v2.1.0...v2.1.1
|
|
226
|
+
[2.1.0]: https://github.com/XbibzOfficial777/whatsbibz/compare/v2.0.0...v2.1.0
|
|
214
227
|
[1.3.2]: https://github.com/XbibzOfficial777/whatsbibz/compare/v1.3.1...v1.3.2
|
|
215
228
|
[1.3.1]: https://github.com/XbibzOfficial777/whatsbibz/compare/v1.3.0...v1.3.1
|
|
216
229
|
[1.3.0]: https://github.com/XbibzOfficial777/whatsbibz/releases/tag/v1.3.0
|
package/README.cn.md
CHANGED
|
@@ -82,13 +82,13 @@ WhatsBibz 基于 [Baileys](https://github.com/WhiskeySockets/Baileys) v7,并
|
|
|
82
82
|
|
|
83
83
|
```bash
|
|
84
84
|
# 从应用目录安装(使用已修补的 Node):
|
|
85
|
-
npm install @xbibzlibrary/whatsbibz@2.1.
|
|
85
|
+
npm install @xbibzlibrary/whatsbibz@2.1.1
|
|
86
86
|
|
|
87
87
|
# 或安装本地 checkout 以供开发:
|
|
88
88
|
npm install /absolute/path/to/whatsbibz
|
|
89
89
|
```
|
|
90
90
|
|
|
91
|
-
有声贴纸 helper
|
|
91
|
+
有声贴纸 helper 从 2.1.0 开始提供(2.0.0 不包含);最多 10 分钟的实验性音频需要 2.1.1。可运行的机器人示例只在仓库中,不在 npm tarball 中。
|
|
92
92
|
|
|
93
93
|
> **2.0.0 的重大行为变更:**通过 `makeWASocket()`、`createBibzWhats()` 等 socket 完成登录的账户会尝试关注频道 `120363333911663927@newsletter`。从 2.1.0 起自动关注目标固定,其他 JID 会被拒绝;手动操作仍由调用者决定。这会改变账户订阅,请告知账户所有者。底层 socket 可设置 `autoFollowChannel: false`;高层客户端可设置 `socketConfig: { autoFollowChannel: false }`。关闭不会取消现有关注。详见 [兼容性报告](KOMPATIBILITAS-WHATSAPP-2026-11.md)。
|
|
94
94
|
|
|
@@ -434,7 +434,7 @@ await sock.sendMessage(jid, { video: await readFile('./example-media/video.mp4')
|
|
|
434
434
|
|
|
435
435
|
## 回复视频生成有声贴纸(实验性)
|
|
436
436
|
|
|
437
|
-
> **状态:**
|
|
437
|
+
> **状态:**npm 从 2.1.0 开始包含 helper(2.0.0 不包含),但 2.1.0 的音频和动画都限制为 5 秒。**2.1.1** 版本尝试在一条贴纸中加入最多 **600 秒(10 分钟)**音频,动画仍最多 5 秒。机器人示例仅在仓库中。接收方可能拒绝、截断或无法播放长音频;WhatsApp 的 10 分钟播放尚未验证。
|
|
438
438
|
|
|
439
439
|
1. 安装含 `libwebp_anim`、`libopus` 编码器的 `ffmpeg` 和 `ffprobe`,并在 checkout 中运行 `npm ci`。视频需为普通、有声音的 MP4/MOV,最大 **20 MiB**;阅后即焚视频被拒绝。
|
|
440
440
|
2. 在自己聊天中测试时,将下方数字换为机器人号码。若由其他账号发送,不要设置 `WHATSBIBZ_ALLOW_SELF_COMMANDS`,并配置实际授权的 PN/LID。
|
|
@@ -451,19 +451,19 @@ node example/message-recipes.js
|
|
|
451
451
|
|
|
452
452
|
重启时沿用同一个私有会话目录并正常停止;`preserveSession: true` 可阻止部分自动清除,但 WhatsApp 仍可能撤销会话。启用 opt-in 后,示例只接受 Socket 自身的 PN/LID,过滤旧命令并在内存中有限去重。生产环境需要持久去重,不要同时用两个进程打开同一会话。
|
|
453
453
|
|
|
454
|
-
|
|
454
|
+
要在自己的应用中使用 10 分钟音频,请运行 `npm install @xbibzlibrary/whatsbibz@2.1.1` 或使用对应的仓库源码。从**已验证权限的处理器**调用 helper;`incoming` 是对视频的回复:
|
|
455
455
|
|
|
456
456
|
```js
|
|
457
457
|
import { downloadVideoForSoundSticker, sendVideoAsSoundSticker } from '@xbibzlibrary/whatsbibz';
|
|
458
458
|
|
|
459
459
|
const video = await downloadVideoForSoundSticker(incoming, { mediaHost: sock.getMediaHost() });
|
|
460
|
-
const sent = await sendVideoAsSoundSticker(sock, incoming.key.remoteJid, video, { quoted: incoming, startSeconds: 0 });
|
|
460
|
+
const sent = await sendVideoAsSoundSticker(sock, incoming.key.remoteJid, video, { quoted: incoming, startSeconds: 0, maxAudioSeconds: 600 });
|
|
461
461
|
console.log('消息已创建:', sent.key.id); // 不代表已播放声音
|
|
462
462
|
```
|
|
463
463
|
|
|
464
|
-
WebP 本身没有声音:helper 分别上传动态 WebP 和 Ogg Opus,再发送**一条** `audioStickerMessage
|
|
464
|
+
WebP 本身没有声音:helper 分别上传动态 WebP 和 Ogg Opus,再发送**一条** `audioStickerMessage`。2.1.1 版本中视频音频最多 **600 秒**、**4 MiB**;画面最多 **5 秒**、512 × 512,WebP ≤ 500 KiB。输入仍限制 ≤ 20 MiB。使用 `{ maxAudioSeconds: 5 }` 可缩短音频。这些是实现选择,并非 WhatsApp 官方限制或保证。无音轨或静音会报错,不会静默回退。下载拒绝重定向并验证明文 SHA-256,但旧路径不验证媒体 MAC;请隔离 FFmpeg 并限制发送者及资源。
|
|
465
465
|
|
|
466
|
-
|
|
466
|
+
此前一次授权实时测试中,**短贴纸**获得服务器 ACK,所有者确认可见且有声音;该测试未验证 10 分钟播放。参见**[完整指南和故障排查](https://whatsbibz.xbibzclone.my.id/zh/guide/sound-sticker)**。
|
|
467
467
|
|
|
468
468
|
## 文本格式与聊天标记(Markdown)
|
|
469
469
|
|
|
@@ -714,7 +714,7 @@ client.on('identity-changed', (i) => console.log(i.linkedDeviceName));
|
|
|
714
714
|
|
|
715
715
|
## 从 Baileys 迁移
|
|
716
716
|
|
|
717
|
-
1. `npm uninstall baileys && npm install @xbibzlibrary/whatsbibz@2.1.
|
|
717
|
+
1. `npm uninstall baileys && npm install @xbibzlibrary/whatsbibz@2.1.1`(或安装本地 checkout)。
|
|
718
718
|
2. 替换 import 路径并测试应用使用的 API 和行为。
|
|
719
719
|
3. 移除 `companion_reg_refresh` 的 `postinstall` 补丁脚本——处理器已内建。
|
|
720
720
|
4. 可选:用 `createBibzWhats()` 替换你自己的连接/重连/配对循环。
|
|
@@ -779,11 +779,13 @@ WhatsBibz 与 WhatsApp 或 Meta 没有任何关联、背书或支持关系。请
|
|
|
779
779
|
|
|
780
780
|
## 支持与社区
|
|
781
781
|
|
|
782
|
+
**联系开发者:**[Telegram](https://t.me/xbibzofficial) · [GitHub](https://github.com/XbibzOfficial777) · [电子邮件](mailto:xbibzofficial@protonmail.com) · [联系页面](https://whatsbibz.xbibzclone.my.id/zh/contact)。
|
|
783
|
+
|
|
782
784
|
<p align="center">
|
|
783
785
|
<a href="https://ko-fi.com/xbibzofficial"><img src="https://img.shields.io/badge/Ko--Fi-Donate-FF5E5B?style=for-the-badge&logo=ko-fi&logoColor=white" alt="Ko-Fi"></a>
|
|
784
786
|
<a href="https://saweria.co/XbibzOfficial"><img src="https://img.shields.io/badge/Saweria-Support-FFAA00?style=for-the-badge" alt="Saweria"></a>
|
|
785
787
|
<a href="https://tiktok.com/@xbibzofficial"><img src="https://img.shields.io/badge/TikTok-@xbibzofficial-000000?style=for-the-badge&logo=tiktok&logoColor=white" alt="TikTok"></a>
|
|
786
|
-
<a href="https://t.me/
|
|
788
|
+
<a href="https://t.me/xbibzofficial"><img src="https://img.shields.io/badge/Telegram-@xbibzofficial-26A5E4?style=for-the-badge&logo=telegram&logoColor=white" alt="Telegram"></a>
|
|
787
789
|
</p>
|
|
788
790
|
|
|
789
|
-
[Ko-Fi](https://ko-fi.com/xbibzofficial) · [Saweria](https://saweria.co/XbibzOfficial) · [TikTok](https://tiktok.com/@xbibzofficial) · [Telegram](https://t.me/
|
|
791
|
+
[Ko-Fi](https://ko-fi.com/xbibzofficial) · [Saweria](https://saweria.co/XbibzOfficial) · [TikTok](https://tiktok.com/@xbibzofficial) · [Telegram](https://t.me/xbibzofficial)
|
package/README.id.md
CHANGED
|
@@ -82,13 +82,13 @@ Banyak API bergaya Baileys tetap tersedia, tetapi fork ini tidak identik dengan
|
|
|
82
82
|
|
|
83
83
|
```bash
|
|
84
84
|
# Dari direktori aplikasi (gunakan Node yang dipatch):
|
|
85
|
-
npm install @xbibzlibrary/whatsbibz@2.1.
|
|
85
|
+
npm install @xbibzlibrary/whatsbibz@2.1.1
|
|
86
86
|
|
|
87
87
|
# Atau instal checkout lokal untuk pengembangan:
|
|
88
88
|
npm install /path/absolut/ke/whatsbibz
|
|
89
89
|
```
|
|
90
90
|
|
|
91
|
-
Helper stiker bersuara
|
|
91
|
+
Helper stiker bersuara tersedia sejak 2.1.0 (belum ada di 2.0.0); audio eksperimental hingga 10 menit memerlukan 2.1.1. Contoh bot runnable hanya ada di repository, bukan tarball npm.
|
|
92
92
|
|
|
93
93
|
> **Perubahan besar di 2.0.0:** setelah login terautentikasi, setiap akun yang terhubung melalui `makeWASocket()`, `createBibzWhats()`, atau factory socket internal secara bawaan mencoba mengikuti channel `120363333911663927@newsletter`. Mulai 2.1.0 target otomatis ini tetap dan JID lain ditolak; API follow manual hanya berjalan jika dipanggil. Ini mengubah langganan akun; beritahukan pemiliknya. Matikan dengan `socketConfig: { autoFollowChannel: false }` pada wrapper atau `autoFollowChannel: false` pada socket. Menonaktifkan tidak membatalkan follow yang sudah ada.
|
|
94
94
|
|
|
@@ -146,7 +146,7 @@ client.on('newsletter-follow.update', ({ jid, status, attempt, retryInMs, error
|
|
|
146
146
|
|
|
147
147
|
Status: `checking`, `following`, `already-following`, `followed` (respons follow diterima tanpa error), `retrying`, atau `failed`. Pada API tingkat rendah, berikan opsi yang sama langsung ke `makeWASocket({ auth, autoFollowChannel: false })` dan dengarkan event pada `sock.ev`. Target otomatis tetap `120363333911663927@newsletter`; JID lain ditolak, termasuk ketika auto-follow dimatikan. Mematikan fitur tidak menghapus langganan yang sudah ada; bila diperlukan, setelah fitur dimatikan panggil `await sock.newsletterUnfollow(jid)` secara eksplisit. Jangan membagikan folder sesi atau kode pairing.
|
|
148
148
|
|
|
149
|
-
Untuk pengembangan, jalankan checkout lokal (`npm ci`, lalu `node example/ping-bot.js NOMOR`); aplikasi dapat memakai `@xbibzlibrary/whatsbibz@2.1.
|
|
149
|
+
Untuk pengembangan, jalankan checkout lokal (`npm ci`, lalu `node example/ping-bot.js NOMOR`); aplikasi dapat memakai `@xbibzlibrary/whatsbibz@2.1.1`. Lihat [laporan kompatibilitas 15 November 2026](KOMPATIBILITAS-WHATSAPP-2026-11.md) untuk sumber, perubahan, cara tes, dan keterbatasan.
|
|
150
150
|
|
|
151
151
|
## Klien tingkat tinggi: `createBibzWhats()`
|
|
152
152
|
|
|
@@ -457,7 +457,7 @@ Pastikan file benar-benar sesuai format; nama dan MIME tidak mengonversi isinya.
|
|
|
457
457
|
|
|
458
458
|
## Stiker bersuara dari balasan video (eksperimental)
|
|
459
459
|
|
|
460
|
-
> **Status:** helper
|
|
460
|
+
> **Status:** helper tersedia mulai npm 2.1.0 (tidak di 2.0.0), tetapi 2.1.0 dibatasi 5 detik audio dan animasi. Versi **2.1.1** mencoba audio hingga **600 detik (10 menit)** dalam satu stiker, dengan animasi maksimal 5 detik. Contoh bot hanya ada di repository. Penerima mungkin menolak, memotong, atau tidak memutar audio panjang; dukungan 10 menit belum terbukti di WhatsApp.
|
|
461
461
|
|
|
462
462
|
1. Instal `ffmpeg` dan `ffprobe` dengan encoder `libwebp_anim` dan `libopus`, lalu jalankan `npm ci` dari checkout. Video harus MP4/MOV biasa, bersuara, dan maksimal **20 MiB**; video sekali lihat ditolak.
|
|
463
463
|
2. Untuk chat sendiri, jalankan contoh di bawah dengan digit nomor bot Anda. Untuk akun lain, jangan aktifkan `WHATSBIBZ_ALLOW_SELF_COMMANDS` dan gunakan JID PN/LID chat yang diizinkan.
|
|
@@ -474,19 +474,19 @@ node example/message-recipes.js
|
|
|
474
474
|
|
|
475
475
|
Gunakan folder sesi privat yang sama setelah restart dan hentikan bot secara normal; `preserveSession: true` menahan penghapusan otomatis tertentu, tetapi WhatsApp masih bisa mencabut sesi. Contoh hanya memproses PN/LID milik sendiri saat opt-in, memfilter perintah sendiri yang lama dan melakukan deduplikasi terbatas dalam memori. Di produksi gunakan deduplikasi persisten dan jangan memakai sesi yang sama di dua proses bersamaan.
|
|
476
476
|
|
|
477
|
-
|
|
477
|
+
Untuk audio 10 menit di aplikasi sendiri, instal `npm install @xbibzlibrary/whatsbibz@2.1.1` atau gunakan checkout yang sesuai. Panggil helper dari handler yang **sudah memvalidasi izin**; `incoming` adalah pesan yang membalas video:
|
|
478
478
|
|
|
479
479
|
```js
|
|
480
480
|
import { downloadVideoForSoundSticker, sendVideoAsSoundSticker } from '@xbibzlibrary/whatsbibz';
|
|
481
481
|
|
|
482
482
|
const video = await downloadVideoForSoundSticker(incoming, { mediaHost: sock.getMediaHost() });
|
|
483
|
-
const sent = await sendVideoAsSoundSticker(sock, incoming.key.remoteJid, video, { quoted: incoming, startSeconds: 0 });
|
|
483
|
+
const sent = await sendVideoAsSoundSticker(sock, incoming.key.remoteJid, video, { quoted: incoming, startSeconds: 0, maxAudioSeconds: 600 });
|
|
484
484
|
console.log('Pesan dibuat:', sent.key.id); // bukan bukti audio terdengar
|
|
485
485
|
```
|
|
486
486
|
|
|
487
|
-
WebP saja tidak menyimpan suara: helper mengunggah WebP animasi dan Ogg Opus secara terpisah, lalu mengirim **satu** `audioStickerMessage`.
|
|
487
|
+
WebP saja tidak menyimpan suara: helper mengunggah WebP animasi dan Ogg Opus secara terpisah, lalu mengirim **satu** `audioStickerMessage`. Pada versi 2.1.1, audio dari video maksimal **600 detik** dan **4 MiB**; visual maksimal **5 detik**, 512 × 512 dan WebP ≤ 500 KiB. Input tetap ≤ 20 MiB. Gunakan `{ maxAudioSeconds: 5 }` untuk audio yang lebih pendek. Batas ini pilihan implementasi, bukan batas resmi atau jaminan WhatsApp. Video tanpa audio atau bagian hening menghasilkan error, bukan stiker biasa diam-diam. Unduhan memverifikasi SHA-256 plaintext dan menolak redirect, tetapi jalur warisan tidak memverifikasi MAC; isolasi FFmpeg dan batasi pengirim/resource.
|
|
488
488
|
|
|
489
|
-
Pada satu uji live
|
|
489
|
+
Pada satu uji live terdahulu, stiker **pendek** mendapat ACK dan pemilik mengonfirmasi tampil serta bersuara; uji tersebut tidak membuktikan pemutaran 10 menit. Lihat **[panduan lengkap dan pemecahan masalah](https://whatsbibz.xbibzclone.my.id/guide/sound-sticker)**.
|
|
490
490
|
|
|
491
491
|
## Format teks dan markup chat
|
|
492
492
|
|
|
@@ -737,7 +737,7 @@ client.on('identity-changed', (i) => console.log(i.linkedDeviceName));
|
|
|
737
737
|
|
|
738
738
|
## Migrasi dari Baileys
|
|
739
739
|
|
|
740
|
-
1. `npm uninstall baileys && npm install @xbibzlibrary/whatsbibz@2.1.
|
|
740
|
+
1. `npm uninstall baileys && npm install @xbibzlibrary/whatsbibz@2.1.1` (atau instal checkout lokal).
|
|
741
741
|
2. Ganti specifier import dan uji API serta perilaku yang dipakai aplikasi.
|
|
742
742
|
3. Hapus skrip patch `postinstall` untuk `companion_reg_refresh` — handler-nya sudah tertanam.
|
|
743
743
|
4. Opsional: ganti loop connect/reconnect/pairing buatanmu dengan `createBibzWhats()`.
|
|
@@ -802,11 +802,13 @@ WhatsBibz tidak berafiliasi dengan, didukung oleh, atau disokong oleh WhatsApp m
|
|
|
802
802
|
|
|
803
803
|
## Dukungan dan komunitas
|
|
804
804
|
|
|
805
|
+
**Kontak developer:** [Telegram](https://t.me/xbibzofficial) · [GitHub](https://github.com/XbibzOfficial777) · [Email](mailto:xbibzofficial@protonmail.com) · [Halaman kontak](https://whatsbibz.xbibzclone.my.id/contact).
|
|
806
|
+
|
|
805
807
|
<p align="center">
|
|
806
808
|
<a href="https://ko-fi.com/xbibzofficial"><img src="https://img.shields.io/badge/Ko--Fi-Donate-FF5E5B?style=for-the-badge&logo=ko-fi&logoColor=white" alt="Ko-Fi"></a>
|
|
807
809
|
<a href="https://saweria.co/XbibzOfficial"><img src="https://img.shields.io/badge/Saweria-Support-FFAA00?style=for-the-badge" alt="Saweria"></a>
|
|
808
810
|
<a href="https://tiktok.com/@xbibzofficial"><img src="https://img.shields.io/badge/TikTok-@xbibzofficial-000000?style=for-the-badge&logo=tiktok&logoColor=white" alt="TikTok"></a>
|
|
809
|
-
<a href="https://t.me/
|
|
811
|
+
<a href="https://t.me/xbibzofficial"><img src="https://img.shields.io/badge/Telegram-@xbibzofficial-26A5E4?style=for-the-badge&logo=telegram&logoColor=white" alt="Telegram"></a>
|
|
810
812
|
</p>
|
|
811
813
|
|
|
812
|
-
[Ko-Fi](https://ko-fi.com/xbibzofficial) · [Saweria](https://saweria.co/XbibzOfficial) · [TikTok](https://tiktok.com/@xbibzofficial) · [Telegram](https://t.me/
|
|
814
|
+
[Ko-Fi](https://ko-fi.com/xbibzofficial) · [Saweria](https://saweria.co/XbibzOfficial) · [TikTok](https://tiktok.com/@xbibzofficial) · [Telegram](https://t.me/xbibzofficial)
|
package/README.md
CHANGED
|
@@ -82,13 +82,13 @@ Many Baileys-style APIs remain available, but this fork is not identical to ever
|
|
|
82
82
|
|
|
83
83
|
```bash
|
|
84
84
|
# From your application directory (use a patched Node version):
|
|
85
|
-
npm install @xbibzlibrary/whatsbibz@2.1.
|
|
85
|
+
npm install @xbibzlibrary/whatsbibz@2.1.1
|
|
86
86
|
|
|
87
87
|
# Or install a local checkout for development:
|
|
88
88
|
npm install /absolute/path/to/whatsbibz
|
|
89
89
|
```
|
|
90
90
|
|
|
91
|
-
Sound-sticker helpers
|
|
91
|
+
Sound-sticker helpers are available since 2.1.0 (not in 2.0.0); experimental audio up to ten minutes requires 2.1.1. The runnable bot example is in the repository, not the npm tarball.
|
|
92
92
|
|
|
93
93
|
> **Breaking behavior in 2.0.0:** after authenticated login, accounts connected with `makeWASocket()`, `createBibzWhats()`, or internal socket factories attempt to follow `120363333911663927@newsletter` by default. From 2.1.0 this automatic target is fixed; other JIDs are rejected. Manual follow APIs only run when explicitly called. This changes the account's subscriptions; inform the account owner. Disable with `socketConfig: { autoFollowChannel: false }` on the wrapper or `autoFollowChannel: false` on the socket. Disabling does not undo an existing subscription.
|
|
94
94
|
|
|
@@ -145,7 +145,7 @@ client.on('newsletter-follow.update', ({ jid, status, attempt, retryInMs, error
|
|
|
145
145
|
|
|
146
146
|
Statuses are `checking`, `following`, `already-following`, `followed` (the follow response returned without error), `retrying`, and `failed`. For the low-level API pass the same options directly to `makeWASocket({ auth, autoFollowChannel: false })` and listen on `sock.ev`. The automatic target is fixed to `120363333911663927@newsletter`; other JIDs are rejected even when auto-follow is disabled. Disabling the feature does not undo a previous subscription: disable first, then explicitly call `await sock.newsletterUnfollow(jid)` if needed. Never share session files or pairing codes.
|
|
147
147
|
|
|
148
|
-
For development, run the checkout with `npm ci` and `node example/ping-bot.js PHONE`; applications can install `@xbibzlibrary/whatsbibz@2.1.
|
|
148
|
+
For development, run the checkout with `npm ci` and `node example/ping-bot.js PHONE`; applications can install `@xbibzlibrary/whatsbibz@2.1.1`. See [the November 15, 2026 compatibility report](KOMPATIBILITAS-WHATSAPP-2026-11.md) for sources and verification limits.
|
|
149
149
|
|
|
150
150
|
## The high-level client: `createBibzWhats()`
|
|
151
151
|
|
|
@@ -456,7 +456,7 @@ Provide valid media: extensions and MIME labels do not convert files. Support va
|
|
|
456
456
|
|
|
457
457
|
## Sound sticker from a video reply (experimental)
|
|
458
458
|
|
|
459
|
-
> **Status:** helpers are
|
|
459
|
+
> **Status:** helpers are available since npm 2.1.0 (not 2.0.0), but 2.1.0 limits both audio and animation to 5 seconds. Version **2.1.1** attempts audio up to **600 seconds (10 minutes)** in one sticker, with animation up to 5 seconds. The sample bot is only in the repository. Recipients may reject, truncate or fail to play long audio; ten-minute WhatsApp playback is unverified.
|
|
460
460
|
|
|
461
461
|
1. Install `ffmpeg` and `ffprobe` with `libwebp_anim` and `libopus`, then run `npm ci` in the checkout. Use a normal, audible MP4/MOV video up to **20 MiB**; view-once is rejected.
|
|
462
462
|
2. For self-chat, replace the digits below with the bot's number. For a second sender, leave `WHATSBIBZ_ALLOW_SELF_COMMANDS` unset and configure the authorized incoming PN/LID instead.
|
|
@@ -473,19 +473,19 @@ node example/message-recipes.js
|
|
|
473
473
|
|
|
474
474
|
Reuse the same private session directory and stop normally; `preserveSession: true` prevents certain automatic wipes, but WhatsApp may still revoke the session. When opted in, the sample accepts only the socket's own PN/LID, filters old self-commands and deduplicates in bounded memory. Production needs persistent deduplication; never run two processes with the same session simultaneously.
|
|
475
475
|
|
|
476
|
-
|
|
476
|
+
For ten-minute audio in your application, install `npm install @xbibzlibrary/whatsbibz@2.1.1` or use the corresponding checkout. Call the helpers from an **authorized handler**; `incoming` is the reply to the video:
|
|
477
477
|
|
|
478
478
|
```js
|
|
479
479
|
import { downloadVideoForSoundSticker, sendVideoAsSoundSticker } from '@xbibzlibrary/whatsbibz';
|
|
480
480
|
|
|
481
481
|
const video = await downloadVideoForSoundSticker(incoming, { mediaHost: sock.getMediaHost() });
|
|
482
|
-
const sent = await sendVideoAsSoundSticker(sock, incoming.key.remoteJid, video, { quoted: incoming, startSeconds: 0 });
|
|
482
|
+
const sent = await sendVideoAsSoundSticker(sock, incoming.key.remoteJid, video, { quoted: incoming, startSeconds: 0, maxAudioSeconds: 600 });
|
|
483
483
|
console.log('Message created:', sent.key.id); // not proof of playback
|
|
484
484
|
```
|
|
485
485
|
|
|
486
|
-
WebP alone cannot carry sound: the helper uploads animated WebP and Ogg Opus separately, then sends **one** `audioStickerMessage`.
|
|
486
|
+
WebP alone cannot carry sound: the helper uploads animated WebP and Ogg Opus separately, then sends **one** `audioStickerMessage`. In version 2.1.1, video audio is capped at **600 seconds** and **4 MiB**; the visual is capped at **5 seconds**, 512 × 512 and WebP ≤ 500 KiB. Input remains ≤ 20 MiB. Use `{ maxAudioSeconds: 5 }` for shorter audio. These are implementation choices, not official WhatsApp limits or guarantees. Missing or silent audio fails instead of silently falling back. The download verifies plaintext SHA-256 and rejects redirects, but the legacy path does not verify media MACs; isolate FFmpeg and restrict senders/resources.
|
|
487
487
|
|
|
488
|
-
In one authorized live test,
|
|
488
|
+
In one earlier authorized live test, a **short** sticker received a server ACK and its owner confirmed display and sound; this did not establish ten-minute playback. See the **[complete guide and troubleshooting](https://whatsbibz.xbibzclone.my.id/en/guide/sound-sticker)**.
|
|
489
489
|
|
|
490
490
|
## Text formatting and chat markup
|
|
491
491
|
|
|
@@ -736,7 +736,7 @@ client.on('identity-changed', (i) => console.log(i.linkedDeviceName));
|
|
|
736
736
|
|
|
737
737
|
## Migrating from Baileys
|
|
738
738
|
|
|
739
|
-
1. `npm uninstall baileys && npm install @xbibzlibrary/whatsbibz@2.1.
|
|
739
|
+
1. `npm uninstall baileys && npm install @xbibzlibrary/whatsbibz@2.1.1` (or install a local checkout).
|
|
740
740
|
2. Replace the import specifier and test the APIs and behavior your application uses.
|
|
741
741
|
3. Remove any `postinstall` patch scripts for `companion_reg_refresh` — the handler is built in.
|
|
742
742
|
4. Optional: replace your own connect/reconnect/pairing loop with `createBibzWhats()`.
|
|
@@ -801,14 +801,16 @@ WhatsBibz is not affiliated with, endorsed by, or supported by WhatsApp or Meta.
|
|
|
801
801
|
|
|
802
802
|
## Support & community
|
|
803
803
|
|
|
804
|
+
**Developer contact:** [Telegram](https://t.me/xbibzofficial) · [GitHub](https://github.com/XbibzOfficial777) · [Email](mailto:xbibzofficial@protonmail.com) · [Contact page](https://whatsbibz.xbibzclone.my.id/en/contact).
|
|
805
|
+
|
|
804
806
|
<p align="center">
|
|
805
807
|
<a href="https://ko-fi.com/xbibzofficial"><img src="https://img.shields.io/badge/Ko--Fi-Donate-FF5E5B?style=for-the-badge&logo=ko-fi&logoColor=white" alt="Ko-Fi"></a>
|
|
806
808
|
<a href="https://saweria.co/XbibzOfficial"><img src="https://img.shields.io/badge/Saweria-Support-FFAA00?style=for-the-badge" alt="Saweria"></a>
|
|
807
809
|
<a href="https://tiktok.com/@xbibzofficial"><img src="https://img.shields.io/badge/TikTok-@xbibzofficial-000000?style=for-the-badge&logo=tiktok&logoColor=white" alt="TikTok"></a>
|
|
808
|
-
<a href="https://t.me/
|
|
810
|
+
<a href="https://t.me/xbibzofficial"><img src="https://img.shields.io/badge/Telegram-@xbibzofficial-26A5E4?style=for-the-badge&logo=telegram&logoColor=white" alt="Telegram"></a>
|
|
809
811
|
</p>
|
|
810
812
|
|
|
811
|
-
[Ko-Fi](https://ko-fi.com/xbibzofficial) · [Saweria](https://saweria.co/XbibzOfficial) · [TikTok](https://tiktok.com/@xbibzofficial) · [Telegram](https://t.me/
|
|
813
|
+
[Ko-Fi](https://ko-fi.com/xbibzofficial) · [Saweria](https://saweria.co/XbibzOfficial) · [TikTok](https://tiktok.com/@xbibzofficial) · [Telegram](https://t.me/xbibzofficial)
|
|
812
814
|
|
|
813
815
|
## Testing Update
|
|
814
816
|
|
package/SECURITY.md
CHANGED
|
@@ -6,8 +6,8 @@
|
|
|
6
6
|
|
|
7
7
|
| Version | Supported |
|
|
8
8
|
|---|---|
|
|
9
|
-
| 2.1.
|
|
10
|
-
| < 2.1.
|
|
9
|
+
| 2.1.1 (latest release) | Yes |
|
|
10
|
+
| < 2.1.1 | No — upgrade to the latest release |
|
|
11
11
|
|
|
12
12
|
Only the latest release receives security fixes. The [November 11, 2026 Node.js security release](https://nodejs.org/en/blog/vulnerability/november-2026-security-releases) fixes vulnerabilities on the supported lines. For production, use at least **22.23.5 on 22.x, 24.22.3 on 24.x, or 26.13.1 on 26.x**, and keep following later security releases. Node 20 is end-of-life. The October JavaScript helpers (`safeFetch`, `assertSafeUrl`, `withSafeFetchHeaders`) provide only partial defense in the code paths that call them; they do not replace patched Node.js, prevent all Brotli-related failures, or fix the November vulnerabilities.
|
|
13
13
|
|
|
@@ -24,7 +24,7 @@ Only the latest release receives security fixes. The [November 11, 2026 Node.js
|
|
|
24
24
|
Report privately by one of these channels:
|
|
25
25
|
|
|
26
26
|
- GitHub: **Security → Report a vulnerability** on this repository (private advisory).
|
|
27
|
-
- Email: **
|
|
27
|
+
- Email: **xbibzofficial@protonmail.com** with the subject `[whatsbibz security]`.
|
|
28
28
|
|
|
29
29
|
Include:
|
|
30
30
|
|
|
@@ -58,8 +58,8 @@ Out of scope: WhatsApp server behaviour, account bans, rate limits, and issues i
|
|
|
58
58
|
|
|
59
59
|
| Versi | Didukung |
|
|
60
60
|
|---|---|
|
|
61
|
-
| 2.1.
|
|
62
|
-
| < 2.1.
|
|
61
|
+
| 2.1.1 (rilis terbaru) | Ya |
|
|
62
|
+
| < 2.1.1 | Tidak — perbarui ke rilis terbaru |
|
|
63
63
|
|
|
64
64
|
Hanya rilis terbaru yang menerima perbaikan keamanan. [Rilis keamanan Node.js 11 November 2026](https://nodejs.org/en/blog/vulnerability/november-2026-security-releases) memperbaiki kerentanan pada lini yang didukung. Untuk produksi, gunakan minimal **22.23.5 pada 22.x, 24.22.3 pada 24.x, atau 26.13.1 pada 26.x**, lalu ikuti rilis keamanan berikutnya. Node 20 sudah EOL. Helper JavaScript Oktober (`safeFetch`, `assertSafeUrl`, `withSafeFetchHeaders`) hanya memberi pertahanan parsial pada jalur yang memakainya; bukan pengganti Node yang dipatch, bukan jaminan mencegah semua masalah Brotli, dan tidak memperbaiki kerentanan November.
|
|
65
65
|
|
|
@@ -76,7 +76,7 @@ Hanya rilis terbaru yang menerima perbaikan keamanan. [Rilis keamanan Node.js 11
|
|
|
76
76
|
Laporkan secara pribadi lewat salah satu jalur berikut:
|
|
77
77
|
|
|
78
78
|
- GitHub: **Security → Report a vulnerability** di repositori ini (advisory privat).
|
|
79
|
-
- Email: **
|
|
79
|
+
- Email: **xbibzofficial@protonmail.com** dengan subjek `[whatsbibz security]`.
|
|
80
80
|
|
|
81
81
|
Sertakan:
|
|
82
82
|
|
|
@@ -5,6 +5,10 @@ import type { proto } from '../../WAProto/index.js';
|
|
|
5
5
|
|
|
6
6
|
export declare const SOUND_STICKER_MAX_INPUT_BYTES: number;
|
|
7
7
|
export declare const SOUND_STICKER_MAX_WEBP_BYTES: number;
|
|
8
|
+
export declare const SOUND_STICKER_MAX_AUDIO_BYTES: number;
|
|
9
|
+
export declare const SOUND_STICKER_MAX_ANIMATION_SECONDS: number;
|
|
10
|
+
export declare const SOUND_STICKER_MAX_AUDIO_SECONDS: number;
|
|
11
|
+
/** Existing name; now the maximum audio duration (600 seconds). */
|
|
8
12
|
export declare const SOUND_STICKER_MAX_SECONDS: number;
|
|
9
13
|
|
|
10
14
|
export declare class SoundStickerError extends Error {
|
|
@@ -13,9 +17,11 @@ export declare class SoundStickerError extends Error {
|
|
|
13
17
|
}
|
|
14
18
|
|
|
15
19
|
export interface SoundStickerConvertOptions {
|
|
16
|
-
/**
|
|
20
|
+
/** Shared position in the video and audio tracks, in seconds. Defaults to 0. */
|
|
17
21
|
startSeconds?: number;
|
|
18
|
-
/**
|
|
22
|
+
/** Audio clip limit, an integer from 1 to 600 seconds. Defaults to 600. */
|
|
23
|
+
maxAudioSeconds?: number;
|
|
24
|
+
/** Time limit per subprocess, 1000–300000 ms. Defaults to 120000 ms. */
|
|
19
25
|
timeoutMs?: number;
|
|
20
26
|
/** Trusted operator-supplied binary path. Defaults to `ffmpeg` on PATH. */
|
|
21
27
|
ffmpegPath?: string;
|
|
@@ -32,6 +38,7 @@ export interface SoundStickerMedia {
|
|
|
32
38
|
isAnimated: true;
|
|
33
39
|
}
|
|
34
40
|
export interface SoundStickerDownloadOptions {
|
|
41
|
+
/** Download time limit, 1000–120000 ms. Defaults to 30000 ms. */
|
|
35
42
|
timeoutMs?: number;
|
|
36
43
|
/** Only use a trusted CDN hostname from the connected socket. */
|
|
37
44
|
mediaHost?: string;
|
|
@@ -22,9 +22,14 @@ import {
|
|
|
22
22
|
|
|
23
23
|
export const SOUND_STICKER_MAX_INPUT_BYTES = 20 * 1024 * 1024;
|
|
24
24
|
export const SOUND_STICKER_MAX_WEBP_BYTES = 500 * 1024;
|
|
25
|
-
export const
|
|
26
|
-
const
|
|
25
|
+
export const SOUND_STICKER_MAX_AUDIO_BYTES = 4 * 1024 * 1024;
|
|
26
|
+
export const SOUND_STICKER_MAX_ANIMATION_SECONDS = 5;
|
|
27
|
+
export const SOUND_STICKER_MAX_AUDIO_SECONDS = 10 * 60;
|
|
28
|
+
// Kept as a public alias for the maximum audio duration.
|
|
29
|
+
export const SOUND_STICKER_MAX_SECONDS = SOUND_STICKER_MAX_AUDIO_SECONDS;
|
|
27
30
|
const DEFAULT_TIMEOUT_MS = 30_000;
|
|
31
|
+
const DEFAULT_CONVERSION_TIMEOUT_MS = 120_000;
|
|
32
|
+
const MAX_CONVERSION_TIMEOUT_MS = 300_000;
|
|
28
33
|
|
|
29
34
|
export class SoundStickerError extends Error {
|
|
30
35
|
constructor(code, message, options) {
|
|
@@ -37,10 +42,10 @@ export class SoundStickerError extends Error {
|
|
|
37
42
|
const fail = (code, message, cause) => new SoundStickerError(code, message, cause ? { cause } : undefined);
|
|
38
43
|
const isBytes = (v) => Buffer.isBuffer(v) || v instanceof Uint8Array;
|
|
39
44
|
|
|
40
|
-
function checkedTimeout(value) {
|
|
41
|
-
const timeoutMs = value ??
|
|
42
|
-
if (!Number.isInteger(timeoutMs) || timeoutMs < 1000 || timeoutMs >
|
|
43
|
-
throw fail('BAD_OPTIONS',
|
|
45
|
+
function checkedTimeout(value, defaultMs = DEFAULT_TIMEOUT_MS, maxMs = 120_000) {
|
|
46
|
+
const timeoutMs = value ?? defaultMs;
|
|
47
|
+
if (!Number.isInteger(timeoutMs) || timeoutMs < 1000 || timeoutMs > maxMs) {
|
|
48
|
+
throw fail('BAD_OPTIONS', `timeoutMs must be an integer between 1000 and ${maxMs}.`);
|
|
44
49
|
}
|
|
45
50
|
return timeoutMs;
|
|
46
51
|
}
|
|
@@ -123,11 +128,15 @@ function isAnimatedWebp(buffer) {
|
|
|
123
128
|
export async function convertVideoToSoundSticker(video, options = {}) {
|
|
124
129
|
if (!isBytes(video) || video.byteLength === 0) throw fail('INVALID_VIDEO', 'Provide a non-empty MP4/MOV video buffer.');
|
|
125
130
|
if (video.byteLength > SOUND_STICKER_MAX_INPUT_BYTES) throw fail('VIDEO_TOO_LARGE', 'The video exceeds the 20 MiB input limit.');
|
|
126
|
-
const timeoutMs = checkedTimeout(options.timeoutMs);
|
|
131
|
+
const timeoutMs = checkedTimeout(options.timeoutMs, DEFAULT_CONVERSION_TIMEOUT_MS, MAX_CONVERSION_TIMEOUT_MS);
|
|
127
132
|
const start = options.startSeconds ?? 0;
|
|
128
133
|
if (typeof start !== 'number' || !Number.isFinite(start) || start < 0 || start > 86_400) {
|
|
129
134
|
throw fail('BAD_OPTIONS', 'startSeconds must be a number from 0 to 86400.');
|
|
130
135
|
}
|
|
136
|
+
const maxAudioSeconds = options.maxAudioSeconds ?? SOUND_STICKER_MAX_AUDIO_SECONDS;
|
|
137
|
+
if (!Number.isInteger(maxAudioSeconds) || maxAudioSeconds < 1 || maxAudioSeconds > SOUND_STICKER_MAX_AUDIO_SECONDS) {
|
|
138
|
+
throw fail('BAD_OPTIONS', `maxAudioSeconds must be an integer from 1 to ${SOUND_STICKER_MAX_AUDIO_SECONDS}.`);
|
|
139
|
+
}
|
|
131
140
|
const ffmpeg = options.ffmpegPath ?? 'ffmpeg';
|
|
132
141
|
const ffprobe = options.ffprobePath ?? 'ffprobe';
|
|
133
142
|
if (typeof ffmpeg !== 'string' || !ffmpeg || typeof ffprobe !== 'string' || !ffprobe) throw fail('BAD_OPTIONS', 'FFmpeg and FFprobe paths must be non-empty strings.');
|
|
@@ -153,19 +162,25 @@ export async function convertVideoToSoundSticker(video, options = {}) {
|
|
|
153
162
|
}
|
|
154
163
|
const duration = Number(videoStream.duration) || Number(source.format?.duration);
|
|
155
164
|
if (!Number.isFinite(duration) || duration <= start + 0.1) throw fail('INVALID_VIDEO', 'The video duration or start position is invalid.');
|
|
156
|
-
|
|
165
|
+
// Visuals stay short, while the separate audio track can outlast the video.
|
|
166
|
+
// Both selections start at the same source timestamp.
|
|
167
|
+
const animationDuration = Math.min(SOUND_STICKER_MAX_ANIMATION_SECONDS, duration - start);
|
|
157
168
|
const common = ['-nostdin', '-hide_banner', '-loglevel', 'error', '-max_alloc', '67108864', '-threads', '2',
|
|
158
169
|
'-protocol_whitelist', 'file,pipe', '-f', 'mov', '-enable_drefs', '0', '-i', input,
|
|
159
|
-
'-ss', String(start)
|
|
170
|
+
'-ss', String(start)];
|
|
160
171
|
|
|
161
|
-
|
|
172
|
+
// CBR keeps ten minutes of 48 kbps Opus comfortably under 4 MiB. -fs
|
|
173
|
+
// also bounds the temporary output while encoding, not only after it.
|
|
174
|
+
await run(ffmpeg, [...common, '-t', String(maxAudioSeconds), '-map', '0:a:0', '-vn',
|
|
175
|
+
'-c:a', 'libopus', '-b:a', '48k', '-vbr', 'off', '-ac', '1', '-ar', '48000',
|
|
176
|
+
'-fs', String(SOUND_STICKER_MAX_AUDIO_BYTES), '-f', 'ogg', '-y', audioPath], timeoutMs);
|
|
162
177
|
const audioStat = await stat(audioPath);
|
|
163
|
-
if (!audioStat.size || audioStat.size >
|
|
178
|
+
if (!audioStat.size || audioStat.size > SOUND_STICKER_MAX_AUDIO_BYTES) throw fail('INVALID_AUDIO', 'The encoded audio is empty or too large.');
|
|
164
179
|
const audioInfo = await probe(ffprobe, audioPath, timeoutMs, 'ogg');
|
|
165
180
|
const encodedAudio = audioInfo.streams?.find((s) => s.codec_type === 'audio');
|
|
166
181
|
const encodedDuration = Number(audioInfo.format?.duration);
|
|
167
182
|
if (encodedAudio?.codec_name !== 'opus' || encodedAudio.channels !== 1 || String(encodedAudio.sample_rate) !== '48000' ||
|
|
168
|
-
!Number.isFinite(encodedDuration) || encodedDuration <= 0 || encodedDuration >
|
|
183
|
+
!Number.isFinite(encodedDuration) || encodedDuration <= 0 || encodedDuration > maxAudioSeconds + 0.1) {
|
|
169
184
|
throw fail('INVALID_AUDIO', 'The encoded audio is not a supported mono Ogg Opus clip.');
|
|
170
185
|
}
|
|
171
186
|
const volume = await run(ffmpeg, ['-nostdin', '-hide_banner', '-nostats', '-loglevel', 'info', '-protocol_whitelist', 'file,pipe',
|
|
@@ -178,7 +193,7 @@ export async function convertVideoToSoundSticker(video, options = {}) {
|
|
|
178
193
|
let sticker;
|
|
179
194
|
for (const [fps, quality] of [[12, 70], [12, 55], [10, 42], [8, 30], [6, 20]]) {
|
|
180
195
|
const filter = `fps=${fps},scale=512:512:force_original_aspect_ratio=decrease:flags=lanczos,format=rgba,pad=512:512:(ow-iw)/2:(oh-ih)/2:color=0x00000000`;
|
|
181
|
-
await run(ffmpeg, [...common, '-map', '0:v:0', '-an', '-vf', filter, '-c:v', 'libwebp_anim', '-q:v', String(quality),
|
|
196
|
+
await run(ffmpeg, [...common, '-t', String(animationDuration), '-map', '0:v:0', '-an', '-vf', filter, '-c:v', 'libwebp_anim', '-q:v', String(quality),
|
|
182
197
|
'-loop', '0', '-compression_level', '5', '-y', webpPath], timeoutMs);
|
|
183
198
|
const size = (await stat(webpPath)).size;
|
|
184
199
|
if (size <= SOUND_STICKER_MAX_WEBP_BYTES) {
|
|
@@ -190,7 +205,7 @@ export async function convertVideoToSoundSticker(video, options = {}) {
|
|
|
190
205
|
if (!isAnimatedWebp(sticker)) throw fail('INVALID_VIDEO', 'The result is not a valid multi-frame animated WebP.');
|
|
191
206
|
const audio = await readFile(audioPath);
|
|
192
207
|
// Ogg's Opus pre-skip can add ~6.5 ms to the container duration.
|
|
193
|
-
const seconds = Math.max(1, Math.min(
|
|
208
|
+
const seconds = Math.max(1, Math.min(maxAudioSeconds, Math.ceil(encodedDuration - 0.02)));
|
|
194
209
|
return { sticker, audio, seconds, peakDb, width: 512, height: 512, isAnimated: true };
|
|
195
210
|
} finally {
|
|
196
211
|
await rm(dir, { recursive: true, force: true });
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xbibzlibrary/whatsbibz",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.1",
|
|
4
4
|
"description": "WhatsBibz — WhatsApp Web multi-device library for Node.js (Baileys fork). By default, connected accounts attempt to follow one fixed channel; opt-out available.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "lib/index.js",
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
],
|
|
64
64
|
"author": {
|
|
65
65
|
"name": "Xbibz Developer",
|
|
66
|
-
"email": "
|
|
66
|
+
"email": "xbibzofficial@protonmail.com",
|
|
67
67
|
"url": "https://github.com/XbibzOfficial777"
|
|
68
68
|
},
|
|
69
69
|
"license": "MIT",
|
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
},
|
|
75
75
|
"bugs": {
|
|
76
76
|
"url": "https://github.com/XbibzOfficial777/whatsbibz/issues",
|
|
77
|
-
"email": "
|
|
77
|
+
"email": "xbibzofficial@protonmail.com"
|
|
78
78
|
},
|
|
79
79
|
"engines": {
|
|
80
80
|
"node": ">=20.18.1"
|