kage-baileys 25.3.31 → 25.3.33
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/lib/Utils/generics.js
CHANGED
|
@@ -177,7 +177,7 @@ export const bindWaitForConnectionUpdate = (ev) => bindWaitForEvent(ev, 'connect
|
|
|
177
177
|
* Use to ensure your WA connection is always on the latest version
|
|
178
178
|
*/
|
|
179
179
|
export const fetchLatestBaileysVersion = async (options = {}) => {
|
|
180
|
-
const URL = 'https://raw.githubusercontent.com/
|
|
180
|
+
const URL = 'https://raw.githubusercontent.com/xrljosedv/kage-baileys/master/src/Defaults/index.ts';
|
|
181
181
|
try {
|
|
182
182
|
const response = await fetch(URL, {
|
|
183
183
|
dispatcher: options.dispatcher,
|
|
@@ -5,7 +5,7 @@ import { proto } from '../../WAProto/index.js';
|
|
|
5
5
|
import { initAuthCreds } from './auth-utils.js';
|
|
6
6
|
import { BufferJSON } from './generics.js';
|
|
7
7
|
// We need to lock files due to the fact that we are using async functions to read and write files
|
|
8
|
-
// https://github.com/
|
|
8
|
+
// https://github.com/xrljosedv/kage-baileys/issues/794
|
|
9
9
|
// https://github.com/nodejs/node/issues/26338
|
|
10
10
|
// Use a Map to store mutexes for each file path
|
|
11
11
|
const fileLocks = new Map();
|
package/package.json
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "kage-baileys",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "25.3.
|
|
4
|
+
"version": "25.3.33",
|
|
5
5
|
"description": "A WebSockets library for interacting with WhatsApp Web",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"whatsapp",
|
|
8
8
|
"automation"
|
|
9
9
|
],
|
|
10
|
-
"homepage": "https://github.com/
|
|
10
|
+
"homepage": "https://github.com/xrljosedv/kage-baileys/",
|
|
11
11
|
"repository": {
|
|
12
|
-
"url": "git@github.com:
|
|
12
|
+
"url": "git@github.com:xrljosedv/kage-baileys.git"
|
|
13
13
|
},
|
|
14
14
|
"license": "MIT",
|
|
15
15
|
"author": "Rajeh Taher",
|