Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

aggregator-cexio

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

aggregator-cexio - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

9

lib/websocket.js

@@ -125,2 +125,3 @@ const WebSocket = require('ws')

} else {
if (message.e === 'pong') return
this.options.log('Ignoring ws message because of unknown message format', message)

@@ -200,2 +201,10 @@ }

async ping () {
if (!this.socket || this.socket.readyState !== WebSocket.OPEN) {
throw new Error('Not connected')
}
this.socket.send('{"e": "ping"}')
}
async callPrivate (method, params) {

@@ -202,0 +211,0 @@ if (!this.socket || this.socket.readyState !== WebSocket.OPEN) {

2

package.json
{
"name": "aggregator-cexio",
"version": "0.1.0",
"version": "0.1.1",
"description": "nodejs client for aggregator.cex.io",

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

@@ -129,3 +129,3 @@ # CEX.IO Aggregator

### Subscribe to updates
The WebsocketClient allows you to receive updates. At the now available two types of updates `account_update` and `executionReport`. You can get more detail about them in [documentation](https://docs-aggregator.cex.io/#websocket-account-events).
The WebsocketClient allows you to receive updates. At the now available two types of updates `account_update` and `executionReport`. You can get more details about them in [documentation](https://docs-aggregator.cex.io/#websocket-account-events).

@@ -132,0 +132,0 @@ ```js

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