UNPKG

@cashu/cashu-ts

Version:

cashu library for communicating with a cashu mint

12 lines (11 loc) 249 B
const e = (r) => { try { return r instanceof Uint8Array && (r = new TextDecoder().decode(r)), JSON.parse(r); } catch { throw new Error("can't parse secret"); } }; export { e as parseP2PKSecret }; //# sourceMappingURL=NUT11.es.js.map