mirror of
https://github.com/diegosouzapw/OmniRoute.git
synced 2026-07-31 04:12:10 +03:00
server-ws.mjs imports ./peer-stamp.mjs but the npm-pack path didn't include it: prepublish.ts didn't copy it and pack-artifact-policy pruned it (not in the app/ allowlist). Without it the WS wrapper throws ERR_MODULE_NOT_FOUND on boot and the peer-IP stamp (authz LOCAL_ONLY locality) never runs. Copy it in prepublish + allowlist + mark required so a regression fails the pack.