epicenter-libs 3.34.1 → 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 +15 -0
- package/dist/browser/epicenter.js +7 -6
- package/dist/browser/epicenter.js.map +1 -1
- package/dist/cjs/epicenter.js +7 -6
- package/dist/cjs/epicenter.js.map +1 -1
- package/dist/cjs/package.json +1 -0
- package/dist/epicenter.js +7 -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 +7 -6
- package/dist/module/epicenter.js.map +1 -1
- package/package.json +1 -1
- package/src/utils/config.ts +5 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,18 @@
|
|
|
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
|
+
|
|
1
16
|
## [3.34.1](https://github.com/forio/epicenter-libs/compare/v3.34.0...v3.34.1) (2026-02-19)
|
|
2
17
|
|
|
3
18
|
|
|
@@ -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
|
/**
|
|
@@ -10757,8 +10758,8 @@ var utilities = /*#__PURE__*/Object.freeze({
|
|
|
10757
10758
|
});
|
|
10758
10759
|
|
|
10759
10760
|
/* yes, this string template literal is weird;
|
|
10760
|
-
* it's cause rollup does not recogize 3.34.
|
|
10761
|
-
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`;
|
|
10762
10763
|
const UNAUTHORIZED = 401;
|
|
10763
10764
|
const FORBIDDEN = 403;
|
|
10764
10765
|
const DEFAULT_ERROR_HANDLERS = {};
|