Skip to content

πŸŽ‰ Mints Request v1.0.0 – Initial Release

Choose a tag to compare

@mintsweet mintsweet released this 28 Jul 01:12
· 47 commits to main since this 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 global baseURL and headers support.
  • βœ… operator() β€” handles:
    • loading state (setOperating)
    • success and error toast (UI-agnostic)
    • error formatting (Axios / unknown / Error instance)
  • βœ… Global setupRequest():
    • define default toast, baseURL, headers, and onUnauthorized() handler
  • βœ… Tree-shakable ESM/CJS build via tsup
  • βœ… Type-safe, no any by default

Thanks for trying out Mints Request!
If you have feedback or issues, feel free to open an issue or submit a PR πŸ™Œ