'use client'
import { __awaiter } from '../../../../../../_virtual/_tslib.js';
import { getSessionKeys } from '../getSessionKeys/getSessionKeys.js';

/**
 * Resolves the session public key the client signs session chaining nonces
 * with. Forwarded to the keyshare service on backup so a signature failure can
 * be logged against the JWT-embedded key. Nonce-free; undefined before a
 * session key exists.
 */
const getSessionPublicKey = () => __awaiter(void 0, void 0, void 0, function* () { var _a; return (_a = getSessionKeys()) === null || _a === void 0 ? void 0 : _a.publicKey; });

export { getSessionPublicKey };
