1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-17 00:33:44 +00:00

Make userPublicKey$ Public

This commit is contained in:
Justin Baur
2024-05-24 16:52:33 -04:00
parent 12e9df5fc9
commit 7e855df8de

View File

@@ -915,8 +915,7 @@ export class CryptoService implements CryptoServiceAbstraction {
);
}
// Not exposing this until there is a need
private userPublicKey$(userId: UserId) {
userPublicKey$(userId: UserId) {
return this.userPrivateKey$(userId).pipe(
switchMap(async (pk) => await this.derivePublicKey(pk)),
);