Releases: XRPLF/xrpl.js
Releases · XRPLF/xrpl.js
0.10.0-rc2
- Transaction changes
- Important
tef*
andtel*
and errors will no longer be presented as
final. Rather than considering these errors final, ripple-lib will wait until
theLastLedgerSequence
specified in the transaction is exceeded. This makes
failures more definitive, and ensures that no transaction will resubmit
indefinitely. - A new, final tej-class error is introduced to account for transactions that
are locally determined to have expired:tejMaxLedger
. - Allow per transaction fees to be set,
transaction.setFixedFee()
- Improve memo support
- Add
MemoFormat
property for memo - Enforce
MemoFormat
andMemoType
to be valid ASCII - Support
text
andjson
MemoFormat
- Add
- Update jscl library
- Improved entropy by taking advantage of platform crypto
- Use jscl's k256 curve instead of altering the c256 curve with k256 configuration
- deprecated: the c256 curve is linked to the k256 curve to provide backwards compatibility, this link will be removed in the future
0.10.0-rc1
- Transaction changes
- Important
tef*
andtel*
and errors will no longer be presented as
final. Rather than considering these errors final, ripple-lib will wait until
theLastLedgerSequence
specified in the transaction is exceeded. This makes
failures more definitive, and ensures that no transaction will resubmit
indefinitely. - A new, final tej-class error is introduced to account for transactions that
are locally determined to have expired:tejMaxLedger
. - Allow per transaction fees to be set,
transaction.setFixedFee()
- Improve memo support
- Add
MemoFormat
property for memo - Enforce
MemoFormat
andMemoType
to be valid ASCII - Support
text
andjson
MemoFormat
- Add
- Update jscl library
- Improved entropy by taking advantage of platform crypto
- Use jscl's k256 curve instead of altering the c256 curve with k256 configuration
- deprecated: the c256 curve is linked to the k256 curve to provide backwards compatibility, this link will be removed in the future
0.9.4
0.9.4-rc2
0.9.4-rc1
0.9.3
- Change
presubmit
to emit immediately before transaction submit - Add a "core" browser build of ripple-lib which has a subset of features and smaller file size
- Update binformat with missing fields from rippled
- Wait for transaction validation before returning
tec
error - Change default
max_fee
onRemote
to1 XRP
- Fix: Request ledger_accept should return the Remote
0.9.3-rc3
- Change
presubmit
to emit immediately before transaction submit - Add a "core" browser build of ripple-lib which has a subset of features and smaller file size
- Update binformat with missing fields from rippled
- Wait for transaction validation before returning
tec
error - Change default
max_fee
onRemote
to1 XRP
- Fix: Request ledger_accept should return the Remote
0.9.3-rc2
- Change
presubmit
to emit immediately before transaction submit (7a1feaa) - Add a "core" browser build of ripple-lib which has a subset of features and smaller file size (#205)
- Update binformat with missing fields from rippled (cae9807)
- Wait for transaction validation before returning
tec
error (6bdd4b2)
0.9.2
- Breaking change: Change accountRequest method signature (6f5d110)
- Add paging behavior for account requests,
account_lines
andaccount_offers
(722f4e1) - Add max_fee setter to transactions to set max fee the submitter is willing to pay(24587fa)
- Fix: cap IOU Amounts to their max and min value (f05941f)
Example on how to use paging with account_offers
:
// A valid `ledger_index` or `ledger_hash` is required to provide a reliable result.
// Results can change between ledger closes, so the provided ledger will be used as base.
var options = {
account: < rippleAccount >,
limit: < Number between 10 and 400 >,
ledger: < valid ledger_index or ledger_hash >
}
// The `marker` comes back in an account request if there are more results than are returned
// in the current response. The amount of results per response are determined by the `limit`.
if (marker) {
options.marker = < marker >;
}
var request = remote.requestAccountOffers(options);
0.9.2-rc6
- Breaking change: Change accountRequest method signature 6f5d110
- Add paging behavior for account requests,
account_lines
andaccount_offers
722f4e1 - Add max_fee setter to transactions to set max fee the submitter is willing to pay 24587fa
- Fix: cap IOU Amounts to their max and min value f05941f
Example on how to use paging with account_offers
:
// A valid `ledger_index` or `ledger_hash` is required to provide a reliable result.
// Results can change between ledger closes, so the provided ledger will be used as base.
var options = {
account: < rippleAccount >,
limit: < Number between 10 and 400 >,
ledger: < valid ledger_index or ledger_hash >
}
// The `marker` comes back in an account request if there are more results than are returned
// in the current response. The amount of results per response are determined by the `limit`.
if (marker) {
options.marker = < marker >;
}
var request = remote.requestAccountOffers(options);