@financial-times/n-tracking
Advanced tools
Comparing version 6.1.0 to 6.2.0
@@ -736,2 +736,9 @@ import oTracking from '@financial-times/o-tracking'; | ||
if (window.oTracking) { | ||
// eslint-disable-next-line no-console | ||
console.warn("An oTracking instance already exists on window, skipping", { currentInstance: window.oTracking, ourInstance: oTracking }); | ||
} else { | ||
window.oTracking = oTracking; | ||
} | ||
return oTracking; | ||
@@ -738,0 +745,0 @@ } |
@@ -6,3 +6,3 @@ { | ||
"browser": "dist/browser.js", | ||
"version": "6.1.0", | ||
"version": "6.2.0", | ||
"license": "MIT", | ||
@@ -9,0 +9,0 @@ "repository": "Financial-Times/n-tracking.git", |
@@ -42,2 +42,9 @@ import oTracking from '@financial-times/o-tracking'; | ||
if (window.oTracking) { | ||
// eslint-disable-next-line no-console | ||
console.warn("An oTracking instance already exists on window, skipping", { currentInstance: window.oTracking, ourInstance: oTracking }); | ||
} else { | ||
window.oTracking = oTracking; | ||
} | ||
return oTracking; | ||
@@ -44,0 +51,0 @@ } |
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
1100653
28691