1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-15 15:53:27 +00:00

[PM-16217] Remove wasm timeout (#12476)

Remove the WASM timeout logic and supported$.
This commit is contained in:
Oscar Hinton
2024-12-20 13:54:52 +01:00
committed by GitHub
parent 8c1f1a2e49
commit 8caadacfbc
10 changed files with 7 additions and 222 deletions

View File

@@ -550,7 +550,6 @@ export class ServiceContainer {
this.accountService,
this.kdfConfigService,
this.keyService,
this.apiService,
customUserAgent,
);
@@ -864,19 +863,5 @@ export class ServiceContainer {
}
this.inited = true;
if (flagEnabled("sdk")) {
// Warn if the SDK for some reason can't be initialized
let supported = false;
try {
supported = await firstValueFrom(this.sdkService.supported$);
} catch (e) {
// Do nothing.
}
if (!supported) {
this.sdkService.failedToInitialize("cli").catch((e) => this.logService.error(e));
}
}
}
}