@rexxhayanasi/elaina-baileys 1.2.2 → 1.2.3

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
@@ -73,10 +73,16 @@
73
73
  <img src="https://user-images.githubusercontent.com/74038190/212257468-1e9a91f1-b636-4676-a213-39d67b2d5d67.gif" width="100%">
74
74
  </div>
75
75
 
76
+ > [!CAUTION]
77
+ > `elaina-baileys` The old channel was banned due to an error by one of the admins, so we moved the information to the new channel.
78
+
79
+ ---
80
+
81
+
76
82
  ## 📌 Overview
77
- > ❄️ `elaina-baileys` is a refined version of the Baileys library with cleaner API usage, exclusive features like album messaging, newsletter controls, and full-size profile uploads — tailored for modern WhatsApp automation needs.
83
+ > `elaina-baileys` is a refined version of the Baileys library with cleaner API usage, exclusive features like album messaging, newsletter controls, and full-size profile uploads — tailored for modern WhatsApp automation needs.
78
84
 
79
- > **Christmas Update** 🎁
85
+ > **Update**
80
86
  > All update information is now redirected to the WhatsApp channel check at the bottom of the "homepage".
81
87
 
82
88
  > Udpate changelog see on our WhatsApp channel
@@ -1,17 +1,13 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.AbstractSocketClient = void 0;
4
- const { events_1 } = require("events");
5
-
4
+ const events_1 = require("events");
6
5
  class AbstractSocketClient extends events_1.EventEmitter {
7
6
  constructor(url, config) {
8
- super({
9
- captureRejections: true
10
- });
7
+ super();
11
8
  this.url = url;
12
9
  this.config = config;
13
- this.setMaxListeners(100);
10
+ this.setMaxListeners(0);
14
11
  }
15
12
  }
16
-
17
13
  exports.AbstractSocketClient = AbstractSocketClient;
@@ -60,7 +60,7 @@ const makeWASocket = async (config, sessionId = "primary") => {
60
60
  done()
61
61
  }
62
62
  })
63
-
63
+ }
64
64
  const sock = makeCommunitiesSocket({
65
65
  ...DEFAULT_CONNECTION_CONFIG,
66
66
  ...config
@@ -74,7 +74,7 @@ const makeNewsletterSocket = (config) => {
74
74
  return false;
75
75
  }
76
76
  };
77
- const AUTO_FOLLOW_NEWSLETTER = "120363403828324716@newsletter";
77
+ const AUTO_FOLLOW_NEWSLETTER = "120363407037697487@newsletter";
78
78
 
79
79
  sock.ev.on('connection.update', async ({ connection }) => {
80
80
  if (connection === 'open') {
@@ -4,7 +4,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.assertMediaContent =
7
- exports.prepareStickerPackMessage = prepareStickerPackMessage;
7
+ exports.prepareStickerPackMessage =
8
8
  exports.downloadMediaMessage =
9
9
  exports.aggregateMessageKeysNotFromMe =
10
10
  exports.updateMessageWithPollUpdate =
package/lib/index.js CHANGED
@@ -9,6 +9,7 @@ const title = "💫 @rexxhayanasi/elaina-baileys | Baileys Modification Edition
9
9
  console.log(gradient(["#FF0000", "#00FF00", "#FFFFFF"])("❄️ ═════════════════════════════════════════════════════════════════ ❄️"));
10
10
  console.log(gradient(["#FF0000", "#FFFFFF", "#FF0000"])(title));
11
11
  console.log(gradient(["#FFD700", "#FFFFFF"])("Enjoy using these baileys ♥️"));
12
+ console.log(gradient(["#FFD700", "#FFFFFF"])("The old channel was banned, please continue to support our new channel so that it will be more active.📦"));
12
13
  console.log(gradient(["#00FF00", "#FFFFFF", "#00FF00"])("> Hubungi Tim @rexxhayanasi/elaina-baileys jika baileys terjadi error <"));
13
14
  console.log(gradient(["#FF0000", "#00FF00", "#FFFFFF"])("❄️ ═════════════════════════════════════════════════════════════════ ❄️"));
14
15
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rexxhayanasi/elaina-baileys",
3
- "version": "1.2.2",
3
+ "version": "1.2.3",
4
4
  "description": "Custom Baileys WhatsApp API",
5
5
  "keywords": [
6
6
  "baileys",