Skip to content

Commit

Permalink
Fix transcend.setAuth(key) API docs
Browse files Browse the repository at this point in the history
  • Loading branch information
eligrey committed Jun 26, 2024
1 parent 0885d6b commit 01f019a
Show file tree
Hide file tree
Showing 2 changed files with 2 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": "10.14.1",
"version": "10.15.0",
"homepage": "https://github.com/transcend-io/airgap.js-types",
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion src/ui.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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?: (auth: AirgapAuthMap['key']) => void;

Check failure on line 42 in src/ui.ts

View workflow job for this annotation

GitHub Actions / build-and-upload-artifacts

Cannot find name 'AirgapAuthMap'. Did you mean 'AirgapAuth'?
/** Change the current privacy policy URL */
setPrivacyPolicy: (privacyPolicyLink: string) => void;
/** Change the current secondary policy URL */
Expand Down

0 comments on commit 01f019a

Please sign in to comment.