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/dist/cjs/epicenter.js
CHANGED
|
@@ -83024,11 +83024,12 @@ class Config {
|
|
|
83024
83024
|
return this._apiProtocol;
|
|
83025
83025
|
}
|
|
83026
83026
|
set apiProtocol(apiProtocol) {
|
|
83027
|
-
|
|
83028
|
-
if (
|
|
83029
|
-
|
|
83027
|
+
let proto = apiProtocol.toLowerCase();
|
|
83028
|
+
if (!proto.startsWith('http')) return;
|
|
83029
|
+
if (proto.endsWith(':')) {
|
|
83030
|
+
proto = proto.slice(0, -1);
|
|
83030
83031
|
}
|
|
83031
|
-
this._apiProtocol =
|
|
83032
|
+
this._apiProtocol = proto;
|
|
83032
83033
|
}
|
|
83033
83034
|
|
|
83034
83035
|
/**
|
|
@@ -91732,8 +91733,8 @@ var utilities = /*#__PURE__*/Object.freeze({
|
|
|
91732
91733
|
});
|
|
91733
91734
|
|
|
91734
91735
|
/* yes, this string template literal is weird;
|
|
91735
|
-
* it's cause rollup does not recogize 3.34.
|
|
91736
|
-
const version = `Epicenter (v${'3.34.
|
|
91736
|
+
* it's cause rollup does not recogize 3.34.2 as an individual token otherwise */
|
|
91737
|
+
const version = `Epicenter (v${'3.34.2'}) for Module | Build Date: 2026-04-01T19:37:08.284Z`;
|
|
91737
91738
|
const UNAUTHORIZED = 401;
|
|
91738
91739
|
const FORBIDDEN = 403;
|
|
91739
91740
|
const DEFAULT_ERROR_HANDLERS = {};
|