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

latest releases: v2.84.0-beta.1, v2.83.0, v2.83.0-beta.3...
15 months ago

What's changed

This release enhances account alias handling in the SDK and introduces new testing and documentation improvements for contract queries and transaction verification. It also includes development dependency upgrades to maintain compatibility and security.

Enhancements

  • Improved Account Alias Handling: Added support for hollow account detection (num=0 with alias) in AccountId. This ensures more accurate handling of aliases and improves protobuf conversion logic.

  • Protobuf Conversion Updates: Enhanced AccountId behavior with more explicit conversion rules for:

    • Both AccountId number and alias set
    • Only alias set
    • Only number set
      Comprehensive test coverage has been included.
      Contributed by @ivaylonikolov7 in #2994

Documentation

  • Mirror Node Contract Queries: Added usage documentation to help developers correctly configure sender addresses using ECDSA keys and aliases in contract queries.
    Contributed by @ivaylonikolov7 in #2993

Tests

  • PublicKey Verification: Added unit tests for PublicKey.verifyTransaction, ensuring correct behavior in signature verification.
    Contributed by @0xivanov in #2971

Dependency Upgrades

  • Development Dependencies:
    • Upgraded chromedriver from 133.0.3 to 134.0.5 (including in the cryptography package)
    • Upgraded sinon from 19.0.2 to 20.0.0
    • Upgraded vite from 6.1.0 to 6.1.3 (including in the cryptography package)
    • Upgraded axios from 1.7.7 to 1.8.2 in `/examples/simple_rest_signature_p

Full Changelog: v2.61.0...v2.62.0

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

NewReleases is sending notifications on new releases.