creds: add support for additional data
This commit is contained in:
@@ -68,6 +68,7 @@ export type AuthenticationCreds = SignalCreds & {
|
||||
pairingCode: string | undefined
|
||||
lastPropHash: string | undefined
|
||||
routingInfo: Buffer | undefined
|
||||
additionalData?: any | undefined
|
||||
}
|
||||
|
||||
export type SignalDataTypeMap = {
|
||||
|
||||
@@ -325,6 +325,7 @@ export const initAuthCreds = (): AuthenticationCreds => {
|
||||
registered: false,
|
||||
pairingCode: undefined,
|
||||
lastPropHash: undefined,
|
||||
routingInfo: undefined
|
||||
routingInfo: undefined,
|
||||
additionalData: undefined
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user