fix(core): prioritize workerd over edge exports (#10855)

This commit is contained in:
Taesu
2026-08-18 21:28:23 +00:00
committed by GitHub
parent ea77118d4e
commit 64da15b0b1
2 changed files with 6 additions and 1 deletions
+5
View File
@@ -0,0 +1,5 @@
---
"@better-auth/core": patch
---
Prevent async context loss in Cloudflare Workers bundles that enable multiple runtime conditions.
+1 -1
View File
@@ -54,8 +54,8 @@
"node": "./dist/async_hooks/index.mjs",
"deno": "./dist/async_hooks/index.mjs",
"bun": "./dist/async_hooks/index.mjs",
"edge": "./dist/async_hooks/pure.index.mjs",
"workerd": "./dist/async_hooks/index.mjs",
"edge": "./dist/async_hooks/pure.index.mjs",
"browser": "./dist/async_hooks/pure.index.mjs",
"default": "./dist/async_hooks/index.mjs"
},