@open-wa/wa-automate-types-only 4.35.11 → 4.36.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -453,6 +453,10 @@ export declare class Client {
453
453
  * @returns `Promise<LiveLocationChangedEvent []>` | boolean
454
454
  */
455
455
  forceUpdateLiveLocation(chatId: ChatId): Promise<LiveLocationChangedEvent[] | boolean>;
456
+ /**
457
+ * Test the button commands on MD accounts with an insiders key. This is a temporary feature to help fix issue #2658
458
+ */
459
+ testButtons(chatId: ChatId): Promise<any>;
456
460
  private link;
457
461
  /**
458
462
  * Sends a text message to given chat
@@ -701,6 +705,11 @@ export declare class Client {
701
705
  * @returns `Promise<DataURL>`
702
706
  */
703
707
  getSnapshot(chatId?: ChatId): Promise<DataURL>;
708
+ /**
709
+ * Returns some metrics of the session/page.
710
+ * @returns `Promise<any>`
711
+ */
712
+ metrics(): Promise<any>;
704
713
  /**
705
714
  * Returns an array of group ids where the host account is admin
706
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
  * :::
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@open-wa/wa-automate-types-only",
3
- "version": "4.35.11",
3
+ "version": "4.36.0",
4
4
  "description": "Types generated from the @open-wa/wa-automate package",
5
5
  "scripts": {
6
6
  "build": "tsc",