@wppconnect/wa-js 3.3.0 → 3.3.1

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/CHANGELOG.md CHANGED
@@ -1,9 +1,9 @@
1
- # 3.3.0 (2024-06-06)
1
+ ## 3.3.1 (2024-06-09)
2
2
 
3
3
 
4
4
  ### Bug Fixes
5
5
 
6
- * Fixed send group invite link ([#1991](https://github.com/wppconnect-team/wa-js/issues/1991)) ([1978c5c](https://github.com/wppconnect-team/wa-js/commit/1978c5c7f3d69f8b857ad9e52c317989c81e7d78))
6
+ * Fixed delete messages for me ([5cdf157](https://github.com/wppconnect-team/wa-js/commit/5cdf157ae1c7ad02ff099979cf6a0a949c436ee0))
7
7
 
8
8
 
9
9
 
@@ -52,6 +52,7 @@ export declare class CmdClass extends EventEmitter {
52
52
  ephemeralDrawer(e?: any, t?: any): void;
53
53
  sendStarMsgs(chat: ChatModel, msgs: MsgModel[], id?: any, toastPosition?: any): void;
54
54
  sendUnstarMsgs(chat: ChatModel, msgs: MsgModel[], id?: any, toastPosition?: any): void;
55
+ /** Whatsapp <= 2.3000.1014080102 */
55
56
  sendDeleteMsgs(chat: ChatModel, msg: {
56
57
  type: string;
57
58
  list: MsgModel[];
@@ -59,6 +60,11 @@ export declare class CmdClass extends EventEmitter {
59
60
  clearMedia?: boolean;
60
61
  toastPosition?: any;
61
62
  }): void;
63
+ /** Whatsapp >= 2.3000.1014080102 */
64
+ sendDeleteMsgs(chat: ChatModel, msg: {
65
+ type: string;
66
+ list: MsgModel[];
67
+ } | MsgModel[], clearMedia?: boolean): void;
62
68
  sendRevokeMsgs(chat: ChatModel, msg: {
63
69
  type: string;
64
70
  list: MsgModel[];