1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-16 08:13:42 +00:00

Improve SDK direct function usage (#13353)

* feat: initalize WASM/SDK directly after load

* fix: default sdk service trying to set log level

* feat: wait for sdk to load in sdk service

* fix: add required disposable polyfills

* feat: update sdk version

* feat: replace rc-specific workaround with global polyfill

* fix: sdk service tests
This commit is contained in:
Andreas Coroiu
2025-02-26 09:08:42 +01:00
committed by GitHub
parent 44d50a70c2
commit ce5a5e3649
23 changed files with 98 additions and 31 deletions

View File

@@ -867,7 +867,7 @@ export class ServiceContainer {
return;
}
await this.sdkLoadService.load();
await this.sdkLoadService.loadAndInit();
await this.storageService.init();
await this.stateService.init();
this.containerService.attachToGlobal(global);