@mastra/deployer 0.10.6-alpha.5 → 0.10.7-alpha.0

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.
@@ -7474,6 +7474,7 @@ ${err.stack.split("\n").slice(1).join("\n")}
7474
7474
  app.get(
7475
7475
  "/openapi.json",
7476
7476
  h(app, {
7477
+ includeEmptyPaths: true,
7477
7478
  documentation: {
7478
7479
  info: { title: "Mastra API", version: "1.0.0", description: "Mastra API" }
7479
7480
  }
@@ -7481,11 +7482,29 @@ ${err.stack.split("\n").slice(1).join("\n")}
7481
7482
  );
7482
7483
  }
7483
7484
  if (options?.isDev || server?.build?.swaggerUI) {
7484
- app.get("/swagger-ui", middleware({ url: "/openapi.json" }));
7485
+ app.get(
7486
+ "/swagger-ui",
7487
+ w({
7488
+ hide: true
7489
+ }),
7490
+ middleware({ url: "/openapi.json" })
7491
+ );
7485
7492
  }
7486
7493
  if (options?.playground) {
7487
- app.get("/refresh-events", handleClientsRefresh);
7488
- app.post("/__refresh", handleTriggerClientsRefresh);
7494
+ app.get(
7495
+ "/refresh-events",
7496
+ w({
7497
+ hide: true
7498
+ }),
7499
+ handleClientsRefresh
7500
+ );
7501
+ app.post(
7502
+ "/__refresh",
7503
+ w({
7504
+ hide: true
7505
+ }),
7506
+ handleTriggerClientsRefresh
7507
+ );
7489
7508
  app.use("/assets/*", async (c2, next) => {
7490
7509
  const path = c2.req.path;
7491
7510
  if (path.endsWith(".js")) {
@@ -7467,6 +7467,7 @@ ${err.stack.split("\n").slice(1).join("\n")}
7467
7467
  app.get(
7468
7468
  "/openapi.json",
7469
7469
  h(app, {
7470
+ includeEmptyPaths: true,
7470
7471
  documentation: {
7471
7472
  info: { title: "Mastra API", version: "1.0.0", description: "Mastra API" }
7472
7473
  }
@@ -7474,11 +7475,29 @@ ${err.stack.split("\n").slice(1).join("\n")}
7474
7475
  );
7475
7476
  }
7476
7477
  if (options?.isDev || server?.build?.swaggerUI) {
7477
- app.get("/swagger-ui", middleware({ url: "/openapi.json" }));
7478
+ app.get(
7479
+ "/swagger-ui",
7480
+ w({
7481
+ hide: true
7482
+ }),
7483
+ middleware({ url: "/openapi.json" })
7484
+ );
7478
7485
  }
7479
7486
  if (options?.playground) {
7480
- app.get("/refresh-events", handleClientsRefresh);
7481
- app.post("/__refresh", handleTriggerClientsRefresh);
7487
+ app.get(
7488
+ "/refresh-events",
7489
+ w({
7490
+ hide: true
7491
+ }),
7492
+ handleClientsRefresh
7493
+ );
7494
+ app.post(
7495
+ "/__refresh",
7496
+ w({
7497
+ hide: true
7498
+ }),
7499
+ handleTriggerClientsRefresh
7500
+ );
7482
7501
  app.use("/assets/*", async (c2, next) => {
7483
7502
  const path = c2.req.path;
7484
7503
  if (path.endsWith(".js")) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mastra/deployer",
3
- "version": "0.10.6-alpha.5",
3
+ "version": "0.10.7-alpha.0",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "files": [
@@ -108,7 +108,7 @@
108
108
  "rollup-plugin-node-externals": "^8.0.0",
109
109
  "typescript-paths": "^1.5.1",
110
110
  "zod": "^3.25.57",
111
- "@mastra/server": "^0.10.6-alpha.5"
111
+ "@mastra/server": "^0.10.7-alpha.0"
112
112
  },
113
113
  "devDependencies": {
114
114
  "@hono/node-server": "^1.14.4",
@@ -127,9 +127,9 @@
127
127
  "type-fest": "^4.41.0",
128
128
  "typescript": "^5.8.3",
129
129
  "vitest": "^2.1.9",
130
- "@internal/lint": "0.0.12",
131
- "@mastra/core": "0.10.6-alpha.5",
132
- "@mastra/mcp": "^0.10.4-alpha.1"
130
+ "@internal/lint": "0.0.13",
131
+ "@mastra/core": "0.10.7-alpha.0",
132
+ "@mastra/mcp": "^0.10.4"
133
133
  },
134
134
  "peerDependencies": {
135
135
  "@mastra/core": "^0.10.2-alpha.0"