Skip to content
Commit Detail

Commit f7bb1c1

Author
Dan Lapid <dan.lapid@gmail.com> 2026-04-19 22:41:42 +0000
Parents
924971e
Tree
b00e547
Rename TracingModule class to Tracing

The class name is what users see in generated .d.ts output and in
`typeof` on the JS-side object. The 'Module' suffix was a vestige
from when the API was only reachable as an ESM import
(`import { tracing } from 'cloudflare:workers'`); it no longer
describes the type accurately.

Pure refactor: no behavior change and no new JS surface.
The module-registration helpers (`registerTracingModule`,
`getInternalTracingModuleBundle`) keep the 'Module' suffix — they
describe the JS module registration, not the class.

Files changed