@open-wa/wa-automate-types-only 4.43.5 → 4.44.2
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cli/server.d.ts +3 -2
- package/package.json +1 -1
package/dist/cli/server.d.ts
CHANGED
@@ -1,11 +1,12 @@
|
|
1
1
|
/// <reference types="node" />
|
2
|
-
import http from 'http';
|
2
|
+
import http from 'node:http';
|
3
3
|
import { Client } from '..';
|
4
4
|
export declare const app: import("express-serve-static-core").Express;
|
5
|
-
export declare
|
5
|
+
export declare let server: http.Server;
|
6
6
|
export declare type cliFlags = {
|
7
7
|
[k: string]: number | string | boolean;
|
8
8
|
};
|
9
|
+
export declare const setupHttpServer: (cliConfig: cliFlags) => void;
|
9
10
|
export declare const setUpExpressApp: () => void;
|
10
11
|
export declare const enableCORSRequests: () => void;
|
11
12
|
export declare const setupAuthenticationLayer: (cliConfig: cliFlags) => void;
|