From 4a18a4eb937e7b09c65e44d5aae1548fe1512c02 Mon Sep 17 00:00:00 2001 From: Chad Scharf <3904944+cscharf@users.noreply.github.com> Date: Mon, 2 Nov 2020 17:11:56 -0500 Subject: [PATCH] cont. removing broadcast srv jslib refs --- src/app/accounts/lock.component.ts | 7 ++----- src/app/accounts/login.component.ts | 7 ++----- src/app/accounts/register.component.ts | 7 ++----- src/app/accounts/set-password.component.ts | 6 ++---- 4 files changed, 8 insertions(+), 19 deletions(-) diff --git a/src/app/accounts/lock.component.ts b/src/app/accounts/lock.component.ts index 657c0110ce..33b6d5ae80 100644 --- a/src/app/accounts/lock.component.ts +++ b/src/app/accounts/lock.component.ts @@ -17,8 +17,6 @@ import { VaultTimeoutService } from 'jslib/abstractions/vaultTimeout.service'; import { LockComponent as BaseLockComponent } from 'jslib/angular/components/lock.component'; -import { BroadcasterService } from 'jslib/angular/services/broadcaster.service'; - @Component({ selector: 'app-lock', templateUrl: 'lock.component.html', @@ -29,10 +27,9 @@ export class LockComponent extends BaseLockComponent { userService: UserService, cryptoService: CryptoService, storageService: StorageService, vaultTimeoutService: VaultTimeoutService, environmentService: EnvironmentService, stateService: StateService, - apiService: ApiService, broadcasterService: BroadcasterService, - private route: ActivatedRoute) { + apiService: ApiService, private route: ActivatedRoute) { super(router, i18nService, platformUtilsService, messagingService, userService, cryptoService, - storageService, vaultTimeoutService, environmentService, stateService, apiService, broadcasterService); + storageService, vaultTimeoutService, environmentService, stateService, apiService); } async ngOnInit() { diff --git a/src/app/accounts/login.component.ts b/src/app/accounts/login.component.ts index 8fb75c7afe..1b06d85b5b 100644 --- a/src/app/accounts/login.component.ts +++ b/src/app/accounts/login.component.ts @@ -22,8 +22,6 @@ import { SyncService } from 'jslib/abstractions/sync.service'; import { LoginComponent as BaseLoginComponent } from 'jslib/angular/components/login.component'; import { ModalComponent } from 'jslib/angular/components/modal.component'; -import { BroadcasterService } from 'jslib/angular/services/broadcaster.service'; - @Component({ selector: 'app-login', templateUrl: 'login.component.html', @@ -37,10 +35,9 @@ export class LoginComponent extends BaseLoginComponent { syncService: SyncService, private componentFactoryResolver: ComponentFactoryResolver, platformUtilsService: PlatformUtilsService, stateService: StateService, environmentService: EnvironmentService, passwordGenerationService: PasswordGenerationService, - cryptoFunctionService: CryptoFunctionService, storageService: StorageService, - broadcasterService: BroadcasterService) { + cryptoFunctionService: CryptoFunctionService, storageService: StorageService) { super(authService, router, platformUtilsService, i18nService, stateService, environmentService, - passwordGenerationService, cryptoFunctionService, broadcasterService, storageService); + passwordGenerationService, cryptoFunctionService, storageService); super.onSuccessfulLogin = () => { return syncService.fullSync(true); }; diff --git a/src/app/accounts/register.component.ts b/src/app/accounts/register.component.ts index c6910fe1a7..19fa0c1962 100644 --- a/src/app/accounts/register.component.ts +++ b/src/app/accounts/register.component.ts @@ -9,8 +9,6 @@ import { PasswordGenerationService } from 'jslib/abstractions/passwordGeneration import { PlatformUtilsService } from 'jslib/abstractions/platformUtils.service'; import { StateService } from 'jslib/abstractions/state.service'; -import { BroadcasterService } from 'jslib/angular/services/broadcaster.service'; - import { RegisterComponent as BaseRegisterComponent } from 'jslib/angular/components/register.component'; @Component({ @@ -21,9 +19,8 @@ export class RegisterComponent extends BaseRegisterComponent { constructor(authService: AuthService, router: Router, i18nService: I18nService, cryptoService: CryptoService, apiService: ApiService, stateService: StateService, - platformUtilsService: PlatformUtilsService, passwordGenerationService: PasswordGenerationService, - broadcasterService: BroadcasterService) { + platformUtilsService: PlatformUtilsService, passwordGenerationService: PasswordGenerationService) { super(authService, router, i18nService, cryptoService, apiService, stateService, platformUtilsService, - passwordGenerationService, broadcasterService); + passwordGenerationService); } } diff --git a/src/app/accounts/set-password.component.ts b/src/app/accounts/set-password.component.ts index 0e9a9b3e03..295ded430f 100644 --- a/src/app/accounts/set-password.component.ts +++ b/src/app/accounts/set-password.component.ts @@ -15,8 +15,6 @@ import { PolicyService } from 'jslib/abstractions/policy.service'; import { SyncService } from 'jslib/abstractions/sync.service'; import { UserService } from 'jslib/abstractions/user.service'; -import { BroadcasterService } from 'jslib/angular/services/broadcaster.service'; - import { SetPasswordComponent as BaseSetPasswordComponent, } from 'jslib/angular/components/set-password.component'; @@ -30,9 +28,9 @@ export class SetPasswordComponent extends BaseSetPasswordComponent { cryptoService: CryptoService, messagingService: MessagingService, userService: UserService, passwordGenerationService: PasswordGenerationService, platformUtilsService: PlatformUtilsService, policyService: PolicyService, router: Router, - syncService: SyncService, route: ActivatedRoute, broadcasterService: BroadcasterService) { + syncService: SyncService, route: ActivatedRoute) { super(i18nService, cryptoService, messagingService, userService, passwordGenerationService, - platformUtilsService, policyService, router, apiService, syncService, route, broadcasterService); + platformUtilsService, policyService, router, apiService, syncService, route); } get masterPasswordScoreWidth() {