diff --git a/src/background/main.background.ts b/src/background/main.background.ts index fef9b32616..2ff99f41b7 100644 --- a/src/background/main.background.ts +++ b/src/background/main.background.ts @@ -4,6 +4,7 @@ import { ApiService, AppIdService, ConstantsService, + ContainerService, CryptoService, EnvironmentService, PasswordGenerationService, @@ -44,7 +45,6 @@ import BrowserPlatformUtilsService from '../services/browserPlatformUtils.servic import BrowserStorageService from '../services/browserStorage.service'; import CipherService from '../services/cipher.service'; import CollectionService from '../services/collection.service'; -import ContainerService from '../services/container.service'; import FolderService from '../services/folder.service'; import i18nService from '../services/i18n.service'; import LockService from '../services/lock.service'; diff --git a/src/services/container.service.ts b/src/services/container.service.ts deleted file mode 100644 index 125ae83315..0000000000 --- a/src/services/container.service.ts +++ /dev/null @@ -1,24 +0,0 @@ -import { - CryptoService, - PlatformUtilsService, -} from 'jslib/abstractions'; - -export default class ContainerService { - constructor(private cryptoService: CryptoService, - private platformUtilsService: PlatformUtilsService) { - } - - attachToWindow(win: any) { - if (!win.BitwardenContainerService) { - win.BitwardenContainerService = this; - } - } - - getCryptoService(): CryptoService { - return this.cryptoService; - } - - getPlatformUtilsService(): PlatformUtilsService { - return this.platformUtilsService; - } -}