diff --git a/jslib b/jslib index 72bf18f3..48144a7e 160000 --- a/jslib +++ b/jslib @@ -1 +1 @@ -Subproject commit 72bf18f369068d36767794bdc0ca377f734cf373 +Subproject commit 48144a7eaea34984d98b5f22e14a73a24348dcd2 diff --git a/src/app/services/services.module.ts b/src/app/services/services.module.ts index 36edabff..aff072a4 100644 --- a/src/app/services/services.module.ts +++ b/src/app/services/services.module.ts @@ -68,7 +68,7 @@ const platformUtilsService = new ElectronPlatformUtilsService(i18nService, messa const secureStorageService: StorageServiceAbstraction = new ElectronRendererSecureStorageService(); const cryptoFunctionService: CryptoFunctionServiceAbstraction = new NodeCryptoFunctionService(); const cryptoService = new CryptoService(storageService, secureStorageService, cryptoFunctionService, - platformUtilsService); + platformUtilsService, logService); const appIdService = new AppIdService(storageService); const tokenService = new TokenService(storageService); const apiService = new ApiService(tokenService, platformUtilsService, @@ -77,7 +77,7 @@ const environmentService = new EnvironmentService(apiService, storageService, nu const userService = new UserService(tokenService, storageService); const containerService = new ContainerService(cryptoService); const authService = new AuthService(cryptoService, apiService, userService, tokenService, appIdService, - i18nService, platformUtilsService, messagingService, null, false); + i18nService, platformUtilsService, messagingService, null, logService, false); const configurationService = new ConfigurationService(storageService, secureStorageService); const syncService = new SyncService(configurationService, logService, cryptoFunctionService, apiService, messagingService, i18nService); diff --git a/src/bwdc.ts b/src/bwdc.ts index 78fc441d..aada00ce 100644 --- a/src/bwdc.ts +++ b/src/bwdc.ts @@ -84,7 +84,7 @@ export class Main { this.secureStorageService = plaintextSecrets ? this.storageService : new KeytarSecureStorageService(applicationName); this.cryptoService = new CryptoService(this.storageService, this.secureStorageService, - this.cryptoFunctionService, this.platformUtilsService); + this.cryptoFunctionService, this.platformUtilsService, this.logService); this.appIdService = new AppIdService(this.storageService); this.tokenService = new TokenService(this.storageService); this.messagingService = new NoopMessagingService(); @@ -94,7 +94,8 @@ export class Main { this.userService = new UserService(this.tokenService, this.storageService); this.containerService = new ContainerService(this.cryptoService); this.authService = new AuthService(this.cryptoService, this.apiService, this.userService, this.tokenService, - this.appIdService, this.i18nService, this.platformUtilsService, this.messagingService, null, false); + this.appIdService, this.i18nService, this.platformUtilsService, this.messagingService, null, + this.logService, false); this.configurationService = new ConfigurationService(this.storageService, this.secureStorageService, process.env.BITWARDENCLI_CONNECTOR_PLAINTEXT_SECRETS !== 'true'); this.syncService = new SyncService(this.configurationService, this.logService, this.cryptoFunctionService, diff --git a/src/main.ts b/src/main.ts index 561a92e5..896ba637 100644 --- a/src/main.ts +++ b/src/main.ts @@ -53,7 +53,7 @@ export class Main { this.storageService = new ElectronStorageService(app.getPath('userData')); this.windowMain = new WindowMain(this.storageService, false, 800, 600, - (arg) => this.processDeepLink(arg)); + (arg) => this.processDeepLink(arg), null); this.menuMain = new MenuMain(this); this.updaterMain = new UpdaterMain(this.i18nService, this.windowMain, 'directory-connector', () => { this.messagingService.send('checkingForUpdate');