Skip to main content

Function: fetchLatestBaileysVersion()

fetchLatestBaileysVersion(options): Promise<{ error: undefined; isLatest: boolean; version: WAVersion; } | { error: any; isLatest: boolean; version: WAVersion; }>

Defined in: src/Utils/generics.ts:248

utility that fetches latest baileys version from the master branch. Use to ensure your WA connection is always on the latest version

Parameters

options

AxiosRequestConfig<{}> = {}

Returns

Promise<{ error: undefined; isLatest: boolean; version: WAVersion; } | { error: any; isLatest: boolean; version: WAVersion; }>