@medusajs/medusa 2.0.5-preview-20241122090154 → 2.0.5-preview-20241122180241

Sign up to get free protection for your applications and to get access to all the features.
@@ -21,7 +21,7 @@ const POST = async (req, res) => {
21
21
  update: req.validatedBody,
22
22
  },
23
23
  });
24
- const customer = await (0, helpers_1.refetchCustomer)(req.params.id, req.scope, req.remoteQueryConfig.fields);
24
+ const customer = await (0, helpers_1.refetchCustomer)(customerId, req.scope, req.remoteQueryConfig.fields);
25
25
  res.status(200).json({ customer });
26
26
  };
27
27
  exports.POST = POST;
@@ -1 +1 @@
1
- {"version":3,"file":"route.js","sourceRoot":"","sources":["../../../../../src/api/store/customers/me/route.ts"],"names":[],"mappings":";;;AASA,wCAA4C;AAC5C,qDAAuD;AACvD,qDAA8D;AAGvD,MAAM,GAAG,GAAG,KAAK,EACtB,GAA2D,EAC3D,GAAoD,EACpD,EAAE;IACF,MAAM,EAAE,GAAG,GAAG,CAAC,YAAY,CAAC,QAAQ,CAAA;IACpC,MAAM,QAAQ,GAAG,MAAM,IAAA,yBAAe,EACpC,EAAE,EACF,GAAG,CAAC,KAAK,EACT,GAAG,CAAC,iBAAiB,CAAC,MAAM,CAC7B,CAAA;IAED,IAAI,CAAC,QAAQ,EAAE,CAAC;QACd,MAAM,IAAI,mBAAW,CACnB,mBAAW,CAAC,KAAK,CAAC,SAAS,EAC3B,qBAAqB,EAAE,gBAAgB,CACxC,CAAA;IACH,CAAC;IAED,GAAG,CAAC,IAAI,CAAC,EAAE,QAAQ,EAAE,CAAC,CAAA;AACxB,CAAC,CAAA;AAnBY,QAAA,GAAG,OAmBf;AAEM,MAAM,IAAI,GAAG,KAAK,EACvB,GAAwD,EACxD,GAAoD,EACpD,EAAE;IACF,MAAM,UAAU,GAAG,GAAG,CAAC,YAAY,CAAC,QAAQ,CAAA;IAC5C,MAAM,IAAA,oCAAuB,EAAC,GAAG,CAAC,KAAK,CAAC,CAAC,GAAG,CAAC;QAC3C,KAAK,EAAE;YACL,QAAQ,EAAE,EAAE,EAAE,EA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YACL,QAAQ,EAAE,EAAE,EAAE,EAAE,UAAU,EAAE;YAC5B,MAAM,EAAE,GAAG,CAAC,aAAa;SAC1B;KACF,CAAC,CAAA;IAEF,MAAM,QAAQ,GAAG,MAAM,IAAA,yBAAe,EACpC,UAAU,EACV,GAAG,CAAC,KAAK,EACT,GAAG,CAAC,iBAAiB,CAAC,MAAM,CAC7B,CAAA;IACD,GAAG,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,IAAI,CAAC,EAAE,QAAQ,EAAE,CAAC,CAAA;AACpC,CAAC,CAAA;AAlBY,QAAA,IAAI,QAkBhB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@medusajs/medusa",
3
- "version": "2.0.5-preview-20241122090154",
3
+ "version": "2.0.5-preview-20241122180241",
4
4
  "description": "Building blocks for digital commerce",
5
5
  "main": "dist/index.js",
6
6
  "exports": {
@@ -43,7 +43,7 @@
43
43
  "test": "jest --silent --bail --maxWorkers=50% --forceExit"
44
44
  },
45
45
  "devDependencies": {
46
- "@medusajs/framework": "2.0.5-preview-20241122090154",
46
+ "@medusajs/framework": "2.0.5-preview-20241122180241",
47
47
  "@opentelemetry/api": "^1.9.0",
48
48
  "@opentelemetry/instrumentation": "^0.53.0",
49
49
  "@opentelemetry/instrumentation-pg": "^0.44.0",
@@ -62,49 +62,49 @@
62
62
  "dependencies": {
63
63
  "@inquirer/checkbox": "^2.3.11",
64
64
  "@inquirer/input": "^2.2.9",
65
- "@medusajs/admin-bundler": "2.0.5-preview-20241122090154",
66
- "@medusajs/api-key": "2.0.5-preview-20241122090154",
67
- "@medusajs/auth": "2.0.5-preview-20241122090154",
68
- "@medusajs/auth-emailpass": "2.0.5-preview-20241122090154",
69
- "@medusajs/auth-github": "2.0.5-preview-20241122090154",
70
- "@medusajs/auth-google": "2.0.5-preview-20241122090154",
71
- "@medusajs/cache-inmemory": "2.0.5-preview-20241122090154",
72
- "@medusajs/cache-redis": "2.0.5-preview-20241122090154",
73
- "@medusajs/cart": "2.0.5-preview-20241122090154",
74
- "@medusajs/core-flows": "2.0.5-preview-20241122090154",
75
- "@medusajs/currency": "2.0.5-preview-20241122090154",
76
- "@medusajs/customer": "2.0.5-preview-20241122090154",
77
- "@medusajs/event-bus-local": "2.0.5-preview-20241122090154",
78
- "@medusajs/event-bus-redis": "2.0.5-preview-20241122090154",
79
- "@medusajs/file": "2.0.5-preview-20241122090154",
80
- "@medusajs/file-local": "2.0.5-preview-20241122090154",
81
- "@medusajs/file-s3": "2.0.5-preview-20241122090154",
82
- "@medusajs/fulfillment": "2.0.5-preview-20241122090154",
83
- "@medusajs/fulfillment-manual": "2.0.5-preview-20241122090154",
84
- "@medusajs/index": "2.0.5-preview-20241122090154",
85
- "@medusajs/inventory": "2.0.5-preview-20241122090154",
86
- "@medusajs/link-modules": "2.0.5-preview-20241122090154",
87
- "@medusajs/locking": "2.0.5-preview-20241122090154",
88
- "@medusajs/locking-postgres": "2.0.5-preview-20241122090154",
89
- "@medusajs/locking-redis": "2.0.5-preview-20241122090154",
90
- "@medusajs/notification": "2.0.5-preview-20241122090154",
91
- "@medusajs/notification-local": "2.0.5-preview-20241122090154",
92
- "@medusajs/notification-sendgrid": "2.0.5-preview-20241122090154",
93
- "@medusajs/order": "2.0.5-preview-20241122090154",
94
- "@medusajs/payment": "2.0.5-preview-20241122090154",
95
- "@medusajs/payment-stripe": "2.0.5-preview-20241122090154",
96
- "@medusajs/pricing": "2.0.5-preview-20241122090154",
97
- "@medusajs/product": "2.0.5-preview-20241122090154",
98
- "@medusajs/promotion": "2.0.5-preview-20241122090154",
99
- "@medusajs/region": "2.0.5-preview-20241122090154",
100
- "@medusajs/sales-channel": "2.0.5-preview-20241122090154",
101
- "@medusajs/stock-location": "2.0.5-preview-20241122090154",
102
- "@medusajs/store": "2.0.5-preview-20241122090154",
103
- "@medusajs/tax": "2.0.5-preview-20241122090154",
104
- "@medusajs/telemetry": "2.0.5-preview-20241122090154",
105
- "@medusajs/user": "2.0.5-preview-20241122090154",
106
- "@medusajs/workflow-engine-inmemory": "2.0.5-preview-20241122090154",
107
- "@medusajs/workflow-engine-redis": "2.0.5-preview-20241122090154",
65
+ "@medusajs/admin-bundler": "2.0.5-preview-20241122180241",
66
+ "@medusajs/api-key": "2.0.5-preview-20241122180241",
67
+ "@medusajs/auth": "2.0.5-preview-20241122180241",
68
+ "@medusajs/auth-emailpass": "2.0.5-preview-20241122180241",
69
+ "@medusajs/auth-github": "2.0.5-preview-20241122180241",
70
+ "@medusajs/auth-google": "2.0.5-preview-20241122180241",
71
+ "@medusajs/cache-inmemory": "2.0.5-preview-20241122180241",
72
+ "@medusajs/cache-redis": "2.0.5-preview-20241122180241",
73
+ "@medusajs/cart": "2.0.5-preview-20241122180241",
74
+ "@medusajs/core-flows": "2.0.5-preview-20241122180241",
75
+ "@medusajs/currency": "2.0.5-preview-20241122180241",
76
+ "@medusajs/customer": "2.0.5-preview-20241122180241",
77
+ "@medusajs/event-bus-local": "2.0.5-preview-20241122180241",
78
+ "@medusajs/event-bus-redis": "2.0.5-preview-20241122180241",
79
+ "@medusajs/file": "2.0.5-preview-20241122180241",
80
+ "@medusajs/file-local": "2.0.5-preview-20241122180241",
81
+ "@medusajs/file-s3": "2.0.5-preview-20241122180241",
82
+ "@medusajs/fulfillment": "2.0.5-preview-20241122180241",
83
+ "@medusajs/fulfillment-manual": "2.0.5-preview-20241122180241",
84
+ "@medusajs/index": "2.0.5-preview-20241122180241",
85
+ "@medusajs/inventory": "2.0.5-preview-20241122180241",
86
+ "@medusajs/link-modules": "2.0.5-preview-20241122180241",
87
+ "@medusajs/locking": "2.0.5-preview-20241122180241",
88
+ "@medusajs/locking-postgres": "2.0.5-preview-20241122180241",
89
+ "@medusajs/locking-redis": "2.0.5-preview-20241122180241",
90
+ "@medusajs/notification": "2.0.5-preview-20241122180241",
91
+ "@medusajs/notification-local": "2.0.5-preview-20241122180241",
92
+ "@medusajs/notification-sendgrid": "2.0.5-preview-20241122180241",
93
+ "@medusajs/order": "2.0.5-preview-20241122180241",
94
+ "@medusajs/payment": "2.0.5-preview-20241122180241",
95
+ "@medusajs/payment-stripe": "2.0.5-preview-20241122180241",
96
+ "@medusajs/pricing": "2.0.5-preview-20241122180241",
97
+ "@medusajs/product": "2.0.5-preview-20241122180241",
98
+ "@medusajs/promotion": "2.0.5-preview-20241122180241",
99
+ "@medusajs/region": "2.0.5-preview-20241122180241",
100
+ "@medusajs/sales-channel": "2.0.5-preview-20241122180241",
101
+ "@medusajs/stock-location": "2.0.5-preview-20241122180241",
102
+ "@medusajs/store": "2.0.5-preview-20241122180241",
103
+ "@medusajs/tax": "2.0.5-preview-20241122180241",
104
+ "@medusajs/telemetry": "2.0.5-preview-20241122180241",
105
+ "@medusajs/user": "2.0.5-preview-20241122180241",
106
+ "@medusajs/workflow-engine-inmemory": "2.0.5-preview-20241122180241",
107
+ "@medusajs/workflow-engine-redis": "2.0.5-preview-20241122180241",
108
108
  "@swc/core": "1.5.7",
109
109
  "@swc/helpers": "^0.5.11",
110
110
  "@types/express": "^4.17.17",
@@ -125,7 +125,7 @@
125
125
  "zod": "3.22.4"
126
126
  },
127
127
  "peerDependencies": {
128
- "@medusajs/framework": "2.0.5-preview-20241122090154",
128
+ "@medusajs/framework": "2.0.5-preview-20241122180241",
129
129
  "@mikro-orm/core": "5.9.7",
130
130
  "@mikro-orm/knex": "5.9.7",
131
131
  "@mikro-orm/migrations": "5.9.7",