diff --git a/.changeset/small-cows-serve.md b/.changeset/small-cows-serve.md new file mode 100644 index 00000000..62eb727e --- /dev/null +++ b/.changeset/small-cows-serve.md @@ -0,0 +1,5 @@ +--- +"@khanacademy/wonder-stuff-server": patch +--- + +Export trace API diff --git a/packages/wonder-stuff-server/src/index.ts b/packages/wonder-stuff-server/src/index.ts index 71b8c11a..056bb689 100644 --- a/packages/wonder-stuff-server/src/index.ts +++ b/packages/wonder-stuff-server/src/index.ts @@ -1,4 +1,10 @@ -export type {LogLevel, Logger, ServerOptions, RequestWithLog} from "./types"; +export type { + LogLevel, + Logger, + ServerOptions, + RequestWithLog, + ITraceSession, +} from "./types"; export {Runtime} from "./types"; export {Errors} from "./errors"; @@ -8,3 +14,4 @@ export {getAppEngineInfo} from "./get-app-engine-info"; export {getLogger} from "./get-logger"; export {getRuntimeMode} from "./get-runtime-mode"; export {startServer} from "./start-server"; +export {trace} from "./trace";