@daffodil/cart 0.62.3 → 0.62.4

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.
@@ -1510,7 +1510,7 @@ class DaffMagentoCartService {
1510
1510
  : throwError(() => resp.errors.filter((err) => !err.recoverable)[0])));
1511
1511
  }
1512
1512
  create() {
1513
- return this.mutationQueue.mutate({ mutation: createCart }).pipe(map(result => ({ id: result.data.createEmptyCart })));
1513
+ return this.mutationQueue.mutate({ mutation: createCart }).pipe(map(result => ({ id: result.data.createEmptyCart })), catchError(err => throwError(() => transformCartMagentoError(err))));
1514
1514
  }
1515
1515
  addToCart(productId, qty) {
1516
1516
  throw new Error('Method is deprecated. Use DaffCartItemServiceInterface#add instead.');