@bikematrix/web-components 1.3.12 → 1.3.13

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.
@@ -4727,7 +4727,7 @@ class Se {
4727
4727
  ...this._apiToken && {
4728
4728
  "bm-app-token": this._apiToken
4729
4729
  },
4730
- "bm-sdk-version": "1.3.12",
4730
+ "bm-sdk-version": "1.3.13",
4731
4731
  // Added globally so request origin context is available on every endpoint.
4732
4732
  "bm-url": window.location.href,
4733
4733
  // Added globally so all endpoints can be tied to the same page-load event.
@@ -6537,7 +6537,7 @@ const Yp = Be(`bm_translation_${Fd}.json`), Kp = async () => {
6537
6537
  ...e
6538
6538
  }), 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 Kp(), (this.config.logLevel === "verbose" || this.config.logLevel === "core") && console.log(`Core: Resolved Language: ${ge.resolvedLanguage}`), this.setupEventListeners(), this.registerComponents(), this.initialized = !0, rs.value = !0;
6539
6539
  const t = new Event("BM:Initialized");
6540
- document.dispatchEvent(t), (this.config.logLevel === "verbose" || this.config.logLevel === "core") && (console.log("Core: BikeMatrix WebComponent Version: 1.3.12"), console.log("Core: BikeMatrixCore initialized"));
6540
+ document.dispatchEvent(t), (this.config.logLevel === "verbose" || this.config.logLevel === "core") && (console.log("Core: BikeMatrix WebComponent Version: 1.3.13"), console.log("Core: BikeMatrixCore initialized"));
6541
6541
  }
6542
6542
  // Singleton pattern to ensure a single global instance
6543
6543
  static getInstance() {
@@ -15222,7 +15222,7 @@ function X1({
15222
15222
  } = ee(), [h, f] = O(!1), m = i || n.sku, [b, w] = O(null);
15223
15223
  if (i === "*")
15224
15224
  return n.logLevel === "verbose" && console.log("Early return as prouduct is blacklisted"), p($, {});
15225
- if (((_ = n.productCollections) == null ? void 0 : _.length) === 0 || !n.productCollections || !n.productCollections.some((k) => {
15225
+ if (((_ = n.productCollections) == null ? void 0 : _.length) === 0 || !n.productCollections || Z.value && !n.productCollections.some((k) => {
15226
15226
  var A;
15227
15227
  return (A = Z.value) == null ? void 0 : A.compatibleCollections.some((C) => C.handle === k);
15228
15228
  }))