@vanzxy/baileys 1.6.4 → 1.6.5
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/media-set.js +4 -1
- package/package.json +1 -1
package/lib/Utils/media-set.js
CHANGED
|
@@ -12,7 +12,10 @@
|
|
|
12
12
|
* buffer from `generatePP` (normalized preview). Both are kept.
|
|
13
13
|
*/
|
|
14
14
|
import { randomBytes } from 'node:crypto';
|
|
15
|
-
|
|
15
|
+
// Vanz@Fix: unixTimestampSeconds is not re-exported by messages.js (it only imports
|
|
16
|
+
// it internally from generics.js for its own use) — pull it from generics.js directly.
|
|
17
|
+
import { generateWAMessageContent, generateWAMessageFromContent } from './messages.js';
|
|
18
|
+
import { unixTimestampSeconds } from './generics.js';
|
|
16
19
|
import { S_WHATSAPP_NET } from '../WABinary/index.js';
|
|
17
20
|
import { generatePP, generateProfilePictureFP } from './media-messages.js';
|
|
18
21
|
/** Update the profile picture for yourself or a group — sends the main (scaled-to-fit) image. */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vanzxy/baileys",
|
|
3
|
-
"version": "1.6.
|
|
3
|
+
"version": "1.6.5",
|
|
4
4
|
"description": "Enhanced Baileys fork by Vanzxy — based on @itsliaaa/baileys + @whiskeysockets/baileys with fixes for audio group status and clean media without newsletter button.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./lib/index.js",
|