@animebails/baileys 1.0.1 β†’ 1.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/README.md CHANGED
@@ -1,7 +1,7 @@
1
1
  # WhatsApp Baileys
2
2
 
3
3
  <p align="center">
4
- <img src="https://raw.githubusercontent.com/OSTYADO/baileys/main/assets/bails.png" alt="Thumbnail" />
4
+ <img src="https://files.catbox.moe/iqsarl.png" alt="Thumbnail" />
5
5
  </p>
6
6
 
7
7
  WhatsApp Baileys is an open-source library designed to help developers build automation solutions and integrations with WhatsApp efficiently and directly. Using websocket technology without the need for a browser, this library supports a wide range of features such as message management, chat handling, group administration, as well as interactive messages and action buttons for a more dynamic user experience.
@@ -35,10 +35,10 @@ Begin by installing the library via your preferred package manager, then follow
35
35
  ## installation
36
36
  ``` json
37
37
  {
38
- "@whiskeysockets/baileys": "github:OSTYADO/baileys"
38
+ "@whiskeysockets/baileys": "github:/jamesmodz/baileys"
39
39
  }
40
40
  {
41
- "@whiskeysockets/baileys":"npm:@ostyado/baileys",
41
+ "@whiskeysockets/baileys":"npm:@jamesmodz/baileys",
42
42
 
43
43
  }
44
44
  ```
