- nns
v0.15.0
- sns
v0.0.13
- cmc
v0.0.9
- ledger
v0.0.6
- ckBTC
v0.0.2
- utils
v0.0.13
- new utils moved from NNS-dapp:
isNullish
,nonNullish
,notEmptyString
anddebounce
- added ckBTC
updateBalance
,getWithdrawalAccount
andretrieveBtc
functions
- bump agent-js
v0.15.3
- bump all dev dependencies
- nns
v0.14.0
- sns
v0.0.12
- cmc
v0.0.8
- ledger
v0.0.5
- ckBTC
v0.0.1
- utils
v0.0.12
index
canister moved from@dfinity/sns
to@dfinity/ledger
- related classes and types renamed from
Sns...
toIcrc...
- 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
- fix
utils
as peer dependency forcmc
- fix
sns
usingnns
dependencies - bump all dev dependencies
- bump Nns dependencies
- dependabot patch for json5 v1.0.2
- nns
v0.13.0
- sns
v0.0.11
- cmc
v0.0.7
- ledger
v0.0.4
- utils
v0.0.11
- add fee as param in SNS Stake neuron
- extend
NnsFunction
enum withInsertSnsWasmUpgradePathEntries
- encode ICRC-1 accounts
- nns
v0.12.1
- sns
v0.0.10
- cmc
v0.0.6
- ledger
v0.0.3
- utils
v0.0.10
utils
was wrongly referenced as a dependency instead of peer-dependency in last release ofcmc
- nns
v0.12.0
- sns
v0.0.9
- cmc
v0.0.5
- ledger
v0.0.1
- utils
v0.0.8
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
.
- enable merge neurons for HW controlled neurons
- nns
v0.11.0
- sns
v0.0.8
- cmc
v0.0.4
- utils
v0.0.7
- new Sns features: increase stake neuron, split neuron, list and get proposals
- add support for the param
to_account
when disbursing Sns neuron - add
createAt
param for Nns ledger transfers - more Sns voting permissions
- bump
agent-js
peer dependencies tov0.15.1
- bump Nns (
crc
andgoogle-protobuf
) dependencies - bump dev dependencies
- nns
v0.10.0
- sns
v0.0.7
- cmc
v0.0.3
- utils
v0.0.6
- various neuron features for Sns - e.g. stake neuron, list and set followees, set dissolve delay, stake maturity etc.
- array utilities
bigIntToUint8Array
andnumberToUint8Array
- semantic version comparator
smallerVersion
- rounding conversion from
number
toToken
- nns
v0.9.0
- sns
v0.0.6
- cmc
v0.0.2
- utils
v0.0.5
token
param inTokenAmount
factory methods is mandatory instead of using ICPToken as default.TokenAmount.fromNumber
does not returnFromStringToTokenError
, onlyTokenAmount
.
- new NNS governance features:
stakeMaturity
andautoStakeMaturity
- various additional new NNS functions and proposal types
- new SNS
index
canister - new SNS ledger and wrapper feature:
transfer
andtransactionFee
- SNS did files updated with most recent commit in IC repo
- support join community fund for neurons controlled by Hardware Wallet.
- bump dev dependencies
- bump
agent-js
peer dependencies v0.14.0
- refreshed HACKING.md
- nns
v0.8.1
- sns
v0.0.5
- cmc
v0.0.1
- utils
v0.0.4
- the development dependency
didc
has been bumped which leads to some types having to be converted fromnumber[]
toUint8Array
- new fields
stakedMaturityE8sEquivalent
andautoStakeMaturity
inNeuron
- new library
@dfinity/cmc
- new nns governance commands and actions:
ChangeAutoStakeMaturity
,SetSnsTokenSwapOpenTimeWindow
andOpenSnsTokenSwap
- some new utilities added to transform arrays from various format to
Uint8Array
- new Sns utilities to encode and decode accounts to and from strings
disburse
Sns neuronscreateAgent
andprincipalToSubAccount
added to utils
- nns
v0.7.0
- sns
v0.0.3
- utils
v0.0.2
agent-js
dependencies set aspeerDependencies
- Sns canisters' classes renamed with prefix
Sns
- enums renamed with Pascal case for consistency reason
- new library
@dfinity/utils
- more Sns related features:
notifyParticipation
,getUserCommitment
, some Sns neurons related features and governancemetadata
- new nns governance features:
setDissolveDelay
andsetNodeProviderAccount
- new generic interface
Token
and classTokenAmount
- class
ICP
set as deprecated
- bump agent-js
v0.13.1
- publish
next
instead ofnightly-build
working versions - add manual trigger to GitHub Actions for npm publish
- nns
v0.6.0
- sns
v0.0.2
nns
libraryesm
canisters chunks renamed with suffix.canister
- 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 how the neuron account was converted to a
string
forproto
.
- bump dependencies including agent-js v0.12.0
- rename repo from
nns-js
toic-js
- transform repo into a mono-repo for packages
nns
,sns
and in the future more libraries
- Change "fromSubAccountId: string" param to "fromSubAccount: number[]"
- 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
- update most recent candid payloads
- bump agent-js
v0.11.3
withsetBigUint64
for iOS < v15
- new methods
disburse
,mergeMaturity
andspawnNeuron
- expose account utilities
- expose account identifier utilities
- update most recent candid payloads
- remove principal toJSON workaround
- Hardware wallet compatibility with protobuf
- add support for
GenesisTokenCanister::claim_neurons
- bump dependencies
- Replace
notVotedNeurons
withvotableNeurons
[#77] - Serialize Principal rather than a byte array in JSON.
- Allow neurons with zero stake to pass through the filter.
- New methods splitNeuron, mergeNeurons, addHotkey and removeHotkey in Governance Service.
- Add options
memo
andfee
to ledgertransfer
function for hardware wallet compatibility. - Add
votableNeurons(..)
utility function. - Update dependencies and stop using now deprecated functions.
- variant return types dropped - i.e. functions now return effective result and throw errors in case of issues [#59]
- governance function
getNeurons
tolistNeurons
renamed [#55] - governance functions
getNeurons
andlistNeurons
change signature [#69] - Drop
isCurrentUserController
property fromNeuron
type [#69] - remove some converters that were not use internally [#62]
- 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
- nns-dapp canister types removed
- nightly build job
- add test for protobug files