Socket
Socket
Sign inDemoInstall

ccxt-private-ws

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ccxt-private-ws - npm Package Compare versions

Comparing version 0.2.1 to 0.2.2

3

dist/exchanges/binance.js

@@ -200,3 +200,2 @@ "use strict";

case 0:
console.log('keep');
ccxtInstance = new ccxt_1.default['binance'](__assign({}, this.getCredentials()));

@@ -222,3 +221,3 @@ return [4 /*yield*/, ccxtInstance.publicPutUserDataStream({ listenKey: this._listenKey })];

if (!this._keepAliveInterval) {
this._keepAliveInterval = setInterval(this._keepAlive, 5000);
this._keepAliveInterval = setInterval(this._keepAlive, 1000 * 60 * 30);
}

@@ -225,0 +224,0 @@ this._listenKey = data.listenKey;

{
"name": "ccxt-private-ws",
"version": "0.2.1",
"version": "0.2.2",
"description": "CCXT compatible private websocket client",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

@@ -179,3 +179,2 @@ import {

private _keepAlive = async () => {
console.log('keep')
const ccxtInstance = new ccxt['binance']({ ...this.getCredentials() });

@@ -191,3 +190,3 @@ await ccxtInstance.publicPutUserDataStream({ listenKey: this._listenKey});

if (!this._keepAliveInterval) {
this._keepAliveInterval= setInterval(this._keepAlive, 5000);
this._keepAliveInterval= setInterval(this._keepAlive, 1000 * 60 * 30);
}

@@ -194,0 +193,0 @@

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc