@bikematrix/web-components 1.3.8 → 1.3.9
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/dist/bm_core.es.js +3 -3
- package/dist/bm_core.js +2 -2
- package/dist/bm_core.umd.js +2 -2
- package/package.json +1 -1
package/dist/bm_core.es.js
CHANGED
|
@@ -4730,7 +4730,7 @@ class Se {
|
|
|
4730
4730
|
...this._apiToken && {
|
|
4731
4731
|
"bm-app-token": this._apiToken
|
|
4732
4732
|
},
|
|
4733
|
-
"bm-sdk-version": "1.3.
|
|
4733
|
+
"bm-sdk-version": "1.3.9"
|
|
4734
4734
|
};
|
|
4735
4735
|
typeof t.params == "object" && (Object.keys(t.params).forEach((o) => {
|
|
4736
4736
|
t.params[o] && i.searchParams.set(o, t.params[o]);
|
|
@@ -6521,7 +6521,7 @@ const Hp = Be(`bm_translation_${Fd}.json`), Gp = async () => {
|
|
|
6521
6521
|
...e
|
|
6522
6522
|
}), this.initializeConfig(), this.service = new Se(this.config.apiUrl, this.config.apiKey, this.config.apiToken, this.config.isShopify), this.initializeActiveSubscription(), localStorage.bm_currentBike && (this.currentBike = JSON.parse(localStorage.bm_currentBike)), await Gp(), (this.config.logLevel === "verbose" || this.config.logLevel === "core") && console.log(`Core: Resolved Language: ${_e.resolvedLanguage}`), this.setupEventListeners(), this.registerComponents(), this.initialized = !0, ns.value = !0;
|
|
6523
6523
|
const t = new Event("BM:Initialized");
|
|
6524
|
-
document.dispatchEvent(t), (this.config.logLevel === "verbose" || this.config.logLevel === "core") && (console.log("Core: BikeMatrix WebComponent Version: 1.3.
|
|
6524
|
+
document.dispatchEvent(t), (this.config.logLevel === "verbose" || this.config.logLevel === "core") && (console.log("Core: BikeMatrix WebComponent Version: 1.3.9"), console.log("Core: BikeMatrixCore initialized"));
|
|
6525
6525
|
}
|
|
6526
6526
|
// Singleton pattern to ensure a single global instance
|
|
6527
6527
|
static getInstance() {
|
|
@@ -15206,7 +15206,7 @@ function Y1({
|
|
|
15206
15206
|
var A;
|
|
15207
15207
|
return (A = Z.value) == null ? void 0 : A.compatibleCollections.some((C) => C.handle === k);
|
|
15208
15208
|
}))
|
|
15209
|
-
return n.logLevel === "verbose" && console.log("No product collection available"),
|
|
15209
|
+
return n.logLevel === "verbose" && console.log("No product collection available"), p($, {});
|
|
15210
15210
|
n.internalLink && w(n.internalLink);
|
|
15211
15211
|
const b = ut(() => Je.value || h, [Je.value, h]), m = !!i.getActiveSubscription(), x = async () => {
|
|
15212
15212
|
var A, C, D, S, T, L, F;
|