@open-wa/wa-automate-types-only 4.40.2 → 4.41.0
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.
package/dist/api/Client.d.ts
CHANGED
@@ -114,6 +114,11 @@ export declare class Client {
|
|
114
114
|
*/
|
115
115
|
private registerListener;
|
116
116
|
private registerPageEventListener;
|
117
|
+
/**
|
118
|
+
* It calls the JavaScript garbage collector
|
119
|
+
* @returns Nothing.
|
120
|
+
*/
|
121
|
+
gc(): Promise<void>;
|
117
122
|
/**
|
118
123
|
* Listens to a log out event
|
119
124
|
*
|
@@ -778,6 +778,12 @@ export interface ConfigObject {
|
|
778
778
|
* default: `https://link.openwa.cloud/api`
|
779
779
|
*/
|
780
780
|
linkParser?: string;
|
781
|
+
/**
|
782
|
+
* Setting this to true will run `gc()` on before every command sent to the browser.
|
783
|
+
*
|
784
|
+
* This is experimental and may not work or it may have unforeseen sideeffects.
|
785
|
+
*/
|
786
|
+
aggressiveGarbageCollection?: boolean;
|
781
787
|
/**@internal */
|
782
788
|
[x: string]: any;
|
783
789
|
}
|