whatsapp-web.js 1.30.1-alpha.3 → 1.31.0

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.30.1-alpha.3",
3
+ "version": "1.31.0",
4
4
  "description": "Library for interacting with the WhatsApp Web API ",
5
5
  "main": "./index.js",
6
6
  "typings": "./index.d.ts",
@@ -30,7 +30,7 @@
30
30
  "homepage": "https://wwebjs.dev/",
31
31
  "dependencies": {
32
32
  "@pedroslopez/moduleraid": "^5.0.2",
33
- "fluent-ffmpeg": "2.1.2",
33
+ "fluent-ffmpeg": "2.1.3",
34
34
  "mime": "^3.0.0",
35
35
  "node-fetch": "^2.6.9",
36
36
  "node-webpmux": "3.1.7",
@@ -302,6 +302,9 @@ exports.LoadUtils = () => {
302
302
  }
303
303
 
304
304
  await window.Store.SendMessage.addAndSendMsgToChat(chat, message);
305
+ await window.Store.HistorySync.sendPeerDataOperationRequest(3, {
306
+ chatId: chat.id
307
+ });
305
308
  return window.Store.Msg.get(newMsgKey._serialized);
306
309
  };
307
310