@daffodil/cart 0.42.0 → 0.42.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.
@@ -1185,6 +1185,28 @@ function daffCartOrderReducer(state = daffCartOrderInitialState, action) {
1185
1185
  action.payload,
1186
1186
  ],
1187
1187
  };
1188
+ case DaffCartActionTypes.CartClearSuccessAction:
1189
+ case DaffCartActionTypes.CartCreateSuccessAction:
1190
+ case DaffCartActionTypes.AddToCartSuccessAction:
1191
+ case DaffCartBillingAddressActionTypes.CartBillingAddressUpdateSuccessAction:
1192
+ case DaffCartShippingAddressActionTypes.CartShippingAddressUpdateSuccessAction:
1193
+ case DaffCartAddressActionTypes.CartAddressUpdateSuccessAction:
1194
+ case DaffCartCouponActionTypes.CartCouponApplySuccessAction:
1195
+ case DaffCartCouponActionTypes.CartCouponRemoveSuccessAction:
1196
+ case DaffCartCouponActionTypes.CartCouponRemoveAllSuccessAction:
1197
+ case DaffCartItemActionTypes.CartItemUpdateSuccessAction:
1198
+ case DaffCartItemActionTypes.CartItemAddSuccessAction:
1199
+ case DaffCartItemActionTypes.CartItemDeleteSuccessAction:
1200
+ case DaffCartItemActionTypes.CartItemDeleteOutOfStockSuccessAction:
1201
+ case DaffCartPaymentActionTypes.CartPaymentRemoveSuccessAction:
1202
+ case DaffCartPaymentActionTypes.CartPaymentUpdateSuccessAction:
1203
+ case DaffCartPaymentActionTypes.CartPaymentUpdateWithBillingSuccessAction:
1204
+ case DaffCartShippingInformationActionTypes.CartShippingInformationUpdateSuccessAction:
1205
+ case DaffCartShippingInformationActionTypes.CartShippingInformationDeleteSuccessAction:
1206
+ return {
1207
+ ...state,
1208
+ errors: [],
1209
+ };
1188
1210
  default:
1189
1211
  return state;
1190
1212
  }