UNPKG

o1js-email-verify

Version:

Implemented using [o1js](https://github.com/o1-labs/o1js), this project is a reimplementation of [zk-email](https://github.com/zkemail/zk-email-verify), leveraging the Mina proving system [Kimchi](https://o1-labs.github.io/proof-systems/specs/kimchi.html#

22 lines (21 loc) 547 B
module.exports = (request, options) => { return options.defaultResolver(request, { ...options, packageFilter: (pkg) => { // When importing o1js, we specify the Node ESM import as Jest by default imports the web version if (pkg.name === 'o1js') { return { ...pkg, main: pkg.exports.node.import, }; } if (pkg.name === 'node-fetch') { return { ...pkg, main: pkg.main }; } return { ...pkg, main: pkg.module || pkg.main, }; }, }); };