lilgabriel-baileys 2.5.8 → 2.5.10

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,10 +1,10 @@
1
1
  <div align="center">
2
- <h1>Gifted-Baileys</h1>
2
+ <h1>Lilgabriel-Baileys</h1>
3
3
  <p>A WebSocket-based JavaScript library for interacting with the WhatsApp Web API</p>
4
4
 
5
- [![npm version](https://img.shields.io/npm/v/gifted-baileys.svg)](https://www.npmjs.com/package/gifted-baileys)
6
- [![npm downloads](https://img.shields.io/npm/dm/gifted-baileys.svg)](https://www.npmjs.com/package/gifted-baileys)
7
- [![License](https://img.shields.io/npm/l/gifted-baileys.svg)](https://github.com/mauricegift/gifted-baileys/blob/main/LICENSE)
5
+ [![npm version](https://img.shields.io/npm/v/lilgabriel-baileys.svg)](https://www.npmjs.com/package/lilgabriel-baileys)
6
+ [![npm downloads](https://img.shields.io/npm/dm/lilgabriel-baileys.svg)](https://www.npmjs.com/package/lilgabriel-baileys)
7
+ [![License](https://img.shields.io/npm/l/lilgabriel-baileys.svg)](https://github.com/LilGabrielDev/lilgabriel-baileys/blob/main/LICENSE)
8
8
  </div>
9
9
 
10
10
  ## Disclaimer
@@ -46,11 +46,4 @@ const { default: makeWASocket, useMultiFileAuthState, Browsers } = pkg
46
46
  - Group management
47
47
  - Privacy settings
48
48
  - Profile management
49
- - And much more!
50
-
51
- > **Note:** For sending buttons, please use the [gifted-btns](https://npmjs.com/package/gifted-btns) package.
52
-
53
- ## Documentation
54
-
55
- Full documentation is available at [baileys.giftedtech.co.ke](https://baileys.giftedtech.co.ke)
56
-
49
+ - And much more!
@@ -234,4 +234,4 @@ class LilgabrielStatus {
234
234
  }
235
235
  }
236
236
 
237
- module.exports = LilaabrielStatus;
237
+ module.exports = LilgabrielStatus;
@@ -175,11 +175,11 @@ const generateMessageIDV2 = (userId) => {
175
175
  const random = (0, crypto_1.randomBytes)(16);
176
176
  random.copy(data, 28);
177
177
  const hash = (0, crypto_1.createHash)('sha256').update(data).digest();
178
- return 'GIFTED-' + hash.toString('hex').toUpperCase().substring(0, 18);
178
+ return 'LILGABRIEL-' + hash.toString('hex').toUpperCase().substring(0, 18);
179
179
  };
180
180
  exports.generateMessageIDV2 = generateMessageIDV2;
181
181
  // generate a random ID to attach to a message
182
- const generateMessageID = () => 'GIFTED-' + (0, crypto_1.randomBytes)(18).toString('hex').toUpperCase();
182
+ const generateMessageID = () => 'LILGABRIEL-' + (0, crypto_1.randomBytes)(18).toString('hex').toUpperCase();
183
183
  exports.generateMessageID = generateMessageID;
184
184
  function bindWaitForEvent(ev, event) {
185
185
  return async (check, timeoutMs) => {
@@ -211,7 +211,7 @@ exports.bindWaitForConnectionUpdate = bindWaitForConnectionUpdate;
211
211
  * Use to ensure your WA connection is always on the latest version
212
212
  */
213
213
  const fetchLatestBaileysVersion = async (options = {}) => {
214
- const URL = 'https://raw.githubusercontent.com/mauricegift/gifted-aileys/main/lib/Defaults/baileys-version.json';
214
+ const URL = 'https://raw.githubusercontent.com/LilGabrielDev/lilgabriel-baileys/main/lib/Defaults/baileys-version.json';
215
215
  try {
216
216
  const result = await axios_1.default.get(URL, {
217
217
  ...options,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lilgabriel-baileys",
3
- "version": "2.5.8",
3
+ "version": "2.5.10",
4
4
  "description": "A lightweight, full-featured WhatsApp Web API library for Node.js",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",
package/test.js CHANGED
@@ -1,6 +1,6 @@
1
1
  const baileys = require('./lib/index.js');
2
2
 
3
- console.log('=== gifted-baileys Library Test ===\n');
3
+ console.log('=== lilgabriel-baileys Library Test ===\n');
4
4
  console.log('Library loaded successfully!');
5
5
  console.log('\nAvailable exports:');
6
6
  console.log(Object.keys(baileys).join('\n'));