UNPKG

@wppconnect-team/wppconnect

Version:

WPPConnect is an open source project developed by the JavaScript community with the aim of exporting functions from WhatsApp Web to the node, which can be used to support the creation of any interaction, such as customer service, media sending, intelligen

8 lines (7 loc) 238 B
import { SessionToken } from './types'; /** * Validate the object to check is a valid token * @param token Token to validate * @returns Token is valid */ export declare function isValidSessionToken(token: any): token is SessionToken;