From e35ede0370fefc3c6470409d9f65281025777105 Mon Sep 17 00:00:00 2001 From: Faye Duxovni Date: Fri, 3 Jun 2022 08:58:14 -0400 Subject: [PATCH] The request callback provided by bootstrapCrossSigning is async (#2431) --- src/crypto/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/crypto/index.ts b/src/crypto/index.ts index 474bfd3f636..4add71f978e 100644 --- a/src/crypto/index.ts +++ b/src/crypto/index.ts @@ -121,7 +121,7 @@ interface IInitOpts { export interface IBootstrapCrossSigningOpts { setupNewCrossSigning?: boolean; - authUploadDeviceSigningKeys?(makeRequest: (authData: any) => {}): Promise; + authUploadDeviceSigningKeys?(makeRequest: (authData: any) => Promise<{}>): Promise; } /* eslint-disable camelcase */