fix: track javascript environment.#854
Merged
Merged
Conversation
soedirgo
approved these changes
Sep 19, 2023
mandarini
pushed a commit
that referenced
this pull request
Oct 2, 2025
## What kind of change does this PR introduce? * Replaces #854 * Fixes #853, #904 * We don't need to remove the existing session prematurely. This causes some issues when users want to implement some sort of switch-account functionality since the existing session will always be removed regardless of whether the signup / sign-in attempt succeeds. * It's safe to remove `_removeSession` since calling `_saveSession` multiple times will just replace the existing session
mandarini
pushed a commit
that referenced
this pull request
Oct 2, 2025
## What kind of change does this PR introduce? This adds the SIGNED_OUT event missing in some logic that clears/logs out the session. ## What is the current behavior? #853
mandarini
pushed a commit
that referenced
this pull request
Oct 2, 2025
🤖 I have created a release *beep* *boop* --- ## [2.65.1](supabase/auth-js@v2.65.0...v2.65.1) (2024-10-14) ### Bug Fixes * Call `SIGNED_OUT` event where session is removed ([#854](supabase/auth-js#854)) ([421d7d4](supabase/auth-js@421d7d4)) * improve `mfa.enroll` return types ([#956](supabase/auth-js#956)) ([aca7870](supabase/auth-js@aca7870)) * move MFA sub types to internal file ([#964](supabase/auth-js#964)) ([70cecdb](supabase/auth-js@70cecdb)) * remove phone mfa deletion, match on error codes ([#963](supabase/auth-js#963)) ([3547cd9](supabase/auth-js@3547cd9)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What kind of change does this PR introduce?
More granular tracking of supabase-js usage environment.
What is the current behavior?
All usage is tracked as supabase-js
What is the new behavior?
different environments Deno, Web, ReactNative, Node are appended to the clinet-info header.
Additional context
Add any other context or screenshots.