Skip to content

Commit f75dbce

Browse files
committed
Fix build
1 parent 93332fe commit f75dbce

File tree

2 files changed

+0
-15
lines changed

2 files changed

+0
-15
lines changed

apps/browser/src/popup/services/init.service.ts

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,6 @@ import { inject, Inject, Injectable } from "@angular/core";
33

44
import { AbstractThemingService } from "@bitwarden/angular/platform/services/theming/theming.service.abstraction";
55
import { TwoFactorService } from "@bitwarden/common/auth/abstractions/two-factor.service";
6-
import { BulkEncryptService } from "@bitwarden/common/key-management/crypto/abstractions/bulk-encrypt.service";
7-
import { EncryptService } from "@bitwarden/common/key-management/crypto/abstractions/encrypt.service";
8-
import { ConfigService } from "@bitwarden/common/platform/abstractions/config/config.service";
96
import { I18nService } from "@bitwarden/common/platform/abstractions/i18n.service";
107
import { LogService as LogServiceAbstraction } from "@bitwarden/common/platform/abstractions/log.service";
118
import { PlatformUtilsService } from "@bitwarden/common/platform/abstractions/platform-utils.service";
@@ -30,22 +27,13 @@ export class InitService {
3027
private themingService: AbstractThemingService,
3128
private sdkLoadService: SdkLoadService,
3229
private viewCacheService: PopupViewCacheService,
33-
private configService: ConfigService,
34-
private encryptService: EncryptService,
35-
private bulkEncryptService: BulkEncryptService,
3630
@Inject(DOCUMENT) private document: Document,
3731
) {}
3832

3933
init() {
4034
return async () => {
4135
await this.sdkLoadService.loadAndInit();
4236
await this.stateService.init({ runMigrations: false }); // Browser background is responsible for migrations
43-
this.configService.serverConfig$.subscribe((newConfig) => {
44-
if (newConfig != null) {
45-
this.encryptService.onServerConfigChange(newConfig);
46-
this.bulkEncryptService.onServerConfigChange(newConfig);
47-
}
48-
});
4937
await this.i18nService.init();
5038
this.twoFactorService.init();
5139
await this.viewCacheService.init();

libs/auth/src/common/services/auth-request/auth-request.service.spec.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -85,9 +85,6 @@ describe("AuthRequestService", () => {
8585

8686
describe("approveOrDenyAuthRequest", () => {
8787
beforeEach(() => {
88-
encryptService.rsaEncrypt.mockResolvedValue({
89-
encryptedString: "ENCRYPTED_STRING",
90-
} as EncString);
9188
encryptService.encapsulateKeyUnsigned.mockResolvedValue({
9289
encryptedString: "ENCRYPTED_STRING",
9390
} as EncString);

0 commit comments

Comments
 (0)