Skip to content

Commit d343ed5

Browse files
authored
Change JSON to JSONbig by elihaidv
2 parents 0d0a4cd + 57d9cf2 commit d343ed5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

node-binance-api.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -906,7 +906,7 @@ let api = function Binance( options = {} ) {
906906
ws.on( 'close', handleFuturesSocketClose.bind( ws, params.reconnect ) );
907907
ws.on( 'message', data => {
908908
try {
909-
callback( JSON.parse( data ) );
909+
callback( JSONbig.parse( data ) );
910910
} catch ( error ) {
911911
Binance.options.log( 'Parse error: ' + error.message );
912912
}

0 commit comments

Comments
 (0)