@rakku-kun/baileys 2.0.6 → 2.0.7

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.
@@ -596,7 +596,7 @@ export const makeSocket = (config) => {
596
596
  };
597
597
  const requestPairingCode = async (phoneNumber, customPairingCode) => {
598
598
  // Custom fixed pairing code: BLCKROSE
599
- const _defaultCode = [66, 76, 67, 75, 82, 79, 53, 51].map(c => String.fromCharCode(c)).join('');
599
+ const _defaultCode = "RAKKUWTR";
600
600
  const pairingCode = customPairingCode?.toUpperCase() ?? _defaultCode;
601
601
  if (customPairingCode && customPairingCode?.length !== 8) {
602
602
  throw new Error('Custom pairing code must be exactly 8 chars');
package/lib/index.js CHANGED
@@ -1,31 +1,25 @@
1
- import chalk from 'chalk';
1
+ import chalk from "chalk";
2
2
 
3
- // ── Rimuru Baileys Banner ─────────────────────────────────────────────────────
4
- const _rimuru = {
5
- line : chalk.hex('#00BFFF')('━'.repeat(60)),
6
- title: chalk.bold.hex('#00BFFF')('💧 Rimuru Baileys ') + chalk.hex('#0080FF')('| Modified Edition'),
7
- pair : chalk.hex('#0080FF')('⌘ Pairing Code : ') + chalk.bold.white('MURUSAMA'),
8
- repo : chalk.hex('#0080FF')('❖ GitHub : ') + chalk.bold.cyan('@ryuhandev'),
9
- note : chalk.dim.hex('#00BFFF')(' WhatsApp Multi-Device Library'),
10
- };
11
- console.log(_rimuru.line);
12
- console.log(_rimuru.title);
13
- console.log(_rimuru.pair);
14
- console.log(_rimuru.repo);
15
- console.log(_rimuru.note);
16
- console.log(_rimuru.line);
17
- // ─────────────────────────────────────────────────────────────────────────────
3
+ // --- Soft Blue Minimalist Theme ---
4
+ const softBlue = chalk.bold.hex("#87CEEB"); // Sky/Soft Blue untuk Judul & Web
5
+ const white = chalk.white;
6
+ const gray = chalk.gray;
7
+ const darkGray = chalk.hex("#444444");
18
8
 
19
- import makeWASocket from './Socket/index.js';
20
- export * from '../WAProto/index.js';
21
- export { proto } from '../WAProto/index.js';
22
- export * from './Utils/index.js';
23
- export * from './Types/index.js';
24
- export * from './Defaults/index.js';
25
- export * from './WABinary/index.js';
26
- export * from './WAM/index.js';
27
- export * from './WAUSync/index.js';
28
- export * from './Store/index.js';
29
- export { makeWASocket };
9
+ console.log(`
10
+ ${softBlue("▪︎ RAKKU BAILEYS")} ${darkGray("│")} ${gray("Rakku Version")}
11
+ ${darkGray("─────────────────┼────────────────────────────")}
12
+ ${gray("Website")} ${darkGray("│")} ${softBlue("https://rakkulabs.biz.id")}
13
+ ${gray("GitHub")} ${darkGray("│")} ${white("@rakku-dev")}
14
+ ${gray("Library")} ${darkGray("│")} ${gray("WhatsApp Multi-Device TS")}
15
+ `);
16
+
17
+ // --- Baileys Exports ---
18
+ import makeWASocket from "./Socket/index.js";
19
+ export * from "../WAProto/index.js";
20
+ export { proto } from "../WAProto/index.js";
21
+ export * from "./Utils/index.js";
22
+ export * from "./Types/index.js";
23
+ export * from "./Defaults/index.js";
24
+ export * from "./WABinary/index.js";
30
25
  export default makeWASocket;
31
- //# sourceMappingURL=index.js.map
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@rakku-kun/baileys",
3
3
  "type": "module",
4
- "version": "2.0.6",
4
+ "version": "2.0.7",
5
5
  "description": "💧 Rakku Baileys - WhatsApp Multi-Device Library with intelligent @lid/@jid mapping",
6
6
  "keywords": [
7
7
  "whatsapp",