manchenkoff / nuxt-auth-sanctum

Nuxt module for Laravel Sanctum authentication
https://manchenkoff.gitbook.io/nuxt-auth-sanctum/
MIT License
173 stars 21 forks source link

disallow `ofetch` versions lower than `1.4.0` #199

Closed manchenkoff closed 1 month ago

manchenkoff commented 1 month ago

Is your PR related to a specific issue/feature? Please describe and mention issues.

This PR introduces ofetch as actual dependency to prevent type misleading when working with Headers in the interceptors.

However, if object was overwritten during custom interceptor in client's code, we do not expect entries() to be a part of the headers, so object logging will be applied.