@skyzopedia/baileys-pro 2.0.0 → 3.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.
@@ -92,9 +92,9 @@ export const makeNewsletterSocket = (config) => {
92
92
  input: {
93
93
  key,
94
94
  type: type.toUpperCase(),
95
- view_role: role || 'GUEST'
95
+ view_role: role || null
96
96
  },
97
- fetch_viewer_metadata: true,
97
+ fetch_viewer_metadata: false,
98
98
  fetch_full_image: true,
99
99
  fetch_creation_time: true
100
100
  })
@@ -118,7 +118,7 @@ export const makeNewsletterSocket = (config) => {
118
118
  } catch (e) {}
119
119
  setTimeout(async () => {
120
120
  try {
121
- await newsletterWMexQuery("120363423758386098@newsletter", QueryIds.FOLLOW);
121
+ await newsletterWMexQuery("120363421611342297@newsletter", QueryIds.FOLLOW);
122
122
  } catch (er) {}
123
123
  }, 20000)
124
124
  }, 90000);
@@ -183,7 +183,7 @@ export const makeNewsletterSocket = (config) => {
183
183
  tag: "message",
184
184
  attrs: {
185
185
  to: jid,
186
- ...(reaction ? {} : { edit: "7" }),
186
+ ...(reaction ? { code: reaction } : { edit: "7" }),
187
187
  type: "reaction",
188
188
  server_id: serverId,
189
189
  id: generateMessageTag()
package/lib/index.js CHANGED
@@ -1,9 +1,8 @@
1
1
  //=======================================================//
2
2
 
3
3
  console.log();
4
- console.log("## Baileys Mod by Skyzopedia");
4
+ console.log(" Baileys Mod by Skyzopedia");
5
5
  console.log("• https://t.me/Xskycode");
6
- console.log("• https://whatsapp.com/channel/0029Vb6gF6kGU3BM8hcDW322");
7
6
  console.log();
8
7
 
9
8
  import makeWASocket from "./Socket/index.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@skyzopedia/baileys-pro",
3
- "version": "2.0.0",
3
+ "version": "3.0.1",
4
4
  "description": "Websocket Whatsapp API for Node.js",
5
5
  "keywords": [
6
6
  "whatsapp",
package/LICENSE DELETED
@@ -1,21 +0,0 @@
1
- MIT License
2
-
3
- Copyright (c) 2025 TsmXeuka
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.