@umituz/react-native-firebase 1.14.0 → 1.14.1

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.14.0",
3
+ "version": "1.14.1",
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",
@@ -42,7 +42,7 @@ class FirebaseAuthClientSingleton extends ServiceClientSingleton<Auth, FirebaseA
42
42
  /**
43
43
  * Initialize Auth with optional configuration
44
44
  */
45
- initialize(config?: FirebaseAuthConfig): Auth | null {
45
+ override initialize(config?: FirebaseAuthConfig): Auth | null {
46
46
  return super.initialize(config);
47
47
  }
48
48
 
@@ -17,7 +17,7 @@ import { ConfigurableService } from "../../../domain/utils/service-config.util";
17
17
  * Provides Google Sign-In functionality for Firebase
18
18
  */
19
19
  export class GoogleAuthService extends ConfigurableService<GoogleAuthConfig> {
20
- protected isValidConfig(config: GoogleAuthConfig): boolean {
20
+ protected override isValidConfig(config: GoogleAuthConfig): boolean {
21
21
  return (
22
22
  config !== null &&
23
23
  (!!config.webClientId || !!config.iosClientId || !!config.androidClientId)
@@ -49,7 +49,7 @@ class FirestoreClientSingleton extends ServiceClientSingleton<Firestore> {
49
49
  /**
50
50
  * Initialize Firestore
51
51
  */
52
- initialize(): Firestore | null {
52
+ override initialize(): Firestore | null {
53
53
  return super.initialize();
54
54
  }
55
55
 
@@ -31,8 +31,6 @@ export interface ServiceClientOptions<TInstance, TConfig = unknown> {
31
31
  * Provides common initialization, state management, and error handling
32
32
  */
33
33
  export class ServiceClientSingleton<TInstance, TConfig = unknown> {
34
- private static instances = new Map<string, ServiceClientSingleton<unknown, unknown>>();
35
-
36
34
  protected state: ServiceClientState<TInstance>;
37
35
  private readonly options: ServiceClientOptions<TInstance, TConfig>;
38
36