@infrab4a/connect-angular 3.3.0-beta.0 → 3.3.0-beta.1
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.
|
@@ -869,7 +869,7 @@
|
|
|
869
869
|
shop: checkout.shop || this.defaultShop,
|
|
870
870
|
isSubscriber: (_e = checkout.user) === null || _e === void 0 ? void 0 : _e.isSubscriber,
|
|
871
871
|
});
|
|
872
|
-
console.log('teste', pricePaid);
|
|
872
|
+
console.log('teste PricePaid', pricePaid);
|
|
873
873
|
return [2 /*return*/, {
|
|
874
874
|
checkout: checkout,
|
|
875
875
|
lineItem: i2.LineItem.toInstance({
|
|
@@ -912,6 +912,7 @@
|
|
|
912
912
|
CartService.prototype.addItem = function (item, quantity) {
|
|
913
913
|
var _this = this;
|
|
914
914
|
if (quantity === void 0) { quantity = 1; }
|
|
915
|
+
console.log('teste');
|
|
915
916
|
return rxjs.from(this.checkoutService.getCheckout()).pipe(operators.concatMap(function (checkout) { return __awaiter(_this, void 0, void 0, function () { return __generator(this, function (_h) {
|
|
916
917
|
switch (_h.label) {
|
|
917
918
|
case 0: return [4 /*yield*/, this.buildLineItem({ checkout: checkout, item: item, quantity: quantity || 1 })];
|