mirror of
https://github.com/bitwarden/browser
synced 2025-12-27 21:53:25 +00:00
BEEEP: Refactor services DI (#1175)
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
import { Injectable } from '@angular/core';
|
||||
import { ipcRenderer } from 'electron';
|
||||
import Swal from 'sweetalert2';
|
||||
|
||||
@@ -18,6 +19,7 @@ import { ElectronConstants } from 'jslib-electron/electronConstants';
|
||||
const MessageValidTimeout = 10 * 1000;
|
||||
const EncryptionAlgorithm = 'sha1';
|
||||
|
||||
@Injectable()
|
||||
export class NativeMessagingService {
|
||||
private sharedSecrets = new Map<string, SymmetricCryptoKey>();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user