@umituz/react-native-auth 4.0.0 → 4.0.2

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.0.0",
3
+ "version": "4.0.2",
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",
@@ -103,6 +103,6 @@
103
103
  "LICENSE"
104
104
  ],
105
105
  "dependencies": {
106
- "@umituz/react-native-firebase": "^2.0.1"
106
+ "@umituz/react-native-firebase": "*"
107
107
  }
108
108
  }
@@ -11,8 +11,9 @@ import { deleteCurrentUser } from "@umituz/react-native-firebase";
11
11
  export interface UseAccountManagementOptions {
12
12
  /**
13
13
  * Callback invoked when reauthentication is required (for Google/Apple)
14
+ * Should return Google ID token or null if cancelled
14
15
  */
15
- onReauthRequired?: () => Promise<boolean>;
16
+ onReauthRequired?: () => Promise<string | null>;
16
17
  /**
17
18
  * Callback invoked when password reauthentication is required
18
19
  * If not provided, built-in Alert.prompt will be used