@open-wa/wa-automate-types-only 4.31.0 → 4.31.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.
@@ -1203,7 +1203,9 @@ export declare class Client {
1203
1203
  * @param use_unread_count
1204
1204
  * @returns any
1205
1205
  */
1206
- getUnreadMessages(includeMe: boolean, includeNotifications: boolean, use_unread_count: boolean): Promise<Message[]>;
1206
+ getUnreadMessages(includeMe: boolean, includeNotifications: boolean, use_unread_count: boolean): Promise<Chat & {
1207
+ messages: Message[];
1208
+ }>;
1207
1209
  /**
1208
1210
  * Retrieves all new Messages. where isNewMsg==true
1209
1211
  * @returns list of messages
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@open-wa/wa-automate-types-only",
3
- "version": "4.31.0",
3
+ "version": "4.31.1",
4
4
  "description": "Types generated from the @open-wa/wa-automate package",
5
5
  "scripts": {
6
6
  "build": "tsc",