@guardian/libs
Advanced tools
Comparing version 0.0.0-canary-20240819084206 to 0.0.0-canary-20240827084710
@@ -31,14 +31,14 @@ import { getConsentState as getConsentState$3 } from './aus/getConsentState.js'; | ||
}; | ||
} else if (consentState.ccpa) { | ||
} else if (consentState.usnat) { | ||
return { | ||
...consentState, | ||
canTarget: !consentState.ccpa.doNotSell, | ||
canTarget: !consentState.usnat.doNotSell, | ||
framework: "usnat", | ||
gpcSignal | ||
}; | ||
} else if (consentState.usnat) { | ||
} else if (consentState.ccpa) { | ||
return { | ||
...consentState, | ||
canTarget: !consentState.usnat.doNotSell, | ||
framework: "usnat", | ||
canTarget: !consentState.ccpa.doNotSell, | ||
framework: "ccpa", | ||
gpcSignal | ||
@@ -45,0 +45,0 @@ }; |
@@ -37,2 +37,5 @@ import { log } from '../logger/logger.js'; | ||
break; | ||
case "ccpa": | ||
frameworkMessageType = "usnat"; | ||
break; | ||
case "aus": | ||
@@ -39,0 +42,0 @@ frameworkMessageType = "ccpa"; |
@@ -1,3 +0,3 @@ | ||
var version = "0.0.0-canary-20240819084206"; | ||
var version = "0.0.0-canary-20240827084710"; | ||
export { version }; |
{ | ||
"name": "@guardian/libs", | ||
"version": "0.0.0-canary-20240819084206", | ||
"version": "0.0.0-canary-20240827084710", | ||
"private": false, | ||
@@ -19,3 +19,3 @@ "description": "A collection of JavaScript libraries and TypeScript types for Guardian projects", | ||
"devDependencies": { | ||
"@playwright/test": "1.45.3", | ||
"@playwright/test": "1.46.1", | ||
"@types/jest": "29.5.8", | ||
@@ -27,6 +27,6 @@ "@types/wcag-contrast": "3.0.3", | ||
"mockdate": "3.0.5", | ||
"rollup": "4.20.0", | ||
"rollup": "4.21.0", | ||
"ts-jest": "29.2.3", | ||
"tslib": "2.6.2", | ||
"tsx": "4.16.2", | ||
"tsx": "4.17.0", | ||
"typescript": "5.5.2", | ||
@@ -33,0 +33,0 @@ "wcag-contrast": "3.0.0", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
239057
7659