fix(medusa): Missing middlewares export (#7289)

This commit is contained in:
Adrien de Peretti authored and GitHub committed 2024-05-10 15:43:43 +00:00
1 parent 7e43aabda0
commit e5904f8c75
43 files changed
+51 -44

No files matched your search

+1
View File
@@ -16,3 +16,4 @@ export * from "./set-metadata"
export * from "./validate-id"
export { registerOverriddenValidators, validator } from "./validator"
export * from "./validators/is-type"
export * from "./middlewares"
@@ -7,7 +7,7 @@ import {
AuthenticatedMedusaRequest,
MedusaRequest,
MedusaResponse,
} from "../types/routing"
} from "../../types/routing"
const SESSION_AUTH = "session"
const BEARER_AUTH = "bearer"
@@ -1,4 +1,5 @@
export { default as authenticate } from "./authenticate"
export { default as authenticateLegacy } from "./authenticate"
export { authenticate } from "./authenticate-middleware"
export { default as authenticateCustomer } from "./authenticate-customer"
export { default as wrapHandler } from "./await-middleware"
export { default as errorHandler } from "./error-handler"