Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make it work with a custom instance #6

Merged
merged 6 commits into from
Apr 27, 2018

Conversation

wuelcas
Copy link
Contributor

@wuelcas wuelcas commented Apr 26, 2018

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.

@wuelcas
Copy link
Contributor Author

wuelcas commented Apr 26, 2018

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.

@rikmms rikmms merged commit 5db8f81 into rikmms:master Apr 27, 2018
@rikmms
Copy link
Owner

rikmms commented Apr 27, 2018

Hi @wuelcas

Thanks for the improvement. Good work!
It will be available on NPM soon.

@wuelcas wuelcas deleted the work-with-custom-instance branch April 27, 2018 23:15
@rikmms
Copy link
Owner

rikmms commented Apr 27, 2018

New version [1.2.0] published on NPM ;-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants