@medusajs/draft-order 2.21.0-snapshot-20260910110221 → 2.21.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.
@@ -6189,6 +6189,74 @@ const CustomItemsForm = () => {
6189
6189
  const schema$4 = zod.z.object({
6190
6190
  email: zod.z.string().email()
6191
6191
  });
6192
+ const Email = () => {
6193
+ const { id } = reactRouterDom.useParams();
6194
+ const { order, isPending, isError, error } = useOrder(id, {
6195
+ fields: "+email"
6196
+ });
6197
+ if (isError) {
6198
+ throw error;
6199
+ }
6200
+ const isReady = !isPending && !!order;
6201
+ return /* @__PURE__ */ jsxRuntime.jsxs(RouteDrawer, { children: [
6202
+ /* @__PURE__ */ jsxRuntime.jsxs(RouteDrawer.Header, { children: [
6203
+ /* @__PURE__ */ jsxRuntime.jsx(RouteDrawer.Title, { asChild: true, children: /* @__PURE__ */ jsxRuntime.jsx(ui.Heading, { children: "Edit Email" }) }),
6204
+ /* @__PURE__ */ jsxRuntime.jsx(RouteDrawer.Description, { asChild: true, children: /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sr-only", children: "Edit the email for the draft order" }) })
6205
+ ] }),
6206
+ isReady && /* @__PURE__ */ jsxRuntime.jsx(EmailForm, { order })
6207
+ ] });
6208
+ };
6209
+ const EmailForm = ({ order }) => {
6210
+ const form = reactHookForm.useForm({
6211
+ defaultValues: {
6212
+ email: order.email ?? ""
6213
+ },
6214
+ resolver: zod$1.zodResolver(schema$3)
6215
+ });
6216
+ const { mutateAsync, isPending } = useUpdateDraftOrder(order.id);
6217
+ const { handleSuccess } = useRouteModal();
6218
+ const onSubmit = form.handleSubmit(async (data) => {
6219
+ await mutateAsync(
6220
+ { email: data.email },
6221
+ {
6222
+ onSuccess: () => {
6223
+ handleSuccess();
6224
+ },
6225
+ onError: (error) => {
6226
+ ui.toast.error(error.message);
6227
+ }
6228
+ }
6229
+ );
6230
+ });
6231
+ return /* @__PURE__ */ jsxRuntime.jsx(RouteDrawer.Form, { form, children: /* @__PURE__ */ jsxRuntime.jsxs(
6232
+ KeyboundForm,
6233
+ {
6234
+ className: "flex flex-1 flex-col overflow-hidden",
6235
+ onSubmit,
6236
+ children: [
6237
+ /* @__PURE__ */ jsxRuntime.jsx(RouteDrawer.Body, { className: "flex flex-col gap-y-6 overflow-y-auto", children: /* @__PURE__ */ jsxRuntime.jsx(
6238
+ Form$2.Field,
6239
+ {
6240
+ control: form.control,
6241
+ name: "email",
6242
+ render: ({ field }) => /* @__PURE__ */ jsxRuntime.jsxs(Form$2.Item, { children: [
6243
+ /* @__PURE__ */ jsxRuntime.jsx(Form$2.Label, { children: "Email" }),
6244
+ /* @__PURE__ */ jsxRuntime.jsx(Form$2.Control, { children: /* @__PURE__ */ jsxRuntime.jsx(ui.Input, { ...field }) }),
6245
+ /* @__PURE__ */ jsxRuntime.jsx(Form$2.ErrorMessage, {})
6246
+ ] })
6247
+ }
6248
+ ) }),
6249
+ /* @__PURE__ */ jsxRuntime.jsx(RouteDrawer.Footer, { children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex justify-end gap-2", children: [
6250
+ /* @__PURE__ */ jsxRuntime.jsx(RouteDrawer.Close, { asChild: true, children: /* @__PURE__ */ jsxRuntime.jsx(ui.Button, { size: "small", variant: "secondary", children: "Cancel" }) }),
6251
+ /* @__PURE__ */ jsxRuntime.jsx(ui.Button, { size: "small", type: "submit", isLoading: isPending, children: "Save" })
6252
+ ] }) })
6253
+ ]
6254
+ }
6255
+ ) });
6256
+ };
6257
+ const schema$3 = zod.z.object({
6258
+ email: zod.z.string().email()
6259
+ });
6192
6260
  const NumberInput = React.forwardRef(
6193
6261
  ({
6194
6262
  value,
@@ -7861,7 +7929,7 @@ const SalesChannelForm = ({ order }) => {
7861
7929
  defaultValues: {
7862
7930
  sales_channel_id: order.sales_channel_id || ""
7863
7931
  },
7864
- resolver: zod$1.zodResolver(schema$3)
7932
+ resolver: zod$1.zodResolver(schema$2)
7865
7933
  });
7866
7934
  const { mutateAsync, isPending } = useUpdateDraftOrder(order.id);
7867
7935
  const { handleSuccess } = useRouteModal();
@@ -7936,7 +8004,7 @@ const SalesChannelField = ({ control, order }) => {
7936
8004
  }
7937
8005
  );
7938
8006
  };
7939
- const schema$3 = zod.z.object({
8007
+ const schema$2 = zod.z.object({
7940
8008
  sales_channel_id: zod.z.string().min(1)
7941
8009
  });
7942
8010
  const STACKED_FOCUS_MODAL_ID = "shipping-form";
@@ -8764,7 +8832,7 @@ const ShippingAddressForm = ({ order }) => {
8764
8832
  postal_code: order.shipping_address?.postal_code ?? "",
8765
8833
  phone: order.shipping_address?.phone ?? ""
8766
8834
  },
8767
- resolver: zod$1.zodResolver(schema$2)
8835
+ resolver: zod$1.zodResolver(schema$1)
8768
8836
  });
8769
8837
  const { mutateAsync, isPending } = useUpdateDraftOrder(order.id);
8770
8838
  const { handleSuccess } = useRouteModal();
@@ -8934,7 +9002,7 @@ const ShippingAddressForm = ({ order }) => {
8934
9002
  }
8935
9003
  ) });
8936
9004
  };
8937
- const schema$2 = addressSchema;
9005
+ const schema$1 = addressSchema;
8938
9006
  const TransferOwnership = () => {
8939
9007
  const { id } = reactRouterDom.useParams();
8940
9008
  const { draft_order, isPending, isError, error } = useDraftOrder(id, {
@@ -8957,7 +9025,7 @@ const TransferOwnershipForm = ({ order }) => {
8957
9025
  defaultValues: {
8958
9026
  customer_id: order.customer_id || ""
8959
9027
  },
8960
- resolver: zod$1.zodResolver(schema$1)
9028
+ resolver: zod$1.zodResolver(schema)
8961
9029
  });
8962
9030
  const { mutateAsync, isPending } = useUpdateDraftOrder(order.id);
8963
9031
  const { handleSuccess } = useRouteModal();
@@ -9407,76 +9475,8 @@ const Illustration = () => {
9407
9475
  }
9408
9476
  );
9409
9477
  };
