Commit 2e733b8
authored
Update response and types for api server update (#1340)
# Enhance Profile API with Social Account Usernames and Farcaster Support
## Description
This PR enhances the profile API by adding username fields to social accounts and adding Farcaster support. It also improves documentation clarity and adds sorting options for profile balances.
Key changes:
- Added `username` field to Instagram, TikTok, and Twitter social accounts
- Added Farcaster social account support with username and display name
- Added sorting options and exclude hidden parameter to profile balances
- Fixed a comment in the profile documentation (from "social links" to "linked wallets")
- Simplified navigation in docs by removing "Metadata Builder" link and renaming "Profile Queries" to "Profile"
## Motivation and Context
These enhancements provide more complete social account data for profiles, allowing applications to link directly to users' social media accounts. The addition of Farcaster support reflects the growing importance of this platform in the web3 space.
## Does this change the ABI/API?
- [x] This changes the ABI/API
This adds new fields to existing API responses but maintains backward compatibility.
## What tests did you add/modify to account for these changes
Manually verified that the new fields appear correctly in API responses and that documentation accurately reflects the available data.
## Types of changes
- [ ] Bug fix (non-breaking change which fixes an issue)
- [x] New module / feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
## Checklist:
- [x] My code follows the code style of this project.
- [x] My change requires a change to the documentation.
- [x] I have updated the documentation accordingly.
- [ ] I added a changeset to account for this change
## Reviewer Checklist:
- [ ] My review includes a symposis of the changes and potential issues
- [ ] The code style is enforced
- [ ] There are no risky / concerning changes / additions to the PR1 parent 09fb252 commit 2e733b8
File tree
3 files changed
+11
-15
lines changed- docs
- pages/coins/sdk/queries
- packages/coins-sdk/src/client
3 files changed
+11
-15
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | | - | |
| 50 | + | |
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
| |||
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
96 | | - | |
97 | | - | |
| 96 | + | |
| 97 | + | |
98 | 98 | | |
99 | 99 | | |
100 | | - | |
101 | | - | |
| 100 | + | |
| 101 | + | |
102 | 102 | | |
103 | 103 | | |
104 | | - | |
105 | | - | |
| 104 | + | |
| 105 | + | |
106 | 106 | | |
107 | | - | |
108 | | - | |
109 | | - | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
110 | 110 | | |
111 | 111 | | |
112 | 112 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
140 | 140 | | |
141 | 141 | | |
142 | 142 | | |
143 | | - | |
| 143 | + | |
144 | 144 | | |
145 | 145 | | |
146 | 146 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1552 | 1552 | | |
1553 | 1553 | | |
1554 | 1554 | | |
1555 | | - | |
1556 | | - | |
1557 | | - | |
1558 | | - | |
1559 | 1555 | | |
1560 | 1556 | | |
1561 | 1557 | | |
| |||
0 commit comments