mirror of
https://github.com/bitwarden/browser
synced 2025-12-18 01:03:35 +00:00
Make userPublicKey$ Public
This commit is contained in:
@@ -915,8 +915,7 @@ export class CryptoService implements CryptoServiceAbstraction {
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Not exposing this until there is a need
|
userPublicKey$(userId: UserId) {
|
||||||
private userPublicKey$(userId: UserId) {
|
|
||||||
return this.userPrivateKey$(userId).pipe(
|
return this.userPrivateKey$(userId).pipe(
|
||||||
switchMap(async (pk) => await this.derivePublicKey(pk)),
|
switchMap(async (pk) => await this.derivePublicKey(pk)),
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user