1
0
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:
Kyle Spearrin
2018-01-08 15:37:11 -05:00
parent e68f7a1141
commit bb98c7e4da
15 changed files with 16 additions and 657 deletions

View File

@@ -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');