@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.
@@ -47,6 +47,8 @@ export declare const MEDIA_HKDF_KEY_MAPPING: {
47
47
  product: string;
48
48
  ptt: string;
49
49
  sticker: string;
50
+ 'sticker-pack': string;
51
+ 'thumbnail-sticker-pack': string;
50
52
  video: string;
51
53
  'thumbnail-document': string;
52
54
  'thumbnail-image': string;
@@ -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, generateMessageID, unixTimestampSeconds } from '../Utils/index.js';
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';
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@blurose/baileys",
3
3
  "type": "module",
4
- "version": "1.1.14",
4
+ "version": "1.1.16",
5
5
  "description": "A WebSockets library for interacting with WhatsApp Web",
6
6
  "keywords": [
7
7
  "whatsapp",