Skip to content

Releases: polkadot-js/common

v1.8.1

13 Jan 15:41
Compare
Choose a tag to compare

v1.7.1

27 Nov 19:12
Compare
Choose a tag to compare
  • formatBalance signature now allows to force unit displays
  • Keypair now allows for derive on a pair, with pair.derive(...)
  • assert now acts like a real asserts, with no return - signature adapted for new TS 3.7

v1.6.1

24 Oct 11:55
Compare
Choose a tag to compare
  • pair.sign(message) now takes an optional second options?: SignOptions parameter, where SignOptions is currently defined as { withType: boolean }. Here withType instructs the signing to prepend the type of signature (ed2551, sr25519 or ecdsa). This is used for the new Polkadot/Substrate MultiSignature format.

v1.5.1

04 Oct 10:09
Compare
Choose a tag to compare
  • Fix typings on the Keyring-exposed encode & decodeAddress
  • Allow ss58Format = 0 as a valid value
  • Loosen type definitions for allowed ss58format values (still checked against allowed array)

v1.4.1

12 Sep 14:04
Compare
Choose a tag to compare
  • Breaking change To set the ss58Format, you should now use setSS58Format as opposed to the old setAddressPrefix
  • Renamed keyring.setAddressPrefix to keyring.setSS58Format
  • Deprecated addressPrefix on the keyring options, added the ss58Format as a replacement (aligning with chain properties - the old version is still accepted)
  • Added stringToHex and hexToString conversion utilities to @polkadot/util

v1.3.1

10 Sep 17:17
Compare
Choose a tag to compare

Remove ExtError, always prefer the standard JS Error object for errors. This would be a breaking change for any applications using ExtError

v1.2.1

09 Sep 12:22
Compare
Choose a tag to compare
  • Keyring addFromAddress can now be used to store external accounts, for example those provided by external signers

v1.1.1

09 Aug 10:07
Compare
Choose a tag to compare

Maintenance release, asserts for packages have been changed to console.warn.

v1.0.1

02 Aug 19:01
Compare
Choose a tag to compare
[CI Skip]  1.0.1