@umituz/react-native-firebase 1.13.15 → 1.13.17

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.15",
3
+ "version": "1.13.17",
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",
@@ -32,6 +32,7 @@
32
32
  "peerDependencies": {
33
33
  "@umituz/react-native-sentry": "latest",
34
34
  "expo-apple-authentication": ">=6.0.0",
35
+ "expo-crypto": ">=13.0.0",
35
36
  "firebase": ">=10.0.0",
36
37
  "react": ">=18.2.0",
37
38
  "react-native": ">=0.74.0"
@@ -15,7 +15,6 @@
15
15
 
16
16
  import type { Auth } from 'firebase/auth';
17
17
  import { getFirebaseApp } from '../../../infrastructure/config/FirebaseClient';
18
- import { FirebaseAuthInitializationError } from '../../domain/errors/FirebaseAuthError';
19
18
  import { FirebaseAuthInitializer } from './initializers/FirebaseAuthInitializer';
20
19
  import type { FirebaseAuthConfig } from '../../domain/value-objects/FirebaseAuthConfig';
21
20
 
@@ -10,7 +10,6 @@ import { getFirebaseAuth } from "../config/FirebaseAuthClient";
10
10
  import {
11
11
  getUserAuthProvider,
12
12
  reauthenticateWithApple,
13
- type AuthProviderType,
14
13
  } from "./reauthentication.service";
15
14
 
16
15
  export interface AccountDeletionResult {
@@ -19,7 +19,7 @@ export class QueryDeduplicationMiddleware {
19
19
  private pendingQueries = new Map<string, PendingQuery>();
20
20
  private readonly DEDUPLICATION_WINDOW_MS = 1000; // 1 second
21
21
  private readonly CLEANUP_INTERVAL_MS = 5000; // 5 seconds
22
- private cleanupTimer: NodeJS.Timeout | null = null;
22
+ private cleanupTimer: any = null;
23
23
 
24
24
  constructor() {
25
25
  this.startCleanupTimer();
@@ -32,7 +32,7 @@ export class QueryDeduplicationMiddleware {
32
32
  if (this.cleanupTimer) {
33
33
  clearInterval(this.cleanupTimer);
34
34
  }
35
-
35
+
36
36
  this.cleanupTimer = setInterval(() => {
37
37
  this.cleanupExpiredQueries();
38
38
  }, this.CLEANUP_INTERVAL_MS);