mirror of
https://github.com/bitwarden/browser
synced 2025-12-06 00:13:28 +00:00
* fix: compilation issues with PM client rename * fix: jest compilation * feat: rename all non-breaking platform instances * feat: update SDK
15 lines
444 B
TypeScript
15 lines
444 B
TypeScript
import type { PasswordManagerClient } from "@bitwarden/sdk-internal";
|
|
|
|
/**
|
|
* Factory for creating SDK clients.
|
|
*/
|
|
export abstract class SdkClientFactory {
|
|
/**
|
|
* Creates a new Password Manager client. Assumes the SDK is already loaded.
|
|
* @param args Password Manager client constructor parameters
|
|
*/
|
|
abstract createSdkClient(
|
|
...args: ConstructorParameters<typeof PasswordManagerClient>
|
|
): Promise<PasswordManagerClient>;
|
|
}
|