Skip to content

Commit fe7078a

Browse files
chore(clients): drop exports only used inside their module
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
1 parent fc761f3 commit fe7078a

4 files changed

Lines changed: 4 additions & 4 deletions

File tree

‎packages/client-runtime/src/connection/driver.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ export interface EnvironmentConnectionLease {
3939
export type RouteCheck = "answered" | "silent" | "unchecked";
4040

4141
/** How long a direct route has to answer before it counts as unreachable from here. */
42-
export const ROUTE_CHECK_TIMEOUT_MS = 2_500;
42+
const ROUTE_CHECK_TIMEOUT_MS = 2_500;
4343

4444
export class ConnectionDriver extends Context.Service<
4545
ConnectionDriver,

‎packages/client-runtime/src/connection/index.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ export * as ConnectionOnboarding from "./onboarding.ts";
1010
export * from "./presentation.ts";
1111
export * as ProfileStore from "./profileStore.ts";
1212
export * from "./routes.ts";
13-
export { connectOverRoutes, type RouteCheck } from "./driver.ts";
13+
export { type RouteCheck } from "./driver.ts";
1414
export * as EnvironmentRegistry from "./registry.ts";
1515
// Flat so consumers' inferred types can name them.
1616
export { EnvironmentNotRegisteredError, PlatformEnvironmentRemovalError } from "./registry.ts";

‎packages/client-runtime/src/connection/onboarding.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ const resolvePairingTarget = Effect.fn("clientRuntime.connection.onboarding.reso
9090
* to the LAN one instead of replacing it. Pairing the same address again
9191
* reuses the id and replaces that route.
9292
*/
93-
export function bearerConnectionId(environmentId: EnvironmentId, httpBaseUrl: string): string {
93+
function bearerConnectionId(environmentId: EnvironmentId, httpBaseUrl: string): string {
9494
return `bearer:${environmentId}:${new URL(httpBaseUrl).host}`;
9595
}
9696

‎packages/client-runtime/src/connection/wakeups.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export type ConnectionWakeup =
1111
// cellular) while staying online. Saved routes may have changed reach.
1212
| "network-changed";
1313

14-
export function isApplicationActiveWakeup(reason: ConnectionWakeup): boolean {
14+
function isApplicationActiveWakeup(reason: ConnectionWakeup): boolean {
1515
return (
1616
reason === "application-active" ||
1717
reason === "application-active-probe" ||

0 commit comments

Comments
 (0)