@open-wa/wa-automate-types-only 4.65.0 → 4.65.1
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/utils/tools.d.ts +2 -2
- package/package.json +1 -1
package/dist/utils/tools.d.ts
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
/// <reference types="node" />
|
3
3
|
/// <reference types="node" />
|
4
4
|
import { AdvancedFile, ConfigObject, DataURL } from '../api/model';
|
5
|
-
import { AxiosRequestConfig
|
5
|
+
import { AxiosRequestConfig } from 'axios';
|
6
6
|
import { SessionInfo } from '../api/model/sessionInfo';
|
7
7
|
import { Readable } from "stream";
|
8
8
|
export declare const timeout: (ms: any) => Promise<unknown>;
|
@@ -39,7 +39,7 @@ export declare const isDataURL: (s: string) => boolean;
|
|
39
39
|
* @param url The url
|
40
40
|
* @param optionsOverride You can use this to override the [axios request config](https://github.com/axios/axios#request-config)
|
41
41
|
*/
|
42
|
-
export declare const getBufferFromUrl: (url: string, optionsOverride?:
|
42
|
+
export declare const getBufferFromUrl: (url: string, optionsOverride?: any) => Promise<[Buffer, any]>;
|
43
43
|
/**
|
44
44
|
* @internal
|
45
45
|
* A convinience method to download the [[DataURL]] of a file
|