@infrab4a/connect-angular 2.0.6-beta.8 → 2.0.6-beta.9

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.
@@ -562,7 +562,7 @@
562
562
  case 3:
563
563
  discount = _e.sent();
564
564
  return [3 /*break*/, 4];
565
- case 4: return [2 /*return*/, rxjs.of(discount)];
565
+ case 4: return [2 /*return*/, discount];
566
566
  }
567
567
  });
568
568
  });
@@ -786,7 +786,12 @@
786
786
  };
787
787
  CheckoutService.prototype.calcDiscount = function (coupon) {
788
788
  var _this = this;
789
- return this.getCheckout().pipe(operators.concatMap(function (checkout) { return _this.couponService.calcDiscountShopping(coupon, checkout); }));
789
+ return this.getCheckout().pipe(operators.concatMap(function (checkout) { return __awaiter(_this, void 0, void 0, function () { return __generator(this, function (_b) {
790
+ switch (_b.label) {
791
+ case 0: return [4 /*yield*/, this.couponService.calcDiscountShopping(coupon, checkout)];
792
+ case 1: return [2 /*return*/, _b.sent()];
793
+ }
794
+ }); }); }));
790
795
  };
791
796
  CheckoutService.prototype.checkCoupon = function (nickname, checkoutType) {
792
797
  var _this = this;