From 2079f8edeec5d2c81986a83455ae44ad02896ed9 Mon Sep 17 00:00:00 2001 From: Linh Chau <94718676+linh-transcend@users.noreply.github.com> Date: Thu, 7 Nov 2024 18:26:07 +0000 Subject: [PATCH] remove SaleOfInfo from LGPD and nFADP --- package.json | 2 +- src/constants.ts | 9 +-------- 2 files changed, 2 insertions(+), 9 deletions(-) diff --git a/package.json b/package.json index 99f6b89..f1cbff4 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "author": "Transcend Inc.", "name": "@transcend-io/airgap.js-types", "description": "TypeScript types for airgap.js interoperability with custom consent UIs", - "version": "12.4.0", + "version": "12.5.0", "homepage": "https://github.com/transcend-io/airgap.js-types", "repository": { "type": "git", diff --git a/src/constants.ts b/src/constants.ts index a471e93..f48e6a8 100644 --- a/src/constants.ts +++ b/src/constants.ts @@ -14,19 +14,13 @@ import type { export const UNKNOWN_DEFAULT_EXPERIENCE = 'Unknown'; export const GDPR_PURPOSES: [PrivacyRegime[], TrackingPurpose[]] = [ - ['GDPR'], + ['GDPR', 'LGPD', 'nFADP'], ['Advertising', 'Analytics', 'Functional'], ]; -export const LGPD_NFADP_PURPOSES: [PrivacyRegime[], TrackingPurpose[]] = [ - ['LGPD', 'nFADP'], - ['Advertising', 'Analytics', 'Functional', 'SaleOfInfo'], -]; - export const DEFAULT_REGIME_TRACKING_PURPOSE_SCOPES: RegimePurposeScopesConfig = [ GDPR_PURPOSES, - LGPD_NFADP_PURPOSES, [['CPRA', 'CDPA', 'CPA', 'NEVADA_SB220', 'US_DNSS'], ['SaleOfInfo']], [ [ @@ -39,7 +33,6 @@ export const DEFAULT_REGIME_TRACKING_PURPOSE_SCOPES: RegimePurposeScopesConfig = export const DEFAULT_REGIME_PURPOSE_OPT_OUTS: RegimePurposeScopesConfig = [ GDPR_PURPOSES, - LGPD_NFADP_PURPOSES, ]; export const DEFAULT_EXPERIENCE_PURPOSE_OPT_OUTS = Object.fromEntries(