hendt / ebay-api

eBay Node API in TypeScript for Node and Browser with RESTful and Traditional APIs. This library aims to implement all available eBay apis.
https://hendt.gitbook.io/ebay-api
MIT License
153 stars 41 forks source link

Switching from axios to unjs/ofetch #150

Closed dantio closed 1 year ago

dantio commented 1 year ago

I'm planing to switch from axios to unjs/ofetch. The fetch lib is better supported in CloudFlare workers and edge functions. This will also make the build smaller. Please tell me how you use axios (maybe the interceptors?) to make the ebay-api backwards compatible. And, do you have any objections or other suggestions?

@olliechick @iamsr @juanbits @bennyk8y @spidgorny @K3vChan @raymondma1 @Borduhh @nrodriguez

Thank you for all your PRs!

K3vChan commented 1 year ago

My project does not use axios intereceptors or do I use this library in any special way. Changing the lib behind the scenes probably wouldn't do me any harm in the next major release.