@rsc-kit/mcp 0.49.0 → 0.49.1
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/guides/authorization.md +3 -1
- package/package.json +2 -2
package/guides/authorization.md
CHANGED
|
@@ -60,7 +60,9 @@ export default async function middleware() {
|
|
|
60
60
|
Otherwise a settings link prefetched just after logout becomes where the next
|
|
61
61
|
sign-in lands. The refusal is the same either way. A backend's guards are told
|
|
62
62
|
too, by `x-rsc-prefetch` on each host call, and a cookie one sets during a
|
|
63
|
-
prefetch never reaches the browser.
|
|
63
|
+
prefetch never reaches the browser. On Laravel that call answers
|
|
64
|
+
`$request->prefetch()` with true, and its session is left as it was; on Go,
|
|
65
|
+
`rsckit.Prefetching(ctx)` is the same question.
|
|
64
66
|
|
|
65
67
|
### Several checks
|
|
66
68
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rsc-kit/mcp",
|
|
3
|
-
"version": "0.49.
|
|
3
|
+
"version": "0.49.1",
|
|
4
4
|
"description": "An MCP server over what an rsc-kit build decided: the routes, why each one is static or not, and what it costs the browser.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
36
|
"@modelcontextprotocol/sdk": "^1.30.0",
|
|
37
|
-
"create-rsc-kit": "^0.49.
|
|
37
|
+
"create-rsc-kit": "^0.49.1",
|
|
38
38
|
"zod": "^3.25"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|