QR code rotation

This commit is contained in:
Fedor Indutny 2025-01-14 12:14:32 -08:00 committed by GitHub
commit ba80d310d2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
11 changed files with 579 additions and 404 deletions

View file

@ -1401,7 +1401,8 @@ export type WebAPIType = {
userLanguages: ReadonlyArray<string>
) => Promise<unknown>;
getProvisioningResource: (
handler: IRequestHandler
handler: IRequestHandler,
timeout?: number
) => Promise<IWebSocketResource>;
getSenderCertificate: (
withUuid?: boolean
@ -4588,9 +4589,10 @@ export function initialize({
}
function getProvisioningResource(
handler: IRequestHandler
handler: IRequestHandler,
timeout?: number
): Promise<IWebSocketResource> {
return socketManager.getProvisioningResource(handler);
return socketManager.getProvisioningResource(handler, timeout);
}
async function cdsLookup({