@mastra/deployer 0.10.4 → 0.10.5
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.
- package/dist/server/index.cjs +4 -8
- package/dist/server/index.js +4 -8
- package/package.json +4 -4
package/dist/server/index.cjs
CHANGED
|
@@ -4513,7 +4513,8 @@ ${err.stack.split("\n").slice(1).join("\n")}
|
|
|
4513
4513
|
const contentType = c2.req.header("content-type");
|
|
4514
4514
|
if (contentType?.includes("application/json")) {
|
|
4515
4515
|
try {
|
|
4516
|
-
const
|
|
4516
|
+
const clonedReq = c2.req.raw.clone();
|
|
4517
|
+
const body = await clonedReq.json();
|
|
4517
4518
|
if (body.runtimeContext) {
|
|
4518
4519
|
runtimeContext$1 = new runtimeContext.RuntimeContext(Object.entries(body.runtimeContext));
|
|
4519
4520
|
}
|
|
@@ -7414,14 +7415,9 @@ async function createNodeServer(mastra, options = {}) {
|
|
|
7414
7415
|
const logger2 = mastra.getLogger();
|
|
7415
7416
|
const host = serverOptions?.host ?? "localhost";
|
|
7416
7417
|
logger2.info(` Mastra API running on port http://${host}:${port}/api`);
|
|
7417
|
-
if (options?.isDev) {
|
|
7418
|
-
logger2.info(`\u{1F517} Open API documentation available at http://${host}:${port}/openapi.json`);
|
|
7419
|
-
}
|
|
7420
|
-
if (options?.isDev) {
|
|
7421
|
-
logger2.info(`\u{1F9EA} Swagger UI available at http://${host}:${port}/swagger-ui`);
|
|
7422
|
-
}
|
|
7423
7418
|
if (options?.playground) {
|
|
7424
|
-
|
|
7419
|
+
const playgroundUrl = `http://${host}:${port}`;
|
|
7420
|
+
logger2.info(`\u{1F468}\u200D\u{1F4BB} Playground available at ${playgroundUrl}`);
|
|
7425
7421
|
}
|
|
7426
7422
|
if (process.send) {
|
|
7427
7423
|
process.send({
|
package/dist/server/index.js
CHANGED
|
@@ -4506,7 +4506,8 @@ ${err.stack.split("\n").slice(1).join("\n")}
|
|
|
4506
4506
|
const contentType = c2.req.header("content-type");
|
|
4507
4507
|
if (contentType?.includes("application/json")) {
|
|
4508
4508
|
try {
|
|
4509
|
-
const
|
|
4509
|
+
const clonedReq = c2.req.raw.clone();
|
|
4510
|
+
const body = await clonedReq.json();
|
|
4510
4511
|
if (body.runtimeContext) {
|
|
4511
4512
|
runtimeContext = new RuntimeContext(Object.entries(body.runtimeContext));
|
|
4512
4513
|
}
|
|
@@ -7407,14 +7408,9 @@ async function createNodeServer(mastra, options = {}) {
|
|
|
7407
7408
|
const logger2 = mastra.getLogger();
|
|
7408
7409
|
const host = serverOptions?.host ?? "localhost";
|
|
7409
7410
|
logger2.info(` Mastra API running on port http://${host}:${port}/api`);
|
|
7410
|
-
if (options?.isDev) {
|
|
7411
|
-
logger2.info(`\u{1F517} Open API documentation available at http://${host}:${port}/openapi.json`);
|
|
7412
|
-
}
|
|
7413
|
-
if (options?.isDev) {
|
|
7414
|
-
logger2.info(`\u{1F9EA} Swagger UI available at http://${host}:${port}/swagger-ui`);
|
|
7415
|
-
}
|
|
7416
7411
|
if (options?.playground) {
|
|
7417
|
-
|
|
7412
|
+
const playgroundUrl = `http://${host}:${port}`;
|
|
7413
|
+
logger2.info(`\u{1F468}\u200D\u{1F4BB} Playground available at ${playgroundUrl}`);
|
|
7418
7414
|
}
|
|
7419
7415
|
if (process.send) {
|
|
7420
7416
|
process.send({
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mastra/deployer",
|
|
3
|
-
"version": "0.10.
|
|
3
|
+
"version": "0.10.5",
|
|
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.56",
|
|
111
|
-
"@mastra/server": "^0.10.
|
|
111
|
+
"@mastra/server": "^0.10.5"
|
|
112
112
|
},
|
|
113
113
|
"devDependencies": {
|
|
114
114
|
"@hono/node-server": "^1.14.3",
|
|
@@ -127,8 +127,8 @@
|
|
|
127
127
|
"type-fest": "^4.41.0",
|
|
128
128
|
"typescript": "^5.8.2",
|
|
129
129
|
"vitest": "^2.1.9",
|
|
130
|
-
"@
|
|
131
|
-
"@
|
|
130
|
+
"@mastra/core": "0.10.5",
|
|
131
|
+
"@internal/lint": "0.0.12",
|
|
132
132
|
"@mastra/mcp": "^0.10.3"
|
|
133
133
|
},
|
|
134
134
|
"peerDependencies": {
|