Releases: hiero-ledger/hiero-sdk-js
Releases · hiero-ledger/hiero-sdk-js
v2.1.0-beta.1
Added
- Support for automatic token associations
TransactionRecord.automaticTokenAssociations
AccountInfo.maxAutomaticTokenAssociations
AccountCreateTransaction.maxAutomaticTokenAssociations
AccountUpdateTransaction.maxAutomaticTokenAssociations
TokenRelationship.automaticAssociation
TokenAssociation
v2.0.30
Added
TokenNftInfo.toString()
- Stringifies the JSON representation of the currentTokenNftInfo
TokenNftInfo.toJson()
- JSON representation of the currentTokenNftInfo
Timestamp.toString()
- displays as<seconds>.<nanos>
. UseTimestamp.toDate()
to print differently
Deprecated
TokenNftInfoQuery.[set|get]AccountId()
with no replacementTokenNftInfoQuery.[set|get]TokenId()
with no replacementTokenNftInfoQuery.[set|get]Start()
with no replacementTokenNftInfoQuery.[set|get]End()
with no replacementTokenMintTransaction.[add|set]Metadata()
support for string metadata
v1.4.11
Added
- Support for
CustomRoyaltyFee
AssessedCustomFee.payerAccountIds
CustomFractionalFee.assessmentMethod
v2.0.29
Added
- Support for
CustomRoyaltyFees
- Updated
Status
with new response codes - Implemented
Client.[set|get]NetworkName()
v2.0.28
Added
Client.pingAll()
- pings all network nodesClient.[set|get]NodeWaitTime()
- minimum delay for nodes that are nto respondingClient.[set|get]MaxAttempts()
- max number of attempts for each requestClient.[set|get]MaxNodesPerTransaction()
- number of node account IDs to use per requestCustomFixedFee.[set|get]HbarAmount()
- helper method to set bothdenominatingTokenId
andamount
when fee is anHbar
amountCustomFixedFee.setDenominatingTokenToSameToken()
- helper method to setdenominatingTokenId
to0.0.0
which is not obvious
Changed
Client.ping()
will no longer throw an error
Deprecated
*[Transaction|Query].[set|get]MaxRetries()
- Use*[Transaction|Query].[set|get]MaxAttempts()
instead
Fixed
PrivateKey.signTransaction()
andPublicKey.verifyTransaction()
should correctly freeze an unfrozen transaction
v2.0.27
Added
- Updated
Status
with new response codes - Support for
Hbar.[from|to]String()
to be reversible Client.setAutoValidateChecksums()
set whether checksums on ids will be automatically validated upon attempting to execute a transaction or query. Disabled by default. Check status withClient.isAutoValidateChecksumsEnabled()
*Id.toString()
no longer stringifies with checksums. Use*Id.getChecksum()
to get the checksum that was parsed, or use*Id.toStringWithChecksum(client)
to stringify with the correct checksum for that ID on the client's network.*Id.validateChecksum()
to validate a checksum. Throws newBadEntityIdException
Fixed
- Free queries should not longer attempt to sign payment transactions
- All enitty IDs within response should no longer contain a checskum.
Use*Id.toStringWithChecksum(Client)
to stringify with a checksum ReceiptStatusError
should contain a properly filled outTransactionReceipt
v2.0.26
Changed
- Updated
Status
andFeeDataType
with new codes
v2.0.25
Added
TokenCreateTransaction.[get|set]FeeScheduleKey()
- Support for parsing file 0.0.111 using
FeeSchedules
Fixed
TokenMintTransaction.[to|from]Bytes()
incorrectly parsing the transaction body
Removed
TokenCreateTransaction.addCustomFee()
- useTokenCreateTransaction.setCustomFees()
instead
v1.4.10
Added
- Setter methods for custom fees
TokenCreateTransaction.setFeeScheduleKey()
Removed
readonly
property of fields onCustom*Fee
v2.0.25-beta.1
Added
- Support for NFTS
- Creating NFT tokens
- Minting NFTs
- Burning NFTs
- Transfering NFTs
- Wiping NFTs
- Query NFT information
- Support for Custom Fees on tokens:
- Setting custom fees on a token
- Updating custom fees on an existing token
Fixed
- Loading keystore should no longer error when
CipherAlgorithm
doesn't match case