Skip to content

Commit

Permalink
Remove supported$
Browse files Browse the repository at this point in the history
  • Loading branch information
Hinton committed Dec 19, 2024
1 parent 8b32743 commit c038c3c
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 11 deletions.
5 changes: 0 additions & 5 deletions libs/common/src/platform/abstractions/sdk/sdk.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,6 @@ import { BitwardenClient } from "@bitwarden/sdk-internal";
import { UserId } from "../../../types/guid";

export abstract class SdkService {
/**
* Check if the SDK is supported in the current environment.
*/
supported$: Observable<boolean>;

/**
* Retrieve the version of the SDK.
*/
Expand Down
6 changes: 0 additions & 6 deletions libs/common/src/platform/services/sdk/default-sdk.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,6 @@ export class DefaultSdkService implements SdkService {
shareReplay({ refCount: true, bufferSize: 1 }),
);

supported$ = this.client$.pipe(
concatMap(async (client) => {
return client.echo("bitwarden wasm!") === "bitwarden wasm!";
}),
);

version$ = this.client$.pipe(
map((client) => client.version()),
catchError(() => "Unsupported"),
Expand Down

0 comments on commit c038c3c

Please sign in to comment.