@aller/blink-labrador
Advanced tools
Comparing version 0.4.0 to 0.5.0
@@ -81,2 +81,4 @@ 'use strict'; | ||
var _prevPageview = require('./utils/prev-pageview'); | ||
var _sender = require('./sender/sender'); | ||
@@ -94,2 +96,6 @@ | ||
var _uuid = require('./utils/uuid'); | ||
var _uuid2 = _interopRequireDefault(_uuid); | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
@@ -119,2 +125,3 @@ | ||
}); | ||
this.pageView = (0, _uuid2.default)('pageView'); | ||
this.activeTimeTimerId = 0; | ||
@@ -163,3 +170,8 @@ this.blink = (0, _blink2.default)({ | ||
}); | ||
this.blink.pageInit(window.location.href); | ||
// Initialize the page, and attach the previous pageView | ||
this.blink.pageInit({ | ||
url: window.location.href, | ||
pageView: this.pageView, | ||
previousPageView: (0, _prevPageview.getPageView)((0, _getReferrer2.default)()) | ||
}); | ||
} | ||
@@ -286,2 +298,4 @@ | ||
_this8.blink.articleActivityStart(url); | ||
// Store the current pageView so we can pick it up on following pages | ||
(0, _prevPageview.setPageView)(window.location.href, _this8.pageView); | ||
}, 2000); | ||
@@ -288,0 +302,0 @@ var pause = function pause() { |
{ | ||
"name": "@aller/blink-labrador", | ||
"version": "0.4.0", | ||
"version": "0.5.0", | ||
"description": "Library for using blink on Labrador", | ||
@@ -52,3 +52,3 @@ "main": "lib/main.js", | ||
"dependencies": { | ||
"@aller/blink": "1.1.0", | ||
"@aller/blink": "2.0.0", | ||
"@soldotno/aller-in-view": "^3.0.2" | ||
@@ -55,0 +55,0 @@ }, |
@@ -0,1 +1,5 @@ | ||
<p align="center"> | ||
<img src="logo.svg" /> | ||
</p> | ||
# blink-labrador | ||
@@ -2,0 +6,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
50218
36
1283
45
+ Added@aller/blink@2.0.0(transitive)
- Removed@aller/blink@1.1.0(transitive)
Updated@aller/blink@2.0.0