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

candles

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

candles - npm Package Compare versions

Comparing version 2.1.1 to 2.1.2

4

CHANGELOG.md

@@ -7,2 +7,6 @@ # Changelog

## [2.1.2] - 2023-01-11
### Fixed
- fix for very specific event subscriptions.
## [2.1.1] - 2023-01-18

@@ -9,0 +13,0 @@ ### Fixed

2

package.json
{
"name": "candles",
"version": "2.1.1",
"version": "2.1.2",
"description": "Generate candlesticks from your tick data in realtime.",

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

@@ -88,4 +88,4 @@ const Clock = require('./Clock');

this.series[product].timeframe[timeframe].currentCandle.updatePrice(Number.parseFloat(price), Number.parseFloat(size).toFixed(8));
this.emit('current ' + this.series[product].product + ' ' + this.series[product].timeframe[timeframe].timeframe, this.series[product].timeframe[timeframe].currentCandle);
this.emit('current ' + this.series[product].product, this.series[product].timeframe[timeframe].currentCandle);
this.emit('current ' + this.series[product].timeframe[timeframe].product + ' ' + this.series[product].timeframe[timeframe].timeframe, this.series[product].timeframe[timeframe].currentCandle);
this.emit('current ' + this.series[product].timeframe[timeframe].product, this.series[product].timeframe[timeframe].currentCandle);
this.emit('current ' + this.series[product].timeframe[timeframe].timeframe, this.series[product].timeframe[timeframe].currentCandle);

@@ -92,0 +92,0 @@ this.emit('current', this.series[product].timeframe[timeframe].currentCandle);

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