9410
- const schema$1 = zod.z.object({
9411
- customer_id: zod.z.string().min(1)
9412
- });
9413
- const Email = () => {
9414
- const { id } = reactRouterDom.useParams();
9415
- const { order, isPending, isError, error } = useOrder(id, {
9416
- fields: "+email"
9417
- });
9418
- if (isError) {
9419
- throw error;
9420
- }
9421
- const isReady = !isPending && !!order;
9422
- return /* @__PURE__ */ jsxRuntime.jsxs(RouteDrawer, { children: [
9423
- /* @__PURE__ */ jsxRuntime.jsxs(RouteDrawer.Header, { children: [
9424
- /* @__PURE__ */ jsxRuntime.jsx(RouteDrawer.Title, { asChild: true, children: /* @__PURE__ */ jsxRuntime.jsx(ui.Heading, { children: "Edit Email" }) }),
9425
- /* @__PURE__ */ jsxRuntime.jsx(RouteDrawer.Description, { asChild: true, children: /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sr-only", children: "Edit the email for the draft order" }) })
9426
- ] }),
9427
- isReady && /* @__PURE__ */ jsxRuntime.jsx(EmailForm, { order })
9428
- ] });
9429
- };
9430
- const EmailForm = ({ order }) => {
9431
- const form = reactHookForm.useForm({
9432
- defaultValues: {
9433
- email: order.email ?? ""
9434
- },
9435
- resolver: zod$1.zodResolver(schema)
9436
- });
9437
- const { mutateAsync, isPending } = useUpdateDraftOrder(order.id);
9438
- const { handleSuccess } = useRouteModal();
9439
- const onSubmit = form.handleSubmit(async (data) => {
9440
- await mutateAsync(
9441
- { email: data.email },
9442
- {
9443
- onSuccess: () => {
9444
- handleSuccess();
9445
- },
9446
- onError: (error) => {
9447
- ui.toast.error(error.message);
9448
- }
9449
- }
9450
- );
9451
- });
9452
- return /* @__PURE__ */ jsxRuntime.jsx(RouteDrawer.Form, { form, children: /* @__PURE__ */ jsxRuntime.jsxs(
9453
- KeyboundForm,
9454
- {
9455
- className: "flex flex-1 flex-col overflow-hidden",
9456
- onSubmit,
9457
- children: [
9458
- /* @__PURE__ */ jsxRuntime.jsx(RouteDrawer.Body, { className: "flex flex-col gap-y-6 overflow-y-auto", children: /* @__PURE__ */ jsxRuntime.jsx(
9459
- Form$2.Field,
9460
- {
9461
- control: form.control,
9462
- name: "email",
9463
- render: ({ field }) => /* @__PURE__ */ jsxRuntime.jsxs(Form$2.Item, { children: [
9464
- /* @__PURE__ */ jsxRuntime.jsx(Form$2.Label, { children: "Email" }),
9465
- /* @__PURE__ */ jsxRuntime.jsx(Form$2.Control, { children: /* @__PURE__ */ jsxRuntime.jsx(ui.Input, { ...field }) }),
9466
- /* @__PURE__ */ jsxRuntime.jsx(Form$2.ErrorMessage, {})
9467
- ] })
9468
- }
9469
- ) }),
9470
- /* @__PURE__ */ jsxRuntime.jsx(RouteDrawer.Footer, { children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex justify-end gap-2", children: [
9471
- /* @__PURE__ */ jsxRuntime.jsx(RouteDrawer.Close, { asChild: true, children: /* @__PURE__ */ jsxRuntime.jsx(ui.Button, { size: "small", variant: "secondary", children: "Cancel" }) }),
9472
- /* @__PURE__ */ jsxRuntime.jsx(ui.Button, { size: "small", type: "submit", isLoading: isPending, children: "Save" })
9473
- ] }) })
9474
- ]
9475
- }
9476
- ) });
9477
- };
9478
9478
  const schema = zod.z.object({
9479
- email: zod.z.string().email()
9479
+ customer_id: zod.z.string().min(1)
9480
9480
  });
9481
9481
  const widgetModule = { widgets: [] };
