@vreden/meta
Version:
Baileys is a lightweight JavaScript library for interacting with the WhatsApp Web API using WebSocket.
13 lines (12 loc) • 435 B
TypeScript
import { ILogger } from './logger'
import type { AuthenticationState } from '../Types'
/**
* @deprecated use multi file auth state instead please
* stores the full authentication state in a single JSON file
*
* DO NOT USE IN A PROD ENVIRONMENT, only meant to serve as an example
* */
export declare const useSingleFileAuthState: (filename: string, logger?: ILogger) => {
state: AuthenticationState
saveState: () => void
}