mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-24 12:06:15 +01:00
Merge pull request #602 from bitwarden/use-logService-for-console-messages
Use logService for console messages
This commit is contained in:
commit
ce5a3f0f35
2
jslib
2
jslib
@ -1 +1 @@
|
|||||||
Subproject commit 63fe38b3f4dddd701b1a8da8a89e70c9d7fbc706
|
Subproject commit 2c414ce27a5c14f6cd7f86cfd07096a192d058ca
|
@ -303,6 +303,7 @@
|
|||||||
"angular2-toaster": "8.0.0",
|
"angular2-toaster": "8.0.0",
|
||||||
"angulartics2": "9.1.0",
|
"angulartics2": "9.1.0",
|
||||||
"big-integer": "1.6.36",
|
"big-integer": "1.6.36",
|
||||||
|
"browser-process-hrtime": "1.0.0",
|
||||||
"core-js": "2.6.2",
|
"core-js": "2.6.2",
|
||||||
"desktop-idle": "1.1.2",
|
"desktop-idle": "1.1.2",
|
||||||
"duo_web_sdk": "git+https://github.com/duosecurity/duo_web_sdk.git",
|
"duo_web_sdk": "git+https://github.com/duosecurity/duo_web_sdk.git",
|
||||||
|
@ -97,7 +97,8 @@ const platformUtilsService = new ElectronPlatformUtilsService(i18nService, messa
|
|||||||
const secureStorageService: StorageServiceAbstraction = new ElectronRendererSecureStorageService();
|
const secureStorageService: StorageServiceAbstraction = new ElectronRendererSecureStorageService();
|
||||||
const cryptoFunctionService: CryptoFunctionServiceAbstraction = new WebCryptoFunctionService(window,
|
const cryptoFunctionService: CryptoFunctionServiceAbstraction = new WebCryptoFunctionService(window,
|
||||||
platformUtilsService);
|
platformUtilsService);
|
||||||
const cryptoService = new CryptoService(storageService, secureStorageService, cryptoFunctionService, platformUtilsService);
|
const cryptoService = new CryptoService(storageService, secureStorageService, cryptoFunctionService,
|
||||||
|
platformUtilsService, logService);
|
||||||
const tokenService = new TokenService(storageService);
|
const tokenService = new TokenService(storageService);
|
||||||
const appIdService = new AppIdService(storageService);
|
const appIdService = new AppIdService(storageService);
|
||||||
const apiService = new ApiService(tokenService, platformUtilsService,
|
const apiService = new ApiService(tokenService, platformUtilsService,
|
||||||
@ -110,7 +111,7 @@ const cipherService = new CipherService(cryptoService, userService, settingsServ
|
|||||||
const folderService = new FolderService(cryptoService, userService, apiService, storageService,
|
const folderService = new FolderService(cryptoService, userService, apiService, storageService,
|
||||||
i18nService, cipherService);
|
i18nService, cipherService);
|
||||||
const collectionService = new CollectionService(cryptoService, userService, storageService, i18nService);
|
const collectionService = new CollectionService(cryptoService, userService, storageService, i18nService);
|
||||||
searchService = new SearchService(cipherService);
|
searchService = new SearchService(cipherService, logService);
|
||||||
const sendService = new SendService(cryptoService, userService, apiService, storageService,
|
const sendService = new SendService(cryptoService, userService, apiService, storageService,
|
||||||
i18nService, cryptoFunctionService);
|
i18nService, cryptoFunctionService);
|
||||||
const policyService = new PolicyService(userService, storageService);
|
const policyService = new PolicyService(userService, storageService);
|
||||||
@ -124,11 +125,11 @@ const passwordGenerationService = new PasswordGenerationService(cryptoService, s
|
|||||||
const totpService = new TotpService(storageService, cryptoFunctionService);
|
const totpService = new TotpService(storageService, cryptoFunctionService);
|
||||||
const containerService = new ContainerService(cryptoService);
|
const containerService = new ContainerService(cryptoService);
|
||||||
const authService = new AuthService(cryptoService, apiService, userService, tokenService, appIdService,
|
const authService = new AuthService(cryptoService, apiService, userService, tokenService, appIdService,
|
||||||
i18nService, platformUtilsService, messagingService, vaultTimeoutService);
|
i18nService, platformUtilsService, messagingService, vaultTimeoutService, logService);
|
||||||
const exportService = new ExportService(folderService, cipherService, apiService);
|
const exportService = new ExportService(folderService, cipherService, apiService);
|
||||||
const auditService = new AuditService(cryptoFunctionService, apiService);
|
const auditService = new AuditService(cryptoFunctionService, apiService);
|
||||||
const notificationsService = new NotificationsService(userService, syncService, appIdService,
|
const notificationsService = new NotificationsService(userService, syncService, appIdService,
|
||||||
apiService, vaultTimeoutService, async () => messagingService.send('logout', { expired: true }));
|
apiService, vaultTimeoutService, async () => messagingService.send('logout', { expired: true }), logService);
|
||||||
const environmentService = new EnvironmentService(apiService, storageService, notificationsService);
|
const environmentService = new EnvironmentService(apiService, storageService, notificationsService);
|
||||||
const eventService = new EventService(storageService, apiService, userService, cipherService);
|
const eventService = new EventService(storageService, apiService, userService, cipherService);
|
||||||
const systemService = new SystemService(storageService, vaultTimeoutService, messagingService, platformUtilsService,
|
const systemService = new SystemService(storageService, vaultTimeoutService, messagingService, platformUtilsService,
|
||||||
|
Loading…
Reference in New Issue
Block a user