Changes
Fixed
Amountnow throws for MPT values above2^63 - 1instead of encoding a truncated value (#3368).UInt64.fromnow throws when given abigintthat is negative, or abigintornumberthat does not fit in 64 bits, instead of truncating it.encodeForSigningClaimnow throws ifamountis not a non-negative integer (in drops) that fits in 64 bits.encode()anddecode()now support MPT path hops (mpt_issuance_id, path-hop type0x40), with or without anissuer. When encoding, theissuermust match the issuer in thempt_issuance_id.decode()now throws an error on a path-hop type byte with an unrecognized bit set, where it previously decoded it incorrectly.
Changed
- Update
bignumber.jsto^11.1.4(was^10.0.2).
Pull Requests
- fix: Validate UInt64 and claim amounts, support MPT path hops by @kuan121 in #3633
- fix(ripple-binary-codec): Reject MPT amounts above 2^63 - 1 instead of encoding truncated values by @hmalinski in #3554
- chore(deps): Q4 package upgrades by @pdp2121 in #3590
- xrpl.js package upgrade for 2026 Q3 by @kuan121 in #3461
Full Changelog: https://github.com/XRPLF/xrpl.js/compare/ripple-binary-codec@2.11.0...ripple-binary-codec@2.11.1