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.
@@ -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
  /**
@@ -10763,8 +10764,8 @@
10763
10764
  });
10764
10765
 
10765
10766
  /* yes, this string template literal is weird;
10766
- * it's cause rollup does not recogize 3.34.1 as an individual token otherwise */
10767
- const version = `Epicenter (v${'3.34.1'}) for Browsers | Build Date: 2026-02-19T18:00:38.906Z`;
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`;
10768
10769
  const UNAUTHORIZED = 401;
10769
10770
  const FORBIDDEN = 403;
10770
10771
  const DEFAULT_ERROR_HANDLERS = {};