@financial-times/ads-display
Advanced tools
Comparing version 5.4.0 to 5.5.0
@@ -398,2 +398,3 @@ import oAds from '@financial-times/ads-legacy-o-ads'; | ||
* @property {Object} advert | ||
* @property {Object} deviceDimensions | ||
*/ | ||
@@ -471,2 +472,12 @@ | ||
}; | ||
payload.deviceDimensions = { | ||
screen: { | ||
height: window.screen.height, | ||
width: window.screen.width | ||
}, | ||
window: { | ||
height: window.innerHeight, | ||
width: window.innerWidth | ||
} | ||
}; | ||
} | ||
@@ -473,0 +484,0 @@ return broadcast("oTracking.event", payload); |
@@ -5,3 +5,3 @@ { | ||
"type": "module", | ||
"version": "5.4.0", | ||
"version": "5.5.0", | ||
"typings": "./types.d.ts", | ||
@@ -19,6 +19,6 @@ "files": [ | ||
"dependencies": { | ||
"@financial-times/ads-legacy-o-ads": "^5.4.0", | ||
"@financial-times/ads-moat-integration": "^5.4.0", | ||
"@financial-times/ads-permutive": "^5.4.0", | ||
"@financial-times/ads-personalised-consent": "^5.4.0", | ||
"@financial-times/ads-legacy-o-ads": "^5.5.0", | ||
"@financial-times/ads-moat-integration": "^5.5.0", | ||
"@financial-times/ads-permutive": "^5.5.0", | ||
"@financial-times/ads-personalised-consent": "^5.5.0", | ||
"@financial-times/n-tracking": "^4.0.1", | ||
@@ -25,0 +25,0 @@ "@financial-times/o-tracking": "^4.0.0", |
43502
831