npm package diff
Package: @forge/bundler
Versions: 4.19.0-next.12 - 4.17.4-next.0-experimental-204139e
File: package/out/config/node.d.ts
Index: package/out/config/node.d.ts
===================================================================
--- package/out/config/node.d.ts
+++ package/out/config/node.d.ts
@@ -2,8 +2,9 @@
import { CommonWebpackConfig, ConfigBuilder, FunctionsEntryPoint } from './common';
export declare const NODE_WEBPACK_CONFIG_NAME = "node-runtime";
export declare const NODE_WEBPACK_USER_CODE_DIR = "bundled";
export declare const NODE_RUNTIME_VERSION_FILE = "runtime.json";
+export declare const LOCAL_WRAPPER_PATH: string;
export declare class LocalWrapperNotFoundError extends UserError {
constructor();
}
export declare class WrapperNetworkError extends BaseError {
@@ -21,15 +22,15 @@
}
export declare class LocalWrapperProvider implements WrapperProvider {
private readonly filesystemReader;
private readonly path;
- constructor(filesystemReader: FileSystemReader, path: string);
+ constructor(filesystemReader: FileSystemReader, path?: string);
getNodeRuntimeWrapper(): Promise<WrapperScript>;
}
export declare class NetworkWrapperProvider implements WrapperProvider {
+ private readonly cdnUrl;
private wrapper;
- protected cdnUrl: string;
- constructor();
+ constructor(cdnUrl: string);
private getWrapperPathFromIndex;
getNodeRuntimeWrapper(): Promise<WrapperScript>;
}
export declare const getWrapperProvider: ({ fileSystemReader }: {