Releases: polkadot-js/common
Releases · polkadot-js/common
v6.0.4
Contributed:
- Enhance check for global process existence (Thanks to https://github.com/Yuripetusko)
Changes:
- Dedupe & optimize logger process.env checks
v6.0.3
v6.0.2
v6.0.1
Important In the 6.0 version the default package type has been changed to ESM modules by default. This should not affect usage, however since the output formats changed, a new major version is required.
Contributed:
- Add dev addresses for Frontier-based chains (Thanks to https://github.com/joelamouche)
Changes:
- Build to ESM by default (with cjs versions via export map)
- Allow addition or raw pairs on the keyring via
{add, create}FromPair
- Extract re-usable json encryption/decryption functions
v5.9.2
v5.9.1
Changes:
- Expand
detectPackage
with optional param allowing checks for monorepo versions - Export logger
format
function directly asloggerFormat
- Expand tests and checks for
hdValidatePath
- Remove
hdEthereum
class-based approach, simplify - Cleanup formatting on nested conditionals in the
@polkadot/x-
packages - All packages now export
packageInfo
from the root
v5.8.1
Contributed:
- Add ss58 information for HydraDX (Thanks to https://github.com/jak-pan)
- HD derivation for Ethereum (Thanks to https://github.com/joelamouche)
Changes:
- Adjust base64 encoding/decoding to not rely on Buffer being available
- Rework Ethereum derivation to only use Uint8Array internally
- Shared HD path validation for Ledger & Ethereum
- Additional derivation, encoding and decoding tests on keyring
- Align networks with upstream ss58 registry
@polkadot/wasm-crypto
3.2.4
v5.7.1
Breaking change The signature of pair.verify
now requires the signer public key as a parameter. If using pair.verify
pass the publicKey (hex or Uint8Array) of the signer.
Changes:
- The signature on the keyring for
.verify
now explicitly requires thepublicKey
of the signer. Previously it only verified against an own public key. - Add additional ss58 test vectors (against chains with >63 prefixes in the Substrate registry)
v5.6.3
Contributed:
- Add ss58 information for Aventus (Thanks to https://github.com/nahuseyoum)
Changes:
- Add
unlock(password)
to keypair (less confusing than only havingdecodePkcs8
, equivalent tolock()
) - Change use of
detectPackage
to usepackageInfo.ts
- Align with upstream ss58 registry
@polkadot/wasm-crypto
3.2.3