Skip to content

Merge nested-object-end-marker - #47

Closed
AlexanderBuzz wants to merge 2 commits into
masterfrom
nested-object-end-marker
Closed

Merge nested-object-end-marker#47
AlexanderBuzz wants to merge 2 commits into
masterfrom
nested-object-end-marker

Conversation

@AlexanderBuzz

Copy link
Copy Markdown
Owner

TBD

- Docker and the test instructions move out of "Examples", where they were
  subsections, into a "Development" block at the end
- New section "The objects behind the client" for the classes added in 2.2.0,
  which the README did not mention although the Sugar functions are deprecated
  in their favour
- The five examples that were missing from the list are added

Fixes three defects in the code samples:

- The account_objects sample called getBody() on the return of syncRequest(),
  which is a BaseResponse and has no such method, so it died with a fatal error.
  It also carried an "Account Info" heading over an AccountObjectsRequest.
- The payment sample derived the operational wallet from the standby seed.
- It sent 100 XRP, exactly what the faucet hands out, so following it with a
  faucet wallet yields tecUNFUNDED_PAYMENT because reserve and fee are left
  uncovered.

The payment sample now leads with submitAndWait($tx, autofill: true,
wallet: $wallet), which only started working with the getSignedTx() fix in
2.2.0, and keeps the sign-then-submit form as the alternative the files in
examples/ use. All samples were run against the Testnet.
- Docker and the test instructions move out of "Examples", where they were
  subsections, into a "Development" block at the end
- New section "The objects behind the client" for the classes added in 2.2.0,
  which the README did not mention although the Sugar functions are deprecated
  in their favour
- The five examples that were missing from the list are added

Fixes three defects in the code samples:

- The account_objects sample called getBody() on the return of syncRequest(),
  which is a BaseResponse and has no such method, so it died with a fatal error.
  It also carried an "Account Info" heading over an AccountObjectsRequest.
- The payment sample derived the operational wallet from the standby seed.
- It sent 100 XRP, exactly what the faucet hands out, so following it with a
  faucet wallet yields tecUNFUNDED_PAYMENT because reserve and fee are left
  uncovered.

The payment sample now leads with submitAndWait($tx, autofill: true,
wallet: $wallet), which only started working with the getSignedTx() fix in
2.2.0, and keeps the sign-then-submit form as the alternative the files in
examples/ use. All samples were run against the Testnet.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant