Skip to content

Releases: XRPLF/xrpl.js

0.9.2-rc6

11 Nov 19:54
Compare
Choose a tag to compare
0.9.2-rc6 Pre-release
Pre-release
  • Breaking change: Change accountRequest method signature 6f5d110
  • Add paging behavior for account requests, account_lines and account_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);

Full working example

0.9.2-rc5

08 Nov 02:24
Compare
Choose a tag to compare
0.9.2-rc5 Pre-release
Pre-release

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);

Full working example

0.9.2-rc4

08 Nov 01:47
Compare
Choose a tag to compare
0.9.2-rc4 Pre-release
Pre-release

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);

Full working example

0.9.2-rc3

0.9.2-rc2

07 Nov 06:48
Compare
Choose a tag to compare

0.9.2-rc1

07 Nov 06:49
Compare
Choose a tag to compare

0.9.1

30 Oct 17:03
Compare
Choose a tag to compare
  • Switch account requests to use ledgerSelect rather than ledgerChoose (278df90)
  • Deprecated setting ident and account_index on account requests (278df90)
  • Change initial account transaction sequence to 1 (a3c1d06)
  • Fix: instance transaction withoute remote (d3b6b81)
  • Fix: account root request ledger argument (bc1f9f8)
  • Fix: rsign.js local signing and example (d3b6b81 and f1004c6)

0.9.1-rc3

29 Oct 00:36
Compare
Choose a tag to compare
0.9.1-rc3 Pre-release
Pre-release
  • Switch account requests to use ledgerSelect rather than ledgerChoose (278df90)
  • Deprecated setting ident and account_index on account requests (278df90)
  • Change initial account transaction sequence to 1 (a3c1d06)
  • Fix: instance transaction withoute remote (d3b6b81)
  • Fix: account root request ledger argument (bc1f9f8)
  • Fix: rsign.js local signing and example (d3b6b81 and f1004c6)

0.9.1-rc2

28 Oct 00:38
Compare
Choose a tag to compare
0.9.1-rc2 Pre-release
Pre-release
  • Switch account requests to use ledgerSelect rather than ledgerChoose (278df90)
  • Deprecated setting ident and account_index on account requests (278df90)
  • Change initial account transaction sequence to 1 (a3c1d06)
  • Fix: instance transaction withoute remote (d3b6b81)
  • Fix: account root request ledger argument (bc1f9f8)
  • Fix: rsign.js local signing and example (d3b6b81 and f1004c6)

0.9.1-rc1

27 Oct 23:42
Compare
Choose a tag to compare
0.9.1-rc1 Pre-release
Pre-release
  • Switch account requests to use ledgerSelect rather than ledgerChoose (278df90)
  • Deprecated setting ident and account_index on account requests (278df90)
  • Fix: instance transaction withoute remote (d3b6b81)
  • Fix: account root request ledger argument (bc1f9f8)
  • Fix: rsign.js local signing and example (d3b6b81 and f1004c6)