@reactionary/medusa 0.6.5 → 0.6.7

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.
@@ -150,6 +150,10 @@ class MedusaCheckoutFactory {
150
150
  key: data.id,
151
151
  region: data.region_id
152
152
  };
153
+ const pointOfContact = {
154
+ email: data.email || "",
155
+ phone: data.metadata?.["sms_notification"] ?? void 0
156
+ };
153
157
  let resultingOrder = void 0;
154
158
  if (data.metadata?.["order_id"]) {
155
159
  resultingOrder = {
@@ -169,7 +173,8 @@ class MedusaCheckoutFactory {
169
173
  billingAddress,
170
174
  resultingOrder,
171
175
  shippingAddress,
172
- shippingInstruction
176
+ shippingInstruction,
177
+ pointOfContact
173
178
  };
174
179
  return this.checkoutSchema.parse(result);
175
180
  }
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@reactionary/medusa",
3
- "version": "0.6.5",
3
+ "version": "0.6.7",
4
4
  "type": "module",
5
5
  "main": "./index.js",
6
6
  "types": "./src/index.d.ts",
7
7
  "dependencies": {
8
8
  "@medusajs/js-sdk": "^2.13.3",
9
- "@reactionary/core": "0.6.5",
9
+ "@reactionary/core": "0.6.7",
10
10
  "debug": "^4.4.3",
11
11
  "@medusajs/types": "^2.13.3",
12
12
  "zod": "4.1.9",