@mastra/deployer 1.62.0-alpha.12 → 1.62.0-alpha.3

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.
@@ -3653,19 +3653,6 @@ var MastraServer$1 = class extends MastraServer {
3653
3653
  });
3654
3654
  }
3655
3655
  registerAuthMiddleware() {}
3656
- registerUserMiddleware() {
3657
- for (const m of this.mastra.getServerMiddleware?.() ?? []) this.app.use(m.path, skipIfFrameworkPublic(m.handler));
3658
- const configMiddleware = this.mastra.getServer()?.middleware;
3659
- if (!configMiddleware) return;
3660
- const normalizedMiddlewares = Array.isArray(configMiddleware) ? configMiddleware : [configMiddleware];
3661
- for (const middleware of normalizedMiddlewares) {
3662
- const { path, handler } = typeof middleware === "function" ? {
3663
- path: "*",
3664
- handler: middleware
3665
- } : middleware;
3666
- this.app.use(path, skipIfFrameworkPublic(handler));
3667
- }
3668
- }
3669
3656
  registerHttpLoggingMiddleware() {
3670
3657
  if (!this.httpLoggingConfig?.enabled) return;
3671
3658
  this.app.use("*", async (c, next) => {