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

[feature] Add custom headers to explorer-api request #52

Closed
ignaciosantise opened this issue Jun 8, 2023 · 0 comments
Closed

[feature] Add custom headers to explorer-api request #52

ignaciosantise opened this issue Jun 8, 2023 · 0 comments

Comments

@ignaciosantise
Copy link
Collaborator

ignaciosantise commented Jun 8, 2023

What problem does this new feature solve?

Adds user-agent and referer headers in explorer-api requests

Describe the solution you'd like

  • user-agent that follows the pattern <web3modal version>/<core sdk version>/<operating system>
  • referer containing the name provided in the sdk metadata (with no spaces)

example:

headers: {
 user-agent: 'w3m-rn-1.0.0/js-2.7.7/ios-16.5',
 referer: 'Showcase'
}
@ignaciosantise ignaciosantise changed the title [feature] Add user-agent to explorer-api [feature] Add user-agent to explorer-api request Jun 8, 2023
@ignaciosantise ignaciosantise changed the title [feature] Add user-agent to explorer-api request [feature] Add custom headers to explorer-api request Jun 8, 2023
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

No branches or pull requests

1 participant