* feat(wasm): inspect local artifacts with WABT * fix(wasm): preserve custom names and failed cleanup ownership --------- Co-authored-by: morluto <76467478+morluto@users.noreply.github.com>
8 lines
440 B
TypeScript
8 lines
440 B
TypeScript
import { WasmArtifactService } from "../application/wasm/WasmArtifactService.js";
|
|
import { WabtArtifactProvider } from "../wasm/WabtArtifactProvider.js";
|
|
/** Compose the caller-supplied offline toolchain without acquisition or import-time I/O. */
|
|
export const createWasmArtifactService = (
|
|
environment: Readonly<NodeJS.ProcessEnv> = process.env,
|
|
): WasmArtifactService =>
|
|
new WasmArtifactService(new WabtArtifactProvider(environment));
|