@mastra/next 0.2.38-alpha.3 → 0.2.38-alpha.4
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/index.cjs +1 -2
- package/dist/index.js +1 -2
- package/package.json +9 -9
package/dist/index.cjs
CHANGED
|
@@ -3,7 +3,7 @@ let _mastra_hono = require("@mastra/hono");
|
|
|
3
3
|
let _mastra_server_a2a_store = require("@mastra/server/a2a/store");
|
|
4
4
|
let hono = require("hono");
|
|
5
5
|
let hono_vercel = require("hono/vercel");
|
|
6
|
-
|
|
6
|
+
// src/index.ts
|
|
7
7
|
/**
|
|
8
8
|
* Creates Next.js App Router route handlers for a Mastra instance.
|
|
9
9
|
*
|
|
@@ -73,7 +73,6 @@ async function initApp(mastra, tools, prefix) {
|
|
|
73
73
|
}).init();
|
|
74
74
|
return app;
|
|
75
75
|
}
|
|
76
|
-
//#endregion
|
|
77
76
|
exports.createNextRouteHandler = createNextRouteHandler;
|
|
78
77
|
|
|
79
78
|
//# sourceMappingURL=index.cjs.map
|
package/dist/index.js
CHANGED
|
@@ -2,7 +2,7 @@ import { MastraServer } from "@mastra/hono";
|
|
|
2
2
|
import { InMemoryTaskStore } from "@mastra/server/a2a/store";
|
|
3
3
|
import { Hono } from "hono";
|
|
4
4
|
import { handle } from "hono/vercel";
|
|
5
|
-
|
|
5
|
+
// src/index.ts
|
|
6
6
|
/**
|
|
7
7
|
* Creates Next.js App Router route handlers for a Mastra instance.
|
|
8
8
|
*
|
|
@@ -72,7 +72,6 @@ async function initApp(mastra, tools, prefix) {
|
|
|
72
72
|
}).init();
|
|
73
73
|
return app;
|
|
74
74
|
}
|
|
75
|
-
//#endregion
|
|
76
75
|
export { createNextRouteHandler };
|
|
77
76
|
|
|
78
77
|
//# sourceMappingURL=index.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mastra/next",
|
|
3
|
-
"version": "0.2.38-alpha.
|
|
3
|
+
"version": "0.2.38-alpha.4",
|
|
4
4
|
"description": "Mastra Next.js server adapter — drop your Mastra instance into a Next.js app",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -20,20 +20,20 @@
|
|
|
20
20
|
},
|
|
21
21
|
"license": "Apache-2.0",
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@mastra/
|
|
24
|
-
"@mastra/
|
|
23
|
+
"@mastra/hono": "1.7.22-alpha.4",
|
|
24
|
+
"@mastra/server": "1.80.0-alpha.4"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
|
-
"@hono/node-server": "^2.
|
|
28
|
-
"@types/node": "22.
|
|
29
|
-
"hono": "^4.13.
|
|
27
|
+
"@hono/node-server": "^2.1.3",
|
|
28
|
+
"@types/node": "22.19.15",
|
|
29
|
+
"hono": "^4.13.13",
|
|
30
30
|
"tsdown": "0.23.1",
|
|
31
31
|
"typescript": "^7.0.2",
|
|
32
32
|
"vitest": "4.1.12",
|
|
33
|
+
"@mastra/core": "1.80.0-alpha.4",
|
|
33
34
|
"@internal/types-builder": "0.0.120",
|
|
34
|
-
"@
|
|
35
|
-
"@
|
|
36
|
-
"@mastra/server-adapters-test-suite": "0.1.4-alpha.1"
|
|
35
|
+
"@mastra/server-adapters-test-suite": "0.1.4-alpha.2",
|
|
36
|
+
"@internal/lint": "0.0.145"
|
|
37
37
|
},
|
|
38
38
|
"peerDependencies": {
|
|
39
39
|
"@mastra/core": ">=1.58.0-0 <2.0.0-0",
|