What's Changed
This release improves transaction safety and network identification:
Transactions that modify or delete nodes now require explicit nodeId to prevent unintended actions.
The SDK's X-User-Agent header is now correctly formatted to ensure accurate classification by the Consensus Node.
Enhancements
- Added validation to NodeUpdateTransaction and NodeDeleteTransaction to ensure that nodeId is explicitly set before execution.
This prevents accidental updates to node 0.0.3 due to protobuf's default uint64 = 0 behavior.
#3228
Fixed
- Fixed the formatting of the X-User-Agent header in the JavaScript SDK to ensure proper identification by the Consensus Node. The header now follows the format:
X-User-Agent: hiero-sdk-js/<version>(e.g., hiero-sdk-js/1.2.3), preventing misclassification as unknown/unspecified usage.
#3216
Full Changelog: v2.68.0...v2.69.0