You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When changing between installed versions of node-bbs-signatures it appears that the native node module './index.node' is not always being downloaded and updated by node-pre-gyp leading to issues, especially when changing between versions of the library that feature breaking API changes.
How to reproduce
Start with new empty project and install node-bbs-signatures
Which is incorrect for the 0.9.0 package which did not feature blinded key generation support and the function bls_generate_g2_key was instead called bls_generate_key
Intermediary Solution
It is recommended when changing between installed versions of the library to uninstall and reinstall the library at the new targeted version to ensure the correct native node module is downloaded.
The text was updated successfully, but these errors were encountered:
When changing between installed versions of node-bbs-signatures it appears that the native node module './index.node' is not always being downloaded and updated by node-pre-gyp leading to issues, especially when changing between versions of the library that feature breaking API changes.
How to reproduce
Start with new empty project and install node-bbs-signatures
Then run the following
Which will output
Now change the installed version of the package
And run
Note the output
Which is incorrect for the 0.9.0 package which did not feature blinded key generation support and the function
bls_generate_g2_key
was instead calledbls_generate_key
Intermediary Solution
It is recommended when changing between installed versions of the library to uninstall and reinstall the library at the new targeted version to ensure the correct native node module is downloaded.
The text was updated successfully, but these errors were encountered: