Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion src/common/trace.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { AsyncLocalStorage } from "async_hooks";

/* @internal */
export const traceContext = new AsyncLocalStorage<TraceContext>();

export interface TraceContext {
Expand Down
2 changes: 2 additions & 0 deletions src/v1/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ import * as testLab from "./providers/testLab";

import { setApp as setEmulatedAdminApp } from "../common/app";

export { traceContext } from "../common/trace";

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

let's not add any new "feature" in 1st Gen namespace - not technically necessary but more of in the name of principle.

export {
analytics,
auth,
Expand Down
2 changes: 2 additions & 0 deletions src/v2/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,8 @@ export {
firestore,
};

export { traceContext } from "../common/trace";

export {
setGlobalOptions,
GlobalOptions,
Expand Down
Loading