mirror of
https://github.com/bitwarden/web
synced 2025-12-15 07:43:16 +00:00
Refactor Send 'copy link' functionality (#960)
* Refactor Send 'copy link' functionality * bump jslib * Print debug message if copyToClipboard fails * fix linting
This commit is contained in:
@@ -91,12 +91,12 @@ const i18nService = new I18nService(window.navigator.language, 'locales');
|
||||
const stateService = new StateService();
|
||||
const broadcasterService = new BroadcasterService();
|
||||
const messagingService = new BroadcasterMessagingService(broadcasterService);
|
||||
const platformUtilsService = new WebPlatformUtilsService(i18nService, messagingService);
|
||||
const consoleLogService = new ConsoleLogService(false);
|
||||
const platformUtilsService = new WebPlatformUtilsService(i18nService, messagingService, consoleLogService);
|
||||
const storageService: StorageServiceAbstraction = new HtmlStorageService(platformUtilsService);
|
||||
const secureStorageService: StorageServiceAbstraction = new MemoryStorageService();
|
||||
const cryptoFunctionService: CryptoFunctionServiceAbstraction = new WebCryptoFunctionService(window,
|
||||
platformUtilsService);
|
||||
const consoleLogService = new ConsoleLogService(false);
|
||||
const cryptoService = new CryptoService(storageService,
|
||||
platformUtilsService.isDev() ? storageService : secureStorageService, cryptoFunctionService, platformUtilsService,
|
||||
consoleLogService);
|
||||
|
||||
Reference in New Issue
Block a user