@wppconnect/wa-js 3.8.1 → 3.8.2

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,4 +1,9 @@
1
- ## 3.8.1 (2024-07-31)
1
+ ## 3.8.2 (2024-08-15)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * Improvment on chat.active_chat event ([8c5ae19](https://github.com/wppconnect-team/wa-js/commit/8c5ae191a8da3fa665b3104d4ac23bfc681b7eae))
2
7
 
3
8
 
4
9
 
@@ -26,7 +26,7 @@ export interface ChatEventTypes {
26
26
  * });
27
27
  * ```
28
28
  */
29
- 'chat.active_chat': ChatModel;
29
+ 'chat.active_chat': ChatModel | null;
30
30
  /**
31
31
  * Triggered when new message is received
32
32
  *
@@ -84,7 +84,6 @@ export * from './handleSingleMsg';
84
84
  export * from './initializeAltDeviceLinking';
85
85
  export * from './isAnimatedWebp';
86
86
  export * from './isAuthenticated';
87
- export * from './isLegitErrorStack';
88
87
  export * from './isRegistered';
89
88
  export * from './isUnreadTypeMsg';
90
89
  export * from './isWid';
@@ -18,4 +18,5 @@
18
18
  */
19
19
  export declare namespace IsOfficialClient {
20
20
  let isOfficialClient: boolean;
21
+ function isUnofficialStanzaId(id: string): boolean;
21
22
  }