Closed wuelcas closed 6 years ago
Also can you let me know when this is going to be live in npm? I'm currently working on an application using this package and it would be very helpful if this change (if it's merged) it's live to use it. Thanks.
Hi @wuelcas
Thanks for the improvement. Good work! It will be available on NPM soon.
New version [1.2.0] published on NPM ;-)
Solves #5
Now an axios custom instance can be pass to the function as a param. I put it as the second param to not affect current applications that are maybe using the nprogress config.
My suggestion is that the function should receive one single param which would be an object containing the custom instance and the nprogress config.