|
|
|
|
@ -3,11 +3,6 @@ import { CryptoService } from "../abstractions/crypto.service";
@@ -3,11 +3,6 @@ import { CryptoService } from "../abstractions/crypto.service";
|
|
|
|
|
export class ContainerService { |
|
|
|
|
constructor(private cryptoService: CryptoService) {} |
|
|
|
|
|
|
|
|
|
// deprecated, use attachToGlobal instead
|
|
|
|
|
attachToWindow(win: any) { |
|
|
|
|
this.attachToGlobal(win); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
attachToGlobal(global: any) { |
|
|
|
|
if (!global.bitwardenContainerService) { |
|
|
|
|
global.bitwardenContainerService = this; |
|
|
|
|
|