@zachannxd/baileys 0.6.0 → 0.6.2
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 +0 -3
- package/lib/Defaults/index.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -27,9 +27,6 @@ Atau langsung dari GitHub:
|
|
|
27
27
|
npm install github:revizahoshii-no/reviza-baileys
|
|
28
28
|
```
|
|
29
29
|
|
|
30
|
-
> Nama lama `@revizahoshii/baileys` sudah dihapus tim keamanan npm dan diganti
|
|
31
|
-
> placeholder `0.0.1-security`. Jangan install dari nama lama.
|
|
32
|
-
|
|
33
30
|
Kebutuhan dasarnya cuma satu: **Node.js 20 ke atas**. Ada script `preinstall` yang
|
|
34
31
|
menghentikan instalasi kalau versi Node kamu di bawah itu. Paket ini ESM
|
|
35
32
|
(`"type": "module"`), jadi kalau project kamu masih CommonJS, pakai
|
package/lib/Defaults/index.js
CHANGED
|
@@ -2,7 +2,7 @@ import { proto } from '../../WAProto/index.js';
|
|
|
2
2
|
import { makeLibSignalRepository } from '../Signal/libsignal.js';
|
|
3
3
|
import { Browsers } from '../Utils/browser-utils.js';
|
|
4
4
|
import logger from '../Utils/logger.js';
|
|
5
|
-
const version = [2, 3000,
|
|
5
|
+
const version = [2, 3000, 1050936950];
|
|
6
6
|
export const UNAUTHORIZED_CODES = [401, 403, 419];
|
|
7
7
|
export const BIZ_BOT_SUPPORT_PAYLOAD = '{"version":1,"is_ai_message":true,"should_upload_client_logs":false,"should_show_system_message":false,"ticket_id":"7004947587700716","citation_items":[],"ticket_locale":"us"}';
|
|
8
8
|
export const DEFAULT_ORIGIN = 'https://web.whatsapp.com';
|
package/package.json
CHANGED