Module-based scripts don't receive a FetchEvent, rather they get a request and other assorted info.
https://developers.cloudflare.com/workers/cli-wrangler/configuration#modules
That makes it harder to use with 8track. So far we've been working with
const e = ({
request,
} as any) as FetchEvent
but that's not great as it steps around type safety.
It'd be great if there was something like getResponseForEvent that took the request only.