@getlupa/client 1.23.1 → 1.23.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.
@@ -36728,6 +36728,7 @@ and ensure you are accounting for this risk.
36728
36728
  itemId: id.value,
36729
36729
  searchQuery: query.value,
36730
36730
  type: item.type,
36731
+ options: props.lupaClickTrackingType === "recommendedItemClick" ? { allowEmptySearchQuery: true } : void 0,
36731
36732
  analytics: item.type === "addToCart" ? {
36732
36733
  type: "search_add_to_cart",
36733
36734
  label: title.value || id.value || link.value
@@ -36728,6 +36728,7 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
36728
36728
  itemId: id.value,
36729
36729
  searchQuery: query.value,
36730
36730
  type: item.type,
36731
+ options: props.lupaClickTrackingType === "recommendedItemClick" ? { allowEmptySearchQuery: true } : void 0,
36731
36732
  analytics: item.type === "addToCart" ? {
36732
36733
  type: "search_add_to_cart",
36733
36734
  label: title.value || id.value || link.value
@@ -36726,6 +36726,7 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
36726
36726
  itemId: id.value,
36727
36727
  searchQuery: query.value,
36728
36728
  type: item.type,
36729
+ options: props.lupaClickTrackingType === "recommendedItemClick" ? { allowEmptySearchQuery: true } : void 0,
36729
36730
  analytics: item.type === "addToCart" ? {
36730
36731
  type: "search_add_to_cart",
36731
36732
  label: title.value || id.value || link.value
@@ -36730,6 +36730,7 @@ and ensure you are accounting for this risk.
36730
36730
  itemId: id.value,
36731
36731
  searchQuery: query.value,
36732
36732
  type: item.type,
36733
+ options: props.lupaClickTrackingType === "recommendedItemClick" ? { allowEmptySearchQuery: true } : void 0,
36733
36734
  analytics: item.type === "addToCart" ? {
36734
36735
  type: "search_add_to_cart",
36735
36736
  label: title.value || id.value || link.value
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@getlupa/client",
3
- "version": "1.23.1",
3
+ "version": "1.23.2",
4
4
  "main": "dist/lupaSearch.js",
5
5
  "module": "dist/lupaSearch.mjs",
6
6
  "types": "dist/index.d.ts",
@@ -20,7 +20,7 @@
20
20
  },
21
21
  "devDependencies": {
22
22
  "@getlupa/client-sdk": "^1.8.1",
23
- "@getlupa/vue": "0.23.1",
23
+ "@getlupa/vue": "0.23.2",
24
24
  "@rushstack/eslint-patch": "^1.12.0",
25
25
  "@tsconfig/node18": "^18.2.4",
26
26
  "@types/jsdom": "^21.1.7",