unifyedx-storybook-new 0.2.87 → 0.2.88

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.
@@ -2351,20 +2351,20 @@ const ua = ma(localStorage), Rl = ma(sessionStorage), Il = {
2351
2351
  }
2352
2352
  };
2353
2353
  function vt() {
2354
- const t = window.location.hostname;
2355
- return t === "localhost" || t === "127.0.0.1" ? "https://dev.unifyed.com" : `${window.location.protocol}//${t}`;
2354
+ const t = window.location.hostname, s = t === "localhost" || t === "127.0.0.1" ? "https://dev.unifyed.com" : `${window.location.protocol}//${t}`;
2355
+ return console.log("::STORYBOOK:: getBaseUrl endpoint", s), s;
2356
2356
  }
2357
2357
  function Vn() {
2358
2358
  try {
2359
2359
  const t = ua.get("userProfile"), a = t && typeof t == "object" ? t : {};
2360
- return console.log("::STORYBOOK:: gateWayUrl", a), a.gatewaypath ? a.gatewaypath : "/unifyd-gateway/api";
2360
+ return console.log("::STORYBOOK:: gateWayUrl userProfile", a), a.gatewaypath ? a.gatewaypath : "/unifyd-gateway/api";
2361
2361
  } catch (t) {
2362
2362
  return console.warn("Error reading gateway URL from profile", t), "/unifyd-gateway/api";
2363
2363
  }
2364
2364
  }
2365
2365
  function $e() {
2366
2366
  const t = vt().replace(/\/$/, ""), a = Vn().replace(/^\//, ""), s = `${t}/${a}`, i = ua.get("userProfile");
2367
- return console.log("::STORYBOOK:: gatewayBase", s, i), s;
2367
+ return console.log("::STORYBOOK:: gatewayBase endpoint", s, i), s;
2368
2368
  }
2369
2369
  function ha() {
2370
2370
  return `${$e()}/unifyedstudioutility/commonutility/users/list?sortkey=firstName&sortorder=false&page=0&size=999&onlineusersonly=false`;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "unifyedx-storybook-new",
3
3
  "private": false,
4
- "version": "0.2.87",
4
+ "version": "0.2.88",
5
5
  "type": "module",
6
6
  "main": "dist/unifyedx-storybook-new.es.js",
7
7
  "module": "dist/unifyedx-storybook-new.es.js",