@financial-times/ads-personalised-consent
Advanced tools
Comparing version 5.2.8 to 5.3.0-beta.1
@@ -34,2 +34,3 @@ import { fetchLegislation } from '@financial-times/privacy-legislation-client'; | ||
programmatic: false, | ||
permutive: false, | ||
all: false | ||
@@ -108,2 +109,3 @@ }; | ||
programmatic: false, | ||
permutive: false, | ||
all: false | ||
@@ -117,2 +119,3 @@ }; | ||
programmatic: consentCookie.includes("programmaticadsOnsite:on"), | ||
permutive: consentCookie.includes("permutiveadsOnsite:on"), | ||
all: consentCookie.includes("behaviouraladsOnsite:on") && consentCookie.includes("demographicadsOnsite:on") && consentCookie.includes("programmaticadsOnsite:on") | ||
@@ -165,2 +168,3 @@ }; | ||
programmatic: false, | ||
permutive: false, | ||
all: false | ||
@@ -173,5 +177,6 @@ }; | ||
demographic, | ||
programmatic | ||
programmatic, | ||
permutive | ||
} = this.consentCookie; | ||
const all = behavioral && demographic && programmatic; | ||
const all = behavioral && demographic && programmatic && permutive; | ||
return { | ||
@@ -181,2 +186,3 @@ behavioral, | ||
programmatic, | ||
permutive, | ||
all | ||
@@ -183,0 +189,0 @@ }; |
@@ -22,3 +22,3 @@ { | ||
}, | ||
"version": "5.2.8" | ||
"version": "5.3.0-beta.1" | ||
} |
@@ -15,2 +15,3 @@ export type Legislation = Set<string> | undefined; | ||
programmatic: boolean; | ||
permutive: boolean; | ||
all: boolean; | ||
@@ -17,0 +18,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
14034
237
2