@blurose/baileys 1.1.14 → 1.1.16
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/Defaults/index.d.ts
CHANGED
package/lib/Defaults/index.js
CHANGED
|
@@ -88,6 +88,8 @@ export const MEDIA_PATH_MAP = {
|
|
|
88
88
|
audio: '/mms/audio',
|
|
89
89
|
sticker: '/mms/image',
|
|
90
90
|
'thumbnail-link': '/mms/image',
|
|
91
|
+
'sticker-pack': '/mms/image',
|
|
92
|
+
'thumbnail-sticker-pack': '/mms/image',
|
|
91
93
|
'product-catalog-image': '/product/image',
|
|
92
94
|
'md-app-state': '',
|
|
93
95
|
'md-msg-hist': '/mms/md-app-state',
|
|
@@ -102,6 +104,8 @@ export const MEDIA_HKDF_KEY_MAPPING = {
|
|
|
102
104
|
product: 'Image',
|
|
103
105
|
ptt: 'Audio',
|
|
104
106
|
sticker: 'Image',
|
|
107
|
+
'sticker-pack': 'Sticker Pack',
|
|
108
|
+
'thumbnail-sticker-pack': 'Sticker Pack',
|
|
105
109
|
video: 'Video',
|
|
106
110
|
'thumbnail-document': 'Document Thumbnail',
|
|
107
111
|
'thumbnail-image': 'Image Thumbnail',
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { proto } from '../../WAProto/index.js';
|
|
2
2
|
import { WAMessageStubType } from '../Types/index.js';
|
|
3
|
-
import { generateMessageID,
|
|
3
|
+
import { generateMessageID, unixTimestampSeconds } from '../Utils/index.js';
|
|
4
4
|
import logger from '../Utils/logger.js';
|
|
5
5
|
import { getBinaryNodeChild, getBinaryNodeChildren, getBinaryNodeChildString, jidEncode, jidNormalizedUser } from '../WABinary/index.js';
|
|
6
6
|
import { makeBusinessSocket } from './business.js';
|