Skip to content
Compare
Choose a tag to compare
@ckniffen ckniffen released this 18 Oct 16:20
· 182 commits to main since this release
29c5a70

What's Changed

Fixed

  • Allow flag maps when submitting NFTokenMint and NFTokenCreateOffer transactions like others with flags
  • Add pseudo transaction types to tx and ledger method responses.
  • Add missing type param to ledger_data and ledger requests
  • Type assertions around PreviousTxnID and PreviousTxnLgrSeq missing on some ledger objects
  • Transaction fields that represent an address no longer allow an empty string (''). If you want to specify ACCOUNT_ZERO, you can specify rrrrrrrrrrrrrrrrrrrrrhoLvTp. ⚠️ WARNING: rrrrrrrrrrrrrrrrrrrrrhoLvTp is a black hole address, with no corresponding private key. Accounts/funds controlled by this address are not accessible.
  • Invalid addresses on a transaction now throws a ValidationError when submitting a transaction instead of Error('checksum_invalid')

Changed

  • Make LedgerEntryResponse a generic so it can be used like LedgerEntryResponse<Escrow>
  • Clean up typing of type param and the response property account_objects of the account_objects request.
  • Error messages for fields that equate to an address, DestinationTag, or NFTokenID. They will still be of type ValidationError.
  • Add alias type of Account to improve intellisense for Transaction fields that equate to an address.
  • Removed sidechain-devnet faucet support as it is being moved to Devnet

Commits

Full Changelog: https://github.com/XRPLF/xrpl.js/compare/[email protected]@2.13.0