-
-
Notifications
You must be signed in to change notification settings - Fork 16
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
Runtime error after update from 1.5.0
to 2.0.4
#34
Comments
Sorry, can't help you. The error is happening in your code, not in this library. |
@compwright I actually don't think that. It just happens after the update and the error definitely says that |
Sorry, I misunderstood your initial post. On further review, it does look like there is an issue with the export in the compiled .mjs version. |
Please upgrade to v2.2.0, and then change your import from this: import oauth from 'axios-oauth-client'; To this: import { clientCredentials } from 'axios-oauth-client'; |
Thank you so much! |
Hi there, we recently tried to update to
2.0.4
. TypeScript is actually happy about the changes but we receive an issue during runtime:We use this code for retrieving the
clientCredentials
:This is our TSConfig:
Do you have an idea what could be the issue?
The text was updated successfully, but these errors were encountered: