File tree Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -42,13 +42,15 @@ export class TransactionService implements ITransactionService {
4242
4343 private readonly transactionHttp : TransactionHttp ;
4444 private readonly receiptHttp : ReceiptHttp ;
45+ private readonly listener : Listener ;
4546 /**
4647 * Constructor
4748 * @param url Base catapult-rest url
4849 */
4950 constructor ( url : string ) {
5051 this . transactionHttp = new TransactionHttp ( url ) ;
5152 this . receiptHttp = new ReceiptHttp ( url ) ;
53+ this . listener = new Listener ( url ) ;
5254 }
5355
5456 /**
Original file line number Diff line number Diff line change @@ -33,13 +33,15 @@ export interface ITransactionService {
3333
3434 /**
3535 * @param signedTransaction Signed transaction to be announced.
36+ * @param listener Websocket listener
3637 * @returns {Observable<Transaction> }
3738 */
3839 announce ( signedTransaction : SignedTransaction , listener : Listener ) : Observable < Transaction > ;
3940
4041 /**
4142 * Announce aggregate transaction
4243 * @param signedTransaction Signed aggregate bonded transaction.
44+ * @param listener Websocket listener
4345 * @returns {Observable<AggregateTransaction> }
4446 */
4547 announceAggregateBonded ( signedTransaction : SignedTransaction , listener : Listener ) : Observable < AggregateTransaction > ;
@@ -48,6 +50,7 @@ export interface ITransactionService {
4850 * Announce aggregate bonded transaction with lock fund
4951 * @param signedHashLockTransaction Signed hash lock transaction.
5052 * @param signedAggregateTransaction Signed aggregate bonded transaction.
53+ * @param listener Websocket listener
5154 * @returns {Observable<AggregateTransaction> }
5255 */
5356 announceHashLockAggregateBonded ( signedHashLockTransaction : SignedTransaction ,
You can’t perform that action at this time.
0 commit comments