npm package diff
Package: @forge/tunnel
Versions: 5.5.7-next.14 - 5.6.0-next.15
File: package/out/servers/dev-server.js
Index: package/out/servers/dev-server.js
===================================================================
--- package/out/servers/dev-server.js
+++ package/out/servers/dev-server.js
@@ -22,17 +22,19 @@
invocationService;
logger;
configFile;
fileSystemReader;
+ statsigService;
app;
httpServer;
permissions;
remotes;
- constructor(invocationService, logger, configFile, fileSystemReader) {
+ constructor(invocationService, logger, configFile, fileSystemReader, statsigService) {
this.invocationService = invocationService;
this.logger = logger;
this.configFile = configFile;
this.fileSystemReader = fileSystemReader;
+ this.statsigService = statsigService;
this.app = (0, express_1.default)();
this.app.use(express_1.default.json({ limit: '6mb' }));
this.app.post(`/:fnKey`, this.handleInvocation);
}
@@ -59,9 +61,9 @@
if (!entryPoints.length) {
return { outputDir };
}
const getConfig = isNodeJsRuntime
- ? (0, bundler_2.getNodeRuntimeBuildConfig)((0, bundler_1.getWrapperProvider)({ fileSystemReader: this.fileSystemReader }))
+ ? (0, bundler_2.getNodeRuntimeBuildConfig)((0, bundler_1.getWrapperProvider)({ fileSystemReader: this.fileSystemReader, statsigService: this.statsigService }))
: bundler_2.getSandboxedRuntimeBuildConfig;
const config = getConfig(entryPoints, {
isWatchMode: true,
isDebugMode: tunnelOptions.debug,