9482
9482
  const routeModule = {
@@ -9506,6 +9506,10 @@ const routeModule = {
9506
9506
  Component: CustomItems,
9507
9507
  path: "/draft-orders/:id/custom-items"
9508
9508
  },
9509
+ {
9510
+ Component: Email,
9511
+ path: "/draft-orders/:id/email"
9512
+ },
9509
9513
  {
9510
9514
  Component: Items,
9511
9515
  path: "/draft-orders/:id/items"
@@ -9533,10 +9537,6 @@ const routeModule = {
9533
9537
  {
9534
9538
  Component: TransferOwnership,
9535
9539
  path: "/draft-orders/:id/transfer-ownership"
9536
- },
9537
- {
9538
- Component: Email,
9539
- path: "/draft-orders/:id/email"
9540
9540
  }
9541
9541
  ]
9542
9542
  }
@@ -6182,6 +6182,74 @@ const CustomItemsForm = () => {
6182
6182
  const schema$4 = z.object({
6183
6183
  email: z.string().email()
6184
6184
  });
6185
+ const Email = () => {
6186
+ const { id } = useParams();
6187
+ const { order, isPending, isError, error } = useOrder(id, {
6188
+ fields: "+email"
6189
+ });
6190
+ if (isError) {
6191
+ throw error;
6192
+ }
6193
+ const isReady = !isPending && !!order;
6194
+ return /* @__PURE__ */ jsxs(RouteDrawer, { children: [
6195
+ /* @__PURE__ */ jsxs(RouteDrawer.Header, { children: [
6196
+ /* @__PURE__ */ jsx(RouteDrawer.Title, { asChild: true, children: /* @__PURE__ */ jsx(Heading, { children: "Edit Email" }) }),
6197
+ /* @__PURE__ */ jsx(RouteDrawer.Description, { asChild: true, children: /* @__PURE__ */ jsx("span", { className: "sr-only", children: "Edit the email for the draft order" }) })
6198
+ ] }),
6199
+ isReady && /* @__PURE__ */ jsx(EmailForm, { order })
6200
+ ] });
6201
+ };
6202
+ const EmailForm = ({ order }) => {
6203
+ const form = useForm({
6204
+ defaultValues: {
6205
+ email: order.email ?? ""
6206
+ },
6207
+ resolver: zodResolver(schema$3)
6208
+ });
6209
+ const { mutateAsync, isPending } = useUpdateDraftOrder(order.id);
6210
+ const { handleSuccess } = useRouteModal();
6211
+ const onSubmit = form.handleSubmit(async (data) => {
6212
+ await mutateAsync(
6213
+ { email: data.email },
6214
+ {
6215
+ onSuccess: () => {
6216
+ handleSuccess();
6217
+ },
6218
+ onError: (error) => {
6219
+ toast.error(error.message);
6220
+ }
6221
+ }
6222
+ );
6223
+ });
6224
+ return /* @__PURE__ */ jsx(RouteDrawer.Form, { form, children: /* @__PURE__ */ jsxs(
6225
+ KeyboundForm,
6226
+ {
6227
+ className: "flex flex-1 flex-col overflow-hidden",
6228
+ onSubmit,
6229
+ children: [
6230
+ /* @__PURE__ */ jsx(RouteDrawer.Body, { className: "flex flex-col gap-y-6 overflow-y-auto", children: /* @__PURE__ */ jsx(
6231
+ Form$2.Field,
6232
+ {
6233
+ control: form.control,
6234
+ name: "email",
6235
+ render: ({ field }) => /* @__PURE__ */ jsxs(Form$2.Item, { children: [
6236
+ /* @__PURE__ */ jsx(Form$2.Label, { children: "Email" }),
6237
+ /* @__PURE__ */ jsx(Form$2.Control, { children: /* @__PURE__ */ jsx(Input, { ...field }) }),
6238
+ /* @__PURE__ */ jsx(Form$2.ErrorMessage, {})
6239
+ ] })
6240
+ }
6241
+ ) }),
6242
+ /* @__PURE__ */ jsx(RouteDrawer.Footer, { children: /* @__PURE__ */ jsxs("div", { className: "flex justify-end gap-2", children: [
6243
+ /* @__PURE__ */ jsx(RouteDrawer.Close, { asChild: true, children: /* @__PURE__ */ jsx(Button, { size: "small", variant: "secondary", children: "Cancel" }) }),
6244
+ /* @__PURE__ */ jsx(Button, { size: "small", type: "submit", isLoading: isPending, children: "Save" })
6245
+ ] }) })
6246
+ ]
6247
+ }
6248
+ ) });
6249
+ };
6250
+ const schema$3 = z.object({
6251
+ email: z.string().email()
6252
+ });
6185
6253
  const NumberInput = forwardRef(
6186
6254
  ({
6187
6255
  value,
@@ -7854,7 +7922,7 @@ const SalesChannelForm = ({ order }) => {
7854
7922
  defaultValues: {
7855
7923
  sales_channel_id: order.sales_channel_id || ""
7856
7924
  },
7857
- resolver: zodResolver(schema$3)
7925
+ resolver: zodResolver(schema$2)
7858
7926
  });
7859
7927
  const { mutateAsync, isPending } = useUpdateDraftOrder(order.id);
7860
7928
  const { handleSuccess } = useRouteModal();
@@ -7929,7 +7997,7 @@ const SalesChannelField = ({ control, order }) => {
7929
7997
  }
7930
7998
  );
7931
7999
  };
7932
- const schema$3 = z.object({
8000
+ const schema$2 = z.object({
7933
8001
  sales_channel_id: z.string().min(1)
7934
8002
  });
7935
8003
  const STACKED_FOCUS_MODAL_ID = "shipping-form";
@@ -8757,7 +8825,7 @@ const ShippingAddressForm = ({ order }) => {
8757
8825
  postal_code: order.shipping_address?.postal_code ?? "",
8758
8826
  phone: order.shipping_address?.phone ?? ""
8759
8827
  },
8760
- resolver: zodResolver(schema$2)
8828
+ resolver: zodResolver(schema$1)
8761
8829
  });
8762
8830
  const { mutateAsync, isPending } = useUpdateDraftOrder(order.id);
8763
8831
  const { handleSuccess } = useRouteModal();
@@ -8927,7 +8995,7 @@ const ShippingAddressForm = ({ order }) => {
8927
8995
  }
8928
8996
  ) });
8929
8997
  };
