π Mints Request v1.0.0 β Initial Release
π First Stable Release of Mints Request
The first official release of @mints/request, a minimal and opinionated wrapper around Axios designed to work seamlessly with modern React + Vite applications.
β¨ Features
- β
request(path, config)β enhanced Axios wrapper with globalbaseURLandheaderssupport. - β
operator()β handles:- loading state (setOperating)
- success and error toast (UI-agnostic)
- error formatting (Axios / unknown / Error instance)
- β
Global
setupRequest():- define default
toast,baseURL,headers, andonUnauthorized()handler
- define default
- β
Tree-shakable ESM/CJS build via
tsup - β
Type-safe, no
anyby default
Thanks for trying out Mints Request!
If you have feedback or issues, feel free to open an issue or submit a PR π