xapi icon indicating copy to clipboard operation
xapi copied to clipboard

✨ feature/adapters

Open CookieCookson opened this issue 11 months ago • 0 comments

Adds the option to specify the adapter used when making network requests. Supports axios (default), fetch or provide a custom fetcher method.

  • [x] Add adapter structure
  • [x] Add Axios adapter
  • [x] Add Fetch adapter
  • [x] Add custom adapter function
  • [x] Update existing unit tests with adapter variants
  • [x] Update existing integration tests with adapter variants
  • [x] Add additional tests for adapters
    • [x] Axios
    • [x] Fetch
    • [x] Custom
  • [x] Add edge jest environment
    • Blocked by https://github.com/vercel/edge-runtime/issues/250)
  • [x] Support base64 conversion for toBasicAuth in edge environment

CookieCookson avatar Mar 28 '24 08:03 CookieCookson