@umituz/react-native-auth 4.3.34 → 4.3.35

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@umituz/react-native-auth",
3
- "version": "4.3.34",
3
+ "version": "4.3.35",
4
4
  "description": "Authentication service for React Native apps - Secure, type-safe, and production-ready. Provider-agnostic design with dependency injection, configurable validation, and comprehensive error handling.",
5
5
  "main": "./src/index.ts",
6
6
  "types": "./src/index.ts",
@@ -117,7 +117,6 @@ export function createAnonymousSignInHandler(
117
117
  },
118
118
  onSignInSuccess: () => {
119
119
  // Listener will be triggered again with the new user
120
- store.setFirebaseUser(null);
121
120
  },
122
121
  onSignInFailure: (error: Error) => {
123
122
  if (__DEV__) {
@@ -23,9 +23,7 @@ export function handleAuthStateChange(
23
23
  ): void {
24
24
  try {
25
25
  if (!user && autoAnonymousSignIn) {
26
- // Start anonymous sign-in without blocking
27
26
  void handleAnonymousMode(store, auth);
28
- store.setFirebaseUser(null);
29
27
  completeInitialization();
30
28
  return;
31
29
  }