@umituz/react-native-firebase 1.13.42 → 1.13.43

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.42",
3
+ "version": "1.13.43",
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",
@@ -13,7 +13,11 @@ export interface AnonymousAuthResult {
13
13
  readonly wasAlreadySignedIn: boolean;
14
14
  }
15
15
 
16
- export class AnonymousAuthService {
16
+ export interface AnonymousAuthServiceInterface {
17
+ signInAnonymously(auth: Auth): Promise<AnonymousAuthResult>;
18
+ }
19
+
20
+ export class AnonymousAuthService implements AnonymousAuthServiceInterface {
17
21
  async signInAnonymously(auth: Auth): Promise<AnonymousAuthResult> {
18
22
  if (!auth) throw new Error("Firebase Auth instance is required");
19
23