@apicurio/common-ui-components 2.0.7 → 2.0.8

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 +1 -1
  2. package/package.json +1 -1
package/dist/main.js CHANGED
@@ -2389,7 +2389,7 @@ const Us = (e) => (V = Rs(Cs, e), new Es({
2389
2389
  post_logout_redirect_uri: V.logoutUrl || window.location.href
2390
2390
  })), Os = async () => await (p == null ? void 0 : p.getUser()) != null, Ns = async () => {
2391
2391
  const e = await (p == null ? void 0 : p.getUser());
2392
- return Promise.resolve(e == null ? void 0 : e.id_token);
2392
+ return Promise.resolve(e == null ? void 0 : e.access_token);
2393
2393
  }, qs = async () => {
2394
2394
  const e = await (p == null ? void 0 : p.getUser());
2395
2395
  return Promise.resolve(e == null ? void 0 : e.profile.preferred_username);
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.7",
4
+ "version": "2.0.8",
5
5
  "type": "module",
6
6
  "main": "dist/main.js",
7
7
  "types": "dist/main.d.ts",