@elliemae/pui-app-sdk 5.10.7 → 5.10.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -56,8 +56,7 @@ const handleFailure = (error) => {
|
|
|
56
56
|
}).catch((exception) => Promise.reject(exception));
|
|
57
57
|
}
|
|
58
58
|
if (import_props.httpClientProps.endSession) {
|
|
59
|
-
import_props.httpClientProps.endSession({ ...(0, import_loginParams.getLoginParams)(), skipRevoke: true }).catch(() =>
|
|
60
|
-
});
|
|
59
|
+
return import_props.httpClientProps.endSession({ ...(0, import_loginParams.getLoginParams)(), skipRevoke: true }).then(() => Promise.reject(error)).catch(() => Promise.reject(error));
|
|
61
60
|
}
|
|
62
61
|
}
|
|
63
62
|
return Promise.reject(error);
|
package/dist/cjs/index.js
CHANGED
|
@@ -126,6 +126,7 @@ __export(lib_exports, {
|
|
|
126
126
|
setAppConfigValue: () => import_config.setAppConfigValue,
|
|
127
127
|
setAppDynamicsUserData: () => import_appdynamics.setAppDynamicsUserData,
|
|
128
128
|
setHostAppData: () => import_store2.setHostAppData,
|
|
129
|
+
setLoginParams: () => import_loginParams.setLoginParams,
|
|
129
130
|
startSideEffect: () => import_listenerMiddleware.startSideEffect,
|
|
130
131
|
subscribeToResetSession: () => import_session.subscribeToResetSession,
|
|
131
132
|
subscribeToSessionExpiry: () => import_session.subscribeToSessionExpiry,
|
|
@@ -147,6 +148,7 @@ __export(lib_exports, {
|
|
|
147
148
|
});
|
|
148
149
|
module.exports = __toCommonJS(lib_exports);
|
|
149
150
|
var import_auth = require("./utils/auth/index.js");
|
|
151
|
+
var import_loginParams = require("./utils/auth/loginParams.js");
|
|
150
152
|
var import_http_client = require("./communication/http-client/index.js");
|
|
151
153
|
var import_baseQuery = require("./communication/http-client/baseQuery.js");
|
|
152
154
|
var import_response_interceptor = require("./communication/http-client/response-interceptor.js");
|
|
@@ -21,8 +21,7 @@ const handleFailure = (error) => {
|
|
|
21
21
|
}).catch((exception) => Promise.reject(exception));
|
|
22
22
|
}
|
|
23
23
|
if (httpClientProps.endSession) {
|
|
24
|
-
httpClientProps.endSession({ ...getLoginParams(), skipRevoke: true }).catch(() =>
|
|
25
|
-
});
|
|
24
|
+
return httpClientProps.endSession({ ...getLoginParams(), skipRevoke: true }).then(() => Promise.reject(error)).catch(() => Promise.reject(error));
|
|
26
25
|
}
|
|
27
26
|
}
|
|
28
27
|
return Promise.reject(error);
|
package/dist/esm/index.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { isUserAuthorized, login, authorize } from "./utils/auth/index.js";
|
|
2
|
+
import { setLoginParams } from "./utils/auth/loginParams.js";
|
|
2
3
|
import {
|
|
3
4
|
getHTTPClient,
|
|
4
5
|
getAuthHTTPClient
|
|
@@ -230,6 +231,7 @@ export {
|
|
|
230
231
|
setAppConfigValue,
|
|
231
232
|
setAppDynamicsUserData,
|
|
232
233
|
setHostAppData,
|
|
234
|
+
setLoginParams,
|
|
233
235
|
startSideEffect,
|
|
234
236
|
subscribeToResetSession,
|
|
235
237
|
subscribeToSessionExpiry,
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export { isUserAuthorized, login, authorize } from './utils/auth/index.js';
|
|
2
|
+
export { setLoginParams } from './utils/auth/loginParams.js';
|
|
2
3
|
export { getHTTPClient, getAuthHTTPClient, } from './communication/http-client/index.js';
|
|
3
4
|
export { sdkBaseQuery } from './communication/http-client/baseQuery.js';
|
|
4
5
|
export { onAuthorizationFailure } from './communication/http-client/response-interceptor.js';
|