We implemented a workaround a while back which has since been fixed in the ts sdk here is our workaround code which I believe we can replace with getTransactionSummary.
getTransactionSummary