diff --git a/package.json b/package.json index d426aa9..ba4c18d 100644 --- a/package.json +++ b/package.json @@ -14,8 +14,8 @@ "default": "./dist/src/react/index.js", "types": "./dist/src/react/index.d.ts" }, - "./app-host": { - "default": "./dist/src/app-host.js", + "./app-bridge": { + "default": "./dist/src/app-bridge.js", "types": "./dist/src/app-host.d.ts" } }, diff --git a/src/app-host.ts b/src/app-bridge.ts similarity index 98% rename from src/app-host.ts rename to src/app-bridge.ts index 4462d26..77e9ce5 100644 --- a/src/app-host.ts +++ b/src/app-bridge.ts @@ -48,7 +48,7 @@ type HostOptions = ProtocolOptions; export const SUPPORTED_PROTOCOL_VERSIONS = [LATEST_PROTOCOL_VERSION]; -export class AppHost extends Protocol { +export class AppBridge extends Protocol { oninitialized?: () => void; private _appCapabilities?: McpUiAppCapabilities;