@open-wa/wa-automate-types-only 4.35.12 → 4.36.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -705,6 +705,11 @@ export declare class Client {
705
705
  * @returns `Promise<DataURL>`
706
706
  */
707
707
  getSnapshot(chatId?: ChatId): Promise<DataURL>;
708
+ /**
709
+ * Returns some metrics of the session/page.
710
+ * @returns `Promise<any>`
711
+ */
712
+ metrics(): Promise<any>;
708
713
  /**
709
714
  * Returns an array of group ids where the host account is admin
710
715
  */
@@ -696,7 +696,7 @@ export interface ConfigObject {
696
696
  *
697
697
  * Set this to true if you're using the multidevice beta.
698
698
  *
699
- * @default `false`
699
+ * @default `true`
700
700
  * :::danger
701
701
  * Some features (e.g [[sendLinkWithAutoPreview]]) **do not** work with multi-device beta. Check [this `api`](#).
702
702
  * :::
@@ -123,6 +123,8 @@ export interface Message {
123
123
  chat: Chat;
124
124
  chatId: ChatId;
125
125
  author: string;
126
+ stickerAuthor?: string;
127
+ stickerPack?: string;
126
128
  /**
127
129
  * @deprecated
128
130
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@open-wa/wa-automate-types-only",
3
- "version": "4.35.12",
3
+ "version": "4.36.1",
4
4
  "description": "Types generated from the @open-wa/wa-automate package",
5
5
  "scripts": {
6
6
  "build": "tsc",