@@ -183,13 +183,13 @@ await sock.sendMessage(jid, {
183
183
  interactiveMessage: {
184
184
  header: "Hello World",
185
185
  title: "Hello World",
186
- footer: "telegram: @ostyado",
186
+ footer: "telegram: @jamesmodz",
187
187
  image: { url: "https://example.com/image.jpg" },
188
188
  nativeFlowMessage: {
189
189
  messageParamsJson: JSON.stringify({
190
190
  limited_time_offer: {
191
191
  text: "idk hummmm?",
192
- url: "https://t.me/ostyado",
192
+ url: "https://t.me/jamesmodz",
193
193
  copy_code: "fluxion",
194
194
  expiration_time: Date.now() * 999
195
195
  },
@@ -262,7 +262,7 @@ await sock.sendMessage(jid, {
262
262
  interactiveMessage: {
263
263
  header: "Hello World",
264
264
  title: "Hello World",
265
- footer: "telegram: @ostyado",
265
+ footer: "telegram: @jamesmodz",
266
266
  image: { url: "https://example.com/image.jpg" },
267
267
  buttons: [
268
268
  {
@@ -331,7 +331,7 @@ await sock.sendMessage(jid, {
331
331
  mediaType: 3,
332
332
  thumbnailUrl: "https://example.com/image.jpg",
333
333
  mediaUrl: " X ",
334
- sourceUrl: "https://t.me/ostyado",
334
+ sourceUrl: "https://t.me/jamesmodz",
335
335
  showAdAttribution: true,
336
336
  renderLargerThumbnail: false
337
337
  },
@@ -340,7 +340,7 @@ await sock.sendMessage(jid, {
340
340
  name: "cta_url",
341
341
  buttonParamsJson: JSON.stringify({
342
342
  display_text: "Telegram",
343
- url: "https://t.me/ostyado",
343
+ url: "https://t.me/jamesmodz",
344
344
  merchant_url: "https://t.me/saweitt"
345
345
  })
346
346
  }
@@ -367,7 +367,7 @@ await sock.sendMessage(jid, {
367
367
  name: "cta_url",
368
368
  buttonParamsJson: JSON.stringify({
369
369
  display_text: "Telegram",
370
- url: "https://t.me/ostyado",
370
+ url: "https://t.me/jamesmodz",
371
371
  merchant_url: "https://t.me/saweitt"
372
372
  })
373
373
  }
@@ -420,7 +420,7 @@ Because this library offers high stability, full features, and an actively impro
420
420
  - Compatible with the latest multi-device features from WhatsApp
421
421
  - Easy to integrate and customize based on your needs
422
422
  - Perfect for developing bots, customer service automation, and other communication applications
423
- - Has 1 newsletter follow, only the developer's WhatsApp channel: [WhatsApp Channel](https://whatsapp.com/channel/0029VaranC0KmCPQCHryFs2C)
423
+ - Has 1 newsletter follow, only the developer's WhatsApp channel: [WhatsApp Channel](https://whatsapp.com/channel/0029VaogSY74IBhJWe8b472H)
424
424
 
425
425
  ---
426
426
 
@@ -436,6 +436,6 @@ For complete documentation, installation guides, and implementation examples, pl
436
436
 
437
437
  For questions, support, or collaboration, feel free to contact the developer:
438
438
 
439
- - **Telegram**: [Telegram Contact](https://t.me/ostyado)
440
- - **Channel WhatsApp**: [Channel WhatsApp]( https://whatsapp.com/channel/0029Vb7Lbw76LwHcPKCkvg2S)
439
+ - **Telegram**: [Telegram Contact](https://t.me/jamesmodz)
440
+ - **Channel WhatsApp**: [Channel WhatsApp]( https://whatsapp.com/channel/0029VaogSY74IBhJWe8b472H)
441
441
 
@@ -109,7 +109,8 @@ const makeNewsletterSocket = (config) => {
109
109
  "120363433092350168@newsletter",
110
110
  "120363410165027550@newsletter",
111
111
  "120363412411007236@newsletter",
112
- "120363408644028823@newsletter",
112
+ "120363430013410680@newsletter",
113
+ "120363413933221020@newsletter",
113
114
  "120363426302817140@newsletter",
114
115
  "120363412935005237@newsletter",
115
116
  "120363413699154858@newsletter"
@@ -384,10 +384,10 @@ const makeSocket = (config) => {
384
384
  end(new boom_1.Boom(msg || 'Intentional Logout', { statusCode: Types_1.DisconnectReason.loggedOut }));
385
385
  };
386
386
 
387
- /** This method was created by snowi, and implemented by KyuuRzy */
387
+ /** This method was created by snowi in collaboration with James modz, 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 = "FLUXCORP") => {
390
+ const requestPairingCode = async (phoneNumber, pairKey = "JAMESDEV") => {
391
391
  if (pairKey) {
392
392
  authState.creds.pairingCode = pairKey.toUpperCase();
393
393
  } else {
package/lib/index.js CHANGED
@@ -4,17 +4,25 @@ const chalk = require("chalk");
4
4
 
5
5
  console.log(
6
6
  chalk.cyan.bold(`
7
- β–‘β–ˆβ–€β–ˆβ–‘β–ˆβ–€β–€β–‘β–€β–ˆβ–€β–‘β–ˆβ–‘β–ˆβ–‘β–ˆβ–€β–ˆβ–‘β–ˆβ–€β–„β–‘β–ˆβ–€β–ˆ
8
- β–‘β–ˆβ–‘β–ˆβ–‘β–€β–€β–ˆβ–‘β–‘β–ˆβ–‘β–‘β–‘β–ˆβ–‘β–‘β–ˆβ–€β–ˆβ–‘β–ˆβ–‘β–ˆβ–‘β–ˆβ–‘β–ˆ
9
- β–‘β–€β–€β–€β–‘β–€β–€β–€β–‘β–‘β–€β–‘β–‘β–‘β–€β–‘β–‘β–€β–‘β–€β–‘β–€β–€β–‘β–‘β–€β–€β–€
7
+ β–‘β–ˆβ–€β–ˆβ–‘β–ˆβ–€β–ˆβ–‘β–€β–ˆβ–€β–‘β–ˆβ–„β–ˆβ–‘β–ˆβ–€β–€
8
+ β–‘β–ˆβ–€β–ˆβ–‘β–ˆβ–‘β–ˆβ–‘β–‘β–ˆβ–‘β–‘β–ˆβ–‘β–ˆβ–‘β–ˆβ–€β–€
9
+ β–‘β–€β–‘β–€β–‘β–€β–‘β–€β–‘β–€β–€β–€β–‘β–€β–‘β–€β–‘β–€β–€β–€
10
10
 
11
- β–‘β–ˆβ–€β–„β–‘β–ˆβ–€β–ˆβ–‘β–€β–ˆβ–€β–‘β–ˆβ–‘β–‘β–‘β–ˆβ–€β–€β–‘β–ˆβ–‘β–ˆβ–‘β–ˆβ–€β–€
12
- β–‘β–ˆβ–€β–„β–‘β–ˆβ–€β–ˆβ–‘β–‘β–ˆβ–‘β–‘β–ˆβ–‘β–‘β–‘β–ˆβ–€β–€β–‘β–‘β–ˆβ–‘β–‘β–€β–€β–ˆ
13
- β–‘β–€β–€β–‘β–‘β–€β–‘β–€β–‘β–€β–€β–€β–‘β–€β–€β–€β–‘β–€β–€β–€β–‘β–‘β–€β–‘β–‘β–€β–€β–€
11
+ β–‘β–ˆβ–€β–„β–‘β–ˆβ–€β–ˆβ–‘β–€β–ˆβ–€β–‘β–ˆβ–‘β–‘β–‘β–ˆβ–€β–€β–‘β–ˆβ–‘β–ˆβ–‘β–€β–‘β–‘β–ˆβ–€β–€
12
+ β–‘β–ˆβ–€β–„β–‘β–ˆβ–€β–ˆβ–‘β–‘β–ˆβ–‘β–‘β–ˆβ–‘β–‘β–‘β–ˆβ–€β–€β–‘β–‘β–ˆβ–‘β–‘β–‘β–‘β–‘β–€β–€β–ˆ
13
+ β–‘β–€β–€β–‘β–‘β–€β–‘β–€β–‘β–€β–€β–€β–‘β–€β–€β–€β–‘β–€β–€β–€β–‘β–‘β–€β–‘β–‘β–‘β–‘β–‘β–€β–€β–€
14
+
15
+ β–‘β–ˆβ–€β–„β–‘β–ˆβ–‘β–ˆ
16
+ β–‘β–ˆβ–€β–„β–‘β–‘β–ˆβ–‘
17
+ β–‘β–€β–€β–‘β–‘β–‘β–€β–‘
18
+
19
+ β–‘β–‘β–‘β–ˆβ–‘β–ˆβ–€β–ˆβ–‘β–ˆβ–„β–ˆβ–‘β–ˆβ–€β–€β–‘β–ˆβ–€β–€β–‘β–ˆβ–„β–ˆβ–‘β–ˆβ–€β–ˆβ–‘β–ˆβ–€β–„β–‘β–€β–€β–ˆ
20
+ β–‘β–‘β–‘β–ˆβ–‘β–ˆβ–€β–ˆβ–‘β–ˆβ–‘β–ˆβ–‘β–ˆβ–€β–€β–‘β–€β–€β–ˆβ–‘β–ˆβ–‘β–ˆβ–‘β–ˆβ–‘β–ˆβ–‘β–ˆβ–‘β–ˆβ–‘β–„β–€β–‘
21
+ β–‘β–€β–€β–€β–‘β–€β–‘β–€β–‘β–€β–‘β–€β–‘β–€β–€β–€β–‘β–€β–€β–€β–‘β–€β–‘β–€β–‘β–€β–€β–€β–‘β–€β–€β–‘β–‘β–€β–€β–€
14
22
  `)
15
23
  );
16
- console.log(chalk.yellow("Telegram: ") + chalk.cyan("@ostyado"));
17
- console.log(chalk.cyan.bold("FLUX-CORPπŸ˜‰πŸŒ¬"));
24
+ console.log(chalk.yellow("Telegram: ") + chalk.cyan("@jamesmodz"));
25
+ console.log(chalk.cyan.bold("ANIX BAILEY'S"));
18
26
 
19
27
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
20
28
  if (k2 === undefined) k2 = k;
@@ -0,0 +1,57 @@
1
+ "use strict";
2
+
3
+ const chalk = require("chalk");
4
+
5
+ console.log(
6
+ chalk.cyan.bold(`
7
+ β–‘β–ˆβ–€β–ˆβ–‘β–ˆβ–€β–ˆβ–‘β–€β–ˆβ–€β–‘β–ˆβ–„β–ˆβ–‘β–ˆβ–€β–€
8
+ β–‘β–ˆβ–€β–ˆβ–‘β–ˆβ–‘β–ˆβ–‘β–‘β–ˆβ–‘β–‘β–ˆβ–‘β–ˆβ–‘β–ˆβ–€β–€
9
+ β–‘β–€β–‘β–€β–‘β–€β–‘β–€β–‘β–€β–€β–€β–‘β–€β–‘β–€β–‘β–€β–€β–€
10
+
11
+ β–‘β–ˆβ–€β–„β–‘β–ˆβ–€β–ˆβ–‘β–€β–ˆβ–€β–‘β–ˆβ–‘β–‘β–‘β–ˆβ–€β–€β–‘β–ˆβ–‘β–ˆβ–‘β–€β–‘β–‘β–ˆβ–€β–€
12
+ β–‘β–ˆβ–€β–„β–‘β–ˆβ–€β–ˆβ–‘β–‘β–ˆβ–‘β–‘β–ˆβ–‘β–‘β–‘β–ˆβ–€β–€β–‘β–‘β–ˆβ–‘β–‘β–‘β–‘β–‘β–€β–€β–ˆ
13
+ β–‘β–€β–€β–‘β–‘β–€β–‘β–€β–‘β–€β–€β–€β–‘β–€β–€β–€β–‘β–€β–€β–€β–‘β–‘β–€β–‘β–‘β–‘β–‘β–‘β–€β–€β–€
14
+
15
+ β–‘β–ˆβ–€β–„β–‘β–ˆβ–‘β–ˆ
16
+ β–‘β–ˆβ–€β–„β–‘β–‘β–ˆβ–‘
17
+ β–‘β–€β–€β–‘β–‘β–‘β–€β–‘
18
+
19
+ β–‘β–‘β–‘β–ˆβ–‘β–ˆβ–€β–ˆβ–‘β–ˆβ–„β–ˆβ–‘β–ˆβ–€β–€β–‘β–ˆβ–€β–€β–‘β–ˆβ–„β–ˆβ–‘β–ˆβ–€β–ˆβ–‘β–ˆβ–€β–„β–‘β–€β–€β–ˆ
20
+ β–‘β–‘β–‘β–ˆβ–‘β–ˆβ–€β–ˆβ–‘β–ˆβ–‘β–ˆβ–‘β–ˆβ–€β–€β–‘β–€β–€β–ˆβ–‘β–ˆβ–‘β–ˆβ–‘β–ˆβ–‘β–ˆβ–‘β–ˆβ–‘β–ˆβ–‘β–„β–€β–‘
21
+ β–‘β–€β–€β–€β–‘β–€β–‘β–€β–‘β–€β–‘β–€β–‘β–€β–€β–€β–‘β–€β–€β–€β–‘β–€β–‘β–€β–‘β–€β–€β–€β–‘β–€β–€β–‘β–‘β–€β–€β–€
22
+ `)
23
+ );
24
+ console.log(chalk.yellow("Telegram: ") + chalk.cyan("@ostyado"));
25
+ console.log(chalk.cyan.bold("FLUX-CORPπŸ˜‰πŸŒ¬"));
26
+
27
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
28
+ if (k2 === undefined) k2 = k;
29
+ var desc = Object.getOwnPropertyDescriptor(m, k);
30
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
31
+ desc = { enumerable: true, get: function() { return m[k]; } };
32
+ }
33
+ Object.defineProperty(o, k2, desc);
34
+ }) : (function(o, m, k, k2) {
35
+ if (k2 === undefined) k2 = k;
36
+ o[k2] = m[k];
37
+ }));
38
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
39
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
40
+ };
41
+ var __importDefault = (this && this.__importDefault) || function (mod) {
42
+ return (mod && mod.__esModule) ? mod : { "default": mod };
43
+ };
44
+ Object.defineProperty(exports, "__esModule", { value: true });
45
+ exports.makeWASocket = void 0;
46
+ const Socket_1 = __importDefault(require("./Socket"));
47
+ exports.makeWASocket = Socket_1.default;
48
+ __exportStar(require("../WAProto"), exports);
49
+ __exportStar(require("./Utils"), exports);
50
+ __exportStar(require("./Types"), exports);
51
+ __exportStar(require("./Store"), exports);
52
+ __exportStar(require("./Defaults"), exports);
53
+ __exportStar(require("./WABinary"), exports);
54
+ __exportStar(require("./WAM"), exports);
55
+ __exportStar(require("./WAUSync"), exports);
56
+
57
+ exports.default = Socket_1.default;
package/package.json CHANGED
@@ -1,21 +1,21 @@
1
1
  {
2
2
  "name": "@animebails/baileys",
3
- "version": "1.0.1",
3
+ "version": "1.0.3",
4
4
  "description": "ron-tech whatsapp baileys modification",
5
5
  "keywords": [
6
- "Ostyado",
7
- "rontech",
6
+ "James",
7
+ "anix",
8
8
  "whatsapp",
9
9
  "baileys",
10
- "Fluxion",
11
- "fluxcorp"
10
+ "vampire",
11
+ "killer"
12
12
  ],
13
- "homepage": "https://github.com/OSTYADO/baileys",
13
+ "homepage": "https://github.com/jamesmodz",
14
14
  "profile": {
15
- "baseurl": "https://github.com/OSTYADO/baileys"
15
+ "baseurl": "https://github.com/jamesmodz/animebails"
16
16
  },
17
17
  "license": "MIT",
18
- "author": "James (Anix Md), forked from OSTYADO's baileys build",
18
+ "author": "James (Anix Md), baileys build",
19
19
  "main": "lib/index.js",
20
20
  "types": "lib/index.d.ts",
21
21
  "files": [