feat: Added websocket with lib socket.io

This commit is contained in:
Davidson Gomes
2023-08-02 16:11:19 -03:00
parent b3b4ee7a28
commit 24c880343b
16 changed files with 416 additions and 25 deletions

View File

@@ -70,6 +70,11 @@ export declare namespace wa {
read_status?: boolean;
};
export type LocalWebsocket = {
enabled?: boolean;
events?: string[];
};
export type StateConnection = {
instance?: string;
state?: WAConnectionState | 'refused';