github XRPLF/xrpl.js 1.0.0-beta.1
1.0.0-beta.1 - Improve errors, add xrpToDrops() and dropsToXrp()

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

1.0.0-beta.1 (2018-05-24)

Breaking Changes

  • Amounts in drops and XRP are checked for validity. Some
    methods may now throw a BigNumber Error or ValidationError if the amount
    is invalid. This may include methods that previously did not throw.
    • Note that 1 drop is equivalent to 0.000001 XRP and 1 XRP is equivalent to 1,000,000 drops.
    • Using drops is recommended. All rippled APIs require XRP amounts to be
      expressed in drops.

Other Changes

  • Allow specifying amounts in drops for consistency with the rippled APIs.
    • Export xrpToDrops() and dropsToXrp() functions.
  • Potentially breaking change: Improve errors. For example, RippledError now includes the full response from
    the rippled server (#687). NotConnectedError
    may be thrown with a different message than before.

Don't miss a new xrpl.js release

NewReleases is sending notifications on new releases.