@protobase/server 0.52.0 → 0.52.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.
|
@@ -14,7 +14,7 @@ import { Hono } from "hono";
|
|
|
14
14
|
* operator provider's name, when staff can sign in as people; `passkeyDomains`, when people have passkeys for more than
|
|
15
15
|
* one of the app's hosts, the RP IDs a passkey sign-in can ask for, the passkey domain first; with organizations, who may create them and the roles
|
|
16
16
|
* with their labels, `membership` for those a member can hold, and the roles each one's holders may also give; and
|
|
17
|
-
* `anonymous` when the project's anonymous role reads a resource, so the admin app opens for visitors before anyone signs in; `mcp` when MCP clients can connect, so the account page lists the connected
|
|
17
|
+
* `anonymous` when the project's anonymous role reads a resource, so the admin app opens for visitors before anyone signs in; `mcp` when MCP clients can connect, with the `url` of its endpoint, so the account page shows that address and lists the connected clients; and
|
|
18
18
|
* `plugins`, those the app loads before sign-in (see `PluginOption`); and `locale`, the language `options.locale` puts
|
|
19
19
|
* the screens in, so the sign-in screens and public forms, which come before `/meta`, are in it too.
|
|
20
20
|
*/
|
|
@@ -46,7 +46,7 @@ const statusRoute = (auth, { anonymous = false, plugins = [], locale } = {}) =>
|
|
|
46
46
|
...staffSignIn && { staffSignIn },
|
|
47
47
|
...passkeyDomains.length > 1 && { passkeyDomains },
|
|
48
48
|
...anonymous && { anonymous },
|
|
49
|
-
...auth.mcp && { mcp:
|
|
49
|
+
...auth.mcp && { mcp: { url: auth.mcp.resource } },
|
|
50
50
|
...plugins.length > 0 && { plugins },
|
|
51
51
|
...locale && { locale },
|
|
52
52
|
...auth.organizations && { organizations: {
|
package/dist/package.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@protobase/server",
|
|
3
|
-
"version": "0.52.
|
|
3
|
+
"version": "0.52.1",
|
|
4
4
|
"description": "The Protobase REST API as a Hono app, with Better Auth sign-in.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -40,9 +40,9 @@
|
|
|
40
40
|
"@better-auth/passkey": "^1.7.12",
|
|
41
41
|
"@better-auth/sso": "^1.7.12",
|
|
42
42
|
"@modelcontextprotocol/server": "^2.3.1",
|
|
43
|
-
"@protobase/layout": "0.52.
|
|
44
|
-
"@protobase/query": "0.52.
|
|
45
|
-
"@protobase/schema": "0.52.
|
|
43
|
+
"@protobase/layout": "0.52.1",
|
|
44
|
+
"@protobase/query": "0.52.1",
|
|
45
|
+
"@protobase/schema": "0.52.1",
|
|
46
46
|
"@react-email/render": "^2.1.0",
|
|
47
47
|
"@scalar/hono-api-reference": "^0.12.10",
|
|
48
48
|
"@sentry/core": "^11.7.0",
|