diff --git a/jslib b/jslib index fc1114a6bd..5e7115f78d 160000 --- a/jslib +++ b/jslib @@ -1 +1 @@ -Subproject commit fc1114a6bd66b62b7821958fca2a0c9260c08ddc +Subproject commit 5e7115f78d8a87b241a43fdcd6d53b67ccf0b605 diff --git a/src/app/services/services.module.ts b/src/app/services/services.module.ts index e17537d0de..f37a60c799 100644 --- a/src/app/services/services.module.ts +++ b/src/app/services/services.module.ts @@ -99,11 +99,11 @@ const syncService = new SyncService(userService, apiService, settingsService, folderService, cipherService, cryptoService, collectionService, storageService, messagingService, (expired: boolean) => messagingService.send('logout', { expired: expired })); const passwordGenerationService = new PasswordGenerationService(cryptoService, storageService); -const totpService = new TotpService(storageService); +const totpService = new TotpService(storageService, cryptoFunctionService); const containerService = new ContainerService(cryptoService, platformUtilsService); const authService = new AuthService(cryptoService, apiService, userService, tokenService, appIdService, i18nService, platformUtilsService, messagingService); -const auditService = new AuditService(cryptoService); +const auditService = new AuditService(cryptoFunctionService); const analytics = new Analytics(window, () => isDev(), platformUtilsService, storageService, appIdService); containerService.attachToWindow(window);