@labdigital/commercetools-mock 2.65.1 → 2.66.0

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.mjs CHANGED
@@ -1594,8 +1594,9 @@ var OrderUpdateHandler = class extends AbstractUpdateHandler {
1594
1594
  ...getBaseResourceProperties(),
1595
1595
  quantity: item.quantity,
1596
1596
  paymentState: "Initial",
1597
- shipmentState: "Initial",
1598
- comment: item.comment
1597
+ shipmentState: item.shipmentState ?? "Advised",
1598
+ comment: item.comment,
1599
+ custom: createCustomFields(item.custom, context.projectKey, this._storage)
1599
1600
  };
1600
1601
  if (item.customLineItemId) return {
1601
1602
  ...common,