Added dependency to LogService.

This commit is contained in:
Todd Martin 2024-10-15 13:29:45 -04:00
parent 85f0ed3366
commit 0e823e1259
No known key found for this signature in database
GPG Key ID: 663E7AF5C839BC8F
3 changed files with 9 additions and 1 deletions

View File

@ -622,6 +622,7 @@ export default class MainBackground {
this.stateService, this.stateService,
this.keyGenerationService, this.keyGenerationService,
this.encryptService, this.encryptService,
this.logService,
); );
this.i18nService = new I18nService(BrowserApi.getUILanguage(), this.globalStateProvider); this.i18nService = new I18nService(BrowserApi.getUILanguage(), this.globalStateProvider);

View File

@ -395,6 +395,7 @@ export class ServiceContainer {
this.stateService, this.stateService,
this.keyGenerationService, this.keyGenerationService,
this.encryptService, this.encryptService,
this.logService,
); );
this.kdfConfigService = new KdfConfigService(this.stateProvider); this.kdfConfigService = new KdfConfigService(this.stateProvider);

View File

@ -912,7 +912,13 @@ const safeProviders: SafeProvider[] = [
safeProvider({ safeProvider({
provide: InternalMasterPasswordServiceAbstraction, provide: InternalMasterPasswordServiceAbstraction,
useClass: MasterPasswordService, useClass: MasterPasswordService,
deps: [StateProvider, StateServiceAbstraction, KeyGenerationServiceAbstraction, EncryptService], deps: [
StateProvider,
StateServiceAbstraction,
KeyGenerationServiceAbstraction,
EncryptService,
LogService,
],
}), }),
safeProvider({ safeProvider({
provide: MasterPasswordServiceAbstraction, provide: MasterPasswordServiceAbstraction,