@getlupa/client 1.23.1 → 1.23.3

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
@@ -47206,7 +47207,8 @@ and ensure you are accounting for this risk.
47206
47207
  setup(__props, { expose: __expose }) {
47207
47208
  const productRecommendations = ref(null);
47208
47209
  const fetch2 = () => {
47209
- productRecommendations == null ? void 0 : productRecommendations.fetch();
47210
+ var _a25;
47211
+ (_a25 = productRecommendations == null ? void 0 : productRecommendations.value) == null ? void 0 : _a25.fetch();
47210
47212
  };
47211
47213
  __expose({ fetch: fetch2 });
47212
47214
  return (_ctx, _cache) => {
@@ -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
@@ -47206,7 +47207,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
47206
47207
  setup(__props, { expose: __expose }) {
47207
47208
  const productRecommendations = ref(null);
47208
47209
  const fetch2 = () => {
47209
- productRecommendations == null ? void 0 : productRecommendations.fetch();
47210
+ var _a25;
47211
+ (_a25 = productRecommendations == null ? void 0 : productRecommendations.value) == null ? void 0 : _a25.fetch();
47210
47212
  };
47211
47213
  __expose({ fetch: fetch2 });
47212
47214
  return (_ctx, _cache) => {
@@ -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
@@ -47204,7 +47205,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
47204
47205
  setup(__props, { expose: __expose }) {
47205
47206
  const productRecommendations = ref(null);
47206
47207
  const fetch2 = () => {
47207
- productRecommendations == null ? void 0 : productRecommendations.fetch();
47208
+ var _a25;
47209
+ (_a25 = productRecommendations == null ? void 0 : productRecommendations.value) == null ? void 0 : _a25.fetch();
47208
47210
  };
47209
47211
  __expose({ fetch: fetch2 });
47210
47212
  return (_ctx, _cache) => {
@@ -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
@@ -47208,7 +47209,8 @@ and ensure you are accounting for this risk.
47208
47209
  setup(__props, { expose: __expose }) {
47209
47210
  const productRecommendations = ref(null);
47210
47211
  const fetch2 = () => {
47211
- productRecommendations == null ? void 0 : productRecommendations.fetch();
47212
+ var _a25;
47213
+ (_a25 = productRecommendations == null ? void 0 : productRecommendations.value) == null ? void 0 : _a25.fetch();
47212
47214
  };
47213
47215
  __expose({ fetch: fetch2 });
47214
47216
  return (_ctx, _cache) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@getlupa/client",
3
- "version": "1.23.1",
3
+ "version": "1.23.3",
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",