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

feat: add sender to identity and reverse resolution #2649

Merged
merged 4 commits into from
Aug 8, 2024

Conversation

tomiir
Copy link
Collaborator

@tomiir tomiir commented Aug 5, 2024

Description

  • We need to distinguish between user-requested identity lookups vs other users lookups when resolving identities
  • Adds a sender parameter to /identity and /profile/reverse  endpoints

Type of change

  • Chore (non-breaking change that addresses non-functional tasks, maintenance, or code quality improvements)
  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist

  • Code in this PR is covered by automated tests (Unit tests, E2E tests)
  • My changes generate no new warnings
  • I have reviewed my own code
  • I have filled out all required sections

Copy link

vercel bot commented Aug 5, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
web3modal-gallery ✅ Ready (Inspect) Visit Preview Aug 8, 2024 1:19pm
web3modal-laboratory ✅ Ready (Inspect) Visit Preview Aug 8, 2024 1:19pm

Comment on lines 309 to 312
path: `/v1/profile/reverse/${address}?projectId=${OptionsController.state.projectId}`,
params: {
sender: AccountController.state.address
}
Copy link
Contributor

Choose a reason for hiding this comment

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

seems like we can sen projectId also as a param here

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

updated all occurrences of hardocded params

@tomiir tomiir merged commit e3e267e into main Aug 8, 2024
11 checks passed
@tomiir tomiir deleted the feat/ens-sender-param branch August 8, 2024 13:32
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