You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Current ApiSessionexecute method is using a getReceipt boolean flag which we would like to remove.
We think this flag is extra considering the returnType which can be: TypeOfExecutionReturn.Record, TypeOfExecutionReturn.Receipt or TypeOfExecutionReturn.Result.
If we do get a receipt, considering the returnType, we want to emit it if there are any listeners subscribed for TRANSACTION_ON_RECEIPT_EVENT_NAME event.
Considering the fact that there are multiple types of transactions which are done, we want to give user the ability to filter out some of this transactions if needed.
It would be great to have use a wrapper for the EventEmitter so we can filter some of these transactions out, based on transaction type and maybe also by the status on the receipt.
The text was updated successfully, but these errors were encountered:
Current
ApiSession
execute
method is using agetReceipt
boolean flag which we would like to remove.We think this flag is extra considering the
returnType
which can be:TypeOfExecutionReturn.Record
,TypeOfExecutionReturn.Receipt
orTypeOfExecutionReturn.Result
.If we do get a receipt, considering the
returnType
, we want to emit it if there are any listeners subscribed forTRANSACTION_ON_RECEIPT_EVENT_NAME
event.Considering the fact that there are multiple types of transactions which are done, we want to give user the ability to filter out some of this transactions if needed.
It would be great to have use a wrapper for the
EventEmitter
so we can filter some of these transactions out, based on transaction type and maybe also by thestatus
on the receipt.The text was updated successfully, but these errors were encountered: