Skip to content

Releases: polkadot-js/common

v12.4.1

17 Aug 12:33
Compare
Choose a tag to compare

Changes:

  • Add support for Ledger signRaw, as exposed by lower-level
  • Update code to use ?. shortcuts where appropriate
  • Adjust u8aToBuffer & isBuffer typings to not require Buffer
  • Use stringify/import.meta.url helpers in specs
  • Upgrade dependencies to latest stable versions

v12.3.2

12 Jun 05:28
Compare
Choose a tag to compare

Changes:

  • Adjust SubstrateNetwork typing with HexString genesisHash
  • Re-export Constructor<T> type (deprecated, replaced with Class<T>)

v12.3.1

11 Jun 06:42
Compare
Choose a tag to compare

Changes:

  • Only allow padding characters in base64 strings
  • Expand typings for keyring meta with known keys
  • Adjust object index access for stricter tsconfig settings

v12.2.2

04 Jun 09:08
Compare
Choose a tag to compare

Changes:

  • Apply missing count assignment for for (...) loops
  • Remove unused @types/* dev dependencies
  • Upgrade dependencies to latest stable versions

v12.2.1

13 May 08:29
Compare
Choose a tag to compare

Changes:

  • Align u8aToBigInt tests with u8aToBn
  • Unroll loops on most-frequently used paths for u8aToBigInt
  • Add module to package.json export map (ESM-only)
  • Upgrade dependencies to latest stable versions

v12.1.2

01 May 16:15
Compare
Choose a tag to compare

Changes:

  • Adjust typing for isChildClass & Constructor usage

v12.1.1

29 Apr 05:52
Compare
Choose a tag to compare

Changes:

  • Add shareable identity & noop functions
  • Flatten Buffer | Uint8Array types (as used) to base-only Uint8Array
  • Apply readonly specifiers to private class fields where applicable
  • Adjust compilation output for __internal__ class fields
  • Remove unused types from util
  • Upgrade dependencies to latest stable versions

v12.0.1

22 Apr 07:48
Compare
Choose a tag to compare

Contributed:

Changes:

  • Swap secp256k1 functionality to @noble/curves
  • Swap ed25519 functionality to @noble/curves
  • Replace tweetnacl secretbox usage with slimmer local version
  • Adjust isCodec helper with closer API alignment
  • Initial steps to multi-language bip39 support
  • Use Node webcrypto for Node getRandomValues support
  • Upgrade dependencies to latest stable versions
  • Drop support for Node 14 (EOL 30 Apr 2023)

v11.1.3

01 Apr 07:16
Compare
Choose a tag to compare

Contributed:

Changes:

  • Allow empty string as valid base32/base58/base64 decoder input
  • Add additional/missing /*#__PURE__*/ annotations
  • Upgrade dependencies to latest stable versions

v11.1.2

25 Mar 07:21
Compare
Choose a tag to compare

Changes:

  • Expand error details for invalid publicKeys in secp256k1 compress/expand operations
  • Expand @polkadot/hw-ledger with specific per-method JSDoc
  • Upgrade dependencies to latest stable versions