@open-wa/wa-automate-types-only 4.61.1 → 4.61.2
Sign up to get free protection for your applications and to get access to all the features.
@@ -517,6 +517,12 @@ export interface ConfigObject {
|
|
517
517
|
* @default `false`
|
518
518
|
*/
|
519
519
|
killProcessOnTimeout?: boolean;
|
520
|
+
/**
|
521
|
+
* If set to true, the system will kill the whole node process when a "TEMPORARY BAN" is detected. This is useful to prevent hanging processes.
|
522
|
+
* It is `true` by default because it is a very rare event and it is better to kill the process than to leave it hanging.
|
523
|
+
* @default `true`
|
524
|
+
*/
|
525
|
+
killProcessOnBan?: boolean;
|
520
526
|
/**
|
521
527
|
* Setting this to true will bypass web security. DO NOT DO THIS IF YOU DO NOT HAVE TO. CORS issue may arise when using a proxy.
|
522
528
|
* @default `false`
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { Page } from 'puppeteer';
|
1
|
+
import type { Page } from 'puppeteer';
|
2
2
|
/**
|
3
3
|
* @private
|
4
4
|
*/
|
@@ -7,3 +7,7 @@ export declare function injectInitPatch(page: Page): Promise<void>;
|
|
7
7
|
* @private
|
8
8
|
*/
|
9
9
|
export declare function injectProgObserver(page: Page): Promise<void>;
|
10
|
+
/**
|
11
|
+
* @private
|
12
|
+
*/
|
13
|
+
export declare function injectInternalEventHandler(page: Page): Promise<void>;
|