github XRPLF/xrpl.js 1.0.0
1.0.0 (2018-09-10)

latest releases: ripple-binary-codec@1.0.1-mpt-beta, xrpl@1.0.1-mpt-beta, xrpl@1.0.0-mpt-beta...
5 years ago

We are pleased to announce the release of ripple-lib version 1.0.0.

This version features a range of changes and improvements that make the library
more capable and flexible. It includes new methods for accessing rippled APIs,
including subscriptions.

When using this version with rippled for online functionality, we recommend
using rippled version 1.0.1 or later.

Here is a summary of the changes since ripple-lib version 0.22.0, which was
the last non-beta version.

New Features

Data Validation and Errors

Breaking Changes

The following changes were introduced in 1.0.0.

  • getTransaction() and getTransactions()
    • The specification.destination.amount field has been removed from the parsed transaction response.
    • To determine the amount that a transaction delivered, use outcome.deliveredAmount.
    • If you require the provisional requested Amount from the original transaction:
      • Use getTransaction's includeRawTransaction option, or
      • Use getTransactions's includeRawTransactions option, or
      • Use the rippled APIs directly with request. For example, call the API methods tx, account_tx, etc.
  • getLedger() response object
    • The rawTransactions field has been removed (for consistency with getTransaction() and getTransactions()).
    • Instead, within each transaction, use the new rawTransaction JSON string.
    • The metaData field has been renamed to meta for consistency with rippled's tx method.
    • ledger_index has been added to each raw transaction.

Don't miss a new xrpl.js release

NewReleases is sending notifications on new releases.