From 7e855df8de0ff06fb7641c18325e1dec89bda1ca Mon Sep 17 00:00:00 2001 From: Justin Baur <19896123+justindbaur@users.noreply.github.com> Date: Fri, 24 May 2024 16:52:33 -0400 Subject: [PATCH] Make `userPublicKey$` Public --- libs/common/src/platform/services/crypto.service.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libs/common/src/platform/services/crypto.service.ts b/libs/common/src/platform/services/crypto.service.ts index 60081460e9a..ca95091cd76 100644 --- a/libs/common/src/platform/services/crypto.service.ts +++ b/libs/common/src/platform/services/crypto.service.ts @@ -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)), );