@umituz/react-native-auth 3.4.9 → 3.4.10
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": "3.4.
|
|
3
|
+
"version": "3.4.10",
|
|
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",
|
|
@@ -169,6 +169,10 @@ export async function ensureUserDocument(
|
|
|
169
169
|
extras?: UserDocumentExtras,
|
|
170
170
|
): Promise<boolean> {
|
|
171
171
|
const db = getFirestore();
|
|
172
|
+
if (typeof __DEV__ !== "undefined" && __DEV__) {
|
|
173
|
+
// eslint-disable-next-line no-console
|
|
174
|
+
console.log("[UserDocumentService] db:", db, "type:", typeof db, "constructor:", db?.constructor?.name);
|
|
175
|
+
}
|
|
172
176
|
if (!db || !user.uid) return false;
|
|
173
177
|
|
|
174
178
|
try {
|