@open-wa/wa-automate-types-only 4.28.5 → 4.28.9

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.
@@ -799,6 +799,12 @@ export declare class Client {
799
799
  * @returns Boolean
800
800
  */
801
801
  isConnected(): Promise<boolean>;
802
+ /**
803
+ * Logs out from the session.
804
+ *
805
+ * Please be careful when using this as it can exit the whole process depending on your config
806
+ */
807
+ logout(): Promise<boolean>;
802
808
  /**
803
809
  * Retrieves Battery Level
804
810
  * @returns Number
@@ -1,6 +1,7 @@
1
1
  import { Browser, Page } from 'puppeteer';
2
2
  import { Spin } from './events';
3
3
  import { ConfigObject } from '../api/model';
4
+ export declare let BROWSER_START_TS: number;
4
5
  export declare function initPage(sessionId?: string, config?: ConfigObject, customUserAgent?: string, spinner?: Spin, _page?: Page, skipAuth?: boolean): Promise<Page>;
5
6
  export declare const deleteSessionData: (config: ConfigObject) => boolean;
6
7
  export declare const getSessionDataFilePath: (sessionId: string, config: ConfigObject) => string | boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@open-wa/wa-automate-types-only",
3
- "version": "4.28.5",
3
+ "version": "4.28.9",
4
4
  "description": "Types generated from the @open-wa/wa-automate package",
5
5
  "scripts": {
6
6
  "build": "tsc",