@financial-times/ads-personalised-consent
Advanced tools
Comparing version 5.1.0 to 5.1.1-beta.1
@@ -22,3 +22,3 @@ { | ||
}, | ||
"version": "5.1.0" | ||
"version": "5.1.1-beta.1" | ||
} |
@@ -16,1 +16,25 @@ export type Legislation = Set<string> | undefined; | ||
}; | ||
export declare class PersonalisedConsent { | ||
gpcValue: boolean; | ||
privacyLegislation: RegionalCompliance; | ||
consentCookie: ConsentInfo; | ||
legislationPolicy: { | ||
CCPA: "ccpa"; | ||
GDPR: "gdpr"; | ||
}; | ||
init(): Promise<void>; | ||
update(): Promise<void>; | ||
updatePrivacyLegislation(): Promise<RegionalCompliance>; | ||
updateGpcValue(): boolean; | ||
updateConsentCookie(): ConsentInfo; | ||
isCcpaAndGpc(): boolean; | ||
isAllowed(): boolean; | ||
getLegislation(): Legislation; | ||
getRegion(): Region; | ||
getGpcValue(): boolean; | ||
getConsentCookie(): ConsentInfo; | ||
} | ||
export declare function getPersonalisedConsent(): Promise<PersonalisedConsent>; |
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
13260
200
2