@pmcretail/mapper-library 0.0.32 → 0.0.33

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.
@@ -7840,18 +7840,14 @@
7840
7840
  */
7841
7841
  function () {
7842
7842
  var _this = this;
7843
- /** @type {?} */
7844
- var doc;
7845
- if ((/** @type {?} */ (this)).webReturnObject.basket.transactionPromotion) {
7843
+ if ((/** @type {?} */ (this)).webReturnObject.basket.transactionPromotion && (/** @type {?} */ (this)).webReturnObject.basket.transactionPromotion.length > 0) {
7846
7844
  (/** @type {?} */ (this)).webReturnObject.basket.transactionPromotion.forEach((/**
7847
7845
  * @param {?} tr
7848
7846
  * @return {?}
7849
7847
  */
7850
7848
  function (tr) {
7851
- doc =
7852
- (/** @type {?} */ (_this)).transactionPromotionProductPortionCalc((/** @type {?} */ (_this)).webReturnObject, tr);
7849
+ (/** @type {?} */ (_this)).transactionPromotionProductPortionCalc((/** @type {?} */ (_this)).webReturnObject, tr);
7853
7850
  }));
7854
- (/** @type {?} */ (this)).webReturnObject = doc;
7855
7851
  }
7856
7852
  return (/** @type {?} */ (this));
7857
7853
  };