@barchart/events-api-common
Advanced tools
Comparing version 1.6.0 to 1.7.0
@@ -92,3 +92,3 @@ const gulp = require('gulp'); | ||
gulp.task('lint', () => { | ||
return gulp.src([ './**/*.js', './test/specs/**/*.js', '!./node_modules/**' ]) | ||
return gulp.src([ './**/*.js', './test/specs/**/*.js', '!./node_modules/**', '!./docs/**' ]) | ||
.pipe(jshint({ esversion: 9 })) | ||
@@ -95,0 +95,0 @@ .pipe(jshint.reporter('default')) |
@@ -215,2 +215,10 @@ const assert = require('@barchart/common-js/lang/assert'), | ||
static get PORTFOLIO_VALUE_GRAPH_OPENED() { | ||
return portfolioValueGraphOpened; | ||
} | ||
static get PORTFOLIO_VALUE_GRAPH_DURATION_CHANGED() { | ||
return portfolioValueGraphDurationChanged; | ||
} | ||
/** | ||
@@ -284,4 +292,6 @@ * Get all context keys for productType. | ||
const portfolioWealthscopeReportViewed = new EventType('PORTFOLIO-WEALTHSCOPE-REPORT-VIEWED', 'Wealthscope Report Viewed', ProductType.PORTFOLIO, ['userId', 'portfolioId']); | ||
const portfolioValueGraphOpened = new EventType('PORTFOLIO-VALUE-GRAPH-OPENED', 'Portfolio Value Graph Opened', ProductType.PORTFOLIO, ['userId', 'portfolioId']); | ||
const portfolioValueGraphDurationChanged = new EventType('PORTFOLIO-VALUE-GRAPH-DURATION-CHANGED', 'Portfolio Value Graph Duration Changed', ProductType.PORTFOLIO, ['userId', 'portfolioId', 'duration']); | ||
return EventType; | ||
})(); |
{ | ||
"name": "@barchart/events-api-common", | ||
"version": "1.6.0", | ||
"version": "1.7.0", | ||
"description": "Common classes used by the Barchart Event Tracking System", | ||
@@ -5,0 +5,0 @@ "author": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
30070
718