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

allow for handling of redirects in toml resolver #1053

Merged
merged 11 commits into from
Nov 13, 2024

Conversation

KyleSmith19091
Copy link
Contributor

Linked Issue: #1052

Copy link
Contributor

@Shaptic Shaptic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cool feature, thank you! It'd be awesome if you added a little blurb in the CHANGELOG about this, too 👏

@Shaptic
Copy link
Contributor

Shaptic commented Sep 24, 2024

Ah yes, @KyleSmith19091 you need to gpg sign your commits for them to be merged into this repo 🙏

@KyleSmith19091 KyleSmith19091 force-pushed the redirect-toml-resolver branch 2 times, most recently from 8217e25 to f714a5b Compare September 25, 2024 05:54
Signed-off-by: KyleSmith19091 <[email protected]>
Signed-off-by: KyleSmith19091 <[email protected]>
Signed-off-by: KyleSmith19091 <[email protected]>
Signed-off-by: KyleSmith19091 <[email protected]>
Signed-off-by: KyleSmith19091 <[email protected]>
Signed-off-by: KyleSmith19091 <[email protected]>
@KyleSmith19091
Copy link
Contributor Author

@Shaptic would you mind just taking a look again, I merged master and noticed the change from using axios to instead using the httpClient interface, so just had to make a small change

Copy link
Contributor

@Shaptic Shaptic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One last comment re: tests but this looks great otherwise!

test/unit/stellar_toml_resolver_test.js Show resolved Hide resolved
@janewang janewang linked an issue Oct 10, 2024 that may be closed by this pull request
@Shaptic Shaptic merged commit 96a851e into stellar:master Nov 13, 2024
10 of 11 checks passed
BlaineHeffron pushed a commit to AhaLabs/js-stellar-sdk that referenced this pull request Nov 13, 2024
* allow for handling of redirects
* correct unit tests for resolver
* add maxRedirects to http client request config

---------

Signed-off-by: KyleSmith19091 <[email protected]>
Co-authored-by: George <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Allow for handling of redirects of URL to stellar.toml
2 participants