8930
- const schema$2 = addressSchema;
8998
+ const schema$1 = addressSchema;
8931
8999
  const TransferOwnership = () => {
8932
9000
  const { id } = useParams();
8933
9001
  const { draft_order, isPending, isError, error } = useDraftOrder(id, {
@@ -8950,7 +9018,7 @@ const TransferOwnershipForm = ({ order }) => {
8950
9018
  defaultValues: {
8951
9019
  customer_id: order.customer_id || ""
8952
9020
  },
8953
- resolver: zodResolver(schema$1)
9021
+ resolver: zodResolver(schema)
8954
9022
  });
8955
9023
  const { mutateAsync, isPending } = useUpdateDraftOrder(order.id);
8956
9024
  const { handleSuccess } = useRouteModal();
@@ -9400,76 +9468,8 @@ const Illustration = () => {
9400
9468
  }
9401
9469
  );
9402
9470
  };
9403
- const schema$1 = z.object({
9404
- customer_id: z.string().min(1)
9405
- });
9406
- const Email = () => {
9407
- const { id } = useParams();
9408
- const { order, isPending, isError, error } = useOrder(id, {
9409
- fields: "+email"
9410
- });
9411
- if (isError) {
9412
- throw error;
9413
- }
9414
- const isReady = !isPending && !!order;
9415
- return /* @__PURE__ */ jsxs(RouteDrawer, { children: [
9416
- /* @__PURE__ */ jsxs(RouteDrawer.Header, { children: [
9417
- /* @__PURE__ */ jsx(RouteDrawer.Title, { asChild: true, children: /* @__PURE__ */ jsx(Heading, { children: "Edit Email" }) }),
9418
- /* @__PURE__ */ jsx(RouteDrawer.Description, { asChild: true, children: /* @__PURE__ */ jsx("span", { className: "sr-only", children: "Edit the email for the draft order" }) })
9419
- ] }),
9420
- isReady && /* @__PURE__ */ jsx(EmailForm, { order })
9421
- ] });
9422
- };
9423
- const EmailForm = ({ order }) => {
9424
- const form = useForm({
9425
- defaultValues: {
9426
- email: order.email ?? ""
9427
- },
9428
- resolver: zodResolver(schema)
9429
- });
9430
- const { mutateAsync, isPending } = useUpdateDraftOrder(order.id);
9431
- const { handleSuccess } = useRouteModal();
9432
- const onSubmit = form.handleSubmit(async (data) => {
9433
- await mutateAsync(
9434
- { email: data.email },
9435
- {
9436
- onSuccess: () => {
9437
- handleSuccess();
9438
- },
9439
- onError: (error) => {
9440
- toast.error(error.message);
9441
- }
9442
- }
9443
- );
9444
- });
9445
- return /* @__PURE__ */ jsx(RouteDrawer.Form, { form, children: /* @__PURE__ */ jsxs(
9446
- KeyboundForm,
9447
- {
9448
- className: "flex flex-1 flex-col overflow-hidden",
9449
- onSubmit,
9450
- children: [
9451
- /* @__PURE__ */ jsx(RouteDrawer.Body, { className: "flex flex-col gap-y-6 overflow-y-auto", children: /* @__PURE__ */ jsx(
9452
- Form$2.Field,
9453
- {
9454
- control: form.control,
9455
- name: "email",
9456
- render: ({ field }) => /* @__PURE__ */ jsxs(Form$2.Item, { children: [
9457
- /* @__PURE__ */ jsx(Form$2.Label, { children: "Email" }),
9458
- /* @__PURE__ */ jsx(Form$2.Control, { children: /* @__PURE__ */ jsx(Input, { ...field }) }),
9459
- /* @__PURE__ */ jsx(Form$2.ErrorMessage, {})
9460
- ] })
9461
- }
9462
- ) }),
9463
- /* @__PURE__ */ jsx(RouteDrawer.Footer, { children: /* @__PURE__ */ jsxs("div", { className: "flex justify-end gap-2", children: [
9464
- /* @__PURE__ */ jsx(RouteDrawer.Close, { asChild: true, children: /* @__PURE__ */ jsx(Button, { size: "small", variant: "secondary", children: "Cancel" }) }),
9465
- /* @__PURE__ */ jsx(Button, { size: "small", type: "submit", isLoading: isPending, children: "Save" })
9466
- ] }) })
9467
- ]
9468
- }
9469
- ) });
9470
- };
9471
9471
  const schema = z.object({
9472
- email: z.string().email()
9472
+ customer_id: z.string().min(1)
9473
9473
  });
