Skip to content

Releases: polkadot-js/common

v12.6.2

18 Dec 09:52
Compare
Choose a tag to compare

Changes:

  • Update to latest @polkadot/wasm-crypto
  • Upgrade dependencies to latest versions

v12.6.1

18 Nov 05:09
Compare
Choose a tag to compare

Contributed:

Changes:

  • Adjust logger check for process.env
  • Adjust isRiscV helper to check for PVM\0 bytes
  • Drop support for Node 16 (EOL 11 Sep 2023)
  • Upgrade dependencies to latest stable versions

v12.5.1

15 Sep 06:00
Compare
Choose a tag to compare

Contributed:

Changes:

  • Expand interface type comments (assists in-editor helpers)
  • Upgrade dependencies to latest stable versions

v12.4.2

23 Aug 09:56
Compare
Choose a tag to compare

Changes:

  • Fix u8aTo{BigInt, Bn, Number} for non-negative i{8, 16, 32...} inputs
  • Extend u8aToBuffer with hasBuffer check
  • Adjust util tests (extract input/output arrays)

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