This commit is contained in:
Raven Scott
2026-04-03 23:42:47 -04:00
parent d8e580d1af
commit 2ef56ac314
43 changed files with 1941 additions and 553 deletions
@@ -0,0 +1,9 @@
'use strict'
/**
* CJS bridge: `require('bare-crypto/lib/key.js')` bypasses package `exports` on Node and avoids
* pulling Bare-only addon graphs into ESM static analysis. Pear/Bare executes this file with CJS
* `require` (no Node `module` built-in needed from our ESM entry).
*/
const { verify } = require('bare-crypto')
const { Ed25519PublicKey } = require('bare-crypto/lib/key.js')
module.exports = { verify, Ed25519PublicKey }