Socket
Socket
Sign inDemoInstall

cryptomarket

Package Overview
Dependencies
93
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.1 to 1.0.2

12

lib/Socket.js

@@ -345,3 +345,5 @@ /* eslint-disable no-param-reassign */

const cleanResult = _.mapValues(result, (obj) => {
const cloneResult = this._deepClone(result);
const cleanResult = _.mapValues(cloneResult, (obj) => {
if (_.has(obj, '1')) {

@@ -360,3 +362,3 @@ obj.buy = obj['1'];

this.eventBus.emit('candles', null, this._deepClone(cleanResult));
this.eventBus.emit('candles', null, cleanResult);
});

@@ -388,3 +390,5 @@

const cleanResult = _.mapValues(result, (obj) => {
const cloneResult = this._deepClone(result);
const cleanResult = _.mapValues(cloneResult, (obj) => {
if (_.has(obj, '1')) {

@@ -403,3 +407,3 @@ obj.buy = obj['1'];

this.eventBus.emit('candles', null, this._deepClone(cleanResult));
this.eventBus.emit('candles', null, cleanResult);
} else {

@@ -406,0 +410,0 @@ this.socketClient.emit('candles', {

{
"name": "cryptomarket",
"version": "1.0.1",
"version": "1.0.2",
"description": "The CryptoMarket for Node.js",

@@ -5,0 +5,0 @@ "homepage": "https://www.cryptomkt.com",

@@ -28,5 +28,3 @@ # cryptomkt-node

**Using the functions**
Client functions returns Promises(ECMAScript 2015), these functions can be called by three different ways: Then method, Await operator or a Callback function.
***Example***
```javascript

@@ -82,3 +80,2 @@ async function example(){

**Listing available markets**
```javascript

@@ -85,0 +82,0 @@ var { Client } = require('cryptomarket');

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with āš”ļø by Socket Inc