@umituz/react-native-firebase 1.13.91 → 1.13.93

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.91",
3
+ "version": "1.13.93",
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",
package/src/index.ts CHANGED
@@ -12,7 +12,7 @@
12
12
  */
13
13
 
14
14
  if (__DEV__) {
15
- console.log('📍 [LIFECYCLE] @umituz/react-native-firebase/index.ts - START');
15
+ console.log("📍 [LIFECYCLE] @umituz/react-native-firebase/index.ts - START");
16
16
  }
17
17
 
18
18
  // Core Errors
@@ -20,15 +20,17 @@ export {
20
20
  FirebaseError,
21
21
  FirebaseInitializationError,
22
22
  FirebaseConfigurationError,
23
- } from './domain/errors/FirebaseError';
23
+ } from "./domain/errors/FirebaseError";
24
24
 
25
25
  if (__DEV__) {
26
- console.log('📍 [LIFECYCLE] @umituz/react-native-firebase/index.ts - Core errors exported');
26
+ console.log(
27
+ "📍 [LIFECYCLE] @umituz/react-native-firebase/index.ts - Core errors exported",
28
+ );
27
29
  }
28
30
 
29
31
  // Core Types
30
- export type { FirebaseConfig } from './domain/value-objects/FirebaseConfig';
31
- export type { IFirebaseClient } from './application/ports/IFirebaseClient';
32
+ export type { FirebaseConfig } from "./domain/value-objects/FirebaseConfig";
33
+ export type { IFirebaseClient } from "./application/ports/IFirebaseClient";
32
34
 
33
35
  // Core Client
34
36
  export {
@@ -40,14 +42,14 @@ export {
40
42
  getFirebaseInitializationError,
41
43
  resetFirebaseClient,
42
44
  firebaseClient,
43
- } from './infrastructure/config/FirebaseClient';
45
+ } from "./infrastructure/config/FirebaseClient";
44
46
 
45
47
  export type {
46
48
  FirebaseApp,
47
49
  AuthInitializer,
48
50
  ServiceInitializationOptions,
49
51
  ServiceInitializationResult,
50
- } from './infrastructure/config/FirebaseClient';
52
+ } from "./infrastructure/config/FirebaseClient";
51
53
 
52
54
  // Type Guards
53
55
  export {
@@ -59,50 +61,49 @@ export {
59
61
  isQuotaExceededError,
60
62
  getSafeErrorMessage,
61
63
  getSafeErrorCode,
62
- } from './domain/guards/firebase-error.guard';
64
+ } from "./domain/guards/firebase-error.guard";
63
65
 
64
66
  // Commonly Used Auth Exports (for convenience)
65
67
  export {
66
68
  getFirebaseAuth,
67
69
  initializeFirebaseAuth,
68
- } from './auth/infrastructure/config/FirebaseAuthClient';
70
+ } from "./auth/infrastructure/config/FirebaseAuthClient";
69
71
 
70
- export { anonymousAuthService } from './auth/infrastructure/services/anonymous-auth.service';
71
- export { deleteCurrentUser } from './auth/infrastructure/services/account-deletion.service';
72
+ export { anonymousAuthService } from "./auth/infrastructure/services/anonymous-auth.service";
73
+ export { deleteCurrentUser } from "./auth/infrastructure/services/account-deletion.service";
74
+ export { appleAuthService } from "./auth/infrastructure/services/apple-auth.service";
75
+ export { googleAuthService } from "./auth/infrastructure/services/google-auth.service";
76
+ export type { GoogleAuthConfig } from "./auth/infrastructure/services/google-auth.service";
77
+ export { useAnonymousAuth } from "./auth/presentation/hooks/useAnonymousAuth";
78
+ export type { UseAnonymousAuthResult } from "./auth/presentation/hooks/useAnonymousAuth";
72
79
 
73
80
  // Commonly Used Firestore Exports (for convenience)
74
81
  export {
75
82
  getFirestore,
76
83
  initializeFirestore,
77
- } from './firestore/infrastructure/config/FirestoreClient';
84
+ } from "./firestore/infrastructure/config/FirestoreClient";
78
85
 
79
- export { BaseRepository } from './firestore/infrastructure/repositories/BaseRepository';
80
- export { FirestorePathResolver } from './firestore/utils/path-resolver';
81
- export { PaginationHelper } from './firestore/utils/pagination.helper';
82
- export type { Timestamp } from 'firebase/firestore';
86
+ export { BaseRepository } from "./firestore/infrastructure/repositories/BaseRepository";
87
+ export { FirestorePathResolver } from "./firestore/utils/path-resolver";
88
+ export { PaginationHelper } from "./firestore/utils/pagination.helper";
89
+ export type { Timestamp } from "firebase/firestore";
83
90
 
84
91
  // Auth Hooks (commonly used)
85
- export { useSocialAuth } from './auth/presentation/hooks/useSocialAuth';
92
+ export { useSocialAuth } from "./auth/presentation/hooks/useSocialAuth";
86
93
  export type {
87
94
  SocialAuthConfig,
88
95
  SocialAuthResult,
89
- } from './auth/presentation/hooks/useSocialAuth';
96
+ } from "./auth/presentation/hooks/useSocialAuth";
90
97
 
91
- export {
92
- updateUserPassword,
93
- } from './auth/infrastructure/services/password.service';
94
- export type { PasswordUpdateResult } from './auth/infrastructure/services/password.service';
98
+ export { updateUserPassword } from "./auth/infrastructure/services/password.service";
99
+ export type { PasswordUpdateResult } from "./auth/infrastructure/services/password.service";
95
100
 
96
- export {
97
- reauthenticateWithPassword,
98
- } from './auth/infrastructure/services/reauthentication.service';
101
+ export { reauthenticateWithPassword } from "./auth/infrastructure/services/reauthentication.service";
99
102
 
100
- export {
101
- getCurrentUserFromGlobal,
102
- } from './auth/infrastructure/services/auth-utils.service';
103
+ export { getCurrentUserFromGlobal } from "./auth/infrastructure/services/auth-utils.service";
103
104
 
104
105
  // Init Module Factory
105
106
  export {
106
107
  createFirebaseInitModule,
107
108
  type FirebaseInitModuleConfig,
108
- } from './init';
109
+ } from "./init";
@@ -4,16 +4,18 @@
4
4
  */
5
5
 
6
6
  export interface UploadResult {
7
- downloadUrl: string;
8
- storagePath: string;
7
+ downloadUrl: string;
8
+ storagePath: string;
9
9
  }
10
10
 
11
11
  export interface UploadOptions {
12
- mimeType?: string;
13
- customMetadata?: Record<string, string>;
12
+ mimeType?: string;
13
+ customMetadata?: Record<string, string>;
14
14
  }
15
15
 
16
16
  export interface DeleteResult {
17
- success: boolean;
18
- storagePath: string;
17
+ success: boolean;
18
+ storagePath: string;
19
19
  }
20
+
21
+ export { Directory as FileSystemDirectory } from "expo-file-system";