@hasna/switcher 0.2.17 → 0.2.19

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,12 +1,13 @@
1
1
  import { type ProviderInput } from "./domain";
2
2
  import type { ProviderRequestTiming } from "./provider-request";
3
- import { type EnvironmentDigestProbe, type ProcessReader } from "./process-table";
3
+ import { type ConnectionPeerLookup, type EnvironmentDigestProbe, type ProcessReader } from "./process-table";
4
4
  /** Version of the control protocol between `switcher launch` and the gateway service. */
5
5
  export declare const GATEWAY_PROTOCOL = 1;
6
6
  export type GatewayPaths = {
7
7
  root: string;
8
8
  socket: string;
9
9
  launches: string;
10
+ ended: string;
10
11
  config: string;
11
12
  log: string;
12
13
  };
@@ -43,6 +44,7 @@ export type GatewayServiceOptions = {
43
44
  supervisor?: string;
44
45
  processTable?: ProcessReader;
45
46
  environmentProbe?: EnvironmentDigestProbe;
47
+ connectionPeers?: ConnectionPeerLookup;
46
48
  now?: () => number;
47
49
  timing?: ProviderRequestTiming;
48
50
  log?: (line: string) => void;