-
Notifications
You must be signed in to change notification settings - Fork 169
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot use Svix JS SDK in ESM mode #1554
Comments
@svix-jplatte, I thought we fixed it? Or am I misremembering? |
This seems like a new issue with 1.43.0, likely due to the fix for tree shaking we landed recently (#1549). |
I may have missed something in #1549. Taking a look |
Unfortunately, fix seems to not have been sufficient. |
Hey @danilofuchs, it seems the ESM upgrade still had a few issues that I am still investigating. In the meanwhile, we'll revert the behavior to the one we had before 1.43 (so, export as commonjs). I'll keep you updated |
hi, just a heads up that installing
|
I used the the current version 1.43.1-next-6ec657d78fbee46ae3fac6616b1e4393ddd25fea.0 and it worked |
Bug Report
Version
1.43.0
Platform
Linux, Node 22.11.0 LTS
Description
After upgrading to Svix 1.43.0, I cannot import Webhook from svix:
My package.json contains
type: "module"
The text was updated successfully, but these errors were encountered: