Skip to content

Commit

Permalink
rm SaleOfInfo from GDPR purposes
Browse files Browse the repository at this point in the history
  • Loading branch information
linh-transcend committed Oct 29, 2024
1 parent ad034e1 commit 148bd31
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 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.3.0",
"version": "12.4.0",
"homepage": "https://github.com/transcend-io/airgap.js-types",
"repository": {
"type": "git",
Expand Down
9 changes: 8 additions & 1 deletion src/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,19 @@ import type {
export const UNKNOWN_DEFAULT_EXPERIENCE = 'Unknown';

export const GDPR_PURPOSES: [PrivacyRegime[], TrackingPurpose[]] = [
['GDPR', 'LGPD', 'nFADP'],
['GDPR'],
['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 @@ -33,6 +39,7 @@ 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 148bd31

Please sign in to comment.