Skip to content

fix(passport): [ID-3766] cache register user promise #2652

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

CodeSchwert
Copy link
Contributor

@CodeSchwert CodeSchwert commented Jun 10, 2025

Hi👋, please ensure the PR title follows the below standards:

  • PR is titled with conventional commit style naming: type(scope): message. For example: feat(passport): my new feature
  • If you have introduced modification that necessitates immediate adjustments by this SDK's users to their applications, clients, or integrations to avert disruptions to existing features or functionalities, add a ! after the type(scope), for example feat(passport)!: my new breaking feature

Summary

ID-3677

Cache user registration promise to prevent SDK sending multiple user registration requests due to app re-rendering.

Detail and impact of the change

Added

Changed

Deprecated

Removed

Fixed

Security

Anything else worth calling out?

Copy link

nx-cloud bot commented Jun 10, 2025

View your CI Pipeline Execution ↗ for commit 768d86d.

Command Status Duration Result
nx affected -t build,lint,test ✅ Succeeded 3m View ↗
nx run-many -p @imtbl/sdk,@imtbl/checkout-widge... ✅ Succeeded 1m 19s View ↗

☁️ Nx Cloud last updated this comment at 2025-06-16 05:07:04 UTC

@CodeSchwert CodeSchwert changed the title [ID-3766] cache register user promise fix: [ID-3766] cache register user promise Jun 11, 2025
@CodeSchwert CodeSchwert marked this pull request as ready for review June 11, 2025 04:29
@CodeSchwert CodeSchwert requested a review from a team as a code owner June 11, 2025 04:29
@CodeSchwert CodeSchwert changed the title fix: [ID-3766] cache register user promise fix(passport): [ID-3766] cache register user promise Jun 11, 2025
@haydenfowler
Copy link
Collaborator

The registration endpoint appears to be getting called twice from my testing:
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants