@pmcretail/mapper-library 0.0.31 → 0.0.32

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.
@@ -7817,7 +7817,9 @@
7817
7817
  if (!(/** @type {?} */ (this)).webReturnObject.basket.transactionPromotion) {
7818
7818
  (/** @type {?} */ (this)).webReturnObject.basket.transactionPromotion = [];
7819
7819
  }
7820
- (/** @type {?} */ (this)).webReturnObject.basket.transactionPromotion.push(transactionPromotion);
7820
+ if (transactionPromotion && transactionPromotion.promotionId) {
7821
+ (/** @type {?} */ (this)).webReturnObject.basket.transactionPromotion.push(transactionPromotion);
7822
+ }
7821
7823
  return (/** @type {?} */ (this));
7822
7824
  }
7823
7825
  catch (error) {