github XRPLF/xrpl.js xrpl@2.13.0

latest releases: ripple-binary-codec@4.0.1-mpt-beta, xrpl@4.0.1-mpt-beta, ripple-binary-codec@4.0.0-mpt-beta...
12 months ago

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/ripple-address-codec@4.3.1...xrpl@2.13.0

Don't miss a new xrpl.js release

NewReleases is sending notifications on new releases.