diff --git a/CHANGELOG.md b/CHANGELOG.md index 27eae8f..5c79aa8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,7 @@ - MODULE compilation accepts hash-verified prebuilt WebAssembly objects and static archives through `prebuiltLibraries`. Input order and producer symbols are preserved; input bytes participate in the link cache. - Guest-link output carries prebuilt libraries into FLOW compilation. Identical names and hashes link once; conflicting content for a name or namespace is refused. - The compile CLI accepts guest-link metadata with `--prebuilt-libraries`. Artifact guards retain their checks and include library names in failures. +- The host ABI has its own entry, `space-data-module-sdk/host/abi` (`createHostcallBridge` and the host dispatchers). A browser bundle that needs the hostcall bridge alone no longer has to import the package root, whose browser entry brings the runtime host and the FlatSQL runtime store with it. ## 0.10.2 diff --git a/package.json b/package.json index bb82b7d..e88c858 100644 --- a/package.json +++ b/package.json @@ -60,6 +60,7 @@ "default": "./src/host/isomorphicLoader.js" }, "./host/browser-module": "./src/host/browserModuleHarness.js", + "./host/abi": "./src/host/abi.js", "./host/runtime-target-gate": "./src/host/runtimeTargetGate.js", "./host/node-builtin": "./src/host/nodeBuiltinSpecifier.js", "./host/worker-module": "./src/host/workerModuleHarness.js", diff --git a/test/browser-reachable-node-builtins.test.js b/test/browser-reachable-node-builtins.test.js index 312b6e3..0988693 100644 --- a/test/browser-reachable-node-builtins.test.js +++ b/test/browser-reachable-node-builtins.test.js @@ -45,6 +45,7 @@ export const BROWSER_FACING_SUBPATHS = [ "./host/wasi-shim", "./host/isomorphic", "./host/browser-module", + "./host/abi", "./host/runtime-target-gate", "./host/node-builtin", "./host/worker-module",