@umituz/react-native-firebase 1.13.25 → 1.13.27
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-firebase",
|
|
3
|
-
"version": "1.13.
|
|
3
|
+
"version": "1.13.27",
|
|
4
4
|
"description": "Unified Firebase package for React Native apps - Auth and Firestore services using Firebase JS SDK (no native modules).",
|
|
5
5
|
"main": "./src/index.ts",
|
|
6
6
|
"types": "./src/index.ts",
|
|
@@ -52,4 +52,4 @@
|
|
|
52
52
|
"README.md",
|
|
53
53
|
"LICENSE"
|
|
54
54
|
]
|
|
55
|
-
}
|
|
55
|
+
}
|
|
@@ -129,8 +129,8 @@ export async function deleteCurrentUser(
|
|
|
129
129
|
});
|
|
130
130
|
}
|
|
131
131
|
|
|
132
|
-
// If reauthentication is required and autoReauthenticate is enabled
|
|
133
|
-
if (requiresReauth && options.autoReauthenticate) {
|
|
132
|
+
// If reauthentication is required and autoReauthenticate is enabled OR password is provided
|
|
133
|
+
if (requiresReauth && (options.autoReauthenticate || options.password)) {
|
|
134
134
|
if (__DEV__) {
|
|
135
135
|
console.log("[deleteCurrentUser] Attempting auto-reauthentication...");
|
|
136
136
|
}
|
package/src/storage/deleter.ts
CHANGED