-
-
Notifications
You must be signed in to change notification settings - Fork 210
Open
Description
the library cipher-base from browserify-sign is using node js internal module 'stream'
which is not available in the browser.
I have come up with a fix for now which is to patch require('stream') to be require('readable-stream'), but it's not very elegant.
To reproduce:
- start a vite project with rollup bundler for react
- import crypto-browserify and try to sign using createSign
Expected:
- It should work
Actual:
- Cannot read property call of undefined at require('stream').Transform
Metadata
Metadata
Assignees
Labels
No labels