xrpl.js icon indicating copy to clipboard operation
xrpl.js copied to clipboard

TransactionStream type is wrong when using API version 2

Open justmoon opened this issue 1 year ago • 0 comments

In src/models/methods/subscribe.ts, line 289 the TransactionStream type declares a field called transaction which contains the main transaction data.

However, in reality, when using API version 2, this field appears to be called tx_json now.

It appears that similar changes were in fact taken into account in other places, such as here in accountTx.ts but overlooked in this instance.

justmoon avatar Sep 01 '24 19:09 justmoon