@aller/blink-labrador
Advanced tools
Comparing version 8.15.9-alpha.0 to 8.15.9-alpha.1
@@ -56,2 +56,3 @@ "use strict"; | ||
var title = trackData.title, image = trackData.image, tags = trackData.tags, duration = trackData.duration; | ||
console.log("tags we are trying to set now", tags); | ||
var videoDurationInSeconds = this.getDuration(duration); | ||
@@ -58,0 +59,0 @@ this.setVideoTags(tags); |
@@ -101,3 +101,3 @@ "use strict"; | ||
KilkayaTracker.prototype.setupClient = function (trackData) { | ||
var tags = trackData.tags, videoId = trackData.videoId, image = trackData.image, title = trackData.title, duration = trackData.duration; | ||
var videoId = trackData.videoId; | ||
this.kilkayaClient.setPageData(trackData); | ||
@@ -104,0 +104,0 @@ this.videoId = videoId; |
@@ -13,3 +13,4 @@ export declare enum JWEvents { | ||
} | ||
export declare function shouldTrackVideoEvent(tracker: 'linkpulse' | 'kilkaya' | 'blink' | 'ga', position: number): boolean; | ||
export declare function updateTrackEvent(tracker: 'linkpulse' | 'kilkaya' | 'blink' | 'ga', event: JWEvents, position?: number): void; | ||
export declare type Tracker = 'linkpulse' | 'kilkaya' | 'blink' | 'ga'; | ||
export declare function shouldTrackVideoEvent(tracker: Tracker, position: number): boolean; | ||
export declare function updateTrackEvent(tracker: Tracker, event: JWEvents, position?: number): void; |
@@ -41,4 +41,3 @@ "use strict"; | ||
trackers[tracker].previousPosition !== null) { | ||
// @ts-ignore <-- this is check for in the two lines above | ||
difference = Math.abs(position - trackers[tracker].previousPosition); | ||
difference = Math.abs(position - (trackers[tracker].previousPosition || 0)); | ||
} | ||
@@ -45,0 +44,0 @@ if ( |
{ | ||
"name": "@aller/blink-labrador", | ||
"version": "8.15.9-alpha.0", | ||
"version": "8.15.9-alpha.1", | ||
"description": "Library for using blink on Labrador", | ||
@@ -75,3 +75,3 @@ "main": "lib/main.js", | ||
"dependencies": { | ||
"@aller/blink": "8.15.9-alpha.0", | ||
"@aller/blink": "8.15.9-alpha.1", | ||
"@soldotno/aller-in-view": "^3.0.2", | ||
@@ -91,3 +91,3 @@ "react": "^16.11.0" | ||
}, | ||
"gitHead": "65ecca302ff8508c7a91aafd7a0a11fb11aad9d4" | ||
"gitHead": "85144ed4cda48391e33a0216bee414290283b54b" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
480892
230
6573
+ Added@aller/blink@8.15.9-alpha.1(transitive)
- Removed@aller/blink@8.15.9-alpha.0(transitive)
Updated@aller/blink@8.15.9-alpha.1