fix: Proxy configuration improvements

This commit is contained in:
Davidson Gomes
2023-12-28 10:35:41 -03:00
parent dfc8330035
commit 7c2a8c0abb
10 changed files with 111 additions and 33 deletions

View File

@@ -109,9 +109,17 @@ export declare namespace wa {
sessions?: Session[];
};
type Proxy = {
host?: string;
port?: string;
protocol?: string;
username?: string;
password?: string;
};
export type LocalProxy = {
enabled?: boolean;
proxy?: string;
proxy?: Proxy;
};
export type LocalChamaai = {