@apicurio/common-ui-components 2.0.12 → 2.0.13

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.
Files changed (2) hide show
  1. package/dist/main.js +7 -3
  2. package/package.json +1 -1
package/dist/main.js CHANGED
@@ -2410,9 +2410,13 @@ const Us = (e) => (V = Rs(Cs, e), new Es({
2410
2410
  } catch (e) {
2411
2411
  console.error("[Auth] Error logging in using OIDC: ", e);
2412
2412
  }
2413
- }, As = async () => u == null ? void 0 : u.removeUser().then(() => u == null ? void 0 : u.signoutRedirect({
2414
- post_logout_redirect_uri: V.logoutUrl || window.location.href
2415
- })), Os = async () => await (u == null ? void 0 : u.getUser()) != null, Ns = async () => {
2413
+ }, As = async () => {
2414
+ const e = await (u == null ? void 0 : u.getUser()), t = e == null ? void 0 : e.id_token;
2415
+ return u == null ? void 0 : u.removeUser().then(() => u == null ? void 0 : u.signoutRedirect({
2416
+ id_token_hint: t,
2417
+ post_logout_redirect_uri: V.logoutUrl || window.location.href
2418
+ }));
2419
+ }, Os = async () => await (u == null ? void 0 : u.getUser()) != null, Ns = async () => {
2416
2420
  const e = await (u == null ? void 0 : u.getUser());
2417
2421
  return Promise.resolve(e == null ? void 0 : e.access_token);
2418
2422
  }, qs = async () => {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@apicurio/common-ui-components",
3
3
  "private": false,
4
- "version": "2.0.12",
4
+ "version": "2.0.13",
5
5
  "type": "module",
6
6
  "main": "dist/main.js",
7
7
  "types": "dist/main.d.ts",