1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-18 09:13:33 +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 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)),
); );