'use client'
'use strict';

Object.defineProperty(exports, '__esModule', { value: true });

var _tslib = require('../../../../../../_virtual/_tslib.cjs');
var getSessionKeys = require('../getSessionKeys/getSessionKeys.cjs');

/**
 * 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 = () => _tslib.__awaiter(void 0, void 0, void 0, function* () { var _a; return (_a = getSessionKeys.getSessionKeys()) === null || _a === void 0 ? void 0 : _a.publicKey; });

exports.getSessionPublicKey = getSessionPublicKey;
