From bcd73a9c00fba83725f0815e0083034e18ed1a8a Mon Sep 17 00:00:00 2001 From: Bernd Schoolmann Date: Wed, 20 Aug 2025 18:18:59 +0200 Subject: [PATCH] Move auth key-generation-service imports (#16078) --- libs/common/src/auth/services/token.service.spec.ts | 2 +- libs/common/src/auth/services/token.service.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/common/src/auth/services/token.service.spec.ts b/libs/common/src/auth/services/token.service.spec.ts index 7ed375da377..7274954c950 100644 --- a/libs/common/src/auth/services/token.service.spec.ts +++ b/libs/common/src/auth/services/token.service.spec.ts @@ -8,13 +8,13 @@ import { firstValueFrom } from "rxjs"; import { LogoutReason } from "@bitwarden/auth/common"; import { FakeSingleUserStateProvider, FakeGlobalStateProvider } from "../../../spec"; +import { KeyGenerationService } from "../../key-management/crypto"; import { EncryptService } from "../../key-management/crypto/abstractions/encrypt.service"; import { VaultTimeout, VaultTimeoutAction, VaultTimeoutStringType, } from "../../key-management/vault-timeout"; -import { KeyGenerationService } from "../../platform/abstractions/key-generation.service"; import { LogService } from "../../platform/abstractions/log.service"; import { AbstractStorageService } from "../../platform/abstractions/storage.service"; import { StorageLocation } from "../../platform/enums"; diff --git a/libs/common/src/auth/services/token.service.ts b/libs/common/src/auth/services/token.service.ts index 80e61d4636f..21ccd672056 100644 --- a/libs/common/src/auth/services/token.service.ts +++ b/libs/common/src/auth/services/token.service.ts @@ -7,6 +7,7 @@ import { Opaque } from "type-fest"; // eslint-disable-next-line no-restricted-imports import { LogoutReason, decodeJwtTokenToJson } from "@bitwarden/auth/common"; +import { KeyGenerationService } from "../../key-management/crypto"; import { EncryptService } from "../../key-management/crypto/abstractions/encrypt.service"; import { EncString, EncryptedString } from "../../key-management/crypto/models/enc-string"; import { @@ -14,7 +15,6 @@ import { VaultTimeoutAction, VaultTimeoutStringType, } from "../../key-management/vault-timeout"; -import { KeyGenerationService } from "../../platform/abstractions/key-generation.service"; import { LogService } from "../../platform/abstractions/log.service"; import { AbstractStorageService } from "../../platform/abstractions/storage.service"; import { StorageLocation } from "../../platform/enums";