diff --git a/src/Types/Auth.ts b/src/Types/Auth.ts index 273f2fc..0e47fd8 100644 --- a/src/Types/Auth.ts +++ b/src/Types/Auth.ts @@ -23,13 +23,14 @@ export type AuthenticationCreds = { registrationId: number advSecretKey: string me?: Contact - account?: proto.ADVSignedDeviceIdentity + account?: proto.IADVSignedDeviceIdentity signalIdentities?: SignalIdentity[] myAppStateKeyId?: string firstUnuploadedPreKeyId: number serverHasPreKeys: boolean nextPreKeyId: number } + type Awaitable = T | Promise export type SignalKeyStore = { getPreKey: (keyId: number) => Awaitable