pass crypto function service more

This commit is contained in:
Kyle Spearrin 2018-04-21 23:55:34 -04:00
parent b97a6321de
commit 271f9df8ae
2 changed files with 3 additions and 3 deletions

2
jslib

@ -1 +1 @@
Subproject commit fc1114a6bd66b62b7821958fca2a0c9260c08ddc Subproject commit 5e7115f78d8a87b241a43fdcd6d53b67ccf0b605

View File

@ -145,11 +145,11 @@ export default class MainBackground {
this.folderService, this.cipherService, this.cryptoService, this.collectionService, this.folderService, this.cipherService, this.cryptoService, this.collectionService,
this.storageService, this.messagingService, (expired: boolean) => this.logout(expired)); this.storageService, this.messagingService, (expired: boolean) => this.logout(expired));
this.passwordGenerationService = new PasswordGenerationService(this.cryptoService, this.storageService); this.passwordGenerationService = new PasswordGenerationService(this.cryptoService, this.storageService);
this.totpService = new TotpService(this.storageService); this.totpService = new TotpService(this.storageService, cryptoFunctionService);
this.autofillService = new AutofillService(this.cipherService, this.tokenService, this.autofillService = new AutofillService(this.cipherService, this.tokenService,
this.totpService, this.utilsService, this.platformUtilsService); this.totpService, this.utilsService, this.platformUtilsService);
this.containerService = new ContainerService(this.cryptoService, this.platformUtilsService); this.containerService = new ContainerService(this.cryptoService, this.platformUtilsService);
this.auditService = new AuditService(this.cryptoService); this.auditService = new AuditService(cryptoFunctionService);
this.analytics = new Analytics(window, () => BrowserApi.gaFilter(), this.platformUtilsService, this.analytics = new Analytics(window, () => BrowserApi.gaFilter(), this.platformUtilsService,
this.storageService, this.appIdService); this.storageService, this.appIdService);