File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -5544,7 +5544,7 @@ export default class Binance {
55445544 this . Options . balance_callback = balance_callback ;
55455545 this . Options . execution_callback = execution_callback ? execution_callback : balance_callback ; //This change is required to listen for Orders
55465546 this . Options . list_status_callback = list_status_callback ;
5547- const subscription = this . subscribe ( this . Options . listenKey , this . userDataHandler . bind ( this ) , reconnect ) ;
5547+ const subscription = this . subscribe ( this . Options . listenKey , this . userDataHandler . bind ( this ) , reconnect ) as any ;
55485548 if ( subscribed_callback ) subscribed_callback ( subscription . endpoint ) ;
55495549 } ) ;
55505550 }
@@ -5580,7 +5580,7 @@ export default class Binance {
55805580 this . Options . margin_balance_callback = balance_callback ;
55815581 this . Options . margin_execution_callback = execution_callback ;
55825582 this . Options . margin_list_status_callback = list_status_callback ;
5583- const subscription = this . subscribe ( this . Options . listenMarginKey , this . userMarginDataHandler . bind ( this ) , reconnect ) ;
5583+ const subscription = this . subscribe ( this . Options . listenMarginKey , this . userMarginDataHandler . bind ( this ) , reconnect ) as any ;
55845584 if ( subscribed_callback ) subscribed_callback ( subscription . endpoint ) ;
55855585 } ) ;
55865586 }
You can’t perform that action at this time.
0 commit comments