The send method has been deprecated on the XrpClient. This PR updates the demos to use the new sendXrp method, which returns an informative TransactionResult instead of just a hash, and has a more specific name.
I also updated the helper method that converts a TransactionStatus to a string since we have since added cases to that enum.
Context of Change
Type of Change
[x] Refactor (non-breaking change that only restructures code)
High Level Overview of Change
The
send
method has been deprecated on theXrpClient
. This PR updates the demos to use the newsendXrp
method, which returns an informativeTransactionResult
instead of just a hash, and has a more specific name.I also updated the helper method that converts a
TransactionStatus
to a string since we have since added cases to that enum.Context of Change
Type of Change
Before / After
Demos up to date.
Test Plan
Ran demo locally, CI passes.