npm package diff
Package: @forge/tunnel
Versions: 5.5.0-next.13 - 5.5.0-next.14
File: package/out/command/interactors/function-change-watcher.d.ts
Index: package/out/command/interactors/function-change-watcher.d.ts
===================================================================
--- package/out/command/interactors/function-change-watcher.d.ts
+++ package/out/command/interactors/function-change-watcher.d.ts
@@ -4,23 +4,17 @@
export interface FunctionChangeWatcher {
startWatching(bundledCode: BundlerOutput, tunnelOptions: TunnelOptions): Promise<void>;
stopWatching(): Promise<void>;
}
-export interface Bundle {
- bundleFilePath: string;
- bundleFileContent: string;
- bundleFileSourceMapPath: string;
- bundleFileSourceMap?: string;
-}
export declare const MEMORY_LIMIT = 256;
export declare class LocalFunctionHost implements FunctionChangeWatcher {
private readonly configFile;
private readonly logger;
private readonly snapshot;
private readonly createSandbox;
private snapshotLogs;
constructor(configFile: ConfigFile, logger: Logger, snapshot: SnapshotCreator | null, createSandbox: (cfg: SandboxConfig) => Promise<Sandbox>);
- private generateBundleFiles;
+ private generateSnapshot;
startWatching(bundledCode: BundlerOutput, tunnelOptions?: TunnelOptions): Promise<void>;
stopWatching(): Promise<void>;
private onRuntimeLog;
private initializeSandboxes;