@aller/blink
Advanced tools
Comparing version 8.24.6-alpha.0 to 8.24.7-alpha.0
@@ -1,2 +0,2 @@ | ||
export declare const VERSION = "8.24.6-alpha.0"; | ||
export declare const VERSION = "8.24.7-alpha.0"; | ||
/** | ||
@@ -3,0 +3,0 @@ * The minimum waiting time between each sending of active time events |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.ACTIVE_TIME_INITIAL_MOBILE = exports.ACTIVE_TIME_WAIT = exports.VERSION = void 0; | ||
exports.VERSION = '8.24.6-alpha.0'; | ||
exports.VERSION = '8.24.7-alpha.0'; | ||
/** | ||
@@ -6,0 +6,0 @@ * The minimum waiting time between each sending of active time events |
@@ -23,5 +23,5 @@ "use strict"; | ||
var id = get_id_from_url_1.default(url, site); | ||
return __assign(__assign({}, general_data_1.default(page.state)), { id: id || '', webVitals: webVitals, type: 'webVitals' }); | ||
return __assign(__assign({}, general_data_1.default(page.state)), { id: id || '', article: { url: url }, webVitals: webVitals, type: 'webVitals' }); | ||
} | ||
exports.default = prepareCwvEvent; | ||
//# sourceMappingURL=prepare-cwv-event.js.map |
@@ -74,3 +74,3 @@ "use strict"; | ||
webVitals: function (input) { | ||
store.dispatch({ type: actions_1.WEB_VITALS, payload: __assign({}, input) }); | ||
store.dispatch({ type: actions_1.WEB_VITALS, payload: { input: input } }); | ||
}, | ||
@@ -77,0 +77,0 @@ consent: function (input) { |
@@ -163,3 +163,3 @@ "use strict"; | ||
page: page, | ||
webVitals: action.payload.webVitalsReport, | ||
webVitals: action.payload.webVitals, | ||
}), | ||
@@ -166,0 +166,0 @@ ]); |
{ | ||
"name": "@aller/blink", | ||
"version": "8.24.6-alpha.0", | ||
"version": "8.24.7-alpha.0", | ||
"description": "A library for tracking user behaviour.", | ||
@@ -69,3 +69,3 @@ "main": "lib/main.js", | ||
}, | ||
"gitHead": "6b9669cbc0a0f6c2c11a5a0b71cfb354ca52195b" | ||
"gitHead": "e0ff33fa881ad61ea4f751b7e7967b3951b8750a" | ||
} |
@@ -1,2 +0,2 @@ | ||
export const VERSION = '8.24.6-alpha.0'; | ||
export const VERSION = '8.24.7-alpha.0'; | ||
@@ -3,0 +3,0 @@ /** |
@@ -23,2 +23,3 @@ import generalData from '../utils/general-data'; | ||
id: id || '', | ||
article: { url }, | ||
webVitals, | ||
@@ -25,0 +26,0 @@ type: 'webVitals', |
@@ -370,3 +370,3 @@ import createStore from './store'; | ||
webVitals(input: ChromeWebVitalsInput): void { | ||
store.dispatch({ type: WEB_VITALS, payload: { ...input } }); | ||
store.dispatch({ type: WEB_VITALS, payload: { input } }); | ||
}, | ||
@@ -373,0 +373,0 @@ consent(input: ConsentInput): void { |
@@ -37,2 +37,3 @@ import prepareAdEvent, { | ||
} from './actions'; | ||
import { BlinkEvent } from './types'; | ||
@@ -183,3 +184,3 @@ import prepareVideoLoadForSending from './events/prepare-video-load-event'; | ||
page, | ||
webVitals: action.payload.webVitalsReport, | ||
webVitals: action.payload.webVitals, | ||
}), | ||
@@ -186,0 +187,0 @@ ]); |
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
811683
17706