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 QUOTE_API_URL and PRICE_API_URL configurable #13

Merged
merged 2 commits into from
Feb 15, 2024
Merged

Make QUOTE_API_URL and PRICE_API_URL configurable #13

merged 2 commits into from
Feb 15, 2024

Conversation

alen-qn
Copy link
Contributor

@alen-qn alen-qn commented Feb 14, 2024

Allows to set base URL for quote and price API using environment variables so users can use self-hosted or paid-hosted Jupiter APIs.

@mvines
Copy link
Owner

mvines commented Feb 15, 2024

thanks! generally i would have preferred for new functions that additionally allow the crate user to pass in optional URLs instead of introducing env vars. however that's certainly a bunch more work and probably not worth the roi and downstream impact.

would you like me to publish a new version of this crate with this PR?

@mvines mvines merged commit 06f4ec9 into mvines:master Feb 15, 2024
1 check passed
@alen-qn
Copy link
Contributor Author

alen-qn commented Feb 15, 2024

a new crate version would probably make use more convenient

@mvines
Copy link
Owner

mvines commented Feb 15, 2024

🫡 i just published v0.7.0

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