0.3.0 • Published 6 months ago

@kodio.io/medusa-js-fetch v0.3.0

Weekly downloads
-
License
MIT
Repository
github
Last release
6 months ago

Medusa JS Client based on Fetch API

Version

The Medusa JS Client provides easy access to the Medusa API from a client written in Typescript.

Why replace Axios with fetch?

On Next.js projects, the official Axios based client does not work on middleware functions, or anything running on the Edge runtime. Using fetch allows you to use the client on the Edge.

Documentation

In most cases, this client should be a drop-in replacement for the Axios based one. Beware that this client is not considered stable, and you may experience some issues.

To learn more about the API endpoints that this client allows you to access check out the docs for the official JS Client.

Known Issues

This client does currently not support retries.