@labdigital/commercetools-mock 2.49.0 → 2.49.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.
- package/dist/index.cjs +4 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +4 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/repositories/cart/actions.ts +4 -1
- package/src/services/cart.test.ts +31 -0
package/dist/index.cjs
CHANGED
|
@@ -1599,7 +1599,10 @@ var CartUpdateHandler = class extends AbstractUpdateHandler {
|
|
|
1599
1599
|
}
|
|
1600
1600
|
const shippingMethod = this._storage.getByResourceIdentifier(
|
|
1601
1601
|
context.projectKey,
|
|
1602
|
-
{
|
|
1602
|
+
{
|
|
1603
|
+
typeId: "shipping-method",
|
|
1604
|
+
key: shippingKey
|
|
1605
|
+
}
|
|
1603
1606
|
);
|
|
1604
1607
|
if (resource.shippingInfo?.shippingMethod?.id !== shippingMethod.id) {
|
|
1605
1608
|
throw new Error("Shipping method with key not found");
|