node_modules/binance/lib/websocket-client.js
/**
     * Subscribe to spot user data stream - listen key is automatically generated.
     */
Subscribe to spot user data stream - listen key is automatically generated.
Subscribe to spot user data stream - listen key is automatically generated .
subscribeSpotUserDataStream(forceNewConnection, isReconnecting) {
        return __awaiter(this, void 0, void 0, function* () {
            try {
                const { listenKey } = yield this.getSpotRestClient().getSpotUserDataListenKey();
                return this.subscribeSpotUserDataStreamWithListenKey(listenKey, forceNewConnection, isReconnecting);
            }
            catch (e) {
                this.logger.error(`Failed to get spot user data listen key`, Object.assign(Object.assign({}, loggerCategory), { error: e }));
                throw e;
            }
        });
    }
subscribeSpotUserDataStream ( forceNewConnection , isReconnecting ) { return __awaiter ( this , void 0 , void 0 , function * ( ) { try { const { listenKey } = yield this . getSpotRestClient ( ) . getSpotUserDataListenKey ( ) ; return this . subscribeSpotUserDataStreamWithListenKey ( listenKey , forceNewConnection , isReconnecting ) ; } catch ( e ) { this . logger . error ( ` ` , Object . assign ( Object . assign ( { } , loggerCategory ) , { error : e } ) ) ; throw e ; } } ) ; }
Subscribe to spot user data stream - listen key is automatically generated.
Subscribe to spot user data stream - listen key is automatically generated .