Skip to content

Releases: dfinity/ic-js

v0.6.0

20 Jul 12:16
68b8426
Compare
Choose a tag to compare

Release

  • nns v0.6.0
  • sns v0.0.2

Breaking Changes

  • nns library esm canisters chunks renamed with suffix .canister

Features

  • new library @dfinity/sns
  • add SetSnsTokenSwapOpenTimeWindow proposal action support to request and response converters
  • add new property in Neuron type: spawn_at_timestamp_seconds
  • use the governance canister id of the class in converters. This allows to also have proper conversion on testnets.
  • add leaveCommunityFund functionality to governance canister in @dfinity/nns.
  • map deadline_timestamp_seconds to proposal object
  • new NNS proposal topic SnsDecentralizationSale

Fix

  • fix how the neuron account was converted to a string for proto.

Build

  • bump dependencies including agent-js v0.12.0
  • rename repo from nns-js to ic-js
  • transform repo into a mono-repo for packages nns, sns and in the future more libraries

v0.5.0

23 Jun 13:19
75e3ea4
Compare
Choose a tag to compare

Breaking

  • Change "fromSubAccountId: string" param to "fromSubAccount: number[]"

Features

  • Remove payload, payloadBytes and nnsFunctionName fields from proposal of type ExecuteNnsFunction action (moved to nns-dapp)
  • Use Candid interface by default for ledger canister and proto for hardware wallet
  • New function transactionFee to query the current transaction fee

v0.4.3

03 Jun 11:46
010d8a8
Compare
Choose a tag to compare

Features

  • update most recent candid payloads

Build

  • bump agent-js v0.11.3 with setBigUint64 for iOS < v15

v0.4.2

23 May 06:50
Compare
Choose a tag to compare
  • Support API endpoints on the governance canister.
  • Support claim_neurons in the genesis token canister.

0.3.0

12 Apr 22:21
Compare
Choose a tag to compare

Breaking Changes

  • variant return types dropped - i.e. functions now return effective result and throw errors in case of issues [#59]
  • governance function getNeurons to listNeurons renamed [#55]
  • governance functions getNeurons and listNeurons change signature [#69]
  • Drop isCurrentUserController property from Neuron type [#69]
  • remove some converters that were not use internally [#62]

Features

  • governance new functions:
    • getProposal
    • stakeNeuron
    • registerVote
    • increaseDissolveDelay
    • getNeuron
    • setFollowees
  • ledger transfer enhanced with support for subaccount
  • new utils to filter voted neurons and proposals
  • export common types

Build

  • nns-dapp canister types removed
  • nightly build job

Tests

  • add test for protobug files

v0.2.3

07 Apr 12:10
Compare
Choose a tag to compare
 4dd668d 0.2.3
 b32b8ed L2-355: Governance Canister makeProposal (#68)
 fa3ef4e L2-364: Start and Stop Dissolving Neuron (#66)
 c590e53 Fix: Typo (#65)
 a2efa04 L2-360: Governance Join Community Fund (#64)
 72433d1 L2-331: Check Neuron Balances (#63)
 bc8498c docs: init changelog and list breaking changes (#60)
 3d7f1e0 Fix: Remove unused converters (#62)
 c98445d docs: update readme intro (#61)
 59a520b feat: throw error instead of variant return (#59)
 c127845 L2-338: Transfer from subaccounts (#58)
 482fd2f L2-337: Set Neuron Followee (#57)
 ab372d9 Add test for protobuf files (#53)
 ec857fa feat: get neuron (#56)
 da3a6aa L2-330: Update Delay Neuron (#54)
 2115151 feat: unify the governance naming of the functions (#55)
 5fbfbf7 The proto files on main should already be up to date (#52)
 2d68f02 Correct name of the nightly build (#51)
 eaff943 L2-336: Register Vote (#50)
 69a5670 feat: neurons utils voted, not voted and ineligible (#49)
 24850e8 refactor: drop governance converters stateless class for functions (#47)
 f47ec60 Enter a valid schedule (#48)
 5d51b42 L2-226: Stake neuron (#44)
 607471f Job to publish a nightly build (#45)
 e289663 Rm nnsdapp (#41)
 0905e71 Add getProposalInfo to governance (#37)
 a675fd8 feat: export common types (#43)

v0.2.2

22 Feb 10:48
2f849e2
Compare
Choose a tag to compare
  • Add methods to support createNeuron in the nns-dapp.

v0.2.1

16 Feb 09:36
Compare
Choose a tag to compare
  • Bump agent-js version to 0.10.3

v0.2.0

10 Feb 08:07
e282c38
Compare
Choose a tag to compare
  • Add parameter types

v0.1.9

28 Jan 09:18
Compare
Choose a tag to compare

Export the KnownNeuron type.