From 502095443337fbcb45706c62b0286a3b3e08a452 Mon Sep 17 00:00:00 2001 From: bchanot Date: Wed, 14 Oct 2026 21:49:39 +0200 Subject: [PATCH] chore(workspace): drop isCoreBuilt, unused since the stamp gate replaced the skip helper --- packages/core-wasm/src/node.ts | 6 ------ 1 file changed, 6 deletions(-) diff --git a/packages/core-wasm/src/node.ts b/packages/core-wasm/src/node.ts index 44efc634..97f86ee3 100644 --- a/packages/core-wasm/src/node.ts +++ b/packages/core-wasm/src/node.ts @@ -3,7 +3,6 @@ * from `pkg/` (the shipped build) or `pkg-proofs/` (with the R0 trap exports). Never * imported by the application bundle. */ -import { existsSync } from 'node:fs' import { readFile } from 'node:fs/promises' import { dirname, join } from 'node:path' import { fileURLToPath, pathToFileURL } from 'node:url' @@ -23,11 +22,6 @@ export function coreWasmPath(build: CoreBuild = 'pkg'): string { return join(PACKAGE_DIR, build, 'faunosteo_wasm_bg.wasm') } -/** True when `pnpm wasm:build` has produced the module. */ -export function isCoreBuilt(build: CoreBuild = 'pkg'): boolean { - return existsSync(coreWasmPath(build)) -} - /** Each import gets its own query string, hence its own module record and instance. */ let imports = 0