Skip to content
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

Support for axios v1 #62

Open
pablomarquezcabify opened this issue Feb 21, 2023 · 4 comments
Open

Support for axios v1 #62

pablomarquezcabify opened this issue Feb 21, 2023 · 4 comments

Comments

@pablomarquezcabify
Copy link

Hello!

Any plans of updating the library to work with axios v1.x? I've checked this line fails when that class is passed an instance of axios v1: TypeError: this$1.originalAdapter.call is not a function. I think the breaking change comes from this commit but I couldn't spend any time working on a fix.

Thanks in advance :)

@guyaumetremblay
Copy link

@emileber Hi Emile! Any news on this please?

@NicolaLovo
Copy link

Hi @emileber! Really need this one, any updates?

@emileber
Copy link
Owner

emileber commented Aug 9, 2023

I finally took some time to take a look at this issue and it's unfortunately no longer possible to get the default adapter used in an axios instance, according to the info found in this PR:

I'm going to pin this library to <1.2.0 in the meantime.

As an alternative solution:

@pablomarquezcabify
Copy link
Author

Cool, thanks for taking the time 🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants