mirror of
https://github.com/FranP-code/Baileys.git
synced 2025-10-13 00:32:22 +00:00
Feat: others browsers in requestPairingCode() (#879)
* update * l * string * added Safari * Update getPlatformId * Update getPlatformId (fix)
This commit is contained in:
@@ -15,6 +15,14 @@ import { SocketConfig } from './Socket'
|
||||
|
||||
export type UserFacingSocketConfig = Partial<SocketConfig> & { auth: AuthenticationState }
|
||||
|
||||
export type BrowsersMap = {
|
||||
ubuntu(browser: string): [string, string, string]
|
||||
macOS(browser: string): [string, string, string]
|
||||
baileys(browser: string): [string, string, string]
|
||||
windows(browser: string): [string, string, string]
|
||||
appropriate(browser: string): [string, string, string]
|
||||
}
|
||||
|
||||
export enum DisconnectReason {
|
||||
connectionClosed = 428,
|
||||
connectionLost = 408,
|
||||
|
||||
Reference in New Issue
Block a user