kepler-companion
Advanced tools
Comparing version 1.0.3 to 1.0.4
@@ -19,3 +19,3 @@ export declare type KeplerCompanionConfiguration = { | ||
tags?: { | ||
[key: string]: string; | ||
[key: string]: any; | ||
}; | ||
@@ -22,0 +22,0 @@ }; |
@@ -65,5 +65,9 @@ "use strict"; | ||
track(opts, timeout = 1000) { | ||
if (!this.config.analytics.enabled || process.env.CI) { | ||
if (!this.config.analytics.enabled) { | ||
return; | ||
} | ||
if (process.env.CI) { | ||
opts.tags = opts.tags || {}; | ||
opts.tags.ci = true; | ||
} | ||
const innerTrack = this._track.bind(this); | ||
@@ -70,0 +74,0 @@ return Promise.race([ |
{ | ||
"name": "kepler-companion", | ||
"version": "1.0.3", | ||
"version": "1.0.4", | ||
"description": "Kepler analytics toolkit for client side", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
5544
128