@open-wa/wa-automate 4.35.11 → 4.35.12

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
@@ -1197,6 +1197,14 @@ class Client {
1197
1197
  return yield this.pup(({ chatId }) => WAPI.forceUpdateLiveLocation(chatId), { chatId });
1198
1198
  });
1199
1199
  }
1200
+ /**
1201
+ * Test the button commands on MD accounts with an insiders key. This is a temporary feature to help fix issue #2658
1202
+ */
1203
+ testButtons(chatId) {
1204
+ return __awaiter(this, void 0, void 0, function* () {
1205
+ return yield this.pup(({ chatId }) => WAPI.testButtons(chatId), { chatId });
1206
+ });
1207
+ }
1200
1208
  link(params) {
1201
1209
  var _a;
1202
1210
  return __awaiter(this, void 0, void 0, function* () {
@@ -33,6 +33,7 @@ const puppeteerConfig = {
33
33
  '--disable-histogram-customizer',
34
34
  '--disable-gl-extensions',
35
35
  '--disable-composited-antialiasing',
36
+ '--disable-session-crashed-bubble',
36
37
  '--disable-canvas-aa',
37
38
  '--disable-3d-apis',
38
39
  '--disable-accelerated-2d-canvas',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@open-wa/wa-automate",
3
- "version": "4.35.11",
3
+ "version": "4.35.12",
4
4
  "licenseCheckUrl": "https://funcs.openwa.dev/license-check",
5
5
  "brokenMethodReportUrl": "https://funcs.openwa.dev/report-bm",
6
6
  "patches": "https://cdn.openwa.dev/patches.json",