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

Fix transcend.setAuth(key) API docs #136

Merged
merged 2 commits into from
Jun 26, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
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.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 @@
/** 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'?
eligrey marked this conversation as resolved.
Show resolved Hide resolved
/** Change the current privacy policy URL */
setPrivacyPolicy: (privacyPolicyLink: string) => void;
/** Change the current secondary policy URL */
Expand Down
Loading