New:Introducing Socket Scanning for VS Code Marketplace Extensions.Learn more →
Get Started

@xrelly-stack/bails

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Malware was recently detected in this package.

Affected versions:

0.0.1-security2.2.62.2.72.2.92.3.1
+18 more

@xrelly-stack/bails

WhatsApp Modified By ayunlove — Complete xrl API (Lotus + wbails engine)

npmnpm
Version
2.2.6
Version published
Weekly downloads
29
70.59%
Maintainers
1
Weekly downloads
 
Created
Source

@xrelly-stack/bails

WhatsApp Modified By ayunlove — Complete xrl API.

Install

"dependencies": {
  "@xrelly-stack/bails": "^2.0.0"
}

jimp sudah include — tidak perlu install jimp terpisah.

Import

const { default: makeWASocket, DisconnectReason } = require('@xrelly-stack/bails');

Fitur

  • Fix memory leak & CPU — mutex + offline batching + WeakMap cache
  • Anti-banned error 463 (Reachout Timelock)
  • Protokol WA terbaru: LID mapping, TC Tokens, App State sync
  • Newsletter v2, Album message, @all mention (mentionAll: true)
  • jimp auto-include
  • CommonJS — kompatibel require()

Shortcut Helpers

  • sendText, sendImage, sendVideo, sendAudio, sendDocument
  • sendPoll, sendQuiz, sendLocation, sendPtv
  • statusMention

Extended Messages

  • requestPaymentMessage, productMessage, albumMessage
  • eventMessage, pollResultMessage, orderMessage
  • groupStatus, groupLabel
  • interactiveMessage

Contoh

await sock.sendText(jid, 'Hello');
await sock.sendImage(jid, { url: './foto.jpg' }, 'caption');

await sock.sendMessage(jid, {
  albumMessage: [
    { image: buffer1, caption: 'foto 1' },
    { image: { url: 'https://...' }, caption: 'foto 2' }
  ]
});

await sock.sendMessage(jid, {
  text: 'Halo semua!',
  mentionAll: true
});

Requirements

  • Node.js >= 20

Keywords

whatsapp-xrl

FAQs

Package last updated on 26 Jun 2026

Related posts