@financial-times/ads-display
Advanced tools
Comparing version 5.3.1 to 5.3.2-beta.1
@@ -553,8 +553,12 @@ import oAds from '@financial-times/ads-legacy-o-ads'; | ||
const uscookie = getUsPrivacyForTracking(); | ||
const consents = (await getConsentsForTracking()) || {}; | ||
consents.usprivacy = uscookie; | ||
// eslint-disable-next-line no-unused-vars | ||
const { | ||
all, | ||
...consentsGranular | ||
} = (await getConsentsForTracking()) || {}; | ||
consentsGranular.usprivacy = uscookie; | ||
if (payload) { | ||
payload.advert = { | ||
...payload.advert, | ||
consents | ||
consents: consentsGranular | ||
}; | ||
@@ -837,6 +841,6 @@ } | ||
const getPermutiveConsent = (disableInternalCmp, { | ||
permutiveVendor, | ||
permutiveadsOnsite, | ||
behavioral | ||
} = {}) => { | ||
return disableInternalCmp ? permutiveVendor : behavioral; | ||
return disableInternalCmp ? permutiveadsOnsite : behavioral; | ||
}; | ||
@@ -843,0 +847,0 @@ const permutiveAllowed = getPermutiveConsent(disableInternalCmp, pc === null || pc === void 0 ? void 0 : pc.isAllowed()); |
@@ -5,3 +5,3 @@ { | ||
"type": "module", | ||
"version": "5.3.1", | ||
"version": "5.3.2-beta.1", | ||
"typings": "./types.d.ts", | ||
@@ -19,6 +19,6 @@ "files": [ | ||
"dependencies": { | ||
"@financial-times/ads-legacy-o-ads": "^5.3.1", | ||
"@financial-times/ads-moat-integration": "^5.3.1", | ||
"@financial-times/ads-permutive": "^5.3.1", | ||
"@financial-times/ads-personalised-consent": "^5.3.1", | ||
"@financial-times/ads-legacy-o-ads": "^5.3.2-beta.1", | ||
"@financial-times/ads-moat-integration": "^5.3.2-beta.1", | ||
"@financial-times/ads-permutive": "^5.3.2-beta.1", | ||
"@financial-times/ads-personalised-consent": "^5.3.2-beta.1", | ||
"@financial-times/n-tracking": "^4.0.1", | ||
@@ -25,0 +25,0 @@ "@financial-times/o-tracking": "^4.0.0", |
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
47140
916
2