Skip to content

2023.12.20-1000Z

Compare
Choose a tag to compare
@peterpeterparker peterpeterparker released this 20 Dec 10:05
· 222 commits to main since this release
6b3d048

Overview

The current status of the libraries at the time of the release is as follows:

Library Version Status
@dfinity/ckbtc v2.1.0 Enhanced 🔧
@dfinity/cmc v2.1.0 Enhanced 🔧
@dfinity/ic-management v2.1.0 Enhanced 🔧
@dfinity/ledger-icp v2.1.0 Enhanced 🔧
@dfinity/ledger-icrc v2.1.0 Enhanced 🔧
@dfinity/nns v3.1.0 Enhanced 🔧
@dfinity/nns-proto v1.0.0 Unchanged
@dfinity/sns v2.1.0 Enhanced 🔧
@dfinity/utils v2.0.0 Breaking Changes ⚠️

Breaking changes

  • decimals mandatory field in Token.
  • TokenAmount rejects tokens with decimals !== 8.

Features

  • Substitute ? fields with Option fields in the converters related to NNS proposals.
  • Add retrieveBtcStatus to ckbtc minter canister.
  • Add retrieveBtcStatusV2ByAccount to ckbtc minter canister.
  • Make uint8ArrayToHexString also accept number[] as input.
  • Add a new type TokenAmountV2 which supports decimals !== 8.
  • Fix issue when converting token amount from small numbers with TokenAmountV2.
  • Bump agent-js to v0.20.2 in a non-breaking manner by introducing verifyQuerySignatures as an opt-in feature (for the time being).
  • Replace https://ic0.app by https://icp-api.io as the default host for the default anonymous agent provided by defaultAgent.

Fix

  • Utilize ICP Index accountBalance and getTransactions with account identifier hex directly, eliminating the need for conversion with Buffer and resolving usage in non-polyfilled environments.

Operations

  • Add a cron job to periodically update IC candid files and typescript bindings.