@umituz/react-native-firebase 2.4.20 → 2.4.22

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": "2.4.20",
3
+ "version": "2.4.22",
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",
@@ -128,7 +128,6 @@ export type {
128
128
  export {
129
129
  updateUserPassword,
130
130
  } from './infrastructure/services/password.service';
131
- export type { PasswordUpdateResult } from './infrastructure/services/password.service';
132
131
 
133
132
  // Email/Password Authentication
134
133
  export {
@@ -6,7 +6,6 @@
6
6
  * Generic implementation for all React Native apps
7
7
  */
8
8
 
9
- import { getFirebaseAuth } from '../config/FirebaseAuthClient';
10
9
  import {
11
10
  getCurrentUserId,
12
11
  getCurrentUser,
@@ -13,7 +13,7 @@ import {
13
13
  type User,
14
14
  } from "firebase/auth";
15
15
  import { getFirebaseAuth } from "../config/FirebaseAuthClient";
16
- import { executeOperation, failureResultFrom, successResult, type Result, ERROR_MESSAGES } from "../../../../shared/domain/utils";
16
+ import { executeOperation, successResult, type Result, ERROR_MESSAGES } from "../../../../shared/domain/utils";
17
17
  import { withAuth } from "../utils/auth-guard.util";
18
18
 
19
19
  export interface EmailCredentials {
@@ -6,12 +6,6 @@
6
6
  import { updatePassword, type User } from 'firebase/auth';
7
7
  import { executeAuthOperation, type Result } from '../../../../shared/domain/utils';
8
8
 
9
- /**
10
- * Result of a password update operation
11
- * @deprecated Use Result<void> instead
12
- */
13
- export type PasswordUpdateResult = Result<void>;
14
-
15
9
  /**
16
10
  * Update the current user's password
17
11
  * Note: Requires recent authentication. Re-authenticate before calling if needed.
@@ -4,7 +4,7 @@
4
4
  */
5
5
 
6
6
  import type { Result } from '../result.util';
7
- import { successResult, failureResultFromError } from '../result.util';
7
+ import { successResult } from '../result.util';
8
8
  import { toErrorInfo } from '../error-handlers/error-converters';
9
9
 
10
10
  /**
@@ -1,4 +1,4 @@
1
- import type { Result, FailureResult } from '../result.util';
1
+ import type { Result } from '../result.util';
2
2
  import { failureResultFromError, successResult, isSuccess, isFailure } from '../result.util';
3
3
 
4
4
  export async function executeAll<T>(