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.
- package/CHANGELOG.md +23 -0
- package/dist/browser/epicenter.js +11 -6
- package/dist/browser/epicenter.js.map +1 -1
- package/dist/cjs/epicenter.js +11 -6
- package/dist/cjs/epicenter.js.map +1 -1
- package/dist/cjs/package.json +1 -0
- package/dist/epicenter.js +11 -6
- package/dist/epicenter.js.map +1 -1
- package/dist/epicenter.min.js +1 -1
- package/dist/epicenter.min.js.map +1 -1
- package/dist/module/epicenter.js +11 -6
- package/dist/module/epicenter.js.map +1 -1
- package/package.json +1 -1
- package/src/utils/config.ts +5 -4
- package/src/utils/identification.ts +4 -0
|
@@ -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
|
-
|
|
2059
|
-
if (
|
|
2060
|
-
|
|
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 =
|
|
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.
|
|
10763
|
-
const version = `Epicenter (v${'3.34.
|
|
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 = {};
|