pb-sxp-ui 1.20.5 → 1.20.6

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/pb-ui.js CHANGED
@@ -1263,7 +1263,7 @@
1263
1263
  content_type: 'product',
1264
1264
  content_name: '',
1265
1265
  contents: [{
1266
- item_id: product === null || product === void 0 ? void 0 : product.itemId,
1266
+ id: product === null || product === void 0 ? void 0 : product.itemId,
1267
1267
  item_price: product === null || product === void 0 ? void 0 : product.price
1268
1268
  }],
1269
1269
  image_urls: (_s = product.homePage) !== null && _s !== void 0 ? _s : []
@@ -10903,10 +10903,10 @@
10903
10903
  }
10904
10904
  };
10905
10905
  React.useEffect(() => {
10906
- var _a;
10906
+ var _a, _b;
10907
10907
  if (!isActive)
10908
10908
  return;
10909
- const recData = Object.assign(Object.assign({}, data), { video: (data === null || data === void 0 ? void 0 : data.video) ? Object.assign(Object.assign({}, data === null || data === void 0 ? void 0 : data.video), { title: '', imgUrls: !isPost ? product === null || product === void 0 ? void 0 : product.homePage : (_a = data === null || data === void 0 ? void 0 : data.video) === null || _a === void 0 ? void 0 : _a.imgUrls }) : null });
10909
+ const recData = Object.assign(Object.assign({}, data), { video: (data === null || data === void 0 ? void 0 : data.video) ? Object.assign(Object.assign({}, data === null || data === void 0 ? void 0 : data.video), { title: '', imgUrls: !isPost ? product === null || product === void 0 ? void 0 : product.homePage : (_a = data === null || data === void 0 ? void 0 : data.video) === null || _a === void 0 ? void 0 : _a.imgUrls, url: !isPost ? '' : (_b = data === null || data === void 0 ? void 0 : data.video) === null || _b === void 0 ? void 0 : _b.url }) : null });
10910
10910
  bffFbReport === null || bffFbReport === void 0 ? void 0 : bffFbReport({
10911
10911
  eventName: 'ProductView',
10912
10912
  product: product ? [product] : undefined,
@@ -11866,10 +11866,10 @@
11866
11866
  }
11867
11867
  };
11868
11868
  React.useEffect(() => {
11869
- var _a;
11869
+ var _a, _b;
11870
11870
  if (!isActive)
11871
11871
  return;
11872
- const recData = Object.assign(Object.assign({}, data), { video: (data === null || data === void 0 ? void 0 : data.video) ? Object.assign(Object.assign({}, data === null || data === void 0 ? void 0 : data.video), { title: '', imgUrls: !isPost ? product === null || product === void 0 ? void 0 : product.homePage : (_a = data === null || data === void 0 ? void 0 : data.video) === null || _a === void 0 ? void 0 : _a.imgUrls }) : null });
11872
+ const recData = Object.assign(Object.assign({}, data), { video: (data === null || data === void 0 ? void 0 : data.video) ? Object.assign(Object.assign({}, data === null || data === void 0 ? void 0 : data.video), { title: '', imgUrls: !isPost ? product === null || product === void 0 ? void 0 : product.homePage : (_a = data === null || data === void 0 ? void 0 : data.video) === null || _a === void 0 ? void 0 : _a.imgUrls, url: !isPost ? '' : (_b = data === null || data === void 0 ? void 0 : data.video) === null || _b === void 0 ? void 0 : _b.url }) : null });
11873
11873
  bffFbReport === null || bffFbReport === void 0 ? void 0 : bffFbReport({
11874
11874
  eventName: 'ProductView',
11875
11875
  product: product ? [product] : undefined,
@@ -16290,7 +16290,7 @@ Made in Italy` })));
16290
16290
  position: cacheActiveIndex
16291
16291
  });
16292
16292
  }
16293
- }, [openHashtag, bffFbReport, waterFallData, cacheActiveIndex]);
16293
+ }, [openHashtag, waterFallData, cacheActiveIndex]);
16294
16294
  React.useEffect(() => {
16295
16295
  const initTime = () => {
16296
16296
  setViewTime(new Date());