Skip to content

Commit

Permalink
Fix transcend.setAuth(key) API docs (#136)
Browse files Browse the repository at this point in the history
  • Loading branch information
eligrey authored Jun 26, 2024
1 parent 0885d6b commit b79c248
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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": "10.14.1",
"version": "10.15.0",
"homepage": "https://github.com/transcend-io/airgap.js-types",
"repository": {
"type": "git",
Expand Down
4 changes: 2 additions & 2 deletions src/ui.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import {
PrivacyRegimeEnum,
DismissedViewState,
} from './enums';
import { AirgapAuth } from './core';
import { AirgapAuth, AirgapAuthMap } from './core';
import { NonTcfVendor } from './iab';

/** Transcend Smart Quarantine API (window.transcend) */
Expand All @@ -39,7 +39,7 @@ export type ConsentManagerAPI = Readonly<{
/** Expose an option to grab the current view state */
getViewState: () => ViewState;
/** Set consent change authorization key */
setAuth: (auth: AirgapAuth) => void;
setAuth?: (key: AirgapAuthMap['key']) => void;
/** Change the current privacy policy URL */
setPrivacyPolicy: (privacyPolicyLink: string) => void;
/** Change the current secondary policy URL */
Expand Down

0 comments on commit b79c248

Please sign in to comment.