github polkadot-js/common v8.0.1

latest releases: v14.0.3, v14.0.2, v14.0.1...
4 years ago

Important In the 8.0 version the hashing utilities have been consolidated around an optimized and audited version from @noble/hashes. As in the past the WASM hashing will be used by default if the environment is initialized.

Breaking change The schnorrkel* functions have been renamed to sr25519*. Likewise the ed25519 operations have been renamed from nacl* to ed25519*. Additionally the {ed, sr, secp256k1}25519KeyPairFrom* functions have been renamed to {ed, sr, secp256k1}25519PairFrom*.

Changes:

  • Introduce ed25519* & sr25519* functions
  • Replace camelcase dep with simplified/optimized version
  • Replace (most) hashing operations with @noble/hashes
  • Replace JS fallback for xxhash
  • Adjust BigInt utility exports (with capability detection)
  • Previously added bi* functions renamed to n*
  • Extend performance tests with implementation compares
  • Remove non-significant Node Buffer concat fill

Don't miss a new common release

NewReleases is sending notifications on new releases.