Skip to content

Releases: polkadot-js/common

v2.17.1

06 Jul 04:46
Compare
Choose a tag to compare
  • Add encode{Derived, Multi}Address to encode derived/multi addresses
  • Correctly handle 0 inputs in numberToU8a
  • Simplify and flatten base58 dependencies

v2.16.1

29 Jun 05:31
Compare
Choose a tag to compare
  • Adjust addressCheck and encodeAddress function to check for valid base58 alphabets (better error reporting)
  • Rename createKeySub to createKeyDerived based on changed in Substrate (sub keys now named derived)

v2.15.1

22 Jun 14:32
Compare
Choose a tag to compare
  • Adjust keyring to no override 0-prefix (Polkadot live) settings with keychain default

v2.14.1

16 Jun 06:02
Compare
Choose a tag to compare

v2.13.1

08 Jun 14:13
Compare
Choose a tag to compare
  • Fix JS blake2 fallback (non-wasm) to correctly deal with hex inputs
  • Align bnToHex signature with bnToU8a (with old/new style)
  • Allow bnTo{Hex,U8a} to take any value with .toBn() signatures

v2.12.2

02 Jun 08:37
Compare
Choose a tag to compare
  • Fix isFunction signature to assert Function

v2.12.1

01 Jun 16:29
Compare
Choose a tag to compare
  • 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

v2.11.1

26 May 07:05
Compare
Choose a tag to compare
  • Internal cleanups on typings
  • Support for latest TypeScript, eslint & typescript-eslint

v2.10.1

14 May 05:43
Compare
Choose a tag to compare
  • Add Kulupu ss58 prefix as an allowed value (Thanks to https://github.com/sorpaas)
  • Make the TextEncoder polyfill handle non-compliant Buffer implementations (newer versions of Jest)
  • DeriveJunction now also allows for BigInt values (aligning with number types elsewhere)
  • Small code-flow optimizations

v2.9.1

29 Apr 22:47
Compare
Choose a tag to compare
  • Add support for ECDSA keypairs (Thanks to https://github.com/akru)
  • Added createKeyMulti & createKeySub to create utility sub & multi keys
  • Added u8aSorted to sort Uint8Arrays
  • Added sortAddresses to sort addresses based on their internal representation