fix(web): expose loopback policy safely

This commit is contained in:
ZiyaZhang
2026-08-02 13:30:53 -07:00
parent 7a71ab9a92
commit 57343cfeb8
5 changed files with 5 additions and 4 deletions

View File

@@ -19,6 +19,7 @@
"types": "./lib/types/client/index.d.ts",
"default": "./lib/client.js"
},
"./loopback-hostname": "./src/loopback-hostname.ts",
"./src/*": "./src/*",
"./package.json": "./package.json"
},

View File

@@ -9,8 +9,6 @@ import { ConnectionController, type ConnectionConfig, type ConnectionSinks, type
import { FixtureApiClient } from './fixture.ts'
import { WebApiClient } from './web-api-client.ts'
export { isLoopbackHostname } from '../loopback-hostname.ts'
// ---- Contract re-exports (browser-safe apiproxy channels + core types) ----
export type {
ApiProxy, SessionsApi, SessionSearchItem, SessionSummary, HostApi, EventsApi, MuxFrame, HostFrame,