-
Notifications
You must be signed in to change notification settings - Fork 22
Open
Description
In this code file: https://github.com/paragonie/sodium-plus/blob/master/lib/keytypes/ed25519sk.js#L17 a reference is made to the global Buffer object.
When using in a browser bundler that does not shim nodejs builtins, like vite, this code fails.
The fix is importing from 'buffer' library, which is listed in the dependencies of sodium-plus.
Thank you for this super useful library too - makes life much easier !
Metadata
Metadata
Assignees
Labels
No labels