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

latest releases: v2.84.0-beta.1, v2.83.0, v2.83.0-beta.3...
one month ago

What's Changed

This release adds string support for pending airdrop transactions, migrates to ethers v6 to eliminate known security vulnerabilities, updates key dependencies, and fixes a bug in node update transactions.

Enhancements

  • String support for PendingAirdropId: The PendingAirdropId constructor and setter methods (setSenderId, setReceiverId, setTokenId, setNftId) now accept string inputs in addition to object instances. Strings are converted internally using fromString(). #3844

    Usage Example:

    const airdropId = new PendingAirdropId({
        senderId: "0.0.1234",
        receiverId: "0.0.5678",
        tokenId: "0.0.9012",
    });
    
    // Or using setters
    airdropId.setSenderId("0.0.1234");
    airdropId.setReceiverId("0.0.5678");
  • Migration to ethers v6: Ethers v5 contained transitive dependencies (e.g. elliptic) with known security vulnerabilities that would not be fixed upstream. Migrating to ethers v6 resolves these entirely. #3870

Bug Fixes

  • NodeUpdateTransaction description clearing: Fixed a bug where executing a NodeUpdateTransaction without explicitly setting the description field would inadvertently clear the node's existing description. #3889

Dependency Changes

  • Upgraded bignumber.js from 9.1.1 to 10.0.2. #3807
  • Migrated ethers from v5 to v6. #3870
  • Upgraded typescript from 5.7.2 to 5.9.3 (dev dependency). #3871
  • Upgraded @types/node from 24.0.8 to 25.5.0 (dev dependency). #3871

New Contributors

Full Changelog: v2.81.0...v2.82.0

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

NewReleases is sending notifications on new releases.