Skip to content

Commit

Permalink
remove SaleOfInfo from LGPD and nFADP
Browse files Browse the repository at this point in the history
  • Loading branch information
linh-transcend committed Nov 7, 2024
1 parent 5213391 commit 2079f8e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
9 changes: 1 addition & 8 deletions src/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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']],
[
[
Expand All @@ -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(
Expand Down

0 comments on commit 2079f8e

Please sign in to comment.