@apicurio/common-ui-components 4.0.1 → 4.0.2

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 +2 -0
  2. package/package.json +1 -1
package/dist/main.js CHANGED
@@ -2006,6 +2006,8 @@ var sn = async () => {
2006
2006
  return K?.removeUser().then(() => K?.signoutRedirect({
2007
2007
  id_token_hint: e,
2008
2008
  post_logout_redirect_uri: q.logoutUrl || window.location.href
2009
+ }).catch(() => {
2010
+ window.location.href = q.logoutUrl || "/";
2009
2011
  }));
2010
2012
  }, un = async () => Zt(await K?.getUser()), dn = async () => {
2011
2013
  let e = await K?.getUser();
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@apicurio/common-ui-components",
3
3
  "private": false,
4
- "version": "4.0.1",
4
+ "version": "4.0.2",
5
5
  "type": "module",
6
6
  "main": "dist/main.js",
7
7
  "types": "dist/main.d.ts",