mirror of
https://github.com/bitwarden/browser
synced 2025-12-19 09:43:23 +00:00
move cipherService to jslib
This commit is contained in:
@@ -2,9 +2,8 @@ import BrowserApi from '../browser/browserApi';
|
||||
|
||||
import MainBackground from './main.background';
|
||||
|
||||
import CipherService from '../services/cipher.service';
|
||||
|
||||
import {
|
||||
CipherService,
|
||||
PasswordGenerationService,
|
||||
} from 'jslib/abstractions';
|
||||
|
||||
|
||||
@@ -3,6 +3,7 @@ import { CipherType } from 'jslib/enums';
|
||||
import {
|
||||
ApiService,
|
||||
AppIdService,
|
||||
CipherService,
|
||||
ConstantsService,
|
||||
ContainerService,
|
||||
CryptoService,
|
||||
@@ -19,6 +20,7 @@ import {
|
||||
import {
|
||||
ApiService as ApiServiceAbstraction,
|
||||
AppIdService as AppIdServiceAbstraction,
|
||||
CipherService as CipherServiceAbstraction,
|
||||
CryptoService as CryptoServiceAbstraction,
|
||||
EnvironmentService as EnvironmentServiceAbstraction,
|
||||
FolderService as FolderServiceAbstraction,
|
||||
@@ -47,7 +49,6 @@ import AutofillService from '../services/autofill.service';
|
||||
import BrowserMessagingService from '../services/browserMessaging.service';
|
||||
import BrowserPlatformUtilsService from '../services/browserPlatformUtils.service';
|
||||
import BrowserStorageService from '../services/browserStorage.service';
|
||||
import CipherService from '../services/cipher.service';
|
||||
import CollectionService from '../services/collection.service';
|
||||
import i18nService from '../services/i18n.service';
|
||||
import LockService from '../services/lock.service';
|
||||
@@ -67,7 +68,7 @@ export default class MainBackground {
|
||||
environmentService: EnvironmentServiceAbstraction;
|
||||
userService: UserServiceAbstraction;
|
||||
settingsService: SettingsServiceAbstraction;
|
||||
cipherService: CipherService;
|
||||
cipherService: CipherServiceAbstraction;
|
||||
folderService: FolderServiceAbstraction;
|
||||
collectionService: CollectionService;
|
||||
lockService: LockService;
|
||||
|
||||
@@ -3,6 +3,7 @@ import { CipherType } from 'jslib/enums';
|
||||
import { UtilsService } from 'jslib/services/utils.service';
|
||||
|
||||
import {
|
||||
CipherService,
|
||||
PlatformUtilsService,
|
||||
} from 'jslib/abstractions';
|
||||
|
||||
@@ -11,7 +12,6 @@ import BrowserApi from '../browser/browserApi';
|
||||
import MainBackground from './main.background';
|
||||
|
||||
import AutofillService from '../services/autofill.service';
|
||||
import CipherService from '../services/cipher.service';
|
||||
|
||||
export default class RuntimeBackground {
|
||||
private runtime: any;
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
import CipherService from '../services/cipher.service';
|
||||
|
||||
import { PlatformUtilsService } from 'jslib/abstractions';
|
||||
import {
|
||||
CipherService,
|
||||
PlatformUtilsService,
|
||||
} from 'jslib/abstractions';
|
||||
|
||||
export default class WebRequestBackground {
|
||||
private pendingAuthRequests: any[] = [];
|
||||
|
||||
Reference in New Issue
Block a user