bitchan / eccrypto

JavaScript Elliptic curve cryptography library
Creative Commons Zero v1.0 Universal
302 stars 99 forks source link

Update nan to make lib compatible with node 16+ #91

Closed mohammadrafigh closed 6 months ago

mohammadrafigh commented 1 year ago

Due to some API changes in node, "nan 2.14.0" is not compatible with node 16+, so native implementation of secp256k1 won't be available for node 16+. "nan 2.17.0" has no breaking changes and it's compatible with node 16+ so we can easily use it.