@getlupa/client 1.1.6 → 1.1.7

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.
@@ -26745,7 +26745,7 @@ var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
26745
26745
  clearSearchContainer,
26746
26746
  clearRecommendations
26747
26747
  };
26748
- if (window) {
26748
+ if (typeof window !== "undefined") {
26749
26749
  window.getLupa = lupaSearch;
26750
26750
  window.lupaSearch = lupaSearch;
26751
26751
  }
@@ -26745,7 +26745,7 @@ const lupaSearch = {
26745
26745
  clearSearchContainer,
26746
26746
  clearRecommendations
26747
26747
  };
26748
- if (window) {
26748
+ if (typeof window !== "undefined") {
26749
26749
  window.getLupa = lupaSearch;
26750
26750
  window.lupaSearch = lupaSearch;
26751
26751
  }
@@ -26743,7 +26743,7 @@ const lupaSearch = {
26743
26743
  clearSearchContainer,
26744
26744
  clearRecommendations
26745
26745
  };
26746
- if (window) {
26746
+ if (typeof window !== "undefined") {
26747
26747
  window.getLupa = lupaSearch;
26748
26748
  window.lupaSearch = lupaSearch;
26749
26749
  }
@@ -26747,7 +26747,7 @@ var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
26747
26747
  clearSearchContainer,
26748
26748
  clearRecommendations
26749
26749
  };
26750
- if (window) {
26750
+ if (typeof window !== "undefined") {
26751
26751
  window.getLupa = lupaSearch;
26752
26752
  window.lupaSearch = lupaSearch;
26753
26753
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@getlupa/client",
3
- "version": "1.1.6",
3
+ "version": "1.1.7",
4
4
  "main": "dist/lupaSearch.js",
5
5
  "module": "dist/index.mjs",
6
6
  "types": "dist/src/index.d.ts",