github hiero-ledger/hiero-sdk-js v2.7.0

latest releases: v2.84.0-beta.1, v2.83.0, v2.83.0-beta.3...
4 years ago

Added

  • [Private|Public]Key.toAccountId()
  • TokenUpdateTransaction.[get|set]PauseKey()
  • TokenUpdateTransaction.setSupplyKey()
  • Updated Status with new response codes
  • AccountId.aliasKey, including AccountId.[to|from]String() support.
  • [PublicKey|PrivateKey].toAccountId().
  • aliasKey fields in TransactionRecord and AccountInfo.
  • nonce field in TransactionId, including TransactionId.[set|get]Nonce()
  • children fields in TransactionRecord and TransactionReceipt
  • duplicates field in TransactionReceipt
  • [TransactionReceiptQuery|TransactionRecordQuery].[set|get]IncludeChildren()
  • TransactionReceiptQuery.[set|get]IncludeDuplicates()
  • New response codes.
  • Support for ECDSA SecP256K1 keys.
  • PrivateKey.generate[ED25519|ECDSA]()
  • [Private|Public]Key.from[Bytes|String][DER|ED25519|ECDSA]()
  • [Private|Public]Key.to[Bytes|String][Raw|DER]()

Fixed

  • Requests should retry on INTERNAL consistently
  • Signing data which contains bytes larger than a value of 127
  • [Private|Public]Key.fromBytesEcdsa() checking for the wrong bytes length

Deprecated

  • TokenUpdateTransaction.setsupplyKey() - use setSupplyKey() instead
  • PrivateKey.generate(), use PrivateKey.generate[ED25519|ECDSA]() instead.

Don't miss a new hiero-sdk-js release

NewReleases is sending notifications on new releases.