mirror of
https://github.com/FranP-code/Baileys.git
synced 2025-10-13 00:32:22 +00:00
mobile: deprecation.
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
import type { proto } from '../../WAProto'
|
||||
import { RegistrationOptions } from '../Socket/registration'
|
||||
import type { Contact } from './Contact'
|
||||
import type { MinimalMessage } from './Message'
|
||||
|
||||
@@ -60,13 +59,7 @@ export type AuthenticationCreds = SignalCreds & {
|
||||
/** number of times history & app state has been synced */
|
||||
accountSyncCounter: number
|
||||
accountSettings: AccountSettings
|
||||
// mobile creds
|
||||
deviceId: string
|
||||
phoneId: string
|
||||
identityId: Buffer
|
||||
registered: boolean
|
||||
backupToken: Buffer
|
||||
registration: RegistrationOptions
|
||||
registered: boolean
|
||||
pairingCode: string | undefined
|
||||
lastPropHash: string | undefined
|
||||
routingInfo: Buffer | undefined
|
||||
|
||||
@@ -32,7 +32,9 @@ export type SocketConfig = {
|
||||
defaultQueryTimeoutMs: number | undefined
|
||||
/** ping-pong interval for WS connection */
|
||||
keepAliveIntervalMs: number
|
||||
/** should baileys use the mobile api instead of the multi device api */
|
||||
/** should baileys use the mobile api instead of the multi device api
|
||||
* @deprecated This feature has been removed
|
||||
*/
|
||||
mobile?: boolean
|
||||
/** proxy agent */
|
||||
agent?: Agent
|
||||
|
||||
Reference in New Issue
Block a user