@systemzero/baileys 1.0.3 → 1.0.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.
@@ -78,7 +78,9 @@ export const MEDIA_PATH_MAP = {
78
78
  'product-catalog-image': '/product/image',
79
79
  'md-app-state': '',
80
80
  'md-msg-hist': '/mms/md-app-state',
81
- 'biz-cover-photo': '/pps/biz-cover-photo'
81
+ 'biz-cover-photo': '/pps/biz-cover-photo',
82
+ 'sticker-pack': '/mms/sticker-pack',
83
+ 'thumbnail-sticker-pack': '/mms/thumbnail-sticker-pack'
82
84
  };
83
85
  export const MEDIA_HKDF_KEY_MAPPING = {
84
86
  audio: 'Audio',
@@ -99,7 +101,9 @@ export const MEDIA_HKDF_KEY_MAPPING = {
99
101
  'product-catalog-image': '',
100
102
  'payment-bg-image': 'Payment Background',
101
103
  ptv: 'Video',
102
- 'biz-cover-photo': 'Image'
104
+ 'biz-cover-photo': 'Image',
105
+ 'sticker-pack': 'Sticker Pack',
106
+ 'thumbnail-sticker-pack': 'Sticker Pack Thumbnail'
103
107
  };
104
108
  export const MEDIA_KEYS = Object.keys(MEDIA_PATH_MAP);
105
109
  export const MIN_PREKEY_COUNT = 5;
@@ -112,4 +116,6 @@ export const DEFAULT_CACHE_TTLS = {
112
116
  CALL_OFFER: 5 * 60, // 5 minutes
113
117
  USER_DEVICES: 5 * 60 // 5 minutes
114
118
  };
115
- //# sourceMappingURL=index.js.map
119
+ //# sourceMappingURL=index.js.map
120
+ export const DONATE_URL = 'https://systemzone.store';
121
+ export const LIBRARY_NAME = '@systemzero/baileys';
package/lib/MB.cjs ADDED
@@ -0,0 +1,8 @@
1
+ /**
2
+ * Uso (no seu bot ESM):
3
+ * import { createRequire } from 'module'
4
+ * const require = createRequire(import.meta.url)
5
+ * const MB = require('@systemzero/baileys/lib/MB.cjs')
6
+ */
7
+ const MB = require('./MessageBuilder.cjs')
8
+ module.exports = MB