xrpl.js 2.13.0 released

11 views
Skip to first unread message

xrpl-announce

unread,
Oct 18, 2023, 12:26:19 PM10/18/23
to xrpl-announce
A new version of xrpl.js is now available on GitHub and npm.

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
Full changes can be seen here: https://github.com/XRPLF/xrpl.js/releases/tag/xrpl%402.13.0

If you have any questions or comments, please open an issue on GitHub here or ask for help in the Developer Discord.

On behalf of the xrpl.js developers and contributors, thanks for using xrpl.js!
Reply all
Reply to author
Forward
0 new messages