Skip to content

Commit

Permalink
Export getAsyncCtx within "inngest/experimental"
Browse files Browse the repository at this point in the history
  • Loading branch information
jpwilliams committed Dec 10, 2024
1 parent d1b0b54 commit b09cae8
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 2 deletions.
3 changes: 2 additions & 1 deletion packages/inngest/jsr.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
],
"exports": {
".": "./src/index.ts",
"./experimental": "./src/experimental.ts",
"./astro": "./src/astro.ts",
"./bun": "./src/bun.ts",
"./cloudflare": "./src/cloudflare.ts",
Expand All @@ -37,4 +38,4 @@
"./nitro": "./src/nitro.ts",
"./types": "./src/types.ts"
}
}
}
5 changes: 5 additions & 0 deletions packages/inngest/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,11 @@
"import": "./index.js",
"types": "./index.d.ts"
},
"./experimental": {
"require": "./experimental.js",
"import": "./experimental.js",
"types": "./experimental.d.ts"
},
"./astro": {
"require": "./astro.js",
"import": "./astro.js",
Expand Down
1 change: 1 addition & 0 deletions packages/inngest/src/experimental.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export { getAsyncCtx } from "./components/execution/als.js";
1 change: 0 additions & 1 deletion packages/inngest/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,6 @@ export type {
} from "./helpers/types";
export type { LogArg } from "./middleware/logger";
export { ProxyLogger } from "./middleware/logger.js";
export { getAsyncCtx } from "./components/execution/als.js";
export type {
BaseContext,
ClientOptions,
Expand Down

0 comments on commit b09cae8

Please sign in to comment.