Socket
Socket
Sign inDemoInstall

@barchart/events-api-common

Package Overview
Dependencies
Maintainers
1
Versions
72
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@barchart/events-api-common - npm Package Compare versions

Comparing version 1.8.0 to 1.9.0

.releases/1.9.0.md

4

lib/data/CustomerType.js

@@ -21,7 +21,7 @@ const Enum = require('@barchart/common-js/lang/Enum');

* Returns the {@link CustomerType} which corresponds to the code supplied.
* If matching {@link CustomerType} exists, a null value is returned.
* If no matching {@link CustomerType} exists, a null value is returned.
*
* @public
* @param {String} code
* @return {CustomerType/|null}
* @returns {CustomerType|null}
*/

@@ -28,0 +28,0 @@ static parse(code) {

@@ -51,2 +51,14 @@ const assert = require('@barchart/common-js/lang/assert'),

/**
* Returns the {@link EventType} which corresponds to the code supplied.
* If no matching {@link EventType} exists, a null value is returned.
*
* @public
* @param {String} code
* @returns {EventType|null}
*/
static parse(code) {
return Enum.fromCode(EventType, code);
}
static get WATCHLIST_APPLICATION_LOADED() {

@@ -53,0 +65,0 @@ return watchlistApplicationLoaded;

@@ -20,2 +20,14 @@ const Enum = require('@barchart/common-js/lang/Enum');

/**
* Returns the {@link ProductType} which corresponds to the code supplied.
* If no matching {@link ProductType} exists, a null value is returned.
*
* @public
* @param {String} code
* @returns {ProductType|null}
*/
static parse(code) {
return Enum.fromCode(ProductType, code);
}
/**
* The portfolio system.

@@ -22,0 +34,0 @@ *

{
"name": "@barchart/events-api-common",
"version": "1.8.0",
"version": "1.9.0",
"description": "Common classes used by the Barchart Event Tracking System",

@@ -5,0 +5,0 @@ "author": {

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