Releases: hiero-ledger/hiero-sdk-js
Releases · hiero-ledger/hiero-sdk-js
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
v1.4.10-beta.1
Added
- Support for NFTS
- Createing NFT tokens
- Minting NFTs
- Burning NFTs
- Transfering NFTs
- Wiping NFTs
- Support for Custom Fees on tokens:
- Setting custom fees on a token
- Updating custom fees on an existing token
v2.0.24
Added
Hbar.fromTinybar()
supportsBigNumber
Hbar.toString()
supportsHbarUnit
- Implemented to and from bytes for
TopicInfo
andTokenInfo
- Support for
sign-on-demand
- This is disabled by default to you'll need to enable it using
Client.setSignOnDemand(true)
- If
sign-on-demand
is enabled you'll need to useasync
versions of these methods:*Transaction.toBytes()
->*Transaction.toBytesAsync()
*Transaction.getSignatures()
->*Transaction.getSignaturesAsync()
*Transaction.getTransactionHash()
->*Transaction.getTransactionHashAsync()
- This is disabled by default to you'll need to enable it using
Changes
- All requests now retry on gRPC status
INTERNAL
if error returned containsRST_STREAM
v2.0.23
Added
- Added support for TLS on mirror node connections
- Implemented
*Id.clone()
(this is used internally to fix some issues that only surface in React Native) - Implement
Timestamp.plusNanos()
- Added support for entity ID checksums. The network will be extracted from the checksum of the
entity ID and validated on each request to make sure a request is not happening on one network
while an entity ID references another network. Entity IDs with a network will print with a checksum
while entity IDs without a checksum will not print the checksum part.
Fixed
TopicMessageQuery.starTime
not updating start time by one nanosecond causing a message to appear twice
if the connection resetTopicMessageQuery
should log retriesTransactionReceipt
error handling; this should now throw an error contain the receipt
v2.0.22
Fixed
TopicMessageQuery.maxBackoff
was not being used at allTopicMessageQuery.limit
was being incorrectly update with fullTopicMessages
rather than per chunkTopicMessageQuery.startTime
was not being updated each time a message was receivedTopicMessageQuery.completionHandler
was be called at incorrect times
v2.0.21
Added
- Exposed
AccountBalance.tokenDecimals
- Support for
string
parameters inHbar.fromTinybars()
Hbar.toBigNumber()
which is a simple wrapper aroundHbar.to(HbarUnit.Hbar)
AccountBalance.toJSON()
- Support for
maxBackoff
,maxAttempts
,retryHandler
, andcompletionHandler
inTopicMessageQuery
- Default logging behavior to
TopicMessageQuery
if an error handler or completion handler was not set
Fixed
TopicMessageQuery
retry handling; this should retry on more gRPC errorsTopicMessageQuery
max retry timeout; before this would could wait up to 4m with no feedback- Missing
@readonly
tag onTokenInfo.tokenMemo
Keystore
failing to recognize keystores generated by v1 SDKs- Errors caused by the use
?.
and??
within a node 12 context TopicMessageQuery
v.1.4.9
Deprecated
Client
has been deprecated instructing users to upgrade to version 2 of the SDK and how to easily do so
v1.4.8
Added
- Scheduled transaction support:
ScheduleCreateTransaction
,ScheduleDeleteTransaction
, andScheduleSignTransaction
Fixed
- Decreased
CHUNK_SIZE
4096->1024 and increased default max chunks 10->20
Fixed
-
Ed25519PrivateKey.fromMnemonic
regressed in v1.1.8 and was not working in the browser. -
Use detached signatures when signing the transaction. This should allow for much larger transactions to be submitted.
v2.0.19
v2.0.19
Added
- Scheduled transaction support:
ScheduleCreateTransaction
,ScheduleDeleteTransaction
, andScheduleSignTransaction
- React Native support
- Support for raw
proto.Transaction
bytes inTransaction.fromBytes()
- This means v1 SDK's
Transaction.toBytes()
will now be supported in v2Transaction.fromBytes()
However,Transaction.toBytes()
andTransaction.getTransactionHas()
in v2 will produce different
results in the v1 SDK's.
- This means v1 SDK's
Fixed
- addSignature() Behavior Differs Between Implementations [NCC-E001154-005]
- Decreased
CHUNK_SIZE
4096->1024 and increased default max chunks 10->20 - Export
StatusError
,PrecheckStatusError
,ReceiptStatusError
, andBadKeyError
KeyList.toString()
AccountBalance.toString()
Deprecated
new TransactionId(AccountId, Instant)
- UseTransactionId.withValidStart()
instead.