npm package diff
Package: @forge/cli
Versions: 10.4.1 - 10.5.0-next.1-experimental-264fa0f
File: package/out/service/tunnel-service.d.ts
Index: package/out/service/tunnel-service.d.ts
===================================================================
--- package/out/service/tunnel-service.d.ts
+++ package/out/service/tunnel-service.d.ts
@@ -1,6 +1,6 @@
import { spawn } from 'cross-spawn';
-import { FeatureFlagService, PersonalApiCredentials, PersonalApiCredentialsValidated, TunnelOptions, UI, UserError } from '@forge/cli-shared';
+import { PersonalApiCredentials, PersonalApiCredentialsValidated, TunnelOptions, UI, UserError } from '@forge/cli-shared';
import { StartTunnelCommand, TunnelInteractor } from '@forge/tunnel';
import { CachedConfigService } from './cached-config-service';
import { DockerService } from './docker-service';
import { ConfigFilePortFindingService } from './port-finding-service';
@@ -19,18 +19,16 @@
declare abstract class TunnelServiceBase implements TunnelService {
protected readonly cachedConfigService: CachedConfigService;
constructor(cachedConfigService: CachedConfigService);
abstract run(tunnelOptions: TunnelOptions, creds: PersonalApiCredentialsValidated, debugEnabled: boolean, onError?: (err: Error) => Promise<void>): Promise<void>;
- protected ngrokConfigPath(): string;
}
export declare class InProcessTunnelService extends TunnelServiceBase {
private readonly ui;
private readonly startTunnelCommand;
private readonly tunnelInteractor;
private readonly configFilePortFindingService;
private readonly analyticsService;
- private featureFlagService;
- constructor(ui: UI, startTunnelCommand: StartTunnelCommand, tunnelInteractor: TunnelInteractor, configFilePortFindingService: ConfigFilePortFindingService, cachedConfigService: CachedConfigService, analyticsService: TunnelAnalyticsService, featureFlagService: FeatureFlagService);
+ constructor(ui: UI, startTunnelCommand: StartTunnelCommand, tunnelInteractor: TunnelInteractor, configFilePortFindingService: ConfigFilePortFindingService, cachedConfigService: CachedConfigService, analyticsService: TunnelAnalyticsService);
run(tunnelOptions: TunnelOptions, creds: PersonalApiCredentialsValidated, debugEnabled: boolean, onError?: (err: Error) => Promise<void>): Promise<void>;
}
interface EnvironmentVariable {
key: string;
@@ -38,13 +36,11 @@
}
declare abstract class SandboxTunnelServiceBase extends TunnelServiceBase {
protected readonly configFilePortFindingService: ConfigFilePortFindingService;
protected readonly cachedConfigService: CachedConfigService;
- protected readonly featureFlagService: FeatureFlagService;
- constructor(configFilePortFindingService: ConfigFilePortFindingService, cachedConfigService: CachedConfigService, featureFlagService: FeatureFlagService);
+ constructor(configFilePortFindingService: ConfigFilePortFindingService, cachedConfigService: CachedConfigService);
getTunnelProcessEnvironment(tunnelOptions: TunnelOptions, debugEnabled: boolean, { email, token }: PersonalApiCredentials, port: number, cspReporterPort: number | undefined, resourcePorts: Record<string, number>): Promise<EnvironmentVariable[]>;
private getInspectorPortEnvironment;
- protected getNgrokConfigEnvironment(): EnvironmentVariable[];
private getCspReporterPortEnvironment;
private getResourcePortEnvironment;
private getUserEnvironmentVariables;
}
@@ -54,18 +50,16 @@
}
export declare class DockerTunnelService extends SandboxTunnelServiceBase {
private readonly dockerService;
private readonly analyticsService;
- protected readonly featureFlagService: FeatureFlagService;
- constructor(configFilePortFindingService: ConfigFilePortFindingService, cachedConfigService: CachedConfigService, dockerService: DockerService, analyticsService: TunnelAnalyticsService, featureFlagService: FeatureFlagService);
+ constructor(configFilePortFindingService: ConfigFilePortFindingService, cachedConfigService: CachedConfigService, dockerService: DockerService, analyticsService: TunnelAnalyticsService);
run(tunnelOptions: TunnelOptions, creds: PersonalApiCredentialsValidated, debugEnabled: boolean): Promise<void>;
bootstrapDocker(): Promise<ReturnType<typeof spawn> | undefined>;
private validateDockerVersion;
private getDockerPortOptions;
private formatEnvForDocker;
private getInteractiveOptions;
private getVolumeOptions;
- protected getNgrokConfigEnvironment(): EnvironmentVariable[];
private getCommonOptions;
}
export {};
//# sourceMappingURL=tunnel-service.d.ts.map
\ No newline at end of file