Updates
This commit is contained in:
@@ -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 }
|
||||
Reference in New Issue
Block a user