@open-wa/wa-automate-types-only 4.30.4 → 4.30.8

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.
@@ -7,8 +7,8 @@ export declare const deleteSessionData: (config: ConfigObject) => boolean;
7
7
  export declare const getSessionDataFilePath: (sessionId: string, config: ConfigObject) => string | boolean;
8
8
  export declare const addScript: (page: Page, js: string) => Promise<unknown>;
9
9
  export declare function injectPreApiScripts(page: Page, spinner?: Spin): Promise<Page>;
10
- export declare function injectWapi(page: Page, spinner?: Spin): Promise<Page>;
11
- export declare function injectApi(page: Page, spinner?: Spin): Promise<Page>;
10
+ export declare function injectWapi(page: Page, spinner?: Spin, force?: boolean): Promise<Page>;
11
+ export declare function injectApi(page: Page, spinner?: Spin, force?: boolean): Promise<Page>;
12
12
  /**
13
13
  * @internal
14
14
  */
@@ -1,3 +1,4 @@
1
+ /// <reference types="node" />
1
2
  import { ConfigObject, DataURL } from '../api/model';
2
3
  import { AxiosRequestConfig } from 'axios';
3
4
  import { SessionInfo } from '../api/model/sessionInfo';
@@ -27,7 +28,7 @@ export declare const getDUrl: (url: string, optionsOverride?: AxiosRequestConfig
27
28
  */
28
29
  export declare const base64MimeType: (dUrl: DataURL) => string;
29
30
  export declare const processSend: (message: string) => void;
30
- export declare const perf: () => DateConstructor | Performance;
31
+ export declare const perf: () => DateConstructor | import("perf_hooks").Performance;
31
32
  export declare const now: () => number;
32
33
  export declare function timePromise(fn: () => Promise<any>): Promise<string>;
33
34
  export declare const processSendData: (data?: any) => void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@open-wa/wa-automate-types-only",
3
- "version": "4.30.4",
3
+ "version": "4.30.8",
4
4
  "description": "Types generated from the @open-wa/wa-automate package",
5
5
  "scripts": {
6
6
  "build": "tsc",