Closed koonopek closed 2 years ago
Workaround for next.js:
const { evmSignature, EvmSignatureVerificationWebPlugin } = await import('warp-signature');
solution in doc: https://nextjs.org/docs/advanced-features/dynamic-import#with-external-libraries thread: https://github.com/vercel/next.js/issues/31518#issuecomment-991943823 drawback: we have to use async import
I'm using next.js for bundling:
Error when running:
next dev
Problem doesn't occur in version: warp-signature@1.0.4