🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@plitzi/sdk-shared

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@plitzi/sdk-shared - npm Package Compare versions

Comparing version
0.32.13
to
0.32.14
+8
-0
CHANGELOG.md
# @plitzi/sdk-shared
## 0.32.14
### Patch Changes
- v0.32.14
- Updated dependencies
- @plitzi/nexus@0.32.14
## 0.32.13

@@ -4,0 +12,0 @@

@@ -415,2 +415,14 @@ import { Environment } from './CommonTypes';

};
/** A connection a visitor may take WITHOUT signing in, for a server whose public surface needs no identity — the
* MCP App, the tool and resource listings, the guide. The consent screen offers it as a second button beside the
* sign-in, and the grant is whatever `target` grants: point it at a target that carries no space, never at one
* that does, since nobody proved who they are. */
export type OAuthGuestConfig = {
/** Handed straight to {@link OAuthAdapters.issueToken} when a visitor takes the guest connection. */
target: OAuthGrantTarget;
/** Button text. Defaults to 'Continue without an account'. */
label?: string;
/** Who the grant is issued as. Defaults to `{ id: 'guest', label: 'Guest' }`. */
user?: OAuthUser;
};
/** What the built-in consent screen shows around the form. Ignored when `renderConsent` replaces the page. */

@@ -436,2 +448,8 @@ export type OAuthBranding = {

targets: OAuthGrantTarget[];
/** Offered on the 'credentials' step when the deployment allows a guest connection. The form must submit a
* `guest` field for it (any non-empty value), which is what tells the server to skip authentication. */
guest?: {
label: string;
description?: string;
};
/** Who logged in, on the 'target' step. */

@@ -466,2 +484,4 @@ user?: OAuthUser;

refreshTtlSeconds?: number;
/** Offer a connection that needs no account — see {@link OAuthGuestConfig}. Omit to require sign-in. */
guest?: OAuthGuestConfig;
branding?: OAuthBranding;

@@ -468,0 +488,0 @@ /** Replaces the built-in consent screen — return a full HTML document for the given step. */

Sorry, the diff of this file is too big to display