Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@financial-times/ads-personalised-consent

Package Overview
Dependencies
Maintainers
11
Versions
73
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@financial-times/ads-personalised-consent - npm Package Compare versions

Comparing version 5.1.0 to 5.1.1-beta.1

2

package.json

@@ -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>;
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc