whatsapp-web.js 1.19.4 → 1.19.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "whatsapp-web.js",
3
- "version": "1.19.4",
3
+ "version": "1.19.5",
4
4
  "description": "Library for interacting with the WhatsApp Web API ",
5
5
  "main": "./index.js",
6
6
  "typings": "./index.d.ts",
@@ -403,7 +403,7 @@ class Message extends Base {
403
403
  }
404
404
 
405
405
  try {
406
- const decryptedMedia = await window.Store.DownloadManager.downloadAndDecrypt({
406
+ const decryptedMedia = await window.Store.DownloadManager.downloadAndMaybeDecrypt({
407
407
  directPath: msg.directPath,
408
408
  encFilehash: msg.encFilehash,
409
409
  filehash: msg.filehash,
@@ -17,7 +17,7 @@ exports.ExposeStore = (moduleRaidStr) => {
17
17
  window.Store.Invite = window.mR.findModule('resetGroupInviteCode')[0];
18
18
  window.Store.InviteInfo = window.mR.findModule('queryGroupInvite')[0];
19
19
  window.Store.Label = window.mR.findModule('LabelCollection')[0].LabelCollection;
20
- window.Store.MediaPrep = window.mR.findModule('MediaPrep')[0];
20
+ window.Store.MediaPrep = window.mR.findModule('prepRawMedia')[0];
21
21
  window.Store.MediaObject = window.mR.findModule('getOrCreateMediaObject')[0];
22
22
  window.Store.NumberInfo = window.mR.findModule('formattedPhoneNumber')[0];
23
23
  window.Store.MediaTypes = window.mR.findModule('msgToMediaType')[0];