Socket
Socket
Sign inDemoInstall

@aller/blink-labrador

Package Overview
Dependencies
Maintainers
16
Versions
280
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.4.0 to 0.5.0

lib/utils/get-prev-pageview.js

16

lib/main.js

@@ -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() {

4

package.json
{
"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 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc