deepai-org/deepai-js-client

deepai client inserts API key into every default axios request

Peter-Maguire opened this issue · 2 comments

Making an request with axios in the same script that imports deepai will attach the following headers to every request you send, regardless of it's destination:

 'client-library: deepai-js-client' 
 'api-key: 8cc49c28-870a-43db-bf17-a84da3b1be55'

Very strange code. Why don't they create an axios instance ? It is it's intended use.

This is fixed in version 1.0.18, thank you.