1
0
mirror of https://github.com/bitwarden/browser synced 2026-01-31 08:43:54 +00:00
This commit is contained in:
cd-bitwarden
2025-11-19 11:37:25 -05:00
parent ae4803e2b5
commit fe41a6046a
2 changed files with 3 additions and 3 deletions

View File

@@ -1,6 +1,6 @@
import { firstValueFrom, map } from "rxjs";
import { Endpoint, IpcSessionRepository as SdkIpcSessionRepository } from "@bitwarden/sdk-internal";
import { Endpoint } from "@bitwarden/sdk-internal";
import { GlobalState, IPC_MEMORY, KeyDefinition, StateProvider } from "../state";
@@ -15,7 +15,7 @@ const IPC_SESSIONS = KeyDefinition.record<object, string>(IPC_MEMORY, "ipcSessio
*
* Interface uses `any` type as defined by the SDK until we get a concrete session type.
*/
export class IpcSessionRepository implements SdkIpcSessionRepository {
export class IpcSessionRepository {
private states: GlobalState<Record<string, any>>;
constructor(private stateProvider: StateProvider) {

View File

@@ -250,6 +250,6 @@ function createMockClient(): MockProxy<BitwardenClient> {
load_flags: jest.fn().mockReturnValue(mock()),
free: mock(),
[Symbol.dispose]: jest.fn(),
});
} as any);
return client;
}