Is Axios interceptors available through Typesense.Client? #223
Open
Description
Description
I’m working on using typesense-js in a Nuxt application, and I have the goal to manage access to my data by rotating and scoping API-keys through my backend with a fixed ttl. But I'm looking for a way to easily capture any old keys and refreshing them by looking for 401-exceptions through the API. Since you’re using axios I assumed I could use Axios interceptors in a way, but looking through the code i cant seem to find a way to do that. Am I missing something, or is there actually no way to pass interceptors down to the Axios client inside Typesense.Client?
Expected Behavior
A way to pass Axios Interceptors through the Typesense Client.
Actual Behavior
There seem to be no way to pass down Axios Interceptors through the Typesense Client.
Metadata
Assignees
Labels
No labels