New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

xapi-node

Package Overview
Dependencies
Maintainers
1
Versions
173
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

xapi-node - npm Package Compare versions

Comparing version 2.7.1 to 2.7.2

2

build/v2/core/Socket/SocketConnections.js

@@ -64,3 +64,3 @@ "use strict";

const socketId = `${new Date().getTime()}${this.socketIdIncrement.id}`;
this.connections[socketId] = new SocketConnection_1.SocketConnection(this.url, this.callListener, socketId);
this.connections[socketId] = new SocketConnection_1.SocketConnection(this.url, (listenerId, params) => this.callListener(listenerId, params), socketId);
return this.connections[socketId].connect(timeoutMs)

@@ -67,0 +67,0 @@ .then(() => socketId);

@@ -46,3 +46,3 @@ "use strict";

const streamId = `${new Date().getTime()}${this.streamIdIncrement.id}`;
this.connections[streamId] = new StreamConnection_1.StreamConnection(this.url, session, this.callListener, streamId, socketId);
this.connections[streamId] = new StreamConnection_1.StreamConnection(this.url, session, (listenerId, params) => this.callListener(listenerId, params), streamId, socketId);
yield this.connections[streamId].connect(timeoutMs);

@@ -49,0 +49,0 @@ return streamId;

{
"name": "xapi-node",
"version": "2.7.1",
"version": "2.7.2",
"description": "This project makes it possible to get data from Forex market, execute market or limit order with NodeJS/JS through WebSocket connection",
"exports": {
".": {
"require": "./build/index.cjs",
"import": "./build/index.mjs"
"require": "./build/index.js",
"import": "./build/index.js"
}

@@ -10,0 +10,0 @@ },

Sorry, the diff of this file is not supported yet

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