@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.js CHANGED
@@ -1562,7 +1562,10 @@ var CartUpdateHandler = class extends AbstractUpdateHandler {
1562
1562
  }
1563
1563
  const shippingMethod = this._storage.getByResourceIdentifier(
1564
1564
  context.projectKey,
1565
- { key: shippingKey }
1565
+ {
1566
+ typeId: "shipping-method",
1567
+ key: shippingKey
1568
+ }
1566
1569
  );
1567
1570
  if (resource.shippingInfo?.shippingMethod?.id !== shippingMethod.id) {
1568
1571
  throw new Error("Shipping method with key not found");