npm @polkadot/util 2.12.1

  • Important Removed mnemonicToSeed, it is only for bip39, use mnemonicToMiniSecret for the Substrate variant
  • Added u8aEq to compare two Uint8Array or hex values for an exact match
  • Added addressEq to compare two addresses (ss58, Uint8array or hex) for an exact match
  • Throw error on {nacl,schnorrkel}Verify on invalid input lengths
  • Performance optimizations in u8aToHex & u8aConcat
latest releases: 6.0.1-6, 6.0.1-5, 6.0.1-4...
9 months ago