@othent/kms-unbundled
Version:
Arweave Oauth Othent wallets enabled Google Key Management Service.
10 lines • 380 B
JavaScript
import { userDetails } from "../auth/userDetails";
/**
* Get the owner (jwk.n) field of the users wallet. This function assumes (and requires) a user is logged in.
* @returns The owner (jwk.n) field of the users wallet.
*/
export async function getActivePublicKey() {
const user = await userDetails();
return user.owner;
}
//# sourceMappingURL=getActivePublicKey.js.map