Skip to content

Releases: dfinity/ic-js

v0.17.2

21 Jun 10:15
057882a
Compare
Choose a tag to compare

Release

  • ic-management v0.0.3

Build

No particular changes. Resolve a version conflicts in npmjs.

v0.17.1

21 Jun 09:54
21089c0
Compare
Choose a tag to compare

0.17.1 (2023-06-21)

Release

  • nns v0.16.2
  • sns v0.0.17
  • cmc v0.0.13
  • ledger v0.0.10
  • ckBTC v0.0.6
  • ic-management v0.0.2
  • utils v0.0.17
  • nns-proto v0.0.3

Fix

  • redo global polyfill for the browser
  • expose more types in new library ic-management-js

Build

  • fix ic-management-js next dependencies and version

Docs

  • various improvements in READMEs

v0.17.0

20 Jun 14:01
3fd13d0
Compare
Choose a tag to compare

Release

  • nns v0.16.1
  • sns v0.0.16
  • cmc v0.0.12
  • ledger v0.0.9
  • ckBTC v0.0.5
  • ic-management v0.0.1
  • utils v0.0.16
  • nns-proto v0.0.2

Breaking Changes

  • ckBTC getDepositFee has been deprecated. Instead, use the new feature getMinterInfo

Features

  • introducing @dfinity/ic-management — a new library for interfacing with IC management canister
  • add getMinterInfo for ckBTC which returns internal minter parameters such as the minimal amount to retrieve BTC, minimal number of confirmations or KYT fee
  • add fee to nns stake neuron method
  • expose Sns index canister id in wrapper
  • add simulateMergeNeurons to Nns governance

Refactor

  • use isNullish and fromNullable utils in Nns governance.canister.ts

Build

  • remove global polyfill for the browser and add worker conditions to bundle
  • improve docs generation in the CI
  • update Candid types in Nns

Docs

  • improve Sns README
  • generate README docs for BTC utils

v0.16.0

24 May 07:12
3498d7b
Compare
Choose a tag to compare

Release

  • nns v0.16.0
  • sns v0.0.15
  • cmc v0.0.11
  • ledger v0.0.8
  • ckBTC v0.0.4
  • utils v0.0.15
  • nns-proto v0.0.1

Breaking Changes

  • the protobuf dependencies of @dfinity/nns have been extracted to a new peer dependency called @dfinity/nns-proto. In the NNS-dapp, we manually chunk the libraries. This change enables the dapp to load the required code of the hardware wallet only when necessary.

Features

  • update sns-js and nns-js candid definitions
  • add BitcoinSetConfig to enum NnsFunction
  • expose some more Sns types

Build

  • publish provenance to npm
  • do not run size checker on main branch

Docs

  • fix sample in nns-js README

v0.15.1

18 Apr 07:54
303ebe5
Compare
Choose a tag to compare

Release

  • nns v0.15.1
  • sns v0.0.14
  • cmc v0.0.10
  • ledger v0.0.7
  • ckBTC v0.0.3
  • utils v0.0.14

Fix

  • correct absolute utils import in ledger library

v0.15.0

18 Apr 06:50
16dafe0
Compare
Choose a tag to compare

Release

  • nns v0.15.0
  • sns v0.0.13
  • cmc v0.0.9
  • ledger v0.0.6
  • ckBTC v0.0.2
  • utils v0.0.13

Features

  • new utils moved from NNS-dapp: isNullish, nonNullish, notEmptyString and debounce
  • added ckBTC updateBalance, getWithdrawalAccount, retrieveBtc, estimateWithdrawalFee and getDepositFee functions
  • parse and validate bitcoin address
  • review textual encoding for ICRC-1 account as in dfinity/ICRC-1#98
  • add SNS action converters
  • get latest reward event NNS Governance
  • extend nnsFuncton enum with UpdateElectedReplicaVersions
  • add total tokens supply endpoint
  • new utils to convert hex to/from uint8array, crc and base32

Build

  • bump agent-js v0.15.4
  • bump all dev dependencies
  • hook size limit plugin to check the size of the libraries with the CI

v0.14.0

07 Feb 08:44
6adc46b
Compare
Choose a tag to compare

Release

  • nns v0.14.0
  • sns v0.0.12
  • cmc v0.0.8
  • ledger v0.0.5
  • ckBTC v0.0.1
  • utils v0.0.12

Breaking changes

  • index canister moved from @dfinity/sns to @dfinity/ledger
  • related classes and types renamed from Sns... to Icrc...

Features

  • new @dfinity/ckbtc library for interfacing with ckBTC on the Internet Computer
  • export a constant for the Icrc1 metadata logo
  • move and expose assertPercentageNumber to lib @dfinity/utils
  • register Sns vote

Build

  • fix utils as peer dependency for cmc
  • fix sns using nns dependencies
  • bump all dev dependencies
  • bump Nns dependencies
  • dependabot patch for json5 v1.0.2

v0.13.0

28 Jan 09:36
3205ae6
Compare
Choose a tag to compare

0.13.0 (2023-01-28)

Release

  • nns v0.13.0
  • sns v0.0.11
  • cmc v0.0.7
  • ledger v0.0.4
  • utils v0.0.11

Features

  • add fee as param in SNS Stake neuron
  • extend NnsFunction enum with InsertSnsWasmUpgradePathEntries

Fix

  • encode ICRC-1 accounts

v0.12.1

24 Jan 14:59
69c4231
Compare
Choose a tag to compare

Release

  • nns v0.12.1
  • sns v0.0.10
  • cmc v0.0.6
  • ledger v0.0.3
  • utils v0.0.10

Fix

  • utils was wrongly referenced as a dependency instead of peer-dependency in last release of cmc

v0.12.0

24 Jan 13:54
0b74517
Compare
Choose a tag to compare

Release

  • nns v0.12.0
  • sns v0.0.9
  • cmc v0.0.5
  • ledger v0.0.1
  • utils v0.0.8

Breaking Changes

Introducing @dfinity/ledger — A library for interfacing with ICRC ledgers on the Internet Computer.

An ICRC-1 ledger is not only used in Sns projects but, in ckBTC too. It can also be integrated in various other scenario need by developers on the IC.

That's why we are launching this new library and why we refactored Sns ledger related features to create this new library.

De facto, @dfinity/ledger becomes a peer dependency of @dfinity/sns.

Features

  • enable merge neurons for HW controlled neurons