From 3d8fd3cbce9039b60a6a2ad321364b97f77db014 Mon Sep 17 00:00:00 2001 From: Thomas Rittson <31796059+eliykat@users.noreply.github.com> Date: Tue, 16 Nov 2021 21:01:23 +1000 Subject: [PATCH] Update jslib and service dependencies (#1160) * Update service deps * Update jslib --- jslib | 2 +- src/app/services.module.ts | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/jslib b/jslib index e02e663ce1..720967475b 160000 --- a/jslib +++ b/jslib @@ -1 +1 @@ -Subproject commit e02e663ce1aed94d42db00dcdb2e42bdd625f0dc +Subproject commit 720967475b37d635c18a1eb74bb3702445647b4d diff --git a/src/app/services.module.ts b/src/app/services.module.ts index 846dc82b21..b5c46cc003 100644 --- a/src/app/services.module.ts +++ b/src/app/services.module.ts @@ -125,7 +125,7 @@ const sendService = new SendService(cryptoService, userService, apiService, file i18nService, cryptoFunctionService); const policyService = new PolicyService(userService, storageService, apiService); const keyConnectorService = new KeyConnectorService(storageService, userService, cryptoService, apiService, - environmentService, tokenService, logService); + tokenService, logService); const vaultTimeoutService = new VaultTimeoutService(cipherService, folderService, collectionService, cryptoService, platformUtilsService, storageService, messagingService, searchService, userService, tokenService, policyService, keyConnectorService, null, async () => messagingService.send('logout', { expired: false })); @@ -148,6 +148,7 @@ const systemService = new SystemService(storageService, vaultTimeoutService, mes null); const nativeMessagingService = new NativeMessagingService(cryptoFunctionService, cryptoService, platformUtilsService, logService, i18nService, userService, messagingService, vaultTimeoutService, storageService); +const userVerificationService = new UserVerificationService(cryptoService, i18nService, apiService); containerService.attachToGlobal(window); @@ -238,7 +239,7 @@ export function initFactory(): Function { { provide: NativeMessagingService, useValue: nativeMessagingService }, { provide: FileUploadServiceAbstraction, useValue: fileUploadService }, { provide: KeyConnectorServiceAbstraction, useValue: keyConnectorService }, - { provide: UserVerificationServiceAbstraction, useClass: UserVerificationService }, + { provide: UserVerificationServiceAbstraction, useValue: userVerificationService }, { provide: PasswordRepromptServiceAbstraction, useClass: PasswordRepromptService }, { provide: APP_INITIALIZER,