@financial-times/o-ads
Advanced tools
Comparing version 12.0.0 to 12.1.0
@@ -69,2 +69,10 @@ "use strict"; | ||
if (this.consents.behavioral) { | ||
this.utils.broadcast('consentBehavioral'); | ||
} | ||
if (this.consents.programmatic) { | ||
this.utils.broadcast('consentProgrammatic'); | ||
} | ||
const targetingApi = this.config().targetingApi; | ||
@@ -71,0 +79,0 @@ const validateAdsTraffic = this.config().validateAdsTraffic; |
"use strict"; | ||
// generated by genversion | ||
module.exports = '12.0.0'; | ||
module.exports = '12.1.0'; |
@@ -165,4 +165,17 @@ { | ||
"description": "Test o-ads-embed" | ||
}, | ||
{ | ||
"name": "InfiniteScrolling-Ad", | ||
"template": "/demos/src/infinitescrolling.mustache", | ||
"expanded": true, | ||
"description": "Infinite Scrolling", | ||
"data": { | ||
"basename":"leaderboard", | ||
"formats" : "Leaderboard", | ||
"network": 5887, | ||
"site" : "test.5887.origami", | ||
"viewportMargin": "3000px 0px" | ||
} | ||
} | ||
] | ||
} |
@@ -26,3 +26,3 @@ { | ||
"name": "@financial-times/o-ads", | ||
"version": "12.0.0", | ||
"version": "12.1.0", | ||
"dependencies": { | ||
@@ -45,3 +45,3 @@ "ftdomdelegate": ">=2.2.0 <4.0.0", | ||
"test-nw:local": "nightwatch -c ./test/nightwatch/config/nightwatch.conf.local.js", | ||
"test-nw:basic": "npm run nightwatch-bs -- --group basic --env chrome,edge", | ||
"test-nw:basic": "npm run nightwatch-bs -- --group basic --env chrome,edge,galaxy_s8", | ||
"test-nw:extended": "npm run nightwatch-bs -- --group extended --env chrome", | ||
@@ -48,0 +48,0 @@ "coverage": "export COVERAGE=true && karma start && unset COVERAGE", |
@@ -75,18 +75,18 @@ # oAds [![CircleCI Status](https://circleci.com/gh/Financial-Times/o-ads.svg?style=shield&circle-token=36a37c6ca27a08408c2575c7834f5f6f5c5c9d21)](https://circleci.com/gh/Financial-Times/o-ads/tree/master) | ||
Old event name | new event name | ||
Old event name | New event name | ||
:--:|:--: | ||
startInitialisation| initialising | ||
moatIVTcomplete| IVTComplete | ||
apiRequestsComplete | adsAPIComplete | ||
adServerLoadSuccess | serverScriptLoaded | ||
ready | slotReady | ||
render |slotCanRender | ||
gptDisplay |slotGoRender | ||
rendered | slotRenderStart | ||
complete | slotExpand | ||
adIframeLoaded | slotRenderEnded | ||
startInitialisation|initialising | ||
moatIVTcomplete|IVTComplete | ||
apiRequestsComplete|adsAPIComplete | ||
adServerLoadSuccess|serverScriptLoaded | ||
ready|slotReady | ||
render|slotCanRender | ||
gptDisplay|slotGoRender | ||
rendered|slotRenderStart | ||
complete|slotExpand | ||
adIframeLoaded|slotRenderEnded | ||
A guide can to the new names can also be found in this two diagrams: | ||
A guide to the new names can also be found in this two diagrams: | ||
- [event renaming 1](https://github.com/Financial-Times/o-ads/blob/master/docs/assets/v12_event_renaming_1.png) | ||
- [event renaming 2](https://github.com/Financial-Times/o-ads/blob/master/docs/assets/v12_event_renaming_2.png) |
115831
3092