-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
41 changed files
with
531 additions
and
306 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
--- | ||
'@guardian/libs': major | ||
--- | ||
|
||
CMP: Implement Multi-State Privacy Agreement for US Compliance | ||
|
||
This release introduces support for the Global Privacy Platform (GPP) for third-party vendors who have completed migration. The legacy \*\*uspapi will remain available temporarily for vendors still in transition. | ||
|
||
Key updates: | ||
|
||
Added window.__gpp stub function for the US region. | ||
Updated the US framework to use "usnat" instead of "ccpa". | ||
Migrated CCPA-related types and functions to the "aus" namespace. | ||
The ConsentState type, returned by getConsentFor, onConsentChange, and onConsent, now includes a usnat property, replacing the previous ccpa property. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
export const ACCOUNT_ID = 1257; | ||
export const PRIVACY_MANAGER_CCPA = 540252; | ||
export const PRIVACY_MANAGER_AUSTRALIA = 1178486; | ||
|
||
export const PRIVACY_MANAGER_USNAT = 1068329; | ||
export const PRIVACY_MANAGER_USNAT_SECOND_LAYER = 1129533; | ||
export const ENDPOINT = 'https://cdn.privacy-mgmt.com'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 0 additions & 17 deletions
17
libs/@guardian/libs/src/consent-management-platform/ccpa/api.test.js
This file was deleted.
Oops, something went wrong.
20 changes: 0 additions & 20 deletions
20
libs/@guardian/libs/src/consent-management-platform/ccpa/api.ts
This file was deleted.
Oops, something went wrong.
15 changes: 0 additions & 15 deletions
15
libs/@guardian/libs/src/consent-management-platform/ccpa/getConsentState.test.js
This file was deleted.
Oops, something went wrong.
11 changes: 0 additions & 11 deletions
11
libs/@guardian/libs/src/consent-management-platform/ccpa/getConsentState.ts
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.