File tree Expand file tree Collapse file tree
packages/client-runtime/src/connection Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ export interface EnvironmentConnectionLease {
3939export 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
4444export class ConnectionDriver extends Context . Service <
4545 ConnectionDriver ,
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ export * as ConnectionOnboarding from "./onboarding.ts";
1010export * from "./presentation.ts" ;
1111export * as ProfileStore from "./profileStore.ts" ;
1212export * from "./routes.ts" ;
13- export { connectOverRoutes , type RouteCheck } from "./driver.ts" ;
13+ export { type RouteCheck } from "./driver.ts" ;
1414export * as EnvironmentRegistry from "./registry.ts" ;
1515// Flat so consumers' inferred types can name them.
1616export { EnvironmentNotRegisteredError , PlatformEnvironmentRemovalError } from "./registry.ts" ;
Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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" ||
You can’t perform that action at this time.
0 commit comments