What's Changed
- Fix: Include the last byte in the comparison operator of
Hash[128|256]types. - Fix: Validate the input of non-numeric values for
Amountfield. - Fix: Add validation checks for negative inputs to
read,peekandskipmethods in the binary-codec. - Fix:
Amount.toJSON()no longer mutates the internal buffer for native XRP amounts; subsequent calls and re-serializations now return consistent values (#3319).
Full Changelog: https://github.com/XRPLF/xrpl.js/compare/ripple-binary-codec@2.7.0...ripple-binary-codec@2.8.0