@medusajs/medusa 2.0.8-preview-20241128180151 → 2.0.8-snapshot-20241128171721
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/api/admin/draft-orders/validators.d.ts +19 -23
- package/dist/api/admin/draft-orders/validators.d.ts.map +1 -1
- package/dist/api/admin/draft-orders/validators.js +11 -8
- package/dist/api/admin/draft-orders/validators.js.map +1 -1
- package/dist/api/admin/orders/[id]/transfer/cancel/route.d.ts +2 -1
- package/dist/api/admin/orders/[id]/transfer/cancel/route.d.ts.map +1 -1
- package/dist/api/admin/orders/[id]/transfer/cancel/route.js.map +1 -1
- package/dist/api/store/orders/[id]/transfer/cancel/route.d.ts +2 -1
- package/dist/api/store/orders/[id]/transfer/cancel/route.d.ts.map +1 -1
- package/dist/api/store/orders/[id]/transfer/cancel/route.js.map +1 -1
- package/package.json +46 -46
@@ -133,9 +133,19 @@ declare const CreateDraftOrder: z.ZodObject<{
|
|
133
133
|
postal_code?: string | null | undefined;
|
134
134
|
metadata?: Record<string, unknown> | null | undefined;
|
135
135
|
}>>;
|
136
|
-
items: z.ZodOptional<z.ZodArray<z.
|
136
|
+
items: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
137
137
|
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
138
|
+
variant_sku: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
139
|
+
variant_barcode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
140
|
+
/**
|
141
|
+
* Use variant_sku instead
|
142
|
+
* @deprecated
|
143
|
+
*/
|
138
144
|
sku: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
145
|
+
/**
|
146
|
+
* Use variant_barcode instead
|
147
|
+
* @deprecated
|
148
|
+
*/
|
139
149
|
barcode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
140
150
|
variant_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
141
151
|
unit_price: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodNumber, z.ZodString, z.ZodObject<{
|
@@ -153,6 +163,8 @@ declare const CreateDraftOrder: z.ZodObject<{
|
|
153
163
|
}, "strip", z.ZodTypeAny, {
|
154
164
|
quantity: number;
|
155
165
|
title?: string | null | undefined;
|
166
|
+
variant_sku?: string | null | undefined;
|
167
|
+
variant_barcode?: string | null | undefined;
|
156
168
|
sku?: string | null | undefined;
|
157
169
|
barcode?: string | null | undefined;
|
158
170
|
variant_id?: string | null | undefined;
|
@@ -164,28 +176,8 @@ declare const CreateDraftOrder: z.ZodObject<{
|
|
164
176
|
}, {
|
165
177
|
quantity: number;
|
166
178
|
title?: string | null | undefined;
|
167
|
-
|
168
|
-
|
169
|
-
variant_id?: string | null | undefined;
|
170
|
-
unit_price?: string | number | {
|
171
|
-
value: string;
|
172
|
-
precision: number;
|
173
|
-
} | null | undefined;
|
174
|
-
metadata?: Record<string, unknown> | null | undefined;
|
175
|
-
}>, {
|
176
|
-
quantity: number;
|
177
|
-
title?: string | null | undefined;
|
178
|
-
sku?: string | null | undefined;
|
179
|
-
barcode?: string | null | undefined;
|
180
|
-
variant_id?: string | null | undefined;
|
181
|
-
unit_price?: string | number | {
|
182
|
-
value: string;
|
183
|
-
precision: number;
|
184
|
-
} | null | undefined;
|
185
|
-
metadata?: Record<string, unknown> | null | undefined;
|
186
|
-
}, {
|
187
|
-
quantity: number;
|
188
|
-
title?: string | null | undefined;
|
179
|
+
variant_sku?: string | null | undefined;
|
180
|
+
variant_barcode?: string | null | undefined;
|
189
181
|
sku?: string | null | undefined;
|
190
182
|
barcode?: string | null | undefined;
|
191
183
|
variant_id?: string | null | undefined;
|
@@ -288,6 +280,8 @@ declare const CreateDraftOrder: z.ZodObject<{
|
|
288
280
|
items?: {
|
289
281
|
quantity: number;
|
290
282
|
title?: string | null | undefined;
|
283
|
+
variant_sku?: string | null | undefined;
|
284
|
+
variant_barcode?: string | null | undefined;
|
291
285
|
sku?: string | null | undefined;
|
292
286
|
barcode?: string | null | undefined;
|
293
287
|
variant_id?: string | null | undefined;
|
@@ -349,6 +343,8 @@ declare const CreateDraftOrder: z.ZodObject<{
|
|
349
343
|
items?: {
|
350
344
|
quantity: number;
|
351
345
|
title?: string | null | undefined;
|
346
|
+
variant_sku?: string | null | undefined;
|
347
|
+
variant_barcode?: string | null | undefined;
|
352
348
|
sku?: string | null | undefined;
|
353
349
|
barcode?: string | null | undefined;
|
354
350
|
variant_id?: string | null | undefined;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"validators.d.ts","sourceRoot":"","sources":["../../../../src/api/admin/draft-orders/validators.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAYvB,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAA;AACzE,eAAO,MAAM,mBAAmB;;;;;;EAAuB,CAAA;AAEvD,eAAO,MAAM,0BAA0B;;;;;;EAErC,CAAA;AAEF,MAAM,MAAM,wBAAwB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAA;AAC3E,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAK2B,CAAA;AAE5D,aAAK,MAAM;IACT,SAAS,cAAc;CACxB;
|
1
|
+
{"version":3,"file":"validators.d.ts","sourceRoot":"","sources":["../../../../src/api/admin/draft-orders/validators.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAYvB,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAA;AACzE,eAAO,MAAM,mBAAmB;;;;;;EAAuB,CAAA;AAEvD,eAAO,MAAM,0BAA0B;;;;;;EAErC,CAAA;AAEF,MAAM,MAAM,wBAAwB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAA;AAC3E,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAK2B,CAAA;AAE5D,aAAK,MAAM;IACT,SAAS,cAAc;CACxB;AA8BD,MAAM,MAAM,yBAAyB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAA;AACxE,QAAA,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QAjBpB;;;WAGG;;QAEH;;;WAGG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAyBM,CAAA;AAEX,eAAO,MAAM,qBAAqB;;;;gCAcjC,CAAA"}
|
@@ -25,21 +25,24 @@ const ShippingMethod = zod_1.z.object({
|
|
25
25
|
data: zod_1.z.record(zod_1.z.string(), zod_1.z.unknown()).optional(),
|
26
26
|
amount: common_validators_1.BigNumberInput,
|
27
27
|
});
|
28
|
-
const Item = zod_1.z
|
29
|
-
.object({
|
28
|
+
const Item = zod_1.z.object({
|
30
29
|
title: zod_1.z.string().nullish(),
|
30
|
+
variant_sku: zod_1.z.string().nullish(),
|
31
|
+
variant_barcode: zod_1.z.string().nullish(),
|
32
|
+
/**
|
33
|
+
* Use variant_sku instead
|
34
|
+
* @deprecated
|
35
|
+
*/
|
31
36
|
sku: zod_1.z.string().nullish(),
|
37
|
+
/**
|
38
|
+
* Use variant_barcode instead
|
39
|
+
* @deprecated
|
40
|
+
*/
|
32
41
|
barcode: zod_1.z.string().nullish(),
|
33
42
|
variant_id: zod_1.z.string().nullish(),
|
34
43
|
unit_price: common_validators_1.BigNumberInput.nullish(),
|
35
44
|
quantity: zod_1.z.number(),
|
36
45
|
metadata: zod_1.z.record(zod_1.z.unknown()).nullish(),
|
37
|
-
})
|
38
|
-
.refine((data) => {
|
39
|
-
if (!data.variant_id) {
|
40
|
-
return data.title && (data.sku || data.barcode);
|
41
|
-
}
|
42
|
-
return true;
|
43
46
|
});
|
44
47
|
const CreateDraftOrder = zod_1.z
|
45
48
|
.object({
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"validators.js","sourceRoot":"","sources":["../../../../src/api/admin/draft-orders/validators.ts"],"names":[],"mappings":";;;AAAA,6BAAuB;AACvB,qEAIsC;AACtC,uDAI+B;AAGlB,QAAA,mBAAmB,GAAG,IAAA,+BAAkB,GAAE,CAAA;AAE1C,QAAA,0BAA0B,GAAG,OAAC,CAAC,MAAM,CAAC;IACjD,EAAE,EAAE,OAAC,CAAC,KAAK,CAAC,CAAC,OAAC,CAAC,MAAM,EAAE,EAAE,OAAC,CAAC,KAAK,CAAC,OAAC,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC,CAAC,QAAQ,EAAE;CAC1D,CAAC,CAAA;AAGW,QAAA,oBAAoB,GAAG,IAAA,6BAAgB,EAAC;IACnD,KAAK,EAAE,EAAE;IACT,MAAM,EAAE,CAAC;CACV,CAAC;KACC,KAAK,CAAC,kCAA0B,CAAC;KACjC,KAAK,CAAC,IAAA,0CAAsB,EAAC,kCAA0B,CAAC,CAAC,CAAA;AAE5D,IAAK,MAEJ;AAFD,WAAK,MAAM;IACT,iCAAuB,CAAA;AACzB,CAAC,EAFI,MAAM,KAAN,MAAM,QAEV;AAED,MAAM,cAAc,GAAG,OAAC,CAAC,MAAM,CAAC;IAC9B,kBAAkB,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,OAAO,EAAE;IACxC,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE;IAChB,kBAAkB,EAAE,OAAC,CAAC,MAAM,EAAE;IAC9B,IAAI,EAAE,OAAC,CAAC,MAAM,CAAC,OAAC,CAAC,MAAM,EAAE,EAAE,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EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,OAAO,EAAE;IACnC,qBAAqB,EAAE,OAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;IAC7C,gBAAgB,EAAE,OAAC,CAAC,KAAK,CAAC,cAAc,CAAC;IACzC,QAAQ,EAAE,OAAC,CAAC,MAAM,CAAC,OAAC,CAAC,OAAO,EAAE,CAAC,CAAC,OAAO,EAAE;CAC1C,CAAC;KACD,MAAM,EAAE,CAAA;AAEE,QAAA,qBAAqB,GAAG,IAAA,+BAAkB,EACrD,gBAAgB,EAChB,CAAC,MAAM,EAAE,EAAE;IACT,OAAO,MAAM,CAAC,MAAM,CAClB,CAAC,IAAI,EAAE,EAAE;QACP,IAAI,CAAC,IAAI,CAAC,KAAK,IAAI,CAAC,IAAI,CAAC,WAAW,EAAE,CAAC;YACrC,OAAO,KAAK,CAAA;QACd,CAAC;QAED,OAAO,IAAI,CAAA;IACb,CAAC,EACD,EAAE,OAAO,EAAE,8CAA8C,EAAE,CAC5D,CAAA;AACH,CAAC,CACF,CAAA"}
|
@@ -1,4 +1,5 @@
|
|
1
1
|
import { AuthenticatedMedusaRequest, MedusaResponse } from "@medusajs/framework/http";
|
2
2
|
import { HttpTypes } from "@medusajs/framework/types";
|
3
|
-
|
3
|
+
import { AdminCancelOrderTransferRequestType } from "../../../validators";
|
4
|
+
export declare const POST: (req: AuthenticatedMedusaRequest<AdminCancelOrderTransferRequestType>, res: MedusaResponse<HttpTypes.AdminOrderResponse>) => Promise<void>;
|
4
5
|
//# sourceMappingURL=route.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"route.d.ts","sourceRoot":"","sources":["../../../../../../../src/api/admin/orders/[id]/transfer/cancel/route.ts"],"names":[],"mappings":"AACA,OAAO,EACL,0BAA0B,EAC1B,cAAc,EACf,MAAM,0BAA0B,CAAA;AACjC,OAAO,EAAc,SAAS,EAAE,MAAM,2BAA2B,CAAA;
|
1
|
+
{"version":3,"file":"route.d.ts","sourceRoot":"","sources":["../../../../../../../src/api/admin/orders/[id]/transfer/cancel/route.ts"],"names":[],"mappings":"AACA,OAAO,EACL,0BAA0B,EAC1B,cAAc,EACf,MAAM,0BAA0B,CAAA;AACjC,OAAO,EAAc,SAAS,EAAE,MAAM,2BAA2B,CAAA;AACjE,OAAO,EAAE,mCAAmC,EAAE,MAAM,qBAAqB,CAAA;AAGzE,eAAO,MAAM,IAAI,QACV,0BAA0B,CAAC,mCAAmC,CAAC,OAC/D,cAAc,CAAC,SAAS,CAAC,kBAAkB,CAAC,kBAsBlD,CAAA"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"route.js","sourceRoot":"","sources":["../../../../../../../src/api/admin/orders/[id]/transfer/cancel/route.ts"],"names":[],"mappings":";;;AAAA,qDAAyE;
|
1
|
+
{"version":3,"file":"route.js","sourceRoot":"","sources":["../../../../../../../src/api/admin/orders/[id]/transfer/cancel/route.ts"],"names":[],"mappings":";;;AAAA,qDAAyE;AAOzE,qDAAqE;AAE9D,MAAM,IAAI,GAAG,KAAK,EACvB,GAAoE,EACpE,GAAiD,EACjD,EAAE;IACF,MAAM,KAAK,GAAG,GAAG,CAAC,KAAK,CAAC,OAAO,CAAC,iCAAyB,CAAC,KAAK,CAAC,CAAA;IAEhE,MAAM,OAAO,GAAG,GAAG,CAAC,MAAM,CAAC,EAAE,CAAA;IAC7B,MAAM,MAAM,GAAG,GAAG,CAAC,YAAY,CAAC,QAAQ,CAAA;IAExC,MAAM,IAAA,+CAAkC,EAAC,GAAG,CAAC,KAAK,CAAC,CAAC,GAAG,CAAC;QACtD,KAAK,EAAE;YACL,QAAQ,EAAE,OAAO;YACjB,iBAAiB,EAAE,MAAM;YACzB,UAAU,EAAE,GAAG,CAAC,YAAY,CAAC,UAAoB;SAClD;KACF,CAAC,CAAA;IAEF,MAAM,MAAM,GAAG,MAAM,KAAK,CAAC,KAAK,CAAC;QAC/B,MAAM,EAAE,OAAO;QACf,OAAO,EAAE,EAAE,EAAE,EAAE,OAAO,EAAE;QACxB,MAAM,EAAE,GAAG,CAAC,iBAAiB,CAAC,MAAM;KACrC,CAAC,CAAA;IAEF,GAAG,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,IAAI,CAAC,EAAE,KAAK,EAAE,MAAM,CAAC,IAAI,CAAC,CAAC,CAAe,EAAE,CAAC,CAAA;AAC/D,CAAC,CAAA;AAxBY,QAAA,IAAI,QAwBhB"}
|
@@ -1,4 +1,5 @@
|
|
1
1
|
import { AuthenticatedMedusaRequest, MedusaResponse } from "@medusajs/framework/http";
|
2
2
|
import { HttpTypes } from "@medusajs/framework/types";
|
3
|
-
|
3
|
+
import { StoreCancelOrderTransferRequestType } from "../../../validators";
|
4
|
+
export declare const POST: (req: AuthenticatedMedusaRequest<StoreCancelOrderTransferRequestType>, res: MedusaResponse<HttpTypes.StoreOrderResponse>) => Promise<void>;
|
4
5
|
//# sourceMappingURL=route.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"route.d.ts","sourceRoot":"","sources":["../../../../../../../src/api/store/orders/[id]/transfer/cancel/route.ts"],"names":[],"mappings":"AAIA,OAAO,EACL,0BAA0B,EAC1B,cAAc,EACf,MAAM,0BAA0B,CAAA;AACjC,OAAO,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAA;
|
1
|
+
{"version":3,"file":"route.d.ts","sourceRoot":"","sources":["../../../../../../../src/api/store/orders/[id]/transfer/cancel/route.ts"],"names":[],"mappings":"AAIA,OAAO,EACL,0BAA0B,EAC1B,cAAc,EACf,MAAM,0BAA0B,CAAA;AACjC,OAAO,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAA;AACrD,OAAO,EAAE,mCAAmC,EAAE,MAAM,qBAAqB,CAAA;AAEzE,eAAO,MAAM,IAAI,QACV,0BAA0B,CAAC,mCAAmC,CAAC,OAC/D,cAAc,CAAC,SAAS,CAAC,kBAAkB,CAAC,kBAqBlD,CAAA"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"route.js","sourceRoot":"","sources":["../../../../../../../src/api/store/orders/[id]/transfer/cancel/route.ts"],"names":[],"mappings":";;;AAAA,qDAG6B;
|
1
|
+
{"version":3,"file":"route.js","sourceRoot":"","sources":["../../../../../../../src/api/store/orders/[id]/transfer/cancel/route.ts"],"names":[],"mappings":";;;AAAA,qDAG6B;AAQtB,MAAM,IAAI,GAAG,KAAK,EACvB,GAAoE,EACpE,GAAiD,EACjD,EAAE;IACF,MAAM,OAAO,GAAG,GAAG,CAAC,MAAM,CAAC,EAAE,CAAA;IAC7B,MAAM,UAAU,GAAG,GAAG,CAAC,YAAY,CAAC,QAAQ,CAAA;IAE5C,MAAM,IAAA,+CAAkC,EAAC,GAAG,CAAC,KAAK,CAAC,CAAC,GAAG,CAAC;QACtD,KAAK,EAAE;YACL,QAAQ,EAAE,OAAO;YACjB,iBAAiB,EAAE,UAAU;YAC7B,UAAU,EAAE,GAAG,CAAC,YAAY,CAAC,UAAwB;SACtD;KACF,CAAC,CAAA;IAEF,MAAM,EAAE,MAAM,EAAE,GAAG,MAAM,IAAA,mCAAsB,EAAC,GAAG,CAAC,KAAK,CAAC,CAAC,GAAG,CAAC;QAC7D,KAAK,EAAE;YACL,MAAM,EAAE,GAAG,CAAC,iBAAiB,CAAC,MAAM;YACpC,QAAQ,EAAE,OAAO;SAClB;KACF,CAAC,CAAA;IAEF,GAAG,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,IAAI,CAAC,EAAE,KAAK,EAAE,MAA8B,EAAE,CAAC,CAAA;AACjE,CAAC,CAAA;AAvBY,QAAA,IAAI,QAuBhB"}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@medusajs/medusa",
|
3
|
-
"version": "2.0.8-
|
3
|
+
"version": "2.0.8-snapshot-20241128171721",
|
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.8-
|
46
|
+
"@medusajs/framework": "2.0.8-snapshot-20241128171721",
|
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.8-
|
66
|
-
"@medusajs/api-key": "2.0.8-
|
67
|
-
"@medusajs/auth": "2.0.8-
|
68
|
-
"@medusajs/auth-emailpass": "2.0.8-
|
69
|
-
"@medusajs/auth-github": "2.0.8-
|
70
|
-
"@medusajs/auth-google": "2.0.8-
|
71
|
-
"@medusajs/cache-inmemory": "2.0.8-
|
72
|
-
"@medusajs/cache-redis": "2.0.8-
|
73
|
-
"@medusajs/cart": "2.0.8-
|
74
|
-
"@medusajs/core-flows": "2.0.8-
|
75
|
-
"@medusajs/currency": "2.0.8-
|
76
|
-
"@medusajs/customer": "2.0.8-
|
77
|
-
"@medusajs/event-bus-local": "2.0.8-
|
78
|
-
"@medusajs/event-bus-redis": "2.0.8-
|
79
|
-
"@medusajs/file": "2.0.8-
|
80
|
-
"@medusajs/file-local": "2.0.8-
|
81
|
-
"@medusajs/file-s3": "2.0.8-
|
82
|
-
"@medusajs/fulfillment": "2.0.8-
|
83
|
-
"@medusajs/fulfillment-manual": "2.0.8-
|
84
|
-
"@medusajs/index": "2.0.8-
|
85
|
-
"@medusajs/inventory": "2.0.8-
|
86
|
-
"@medusajs/link-modules": "2.0.8-
|
87
|
-
"@medusajs/locking": "2.0.8-
|
88
|
-
"@medusajs/locking-postgres": "2.0.8-
|
89
|
-
"@medusajs/locking-redis": "2.0.8-
|
90
|
-
"@medusajs/notification": "2.0.8-
|
91
|
-
"@medusajs/notification-local": "2.0.8-
|
92
|
-
"@medusajs/notification-sendgrid": "2.0.8-
|
93
|
-
"@medusajs/order": "2.0.8-
|
94
|
-
"@medusajs/payment": "2.0.8-
|
95
|
-
"@medusajs/payment-stripe": "2.0.8-
|
96
|
-
"@medusajs/pricing": "2.0.8-
|
97
|
-
"@medusajs/product": "2.0.8-
|
98
|
-
"@medusajs/promotion": "2.0.8-
|
99
|
-
"@medusajs/region": "2.0.8-
|
100
|
-
"@medusajs/sales-channel": "2.0.8-
|
101
|
-
"@medusajs/stock-location": "2.0.8-
|
102
|
-
"@medusajs/store": "2.0.8-
|
103
|
-
"@medusajs/tax": "2.0.8-
|
104
|
-
"@medusajs/telemetry": "2.0.8-
|
105
|
-
"@medusajs/user": "2.0.8-
|
106
|
-
"@medusajs/workflow-engine-inmemory": "2.0.8-
|
107
|
-
"@medusajs/workflow-engine-redis": "2.0.8-
|
65
|
+
"@medusajs/admin-bundler": "2.0.8-snapshot-20241128171721",
|
66
|
+
"@medusajs/api-key": "2.0.8-snapshot-20241128171721",
|
67
|
+
"@medusajs/auth": "2.0.8-snapshot-20241128171721",
|
68
|
+
"@medusajs/auth-emailpass": "2.0.8-snapshot-20241128171721",
|
69
|
+
"@medusajs/auth-github": "2.0.8-snapshot-20241128171721",
|
70
|
+
"@medusajs/auth-google": "2.0.8-snapshot-20241128171721",
|
71
|
+
"@medusajs/cache-inmemory": "2.0.8-snapshot-20241128171721",
|
72
|
+
"@medusajs/cache-redis": "2.0.8-snapshot-20241128171721",
|
73
|
+
"@medusajs/cart": "2.0.8-snapshot-20241128171721",
|
74
|
+
"@medusajs/core-flows": "2.0.8-snapshot-20241128171721",
|
75
|
+
"@medusajs/currency": "2.0.8-snapshot-20241128171721",
|
76
|
+
"@medusajs/customer": "2.0.8-snapshot-20241128171721",
|
77
|
+
"@medusajs/event-bus-local": "2.0.8-snapshot-20241128171721",
|
78
|
+
"@medusajs/event-bus-redis": "2.0.8-snapshot-20241128171721",
|
79
|
+
"@medusajs/file": "2.0.8-snapshot-20241128171721",
|
80
|
+
"@medusajs/file-local": "2.0.8-snapshot-20241128171721",
|
81
|
+
"@medusajs/file-s3": "2.0.8-snapshot-20241128171721",
|
82
|
+
"@medusajs/fulfillment": "2.0.8-snapshot-20241128171721",
|
83
|
+
"@medusajs/fulfillment-manual": "2.0.8-snapshot-20241128171721",
|
84
|
+
"@medusajs/index": "2.0.8-snapshot-20241128171721",
|
85
|
+
"@medusajs/inventory": "2.0.8-snapshot-20241128171721",
|
86
|
+
"@medusajs/link-modules": "2.0.8-snapshot-20241128171721",
|
87
|
+
"@medusajs/locking": "2.0.8-snapshot-20241128171721",
|
88
|
+
"@medusajs/locking-postgres": "2.0.8-snapshot-20241128171721",
|
89
|
+
"@medusajs/locking-redis": "2.0.8-snapshot-20241128171721",
|
90
|
+
"@medusajs/notification": "2.0.8-snapshot-20241128171721",
|
91
|
+
"@medusajs/notification-local": "2.0.8-snapshot-20241128171721",
|
92
|
+
"@medusajs/notification-sendgrid": "2.0.8-snapshot-20241128171721",
|
93
|
+
"@medusajs/order": "2.0.8-snapshot-20241128171721",
|
94
|
+
"@medusajs/payment": "2.0.8-snapshot-20241128171721",
|
95
|
+
"@medusajs/payment-stripe": "2.0.8-snapshot-20241128171721",
|
96
|
+
"@medusajs/pricing": "2.0.8-snapshot-20241128171721",
|
97
|
+
"@medusajs/product": "2.0.8-snapshot-20241128171721",
|
98
|
+
"@medusajs/promotion": "2.0.8-snapshot-20241128171721",
|
99
|
+
"@medusajs/region": "2.0.8-snapshot-20241128171721",
|
100
|
+
"@medusajs/sales-channel": "2.0.8-snapshot-20241128171721",
|
101
|
+
"@medusajs/stock-location": "2.0.8-snapshot-20241128171721",
|
102
|
+
"@medusajs/store": "2.0.8-snapshot-20241128171721",
|
103
|
+
"@medusajs/tax": "2.0.8-snapshot-20241128171721",
|
104
|
+
"@medusajs/telemetry": "2.0.8-snapshot-20241128171721",
|
105
|
+
"@medusajs/user": "2.0.8-snapshot-20241128171721",
|
106
|
+
"@medusajs/workflow-engine-inmemory": "2.0.8-snapshot-20241128171721",
|
107
|
+
"@medusajs/workflow-engine-redis": "2.0.8-snapshot-20241128171721",
|
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.8-
|
128
|
+
"@medusajs/framework": "2.0.8-snapshot-20241128171721",
|
129
129
|
"@mikro-orm/core": "5.9.7",
|
130
130
|
"@mikro-orm/knex": "5.9.7",
|
131
131
|
"@mikro-orm/migrations": "5.9.7",
|