Browse Source

Update jslib

pull/77/head
Chad Scharf 5 years ago
parent
commit
6f8df7a690
  1. 2
      jslib
  2. 3
      src/app/services/services.module.ts
  3. 2
      src/bwdc.ts

2
jslib

@ -1 +1 @@ @@ -1 +1 @@
Subproject commit 23ded0d115a9cc0882458b38b423f186a5152543
Subproject commit 0a73b6fca83b33573cf6ea0a41899ead34c23c46

3
src/app/services/services.module.ts

@ -67,7 +67,8 @@ const storageService: StorageServiceAbstraction = new ElectronStorageService(rem @@ -67,7 +67,8 @@ const storageService: StorageServiceAbstraction = new ElectronStorageService(rem
const platformUtilsService = new ElectronPlatformUtilsService(i18nService, messagingService, false, storageService);
const secureStorageService: StorageServiceAbstraction = new ElectronRendererSecureStorageService();
const cryptoFunctionService: CryptoFunctionServiceAbstraction = new NodeCryptoFunctionService();
const cryptoService = new CryptoService(storageService, secureStorageService, cryptoFunctionService);
const cryptoService = new CryptoService(storageService, secureStorageService, cryptoFunctionService,
platformUtilsService);
const appIdService = new AppIdService(storageService);
const tokenService = new TokenService(storageService);
const apiService = new ApiService(tokenService, platformUtilsService,

2
src/bwdc.ts

@ -84,7 +84,7 @@ export class Main { @@ -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.cryptoFunctionService, this.platformUtilsService);
this.appIdService = new AppIdService(this.storageService);
this.tokenService = new TokenService(this.storageService);
this.messagingService = new NoopMessagingService();

Loading…
Cancel
Save