-
Notifications
You must be signed in to change notification settings - Fork 619
[Dashboard] Add client ID header to embedded wallets fetch request #7471
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
[Dashboard] Add client ID header to embedded wallets fetch request #7471
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
|
|
Caution Review failedThe pull request is closed. WalkthroughAn extra HTTP header, "x-client-id", is now included in the fetch request within the Changes
Sequence Diagram(s)sequenceDiagram
participant Caller
participant useEmbeddedWallets
participant API_Server
Caller->>useEmbeddedWallets: fetchAccountList(clientId, token)
useEmbeddedWallets->>API_Server: GET /api/2024-05-05/account/list\nHeaders: Authorization, Content-Type, x-client-id
API_Server-->>useEmbeddedWallets: Response
useEmbeddedWallets-->>Caller: Account list data
Possibly related PRs
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (1)
✨ Finishing Touches
🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
How to use the Graphite Merge QueueAdd either label to this PR to merge it via the merge queue:
You must have a Graphite account in order to use the merge queue. Sign up using this link. An organization admin has enabled the Graphite Merge Queue in this repository. Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue. This stack of pull requests is managed by Graphite. Learn more about stacking. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #7471 +/- ##
=======================================
Coverage 51.92% 51.92%
=======================================
Files 949 949
Lines 64149 64149
Branches 4228 4228
=======================================
Hits 33312 33312
Misses 30731 30731
Partials 106 106
🚀 New features to boost your workflow:
|
size-limit report 📦
|

PR-Codex overview
This PR focuses on enhancing the HTTP request headers in the
useEmbeddedWallets.tsfile by adding a new header for client identification.Detailed summary
x-client-idwith the value ofclientIdto the request headers in the HTTP GET method.Summary by CodeRabbit