mirror of
https://github.com/FranP-code/Baileys.git
synced 2025-10-13 00:32:22 +00:00
Added requestPairingCode method and handler
Fixed typo (trimUndefineds) Added bytesToCrockford Replaced advSecretKey with advKeyPair Added pairingCode prop Fixed formatting Added pairing code example
This commit is contained in:
@@ -43,7 +43,7 @@ export type AccountSettings = {
|
||||
|
||||
export type AuthenticationCreds = SignalCreds & {
|
||||
readonly noiseKey: KeyPair
|
||||
readonly advSecretKey: string
|
||||
advKeyPair: KeyPair
|
||||
|
||||
me?: Contact
|
||||
account?: proto.IADVSignedDeviceIdentity
|
||||
@@ -66,6 +66,8 @@ export type AuthenticationCreds = SignalCreds & {
|
||||
registered: boolean
|
||||
backupToken: Buffer
|
||||
registration: RegistrationOptions
|
||||
|
||||
pairingCode: string | undefined
|
||||
}
|
||||
|
||||
export type SignalDataTypeMap = {
|
||||
|
||||
Reference in New Issue
Block a user