@qlik/embed-runtime
Advanced tools
Comparing version 0.5.8 to 0.5.9
@@ -165,3 +165,3 @@ /* -------------------------------------------------------------------------- */ | ||
export interface AuthAPI { | ||
export interface AuthRuntimeApiV1 { | ||
/** | ||
@@ -186,27 +186,2 @@ * Registers an auth module that can handle authentication. An auth module is used by specifying its name as authType in the HostConfig passed in to api calls. | ||
logout: () => void; | ||
/** | ||
* Returns a record of headers and a record of query params that needs to be added to outgoing rest calls | ||
* @param props.hostConfig the HostConfig containing authentication details | ||
* @param props.method the http method, which may affect what authentication are needed. | ||
*/ | ||
getRestCallAuthParams: (props: Optional<GetRestCallAuthParamsProps, "hostConfig">) => Promise<RestCallAuthParams>; | ||
/** | ||
* Returns a record of query parameters that needs to be added to websockets | ||
* @param hostConfig the HostConfig containing authentication details | ||
*/ | ||
getWebSocketAuthParams: (props: Optional<GetWebSocketAuthParamsProps, "hostConfig">) => Promise<WebSocketAuthParams>; | ||
/** | ||
* Calls and return handleAuthenticationError on the authModule a host config is associated with. | ||
*/ | ||
handleAuthenticationError: ( | ||
props: Optional<HandleAuthenticationErrorProps, "hostConfig">, | ||
) => Promise<AuthenticationErrorAction>; | ||
/** | ||
* Returns a valid location url based on the supplied location string. If location is undefined the default is returned | ||
*/ | ||
toValidLocationUrl: (hostConfig?: HostConfig) => string; | ||
} |
{ | ||
"name": "@qlik/embed-runtime", | ||
"version": "0.5.8", | ||
"version": "0.5.9", | ||
"description": "Experimental", | ||
@@ -27,2 +27,7 @@ "license": "ISC", | ||
}, | ||
"./invoke-fetch": { | ||
"import": "./invoke-fetch.mjs", | ||
"require": "./invoke-fetch.js", | ||
"types": "./invoke-fetch.d.ts" | ||
}, | ||
"./ui-props": { | ||
@@ -32,2 +37,7 @@ "import": "./ui-props.mjs", | ||
"types": "./ui-props.d.ts" | ||
}, | ||
"./qix": { | ||
"import": "./qix.mjs", | ||
"require": "./qix.js", | ||
"types": "./qix.d.ts" | ||
} | ||
@@ -53,7 +63,7 @@ }, | ||
"devDependencies": { | ||
"@qlik/eslint-config": "0.4.25", | ||
"@qlik/prettier-config": "0.4.1", | ||
"@qlik/eslint-config": "0.4.32", | ||
"@qlik/prettier-config": "0.4.2", | ||
"@qlik/tsconfig": "0.2.1", | ||
"eslint": "8.51.0", | ||
"prettier": "3.0.3", | ||
"eslint": "8.54.0", | ||
"prettier": "3.1.0", | ||
"rimraf": "5.0.5", | ||
@@ -60,0 +70,0 @@ "typescript": "5.2.2" |
15156
380