mirror of
https://github.com/bitwarden/browser
synced 2025-12-21 10:43:35 +00:00
converted cryptoservice to jslib
This commit is contained in:
@@ -1,5 +1,3 @@
|
||||
import { CryptoService } from '../../../services/abstractions/crypto.service';
|
||||
|
||||
import { Abstractions } from '@bitwarden/jslib';
|
||||
|
||||
function getBackgroundService<T>(service: string) {
|
||||
@@ -15,7 +13,7 @@ export const cryptoService = getBackgroundService<any>('cryptoService');
|
||||
export const userService = getBackgroundService<any>('userService');
|
||||
export const apiService = getBackgroundService<any>('apiService');
|
||||
export const folderService = getBackgroundService<any>('folderService');
|
||||
export const cipherService = getBackgroundService<CryptoService>('cipherService');
|
||||
export const cipherService = getBackgroundService<Abstractions.CryptoService>('cipherService');
|
||||
export const syncService = getBackgroundService<any>('syncService');
|
||||
export const autofillService = getBackgroundService<any>('autofillService');
|
||||
export const passwordGenerationService = getBackgroundService<any>('passwordGenerationService');
|
||||
|
||||
Reference in New Issue
Block a user