Skip to content

Dont throw error when fetching user before jwt is configured#1719

Open
albertoelias-crossmint wants to merge 3 commits intowallets-v1from
albertoe/improve-auth
Open

Dont throw error when fetching user before jwt is configured#1719
albertoelias-crossmint wants to merge 3 commits intowallets-v1from
albertoe/improve-auth

Conversation

@albertoelias-crossmint
Copy link
Collaborator

@albertoelias-crossmint albertoelias-crossmint commented Mar 21, 2026

Description

Before, when calling getUser() it would throw an error when the jwt was still not set for the api requests. this centralizes syncing jwt to the base provider and handles this case

Test plan

On device

Package updates

react-base: patch
react-ui: patch
react-native: patch


Open with Devin

@changeset-bot
Copy link

changeset-bot bot commented Mar 21, 2026

🦋 Changeset detected

Latest commit: a3505e7

The changes in this PR will be included in the next version bump.

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@greptile-apps
Copy link
Contributor

greptile-apps bot commented Mar 21, 2026

Last reviewed commit: "changeset"

@github-actions
Copy link
Contributor

🔥 Smoke Test Results

Status: Passed

Statistics

  • Total Tests: 5
  • Passed: 5 ✅
  • Failed: 0
  • Skipped: 0
  • Duration: 3.36 min

✅ All smoke tests passed!

All critical flows are working correctly.


This is a non-blocking smoke test. Full regression tests run separately.

Copy link
Contributor

@devin-ai-integration devin-ai-integration bot left a comment

Choose a reason for hiding this comment

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

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no potential bugs to report.

View in Devin Review to see 4 additional findings.

Open in Devin Review

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