npm package diff
Package: @forge/sandbox-tunnel
Versions: 4.3.8-next.14 - 4.4.0-next.15
File: package/out/index.js
Index: package/out/index.js
===================================================================
--- package/out/index.js
+++ package/out/index.js
@@ -27,11 +27,12 @@
const credentialsGetter = (0, cli_shared_1.getCredentialStore)(ui, userRepository);
const authenticator = new cli_shared_1.PersonalTokenAuthenticator(credentialsGetter);
const graphQLClient = createGraphQLClient(authenticator);
const functionHost = new tunnel_1.LocalFunctionHost(configFile, ui, sandbox_runtime_1.snapshot, sandbox_runtime_1.initializeSandbox);
+const statsigService = new cli_shared_1.StatsigService(ui, cliDetails, credentialsGetter, appConfigReader);
const localInvocationService = new tunnel_1.LocalInvocationService(configFile, ui, inspector);
const tunnelInteractor = new tunnel_1.TunnelInteractor(ui);
-const startTunnelCommand = new tunnel_1.StartTunnelCommand(assertiveAppConfigReader, new tunnel_1.LocalDevelopmentServer(localInvocationService, ui, configFile, fileReader), new tunnel_1.CloudflareCreateTunnelService(ui), new tunnel_1.RegisterTunnelServiceImpl(new tunnel_1.TunnelGraphqlClient(graphQLClient)), functionHost, inspector, ui, configFile);
+const startTunnelCommand = new tunnel_1.StartTunnelCommand(assertiveAppConfigReader, new tunnel_1.LocalDevelopmentServer(localInvocationService, ui, configFile, fileReader, statsigService), new tunnel_1.CloudflareCreateTunnelService(ui), new tunnel_1.RegisterTunnelServiceImpl(new tunnel_1.TunnelGraphqlClient(graphQLClient)), functionHost, inspector, ui, configFile);
const runTunnel = async () => {
try {
const tunnel = await startTunnelCommand.execute({
host: process.env.FORGE_DEV_TUNNEL ? 'localhost' : 'host.docker.internal',