To be able to have different axios configurations beyond axiosConfig (ie. interceptors) it should be possible to assign a an axios instance which will be used in place of the global axios, which remains the default.
One example of such use would be to use a separate logger and interceptors for logging WC requests.
To be able to have different axios configurations beyond axiosConfig (ie. interceptors) it should be possible to assign a an axios instance which will be used in place of the global axios, which remains the default.
One example of such use would be to use a separate logger and interceptors for logging WC requests.
` let wcAxiosInstance = axios.create();
let wcApi = new WooCommerceRestApi({ url: ..., consumerKey: ..., consumerSecret: ..., axiosInstance: wcAxiosInstance });
`