Skip to content

Commit

Permalink
Removes "Transcend" from function names (#144)
Browse files Browse the repository at this point in the history
* Updates variable names

* pkg
  • Loading branch information
michaelfarrell76 authored Oct 7, 2024
1 parent 24a14f9 commit ad034e1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 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": "12.2.0",
"version": "12.3.0",
"homepage": "https://github.com/transcend-io/airgap.js-types",
"repository": {
"type": "git",
Expand Down
8 changes: 3 additions & 5 deletions src/ui.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,13 +78,11 @@ export type ConsentManagerAPI = Readonly<{
/** Expose an option to grab the current view state */
getViewState: () => ViewState;
/** Get the current active language */
getTranscendPolicies: (
input?: GetTranscendPolicies,
) => Promise<TranscendPolicy[]>;
getPolicies: (input?: GetTranscendPolicies) => Promise<TranscendPolicy[]>;
/** Callback that sets any dynamic variables that should be exposed to the consent UI messages */
setTranscendUiVariables: (variables: ObjByString) => Promise<void>;
setUiVariables: (variables: ObjByString) => Promise<void>;
/** Get the current value of Transcend UI variables */
getTranscendUiVariables: () => ObjByString;
getUiVariables: () => ObjByString;
/** Set consent change authorization key */
setAuth?: (key: AirgapAuthMap['key']) => void;
/** Change the current privacy policy URL */
Expand Down

0 comments on commit ad034e1

Please sign in to comment.