epicenter-libs 3.34.0 → 3.34.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.
@@ -0,0 +1 @@
1
+ {"type":"commonjs"}
package/dist/epicenter.js CHANGED
@@ -2055,11 +2055,12 @@
2055
2055
  return this._apiProtocol;
2056
2056
  }
2057
2057
  set apiProtocol(apiProtocol) {
2058
- if (!apiProtocol.startsWith('http')) return;
2059
- if (apiProtocol.endsWith(':')) {
2060
- apiProtocol = apiProtocol.slice(0, -1);
2058
+ let proto = apiProtocol.toLowerCase();
2059
+ if (!proto.startsWith('http')) return;
2060
+ if (proto.endsWith(':')) {
2061
+ proto = proto.slice(0, -1);
2061
2062
  }
2062
- this._apiProtocol = apiProtocol;
2063
+ this._apiProtocol = proto;
2063
2064
  }
2064
2065
 
2065
2066
  /**
@@ -2354,6 +2355,10 @@
2354
2355
  cookies.removeItem(EPI_SSO_KEY, {
2355
2356
  path: `/app${account}${project}`
2356
2357
  });
2358
+ cookies.removeItem(EPI_SSO_KEY, {
2359
+ domain: `.${window.location.hostname}`,
2360
+ path: `/app${account}${project}`
2361
+ });
2357
2362
  }
2358
2363
  }
2359
2364
  }
@@ -10759,8 +10764,8 @@
10759
10764
  });
10760
10765
 
10761
10766
  /* yes, this string template literal is weird;
10762
- * it's cause rollup does not recogize 3.34.0 as an individual token otherwise */
10763
- const version = `Epicenter (v${'3.34.0'}) for Browsers | Build Date: 2026-02-12T21:41:02.367Z`;
10767
+ * it's cause rollup does not recogize 3.34.2 as an individual token otherwise */
10768
+ const version = `Epicenter (v${'3.34.2'}) for Browsers | Build Date: 2026-04-01T19:37:03.682Z`;
10764
10769
  const UNAUTHORIZED = 401;
10765
10770
  const FORBIDDEN = 403;
10766
10771
  const DEFAULT_ERROR_HANDLERS = {};