@medusajs/framework 2.1.0-snapshot-20241203132414 → 2.1.1-snapshot-20241205094545
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/http/router.d.ts +2 -2
- package/dist/http/router.d.ts.map +1 -1
- package/dist/http/router.js +72 -29
- package/dist/http/router.js.map +1 -1
- package/package.json +10 -9
package/dist/http/router.d.ts
CHANGED
@@ -63,12 +63,12 @@ export declare class ApiRoutesLoader {
|
|
63
63
|
/**
|
64
64
|
* Applies middleware that checks if a valid publishable key is set on store request
|
65
65
|
*/
|
66
|
-
applyStorePublishableKeyMiddleware(route: string): void;
|
66
|
+
applyStorePublishableKeyMiddleware(route: string | RegExp): void;
|
67
67
|
/**
|
68
68
|
* Applies the route middleware on a route. Encapsulates the logic
|
69
69
|
* needed to pass the middleware via the trace calls
|
70
70
|
*/
|
71
|
-
applyAuthMiddleware(route: string, actorType: string | string[], authType: AuthType | AuthType[], options?: {
|
71
|
+
applyAuthMiddleware(route: string | RegExp, actorType: string | string[], authType: AuthType | AuthType[], options?: {
|
72
72
|
allowUnauthenticated?: boolean;
|
73
73
|
allowUnregistered?: boolean;
|
74
74
|
}): void;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"router.d.ts","sourceRoot":"","sources":["../../src/http/router.ts"],"names":[],"mappings":"AASA,OAAO,EACL,KAAK,OAAO,EAEZ,cAAc,EAIf,MAAM,SAAS,CAAA;AAMhB,OAAO,EAAgB,QAAQ,EAAgB,MAAM,eAAe,CAAA;AAEpE,OAAO,EAML,kBAAkB,EAElB,iBAAiB,EAKjB,YAAY,EACZ,SAAS,EACV,MAAM,SAAS,CAAA;
|
1
|
+
{"version":3,"file":"router.d.ts","sourceRoot":"","sources":["../../src/http/router.ts"],"names":[],"mappings":"AASA,OAAO,EACL,KAAK,OAAO,EAEZ,cAAc,EAIf,MAAM,SAAS,CAAA;AAMhB,OAAO,EAAgB,QAAQ,EAAgB,MAAM,eAAe,CAAA;AAEpE,OAAO,EAML,kBAAkB,EAElB,iBAAiB,EA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AAE,MAAM,GAAG,MAAM,EAAE,EAC5B,QAAQ,EAAE,QAAQ,GAAG,QAAQ,EAAE,EAC/B,OAAO,CAAC,EAAE;QAAE,oBAAoB,CAAC,EAAE,OAAO,CAAC;QAAC,iBAAiB,CAAC,EAAE,OAAO,CAAA;KAAE;IAe3E;;;;;OAKG;IACH,6BAA6B,IAAI,IAAI;IA2HrC;;OAEG;IACH,2BAA2B,IAAI,IAAI;cA0BnB,cAAc,IAAI,OAAO,CAAC,IAAI,CAAC;cAkD/B,mBAAmB,IAAI,OAAO,CAAC,IAAI,CAAC;IAkD9C,IAAI;CA0DX;AAED,qBAAa,YAAY;;gBAmBX,EACV,GAAG,EACH,UAAU,EACV,SAAS,EACT,oBAAyB,GAC1B,EAAE;QACD,GAAG,EAAE,OAAO,CAAA;QACZ,UAAU,CAAC,EAAE,MAAM,CAAA;QACnB,SAAS,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;QAC5B,oBAAoB,CAAC,EAAE,MAAM,EAAE,CAAA;KAChC;IA6BK,IAAI;CAiBX"}
|
package/dist/http/router.js
CHANGED
@@ -142,6 +142,33 @@ function getBodyParserMiddleware(args) {
|
|
142
142
|
(0, express_1.urlencoded)({ limit: sizeLimit, extended: true }),
|
143
143
|
];
|
144
144
|
}
|
145
|
+
function createCorsOptions(origin) {
|
146
|
+
return {
|
147
|
+
origin: (0, utils_1.parseCorsOrigins)(origin),
|
148
|
+
credentials: true,
|
149
|
+
};
|
150
|
+
}
|
151
|
+
function applyCors(router, route, corsConfig) {
|
152
|
+
router.use(route, (0, cors_1.default)(corsConfig));
|
153
|
+
}
|
154
|
+
function getRouteContext(path) {
|
155
|
+
/**
|
156
|
+
* We cannot reliably guess the route context from a regex, so we skip it.
|
157
|
+
*/
|
158
|
+
if (path instanceof RegExp) {
|
159
|
+
return null;
|
160
|
+
}
|
161
|
+
if (path.startsWith("/admin")) {
|
162
|
+
return "admin";
|
163
|
+
}
|
164
|
+
if (path.startsWith("/store")) {
|
165
|
+
return "store";
|
166
|
+
}
|
167
|
+
if (path.startsWith("/auth")) {
|
168
|
+
return "auth";
|
169
|
+
}
|
170
|
+
return null;
|
171
|
+
}
|
145
172
|
// TODO this router would need a proper rework, but it is out of scope right now
|
146
173
|
class ApiRoutesLoader {
|
147
174
|
constructor({ app, activityId, sourceDir, }) {
|
@@ -438,7 +465,9 @@ class ApiRoutesLoader {
|
|
438
465
|
applyStorePublishableKeyMiddleware(route) {
|
439
466
|
let middleware = ensure_publishable_api_key_1.ensurePublishableApiKeyMiddleware;
|
440
467
|
if (ApiRoutesLoader.traceMiddleware) {
|
441
|
-
middleware = ApiRoutesLoader.traceMiddleware(middleware, {
|
468
|
+
middleware = ApiRoutesLoader.traceMiddleware(middleware, {
|
469
|
+
route: String(route),
|
470
|
+
});
|
442
471
|
}
|
443
472
|
__classPrivateFieldGet(this, _ApiRoutesLoader_router, "f").use(route, middleware);
|
444
473
|
}
|
@@ -449,7 +478,7 @@ class ApiRoutesLoader {
|
|
449
478
|
applyAuthMiddleware(route, actorType, authType, options) {
|
450
479
|
let authenticateMiddleware = (0, middlewares_1.authenticate)(actorType, authType, options);
|
451
480
|
if (ApiRoutesLoader.traceMiddleware) {
|
452
|
-
authenticateMiddleware = ApiRoutesLoader.traceMiddleware(authenticateMiddleware, { route: route });
|
481
|
+
authenticateMiddleware = ApiRoutesLoader.traceMiddleware(authenticateMiddleware, { route: String(route) });
|
453
482
|
}
|
454
483
|
__classPrivateFieldGet(this, _ApiRoutesLoader_router, "f").use(route, authenticateMiddleware);
|
455
484
|
}
|
@@ -461,43 +490,28 @@ class ApiRoutesLoader {
|
|
461
490
|
*/
|
462
491
|
applyRouteSpecificMiddlewares() {
|
463
492
|
const prioritizedRoutes = prioritize([...__classPrivateFieldGet(this, _ApiRoutesLoader_routesMap, "f").values()]);
|
493
|
+
const handledPaths = new Set();
|
494
|
+
const middlewarePaths = new Set();
|
495
|
+
const globalRoutes = __classPrivateFieldGet(this, _ApiRoutesLoader_globalMiddlewaresDescriptor, "f")?.config?.routes ?? [];
|
496
|
+
for (const route of globalRoutes) {
|
497
|
+
middlewarePaths.add(route.matcher);
|
498
|
+
}
|
464
499
|
for (const descriptor of prioritizedRoutes) {
|
465
500
|
if (!descriptor.config?.routes?.length) {
|
466
501
|
continue;
|
467
502
|
}
|
468
503
|
const config = descriptor.config;
|
469
|
-
|
470
|
-
/**
|
471
|
-
* Apply default store and admin middlewares if
|
472
|
-
* not opted out of.
|
473
|
-
*/
|
504
|
+
handledPaths.add(descriptor.route);
|
474
505
|
if (config.shouldAppendAdminCors) {
|
475
|
-
|
476
|
-
* Apply the admin cors
|
477
|
-
*/
|
478
|
-
__classPrivateFieldGet(this, _ApiRoutesLoader_router, "f").use(descriptor.route, (0, cors_1.default)({
|
479
|
-
origin: (0, utils_1.parseCorsOrigins)(config_1.configManager.config.projectConfig.http.adminCors),
|
480
|
-
credentials: true,
|
481
|
-
}));
|
506
|
+
applyCors(__classPrivateFieldGet(this, _ApiRoutesLoader_router, "f"), descriptor.route, createCorsOptions(config_1.configManager.config.projectConfig.http.adminCors));
|
482
507
|
}
|
483
508
|
if (config.shouldAppendAuthCors) {
|
484
|
-
|
485
|
-
* Apply the auth cors
|
486
|
-
*/
|
487
|
-
__classPrivateFieldGet(this, _ApiRoutesLoader_router, "f").use(descriptor.route, (0, cors_1.default)({
|
488
|
-
origin: (0, utils_1.parseCorsOrigins)(config_1.configManager.config.projectConfig.http.authCors),
|
489
|
-
credentials: true,
|
490
|
-
}));
|
509
|
+
applyCors(__classPrivateFieldGet(this, _ApiRoutesLoader_router, "f"), descriptor.route, createCorsOptions(config_1.configManager.config.projectConfig.http.authCors));
|
491
510
|
}
|
492
511
|
if (config.shouldAppendStoreCors) {
|
493
|
-
|
494
|
-
* Apply the store cors
|
495
|
-
*/
|
496
|
-
__classPrivateFieldGet(this, _ApiRoutesLoader_router, "f").use(descriptor.route, (0, cors_1.default)({
|
497
|
-
origin: (0, utils_1.parseCorsOrigins)(config_1.configManager.config.projectConfig.http.storeCors),
|
498
|
-
credentials: true,
|
499
|
-
}));
|
512
|
+
applyCors(__classPrivateFieldGet(this, _ApiRoutesLoader_router, "f"), descriptor.route, createCorsOptions(config_1.configManager.config.projectConfig.http.storeCors));
|
500
513
|
}
|
514
|
+
// Apply other middlewares
|
501
515
|
if (config.routeType === "store") {
|
502
516
|
this.applyStorePublishableKeyMiddleware(descriptor.route);
|
503
517
|
}
|
@@ -514,7 +528,7 @@ class ApiRoutesLoader {
|
|
514
528
|
"api-key",
|
515
529
|
]);
|
516
530
|
}
|
517
|
-
for (const route of routes) {
|
531
|
+
for (const route of descriptor.config.routes) {
|
518
532
|
/**
|
519
533
|
* Apply the body parser middleware if the route
|
520
534
|
* has not opted out of it.
|
@@ -522,6 +536,35 @@ class ApiRoutesLoader {
|
|
522
536
|
this.applyBodyParserMiddleware(descriptor.route, route.method);
|
523
537
|
}
|
524
538
|
}
|
539
|
+
/**
|
540
|
+
* Apply CORS and auth middleware for paths defined in global middleware but not already handled by routes.
|
541
|
+
*/
|
542
|
+
for (const path of middlewarePaths) {
|
543
|
+
if (typeof path === "string" && handledPaths.has(path)) {
|
544
|
+
continue;
|
545
|
+
}
|
546
|
+
const context = getRouteContext(path);
|
547
|
+
if (!context) {
|
548
|
+
continue;
|
549
|
+
}
|
550
|
+
switch (context) {
|
551
|
+
case "admin":
|
552
|
+
applyCors(__classPrivateFieldGet(this, _ApiRoutesLoader_router, "f"), path, createCorsOptions(config_1.configManager.config.projectConfig.http.adminCors));
|
553
|
+
this.applyAuthMiddleware(path, "user", [
|
554
|
+
"bearer",
|
555
|
+
"session",
|
556
|
+
"api-key",
|
557
|
+
]);
|
558
|
+
break;
|
559
|
+
case "store":
|
560
|
+
applyCors(__classPrivateFieldGet(this, _ApiRoutesLoader_router, "f"), path, createCorsOptions(config_1.configManager.config.projectConfig.http.storeCors));
|
561
|
+
this.applyStorePublishableKeyMiddleware(path);
|
562
|
+
break;
|
563
|
+
case "auth":
|
564
|
+
applyCors(__classPrivateFieldGet(this, _ApiRoutesLoader_router, "f"), path, createCorsOptions(config_1.configManager.config.projectConfig.http.authCors));
|
565
|
+
break;
|
566
|
+
}
|
567
|
+
}
|
525
568
|
}
|
526
569
|
/**
|
527
570
|
* Apply the error handler middleware to the router
|
package/dist/http/router.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"router.js","sourceRoot":"","sources":["../../src/http/router.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAAA,2CAOwB;AACxB,gDAAuB;AACvB,qCAOgB;AAEhB,0CAAqC;AACrC,+BAAgD;AAChD,sCAAyC;AACzC,sCAAkC;AAClC,+CAAoE;AACpE,yFAA4F;AAC5F,mCAegB;AAChB,iEAA4D;AAE5D,MAAM,GAAG,GAAG,CAAC,EACX,UAAU,EACV,OAAO,GAIR,EAAE,EAAE;IACH,IAAI,UAAU,EAAE,CAAC;QACf,eAAM,CAAC,QAAQ,CAAC,UAAU,EAAE,OAAO,CAAC,CAAA;QACpC,OAAM;IACR,CAAC;IAED,eAAM,CAAC,KAAK,CAAC,OAAO,CAAC,CAAA;AACvB,CAAC,CAAA;AAED;;GAEG;AACH,MAAM,UAAU,GAAG,OAAO,CAAA;AAE1B;;;GAGG;AACH,MAAM,cAAc,GAAG,cAAc,CAAA;AAErC;;GAEG;AACH,MAAM,gBAAgB,GAAG,aAAa,CAAA;AAEtC,MAAM,mBAAmB,GAAG;IAC1B,iBAAiB,EAAE,GAAG,EAAE,CAAC,GAAG;IAC5B,YAAY,EAAE,CAAC,KAAc,EAAE,EAAE,CAAC,IAAI,KAAK,EAAE;IAC7C,KAAK,EAAE,GAAG,EAAE,CAAC,EAAE;CAChB,CAAA;AAED;;;;;GAKG;AACH,MAAM,UAAU,GAAG,CAAC,MAAyB,EAAqB,EAAE;IAClE,OAAO,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE;QAC1B,OAAO,CAAC,CAAC,QAAQ,GAAG,C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,CAAA;QAC7C,IAAI,EAAE,CAAA;IACR,CAAC,CAA8B,CAAC,CAAA;AAClC,CAAC"}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@medusajs/framework",
|
3
|
-
"version": "2.1.
|
3
|
+
"version": "2.1.1-snapshot-20241205094545",
|
4
4
|
"description": "Framework",
|
5
5
|
"main": "dist/index.js",
|
6
6
|
"types": "dist/index.d.ts",
|
@@ -52,13 +52,14 @@
|
|
52
52
|
"test": "jest --runInBand --bail --passWithNoTests --forceExit"
|
53
53
|
},
|
54
54
|
"devDependencies": {
|
55
|
-
"@medusajs/cli": "2.1.
|
55
|
+
"@medusajs/cli": "2.1.1-snapshot-20241205094545",
|
56
56
|
"@mikro-orm/core": "5.9.7",
|
57
57
|
"@mikro-orm/knex": "5.9.7",
|
58
58
|
"@mikro-orm/migrations": "5.9.7",
|
59
59
|
"@mikro-orm/postgresql": "5.9.7",
|
60
60
|
"@swc/core": "^1.7.28",
|
61
61
|
"@swc/jest": "^0.2.36",
|
62
|
+
"@types/cors": "^2.8.17",
|
62
63
|
"@types/jsonwebtoken": "^8.5.9",
|
63
64
|
"awilix": "^8.0.1",
|
64
65
|
"ioredis": "^5.4.1",
|
@@ -71,12 +72,12 @@
|
|
71
72
|
},
|
72
73
|
"dependencies": {
|
73
74
|
"@jercle/yargonaut": "^1.1.5",
|
74
|
-
"@medusajs/modules-sdk": "2.1.
|
75
|
-
"@medusajs/orchestration": "2.1.
|
76
|
-
"@medusajs/telemetry": "2.1.
|
77
|
-
"@medusajs/types": "2.1.
|
78
|
-
"@medusajs/utils": "2.1.
|
79
|
-
"@medusajs/workflows-sdk": "2.1.
|
75
|
+
"@medusajs/modules-sdk": "2.1.1-snapshot-20241205094545",
|
76
|
+
"@medusajs/orchestration": "2.1.1-snapshot-20241205094545",
|
77
|
+
"@medusajs/telemetry": "2.1.1-snapshot-20241205094545",
|
78
|
+
"@medusajs/types": "2.1.1-snapshot-20241205094545",
|
79
|
+
"@medusajs/utils": "2.1.1-snapshot-20241205094545",
|
80
|
+
"@medusajs/workflows-sdk": "2.1.1-snapshot-20241205094545",
|
80
81
|
"@opentelemetry/api": "^1.9.0",
|
81
82
|
"@types/express": "^4.17.17",
|
82
83
|
"connect-redis": "5.2.0",
|
@@ -90,7 +91,7 @@
|
|
90
91
|
"zod": "3.22.4"
|
91
92
|
},
|
92
93
|
"peerDependencies": {
|
93
|
-
"@medusajs/cli": "2.1.
|
94
|
+
"@medusajs/cli": "2.1.1-snapshot-20241205094545",
|
94
95
|
"@mikro-orm/cli": "5.9.7",
|
95
96
|
"@mikro-orm/core": "5.9.7",
|
96
97
|
"@mikro-orm/knex": "5.9.7",
|