Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IABViewState #91

Merged
merged 7 commits into from
Aug 31, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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": "10.4.4",
"version": "10.5.0",
"homepage": "https://github.com/transcend-io/airgap.js-types",
"repository": {
"type": "git",
Expand Down
9 changes: 9 additions & 0 deletions src/enums/viewState.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,14 @@ export const DismissedViewState = makeEnum({
export type DismissedViewState =
typeof DismissedViewState[keyof typeof DismissedViewState];

/**
* Consent Manager view state for the Interactive Advertising Bureau
*/
export const IABViewState = makeEnum({
/* Transparency and Consent Framework for Europe */
TCF_EU: 'TCF_EU',
});

/**
* All possible view states of the Consent Manager
*/
Expand All @@ -96,6 +104,7 @@ export const ViewState = makeEnum({
...ResponseViewState,
...DeepViewState,
...DismissedViewState,
...IABViewState,
});

/**
Expand Down
Loading