Releases: polkadot-js/common
Releases · polkadot-js/common
v1.8.1
- Add cross-client encryption/decryption support (Thanks to https://github.com/hskang9)
v1.7.1
v1.6.1
pair.sign(message)
now takes an optional secondoptions?: SignOptions
parameter, whereSignOptions
is currently defined as{ withType: boolean }
. HerewithType
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
v1.4.1
- Breaking change To set the
ss58Format
, you should now usesetSS58Format
as opposed to the oldsetAddressPrefix
- Renamed
keyring.setAddressPrefix
tokeyring.setSS58Format
- Deprecated
addressPrefix
on the keyring options, added thess58Format
as a replacement (aligning with chain properties - the old version is still accepted) - Added
stringToHex
andhexToString
conversion utilities to@polkadot/util