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

@aurox/ohlcv-helpers

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aurox/ohlcv-helpers - npm Package Compare versions

Comparing version 0.1.1 to 0.1.2

1

dist/OHLCVLiveAggregator.d.ts

@@ -31,2 +31,3 @@ import { OHLCVTimeUnit, OHLCVDataItem } from './types';

getLastDataItem: () => OHLCVDataItem | null;
registerUpdateListener: (listener: () => void) => () => void;
}

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

this.preHistoryUpdateBuffer = null;
this.emitter.emit('updated');
this.emitter.emit('update');
};

@@ -63,3 +63,3 @@ this.applyUpdate = (update) => {

this.retain();
this.emitter.emit('updated');
this.emitter.emit('update');
};

@@ -72,2 +72,11 @@ this.getData = () => {

};
this.registerUpdateListener = (listener) => {
const handler = () => {
listener();
};
this.emitter.addListener('update', handler);
return () => {
this.emitter.removeListener('update', handler);
};
};
this.timeUnit = options.timeUnit;

@@ -74,0 +83,0 @@ this.retention = options.retention || null;

2

package.json
{
"name": "@aurox/ohlcv-helpers",
"version": "0.1.1",
"version": "0.1.2",
"description": "",

@@ -5,0 +5,0 @@ "main": "dist/index.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