docusign / docusign-esign-node-client

The Official DocuSign Node.js Client Library used to interact with the eSign REST API. Send, sign, and approve documents using this client.
http://docusign.github.io/docusign-esign-node-client
MIT License
145 stars 100 forks source link

Is there any way to add interceptors to axios in API? #364

Open Silveralius opened 1 month ago

Silveralius commented 1 month ago

Hi. I'm using "7.0.2" version of this package. And I couldn't find any way how to add Interceptors to axios used in the API. Is there any way how to add Interceptors or any other handlers? I want to use this for standardized logging purposes. Or if this is not currently supported, is it possible to add any way to access axios or define Interceptors in api constructor?

Link to axios interceptors: https://axios-http.com/docs/interceptors

DocuSignEric commented 1 month ago

Hi @Silveralius,

Thank you for bringing this to our attention;

We checked and found that it is not possible out of box from node SDK as of now. We have noted down this request as enhancement request on node SDK. It has the Jira Ticket DCM-12824

Regards,

Eric | Docusign