diff --git a/src/ui.ts b/src/ui.ts index 266408d..2864ffa 100644 --- a/src/ui.ts +++ b/src/ui.ts @@ -78,13 +78,13 @@ export type ConsentManagerAPI = Readonly<{ /** Expose an option to grab the current view state */ getViewState: () => ViewState; /** Get the current active language */ - getTranscendPolicies: ( + getPolicies: ( input?: GetTranscendPolicies, ) => Promise; /** Callback that sets any dynamic variables that should be exposed to the consent UI messages */ - setTranscendUiVariables: (variables: ObjByString) => Promise; + setUiVariables: (variables: ObjByString) => Promise; /** 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 */