npm package diff
Package: @forge/sandbox-tunnel
Versions: 4.3.1-next.12 - 4.2.3-next.0-experimental-204139e
Modified:package/out/index.js
Index: package/out/index.js
===================================================================
--- package/out/index.js
+++ package/out/index.js
@@ -25,18 +25,20 @@
const assertiveAppConfigReader = (0, cli_shared_1.assertiveAppConfigProvider)(appConfigReader);
const userRepository = new cli_shared_1.UserRepositoryImpl(createGraphQLClient, ui);
const credentialsGetter = (0, cli_shared_1.getCredentialStore)(ui, userRepository);
const authenticator = new cli_shared_1.PersonalTokenAuthenticator(credentialsGetter);
+const featureFlagService = new cli_shared_1.FeatureFlagService(ui, cliDetails, credentialsGetter, appConfigReader);
const graphQLClient = createGraphQLClient(authenticator);
const functionHost = new tunnel_1.LocalFunctionHost(configFile, ui, sandbox_runtime_1.snapshot, sandbox_runtime_1.initializeSandbox);
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), new tunnel_1.TunnelServiceFacade(featureFlagService, ui), new tunnel_1.RegisterTunnelServiceImpl(new tunnel_1.TunnelGraphqlClient(graphQLClient), featureFlagService), functionHost, inspector, ui, configFile);
const runTunnel = async () => {
try {
const tunnel = await startTunnelCommand.execute({
host: process.env.FORGE_DEV_TUNNEL ? 'localhost' : 'host.docker.internal',
- environmentKey: process.env.ENVIRONMENT_KEY || 'default'
+ environmentKey: process.env.ENVIRONMENT_KEY || 'default',
+ ngrokConfig: process.env.NGROK_CONFIG
});
const monitor = await tunnelInteractor.watchApp(tunnel);
const manifestFileWatcher = tunnelInteractor.watchAndWarnOnManifestChanges('manifest.yml');
await tunnelInteractor.handleUserExitEvent(tunnel.stopFunction, monitor, manifestFileWatcher);
Modified:package/package.json
Index: package/package.json
===================================================================
--- package/package.json
+++ package/package.json
@@ -1,7 +1,7 @@
{
"name": "@forge/sandbox-tunnel",
- "version": "4.3.1-next.12",
+ "version": "4.2.3-next.0-experimental-204139e",
"description": "Tunnel functionality for Forge CLI",
"author": "Atlassian",
"license": "UNLICENSED",
"main": "out/index.js",
@@ -15,12 +15,12 @@
"docker:build:local-tunnel": "./scripts/build-local-tunnel.sh && ./scripts/rebuild-binaries.sh",
"postbuild": "chmod +x out/*.js"
},
"dependencies": {
- "@forge/cli-shared": "5.5.0-next.12",
- "@forge/runtime": "5.10.1",
- "@forge/sandbox-runtime": "4.18.4-next.0",
- "@forge/tunnel": "5.5.0-next.12",
+ "@forge/cli-shared": "5.3.1-next.0-experimental-204139e",
+ "@forge/runtime": "5.9.0",
+ "@forge/sandbox-runtime": "4.18.0-experimental-204139e",
+ "@forge/tunnel": "5.3.3-next.0-experimental-204139e",
"tslib": "^2.6.2"
},
"devDependencies": {
"@types/jest": "^29.5.12",
Modified:package/out/index.d.ts.map
Index: package/out/index.d.ts.map
===================================================================
--- package/out/index.d.ts.map
+++ package/out/index.d.ts.map
@@ -1,1 +1,1 @@
-{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAyFA,eAAO,MAAM,SAAS,QAAa,QAAQ,IAAI,CAmB9C,CAAC"}
\ No newline at end of file
+{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AA4FA,eAAO,MAAM,SAAS,QAAa,QAAQ,IAAI,CAoB9C,CAAC"}
\ No newline at end of file
Modified:package/CHANGELOG.md
too-big