Skip to content

Commit

Permalink
Expose Consent Manager UI version in ConsentManagerAPI.version (#130)
Browse files Browse the repository at this point in the history
  • Loading branch information
eligrey authored May 29, 2024
1 parent 69735db commit f978059
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
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.12.3",
"version": "10.12.4",
"homepage": "https://github.com/transcend-io/airgap.js-types",
"repository": {
"type": "git",
Expand Down
2 changes: 2 additions & 0 deletions src/ui.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,8 @@ export type ConsentManagerAPI = Readonly<{
): Promise<void>;
/** Sets local tcf string (does not sync to xdi or preference store) */
setTCFConsent?: (auth: AirgapAuth, tcString: string) => Promise<void>;
/** UI version */
version?: string;
}> &
EventTarget;

Expand Down

0 comments on commit f978059

Please sign in to comment.