Skip to content

Releases: polkadot-js/common

v11.1.1

18 Mar 12:26
Compare
Choose a tag to compare

Contributed:

Changes:

  • Remove support for encrypt/decrypt functionality on keypair
  • Upgrade dependencies to latest stable versions

v11.0.2

11 Mar 09:12
Compare
Choose a tag to compare

Changes:

  • Use consistent .js imports in source files (TS moduleResolution)
  • Remove TS resolveJsonModule option
  • Upgrade to @polkadot/wasm-crypto 7.0.3

v11.0.1

04 Mar 15:29
Compare
Choose a tag to compare

Changes:

  • Change @polkadot/x-ws to use ws package (previous: websocket)
  • Add /*#__PURE__*/ annotations for @polkadot/x-* packages
  • Swap TS -> JS compiler to use tsc (from babel)
  • Adjust all tests to use node:test runner (ESM variants)
  • Move cryptoWaitReady() top-level in test files
  • Upgrade to @polkadot/wasm-crypto 7.0.1

v10.4.2

19 Feb 08:21
Compare
Choose a tag to compare

Contributed:

Changes:

  • Ensure u8aToU8a correctly unwraps Buffer value (check ordering)
  • Upgrade dependencies to latest stable versions

v10.4.1

12 Feb 09:53
Compare
Choose a tag to compare

Contributed:

Changes:

  • Add isClass helper (checks if input is actual Class Constructor)
  • Adjust isChildClass to rely on new isClass
  • Upgrade dependencies to latest stable versions

v10.3.1

28 Jan 07:14
Compare
Choose a tag to compare

Contributed:

Changes:

  • Expand arrayChunk tests
  • Adjust output for Ledger sanity checks
  • Expand exported bigint constants to match with those in BN
  • Adjust internal character maps to operate on Uint8Array instad of Array<number>
  • Upgrade dependencies to latest stable versions

v10.2.6

13 Jan 14:23
Compare
Choose a tag to compare

Changes:

  • Drop stray console.error log (it really is Friday 13th)

v10.2.5

13 Jan 14:06
Compare
Choose a tag to compare

Changes:

  • Bugfix for formatBalance (forceUnit) with BN inputs where output is less than 0

v10.2.4

13 Jan 07:49
Compare
Choose a tag to compare

Changes:

  • Add the withAll (default false) flag to formatBalance to format to max decimals
  • Add the withZero (default true) flags to formatBalance to retain trailing zeros

v10.2.3

07 Jan 13:22
Compare
Choose a tag to compare

Changes:

  • Adjust isBuffer check on xglobal (no auto-polyfill detection on eg. parcel)
  • Upgrade dependencies to latest stable versions