Skip to content

Commit

Permalink
[🔥AUDIT🔥] [fei4960.audit.2] Export trace API (#595)
Browse files Browse the repository at this point in the history
🖍 _This is an audit!_ 🖍

## Summary:
This exports the `trace` function and `ITraceSession` type so that the render-gateway has access to them.

Issue: FEI-4960

## Test plan:
Nothing special to test here.

Author: somewhatabstract

Auditors: #typescript, #frontend-infra

Required Reviewers:

Approved By:

Checks: ⌛ Lint, typecheck, and coverage check (ubuntu-latest, 16.x), ✅ Prime node_modules cache for primary configuration (ubuntu-latest, 16.x), ✅ gerald, ⌛ Analyze (javascript), ⏭  dependabot

Pull Request URL: #595
  • Loading branch information
somewhatabstract authored Mar 24, 2023
1 parent d995aa4 commit d8b1fe4
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/small-cows-serve.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@khanacademy/wonder-stuff-server": patch
---

Export trace API
9 changes: 8 additions & 1 deletion packages/wonder-stuff-server/src/index.ts
Original file line number Diff line number Diff line change
@@ -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";
Expand All @@ -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";

0 comments on commit d8b1fe4

Please sign in to comment.