1.0.0-beta.1 (2018-05-24)
Breaking Changes
- Amounts in drops and XRP are checked for validity. Some
methods may now throw aBigNumber Error
orValidationError
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()
anddropsToXrp()
functions.
- Export
- Potentially breaking change: Improve errors. For example,
RippledError
now includes the full response from
therippled
server (#687).NotConnectedError
may be thrown with a different message than before.