Update jslib and service dependencies (#1160)

* Update service deps

* Update jslib
This commit is contained in:
Thomas Rittson 2021-11-16 21:01:23 +10:00 committed by GitHub
parent ca700e4feb
commit 3d8fd3cbce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 3 deletions

2
jslib

@ -1 +1 @@
Subproject commit e02e663ce1aed94d42db00dcdb2e42bdd625f0dc
Subproject commit 720967475b37d635c18a1eb74bb3702445647b4d

View File

@ -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,