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
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,26 @@
|
|
|
1
|
+
## [3.34.2](https://github.com/forio/epicenter-libs/compare/v3.34.1...v3.34.2) (2026-04-01)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* allow cjs importing compatability for proxy ([5c8624d](https://github.com/forio/epicenter-libs/commit/5c8624d1ef904d4ed78f66261eb62debe3970159))
|
|
7
|
+
* lowercase API protocol ([89bc161](https://github.com/forio/epicenter-libs/commit/89bc16124ff34f2986f5a9aeb0a5b46422b8ce87))
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
### Features
|
|
11
|
+
|
|
12
|
+
* updated apiProtocol setter ([94bbbea](https://github.com/forio/epicenter-libs/commit/94bbbea9c5551b5b5394a955869e9af1d6d91761))
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
## [3.34.1](https://github.com/forio/epicenter-libs/compare/v3.34.0...v3.34.1) (2026-02-19)
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
### Bug Fixes
|
|
20
|
+
|
|
21
|
+
* remove both host-only and subdomain v3 SSO cookies ([6d217b2](https://github.com/forio/epicenter-libs/commit/6d217b2253f918197afdc90136fa569d3c734be3))
|
|
22
|
+
|
|
23
|
+
|
|
1
24
|
# [3.34.0](https://github.com/forio/epicenter-libs/compare/v3.33.0...v3.34.0) (2026-02-12)
|
|
2
25
|
|
|
3
26
|
|
|
@@ -2049,11 +2049,12 @@ class Config {
|
|
|
2049
2049
|
return this._apiProtocol;
|
|
2050
2050
|
}
|
|
2051
2051
|
set apiProtocol(apiProtocol) {
|
|
2052
|
-
|
|
2053
|
-
if (
|
|
2054
|
-
|
|
2052
|
+
let proto = apiProtocol.toLowerCase();
|
|
2053
|
+
if (!proto.startsWith('http')) return;
|
|
2054
|
+
if (proto.endsWith(':')) {
|
|
2055
|
+
proto = proto.slice(0, -1);
|
|
2055
2056
|
}
|
|
2056
|
-
this._apiProtocol =
|
|
2057
|
+
this._apiProtocol = proto;
|
|
2057
2058
|
}
|
|
2058
2059
|
|
|
2059
2060
|
/**
|
|
@@ -2348,6 +2349,10 @@ class Identification {
|
|
|
2348
2349
|
cookies.removeItem(EPI_SSO_KEY, {
|
|
2349
2350
|
path: `/app${account}${project}`
|
|
2350
2351
|
});
|
|
2352
|
+
cookies.removeItem(EPI_SSO_KEY, {
|
|
2353
|
+
domain: `.${window.location.hostname}`,
|
|
2354
|
+
path: `/app${account}${project}`
|
|
2355
|
+
});
|
|
2351
2356
|
}
|
|
2352
2357
|
}
|
|
2353
2358
|
}
|
|
@@ -10753,8 +10758,8 @@ var utilities = /*#__PURE__*/Object.freeze({
|
|
|
10753
10758
|
});
|
|
10754
10759
|
|
|
10755
10760
|
/* yes, this string template literal is weird;
|
|
10756
|
-
* it's cause rollup does not recogize 3.34.
|
|
10757
|
-
const version = `Epicenter (v${'3.34.
|
|
10761
|
+
* it's cause rollup does not recogize 3.34.2 as an individual token otherwise */
|
|
10762
|
+
const version = `Epicenter (v${'3.34.2'}) for Browsers | Build Date: 2026-04-01T19:37:03.682Z`;
|
|
10758
10763
|
const UNAUTHORIZED = 401;
|
|
10759
10764
|
const FORBIDDEN = 403;
|
|
10760
10765
|
const DEFAULT_ERROR_HANDLERS = {};
|