9474
9474
  const widgetModule = { widgets: [] };
9475
9475
  const routeModule = {
@@ -9499,6 +9499,10 @@ const routeModule = {
9499
9499
  Component: CustomItems,
9500
9500
  path: "/draft-orders/:id/custom-items"
9501
9501
  },
9502
+ {
9503
+ Component: Email,
9504
+ path: "/draft-orders/:id/email"
9505
+ },
9502
9506
  {
9503
9507
  Component: Items,
9504
9508
  path: "/draft-orders/:id/items"
@@ -9526,10 +9530,6 @@ const routeModule = {
9526
9530
  {
9527
9531
  Component: TransferOwnership,
9528
9532
  path: "/draft-orders/:id/transfer-ownership"
9529
- },
9530
- {
9531
- Component: Email,
9532
- path: "/draft-orders/:id/email"
9533
9533
  }
9534
9534
  ]
9535
9535
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@medusajs/draft-order",
3
- "version": "2.21.0-snapshot-20260910110221",
3
+ "version": "2.21.0",
4
4
  "description": "A draft order plugin for Medusa.",
5
5
  "author": "Medusa (https://medusajs.com)",
6
6
  "license": "MIT",
@@ -46,7 +46,7 @@
46
46
  "@ariakit/react": "^0.4.15",
47
47
  "@babel/runtime": "^7.26.10",
48
48
  "@hookform/resolvers": "5.5.7",
49
- "@medusajs/js-sdk": "2.21.0-snapshot-20260910110221",
49
+ "@medusajs/js-sdk": "2.21.0",
50
50
  "@tanstack/react-query": "5.64.2",
51
51
  "@uiw/react-json-view": "^2.0.0-alpha.17",
52
52
  "date-fns": "^3.6.0",
@@ -58,24 +58,24 @@
58
58
  "zod": "4.2.0"
59
59
  },
60
60
  "devDependencies": {
61
- "@medusajs/admin-sdk": "2.21.0-snapshot-20260910110221",
62
- "@medusajs/cli": "2.21.0-snapshot-20260910110221",
63
- "@medusajs/dashboard": "2.21.0-snapshot-20260910110221",
64
- "@medusajs/framework": "2.21.0-snapshot-20260910110221",
65
- "@medusajs/icons": "2.21.0-snapshot-20260910110221",
66
- "@medusajs/test-utils": "2.21.0-snapshot-20260910110221",
67
- "@medusajs/types": "2.21.0-snapshot-20260910110221",
68
- "@medusajs/ui": "4.2.4-snapshot-20260910110221",
69
- "@medusajs/ui-preset": "2.21.0-snapshot-20260910110221"
61
+ "@medusajs/admin-sdk": "2.21.0",
62
+ "@medusajs/cli": "2.21.0",
63
+ "@medusajs/dashboard": "2.21.0",
64
+ "@medusajs/framework": "2.21.0",
65
+ "@medusajs/icons": "2.21.0",
66
+ "@medusajs/test-utils": "2.21.0",
67
+ "@medusajs/types": "2.21.0",
68
+ "@medusajs/ui": "4.2.4",
69
+ "@medusajs/ui-preset": "2.21.0"
70
70
  },
71
71
  "peerDependencies": {
72
- "@medusajs/admin-sdk": "2.21.0-snapshot-20260910110221",
73
- "@medusajs/cli": "2.21.0-snapshot-20260910110221",
74
- "@medusajs/dashboard": "2.21.0-snapshot-20260910110221",
75
- "@medusajs/framework": "2.21.0-snapshot-20260910110221",
76
- "@medusajs/icons": "2.21.0-snapshot-20260910110221",
77
- "@medusajs/test-utils": "2.21.0-snapshot-20260910110221",
78
- "@medusajs/ui": "4.2.4-snapshot-20260910110221",
72
+ "@medusajs/admin-sdk": "2.21.0",
73
+ "@medusajs/cli": "2.21.0",
74
+ "@medusajs/dashboard": "2.21.0",
75
+ "@medusajs/framework": "2.21.0",
76
+ "@medusajs/icons": "2.21.0",
77
+ "@medusajs/test-utils": "2.21.0",
78
+ "@medusajs/ui": "4.2.4",
79
79
  "react": "^18.3.1",
80
80
  "react-dom": "^18.3.1",
81
81
  "react-router-dom": "^6.30.4 || ^7.0.0"