@open-wa/wa-automate-types-only 4.31.8 → 4.31.11

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.
@@ -33,4 +33,3 @@ export declare class QRManager {
33
33
  */
34
34
  waitFirstQr(waPage: Page, config?: ConfigObject, spinner?: Spin): Promise<void>;
35
35
  }
36
- export declare const qrManager: QRManager;
@@ -1,8 +1,9 @@
1
1
  import { Browser, Page } from 'puppeteer';
2
2
  import { Spin } from './events';
3
3
  import { ConfigObject } from '../api/model';
4
+ import { QRManager } from './auth';
4
5
  export declare let BROWSER_START_TS: number;
5
- export declare function initPage(sessionId?: string, config?: ConfigObject, customUserAgent?: string, spinner?: Spin, _page?: Page, skipAuth?: boolean): Promise<Page>;
6
+ export declare function initPage(sessionId?: string, config?: ConfigObject, qrManager?: QRManager, customUserAgent?: string, spinner?: Spin, _page?: Page, skipAuth?: boolean): Promise<Page>;
6
7
  export declare const deleteSessionData: (config: ConfigObject) => boolean;
7
8
  export declare const getSessionDataFilePath: (sessionId: string, config: ConfigObject) => string | boolean;
8
9
  export declare const addScript: (page: Page, js: string) => Promise<unknown>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@open-wa/wa-automate-types-only",
3
- "version": "4.31.8",
3
+ "version": "4.31.11",
4
4
  "description": "Types generated from the @open-wa/wa-automate package",
5
5
  "scripts": {
6
6
  "build": "tsc",