1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-16 16:23:44 +00:00

static ContainerService for edge case dependencies

This commit is contained in:
Kyle Spearrin
2018-01-04 14:16:40 -05:00
parent 0dd711471b
commit 0fbbc4a0b9
4 changed files with 21 additions and 24 deletions

View File

@@ -19,6 +19,7 @@ import ChromeStorageService from '../services/chromeStorage.service';
import CipherService from '../services/cipher.service';
import CollectionService from '../services/collection.service';
import ConstantsService from '../services/constants.service';
import ContainerService from '../services/container.service';
import CryptoService from '../services/crypto.service';
import EnvironmentService from '../services/environment.service';
import FolderService from '../services/folder.service';
@@ -80,7 +81,8 @@ export default class MainBackground {
this.browserUtilsService = new BrowserUtilsService();
this.i18nService = i18nService(this.browserUtilsService);
this.constantsService = new ConstantsService(this.i18nService, this.browserUtilsService);
this.cryptoService = new CryptoService(this.storageService, this.storageService);
this.cryptoService = ContainerService.cryptoService = new CryptoService(this.storageService,
this.storageService);
this.tokenService = new TokenService(this.storageService);
this.appIdService = new AppIdService(this.storageService);
this.apiService = new ApiService(this.tokenService, this.browserUtilsService,