@react-native-firebase/auth 24.0.0 → 24.1.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/CHANGELOG.md CHANGED
@@ -3,6 +3,14 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [24.1.1](https://github.com/invertase/react-native-firebase/compare/v24.1.0...v24.1.1) (2026-06-10)
7
+
8
+ **Note:** Version bump only for package @react-native-firebase/auth
9
+
10
+ ## [24.1.0](https://github.com/invertase/react-native-firebase/compare/v24.0.0...v24.1.0) (2026-06-05)
11
+
12
+ **Note:** Version bump only for package @react-native-firebase/auth
13
+
6
14
  ## [24.0.0](https://github.com/invertase/react-native-firebase/compare/v23.8.6...v24.0.0) (2026-04-01)
7
15
 
8
16
  ### Features
package/lib/index.d.ts CHANGED
@@ -102,7 +102,7 @@ export namespace FirebaseAuthTypes {
102
102
  /**
103
103
  * Creates a new `AuthCredential`.
104
104
  *
105
- * @returns {@link auth.AuthCredential}.
105
+ * @returns {@link AuthCredential}.
106
106
  * @param token A provider token.
107
107
  * @param secret A provider secret.
108
108
  */
@@ -122,7 +122,7 @@ export namespace FirebaseAuthTypes {
122
122
  /**
123
123
  * Creates a new `AuthCredential`.
124
124
  *
125
- * @returns {@link auth.AuthCredential}.
125
+ * @returns {@link AuthCredential}.
126
126
  * @param token A provider token.
127
127
  * @param secret A provider secret.
128
128
  */
@@ -166,7 +166,7 @@ export namespace FirebaseAuthTypes {
166
166
  /**
167
167
  * Creates a new `OIDCProvider`.
168
168
  *
169
- * @returns {@link auth.AuthCredential}.
169
+ * @returns {@link AuthCredential}.
170
170
  * @param oidcSuffix this is the "Provider ID" value from the firebase console fx `azure_test`.
171
171
  * @param token A provider token.
172
172
  */
@@ -182,7 +182,7 @@ export namespace FirebaseAuthTypes {
182
182
  */
183
183
  PROVIDER_ID: string;
184
184
  /**
185
- * This corresponds to the sign-in method identifier as returned in {@link auth#fetchSignInMethodsForEmail}.
185
+ * This corresponds to the sign-in method identifier as returned in {@link fetchSignInMethodsForEmail}.
186
186
  *
187
187
  * #### Example
188
188
  *
@@ -195,7 +195,7 @@ export namespace FirebaseAuthTypes {
195
195
  */
196
196
  EMAIL_LINK_SIGN_IN_METHOD: string;
197
197
  /**
198
- * This corresponds to the sign-in method identifier as returned in {@link auth#fetchSignInMethodsForEmail}.
198
+ * This corresponds to the sign-in method identifier as returned in {@link fetchSignInMethodsForEmail}.
199
199
  *
200
200
  * #### Example
201
201
  *
@@ -216,7 +216,7 @@ export namespace FirebaseAuthTypes {
216
216
  * const authCredential = firebase.auth.EmailAuthProvider.credential('joe.bloggs@example.com', '123456');
217
217
  * ```
218
218
  *
219
- * @returns {@link auth.AuthCredential}
219
+ * @returns {@link AuthCredential}
220
220
  * @param email Users email address.
221
221
  * @param password User account password.
222
222
  */
@@ -245,7 +245,7 @@ export namespace FirebaseAuthTypes {
245
245
  */
246
246
  CODE_SENT: 'sent';
247
247
  /**
248
- * The timeout specified in {@link auth#verifyPhoneNumber} has expired.
248
+ * The timeout specified in {@link verifyPhoneNumber} has expired.
249
249
  */
250
250
  AUTO_VERIFY_TIMEOUT: 'timeout';
251
251
  /**
@@ -471,7 +471,7 @@ export namespace FirebaseAuthTypes {
471
471
  }
472
472
 
473
473
  /**
474
- * A structure containing additional user information from a federated identity provider via {@link auth.UserCredential}.
474
+ * A structure containing additional user information from a federated identity provider via {@link UserCredential}.
475
475
  *
476
476
  * #### Example
477
477
  *
@@ -515,13 +515,13 @@ export namespace FirebaseAuthTypes {
515
515
  */
516
516
  additionalUserInfo?: AdditionalUserInfo;
517
517
  /**
518
- * Returns the {@link auth.User} interface of this credential.
518
+ * Returns the {@link User} interface of this credential.
519
519
  */
520
520
  user: User;
521
521
  }
522
522
 
523
523
  /**
524
- * Holds the user metadata for the current {@link auth.User}.
524
+ * Holds the user metadata for the current {@link User}.
525
525
  *
526
526
  * #### Example
527
527
  *
@@ -747,7 +747,7 @@ export namespace FirebaseAuthTypes {
747
747
  }
748
748
 
749
749
  /**
750
- * Interface representing ID token result obtained from {@link auth.User#getIdTokenResult}.
750
+ * Interface representing ID token result obtained from {@link User#getIdTokenResult}.
751
751
  * It contains the ID token JWT string and other helper properties for getting different data
752
752
  * associated with the token as well as all the decoded payload claims.
753
753
  *
@@ -818,7 +818,7 @@ export namespace FirebaseAuthTypes {
818
818
  }
819
819
 
820
820
  /**
821
- * A result from a {@link auth#signInWithPhoneNumber} call.
821
+ * A result from a {@link signInWithPhoneNumber} call.
822
822
  *
823
823
  * #### Example
824
824
  *
@@ -843,8 +843,8 @@ export namespace FirebaseAuthTypes {
843
843
  }
844
844
 
845
845
  /**
846
- * Android specific options which can be attached to the {@link auth.ActionCodeSettings} object
847
- * to be sent with requests such as {@link auth.User#sendEmailVerification}.
846
+ * Android specific options which can be attached to the {@link ActionCodeSettings} object
847
+ * to be sent with requests such as {@link User#sendEmailVerification}.
848
848
  *
849
849
  * #### Example
850
850
  *
@@ -873,7 +873,7 @@ export namespace FirebaseAuthTypes {
873
873
  }
874
874
 
875
875
  /**
876
- * Additional data returned from a {@link auth#checkActionCode} call.
876
+ * Additional data returned from a {@link checkActionCode} call.
877
877
  * For the PASSWORD_RESET, VERIFY_EMAIL, and RECOVER_EMAIL actions, this object contains an email field with the address the email was sent to.
878
878
  * For the RECOVER_EMAIL action, which allows a user to undo an email address change, this object also contains a fromEmail field with the user account's new email address. After the action completes, the user's email address will revert to the value in the email field from the value in fromEmail field.
879
879
  *
@@ -892,13 +892,13 @@ export namespace FirebaseAuthTypes {
892
892
  */
893
893
  email?: string;
894
894
  /**
895
- * This signifies the current email associated with the account, which may have changed as a result of the {@link auth#checkActionCode} call performed.
895
+ * This signifies the current email associated with the account, which may have changed as a result of the {@link checkActionCode} call performed.
896
896
  */
897
897
  fromEmail?: string;
898
898
  }
899
899
 
900
900
  /**
901
- * The interface returned from a {@link auth#checkActionCode} call.
901
+ * The interface returned from a {@link checkActionCode} call.
902
902
  *
903
903
  * #### Example
904
904
  *
@@ -919,8 +919,8 @@ export namespace FirebaseAuthTypes {
919
919
  }
920
920
 
921
921
  /**
922
- * iOS specific options which can be attached to the {@link auth.ActionCodeSettings} object
923
- * to be sent with requests such as {@link auth.User#sendEmailVerification}.
922
+ * iOS specific options which can be attached to the {@link ActionCodeSettings} object
923
+ * to be sent with requests such as {@link User#sendEmailVerification}.
924
924
  *
925
925
  * #### Example
926
926
  *
@@ -940,7 +940,7 @@ export namespace FirebaseAuthTypes {
940
940
  }
941
941
 
942
942
  /**
943
- * Options to be sent with requests such as {@link auth.User#sendEmailVerification}.
943
+ * Options to be sent with requests such as {@link User#sendEmailVerification}.
944
944
  *
945
945
  * #### Example
946
946
  *
@@ -985,7 +985,7 @@ export namespace FirebaseAuthTypes {
985
985
  }
986
986
 
987
987
  /**
988
- * An auth listener callback function for {@link auth#onAuthStateChanged}.
988
+ * An auth listener callback function for {@link onAuthStateChanged}.
989
989
  *
990
990
  * #### Example
991
991
  *
@@ -1073,11 +1073,11 @@ export namespace FirebaseAuthTypes {
1073
1073
  }
1074
1074
 
1075
1075
  /**
1076
- * The listener function returned from a {@link auth#verifyPhoneNumber} call.
1076
+ * The listener function returned from a {@link verifyPhoneNumber} call.
1077
1077
  */
1078
1078
  export interface PhoneAuthListener {
1079
1079
  /**
1080
- * The phone auth state listener. See {@link auth.PhoneAuthState} for different event state types.
1080
+ * The phone auth state listener. See {@link PhoneAuthState} for different event state types.
1081
1081
  *
1082
1082
  * #### Example
1083
1083
  *
@@ -1152,7 +1152,7 @@ export namespace FirebaseAuthTypes {
1152
1152
  * });
1153
1153
  * ```
1154
1154
  *
1155
- * > Used when no `onRejected` handler is passed to {@link auth.PhoneAuthListener#then}.
1155
+ * > Used when no `onRejected` handler is passed to {@link PhoneAuthListener#then}.
1156
1156
  *
1157
1157
  * @param onRejected Rejected promise handler.
1158
1158
  */
@@ -1253,24 +1253,24 @@ export namespace FirebaseAuthTypes {
1253
1253
  emailVerified: boolean;
1254
1254
  /**
1255
1255
  * Returns true if the user is anonymous; that is, the user account was created with
1256
- * {@link auth#signInAnonymously} and has not been linked to another account
1257
- * with {@link auth#linkWithCredential}.
1256
+ * {@link signInAnonymously} and has not been linked to another account
1257
+ * with {@link linkWithCredential}.
1258
1258
  */
1259
1259
  isAnonymous: boolean;
1260
1260
 
1261
1261
  /**
1262
- * Returns the {@link auth.UserMetadata} associated with this user.
1262
+ * Returns the {@link UserMetadata} associated with this user.
1263
1263
  */
1264
1264
  metadata: UserMetadata;
1265
1265
 
1266
1266
  /**
1267
- * Returns the {@link auth.MultiFactor} associated with this user.
1267
+ * Returns the {@link MultiFactor} associated with this user.
1268
1268
  */
1269
1269
  multiFactor: MultiFactor | null;
1270
1270
 
1271
1271
  /**
1272
1272
  * Returns the phone number of the user, as stored in the Firebase project's user database,
1273
- * or null if none exists. This can be updated at any time by calling {@link auth.User#updatePhoneNumber}.
1273
+ * or null if none exists. This can be updated at any time by calling {@link User#updatePhoneNumber}.
1274
1274
  */
1275
1275
  phoneNumber: string | null;
1276
1276
 
@@ -1357,8 +1357,8 @@ export namespace FirebaseAuthTypes {
1357
1357
  * @error auth/wrong-password Thrown if the password used in a auth.EmailAuthProvider.credential is not correct or when the user associated with the email does not have a password.
1358
1358
  * @error auth/invalid-verification-code Thrown if the credential is a auth.PhoneAuthProvider.credential and the verification code of the credential is not valid.
1359
1359
  * @error auth/invalid-verification-id Thrown if the credential is a auth.PhoneAuthProvider.credential and the verification ID of the credential is not valid.
1360
- * @throws on iOS {@link auth.NativeFirebaseAuthError}, on Android {@link auth.NativeFirebaseError}
1361
- * @param credential A created {@link auth.AuthCredential}.
1360
+ * @throws on iOS {@link NativeFirebaseAuthError}, on Android {@link NativeFirebaseError}
1361
+ * @param credential A created {@link AuthCredential}.
1362
1362
  */
1363
1363
  linkWithCredential(credential: AuthCredential): Promise<UserCredential>;
1364
1364
 
@@ -1383,8 +1383,8 @@ export namespace FirebaseAuthTypes {
1383
1383
  * @error auth/wrong-password Thrown if the password used in a auth.EmailAuthProvider.credential is not correct or when the user associated with the email does not have a password.
1384
1384
  * @error auth/invalid-verification-code Thrown if the credential is a auth.PhoneAuthProvider.credential and the verification code of the credential is not valid.
1385
1385
  * @error auth/invalid-verification-id Thrown if the credential is a auth.PhoneAuthProvider.credential and the verification ID of the credential is not valid.
1386
- * @throws on iOS {@link auth.NativeFirebaseAuthError}, on Android {@link auth.NativeFirebaseError}
1387
- * @param provider A created {@link auth.AuthProvider}.
1386
+ * @throws on iOS {@link NativeFirebaseAuthError}, on Android {@link NativeFirebaseError}
1387
+ * @param provider A created {@link AuthProvider}.
1388
1388
  */
1389
1389
  linkWithPopup(provider: AuthProvider): Promise<UserCredential>;
1390
1390
 
@@ -1409,8 +1409,8 @@ export namespace FirebaseAuthTypes {
1409
1409
  * @error auth/wrong-password Thrown if the password used in a auth.EmailAuthProvider.credential is not correct or when the user associated with the email does not have a password.
1410
1410
  * @error auth/invalid-verification-code Thrown if the credential is a auth.PhoneAuthProvider.credential and the verification code of the credential is not valid.
1411
1411
  * @error auth/invalid-verification-id Thrown if the credential is a auth.PhoneAuthProvider.credential and the verification ID of the credential is not valid.
1412
- * @throws on iOS {@link auth.NativeFirebaseAuthError}, on Android {@link auth.NativeFirebaseError}
1413
- * @param provider A created {@link auth.AuthProvider}.
1412
+ * @throws on iOS {@link NativeFirebaseAuthError}, on Android {@link NativeFirebaseError}
1413
+ * @param provider A created {@link AuthProvider}.
1414
1414
  */
1415
1415
  linkWithRedirect(provider: AuthProvider): Promise<UserCredential>;
1416
1416
 
@@ -1431,7 +1431,7 @@ export namespace FirebaseAuthTypes {
1431
1431
  * @error auth/wrong-password Thrown if the password used in a auth.EmailAuthProvider.credential is not correct or when the user associated with the email does not have a password.
1432
1432
  * @error auth/invalid-verification-code Thrown if the credential is a auth.PhoneAuthProvider.credential and the verification code of the credential is not valid.
1433
1433
  * @error auth/invalid-verification-id Thrown if the credential is a auth.PhoneAuthProvider.credential and the verification ID of the credential is not valid.
1434
- * @param credential A created {@link auth.AuthCredential}.
1434
+ * @param credential A created {@link AuthCredential}.
1435
1435
  */
1436
1436
  reauthenticateWithCredential(credential: AuthCredential): Promise<UserCredential>;
1437
1437
 
@@ -1451,7 +1451,7 @@ export namespace FirebaseAuthTypes {
1451
1451
  * @error auth/wrong-password Thrown if the password used in a auth.EmailAuthProvider.credential is not correct or when the user associated with the email does not have a password.
1452
1452
  * @error auth/invalid-verification-code Thrown if the credential is a auth.PhoneAuthProvider.credential and the verification code of the credential is not valid.
1453
1453
  * @error auth/invalid-verification-id Thrown if the credential is a auth.PhoneAuthProvider.credential and the verification ID of the credential is not valid.
1454
- * @param provider A created {@link auth.AuthProvider}.
1454
+ * @param provider A created {@link AuthProvider}.
1455
1455
  * @returns A promise that resolves with no value.
1456
1456
  */
1457
1457
  reauthenticateWithRedirect(provider: AuthProvider): Promise<void>;
@@ -1686,7 +1686,7 @@ export namespace FirebaseAuthTypes {
1686
1686
  * const user = firebase.auth().currentUser;
1687
1687
  * ```
1688
1688
  *
1689
- * > It is recommended to use {@link auth#onAuthStateChanged} to track whether the user is currently signed in.
1689
+ * > It is recommended to use {@link onAuthStateChanged} to track whether the user is currently signed in.
1690
1690
  */
1691
1691
  currentUser: User | null;
1692
1692
  /**
@@ -1765,9 +1765,9 @@ export namespace FirebaseAuthTypes {
1765
1765
 
1766
1766
  /**
1767
1767
  * Adds a listener to observe changes to the User object. This is a superset of everything from
1768
- * {@link auth#onAuthStateChanged}, {@link auth#onIdTokenChanged} and user changes. The goal of this
1768
+ * {@link onAuthStateChanged}, {@link onIdTokenChanged} and user changes. The goal of this
1769
1769
  * method is to provide easier listening to all user changes, such as when credentials are
1770
- * linked and unlinked, without manually having to call {@link auth.User#reload}.
1770
+ * linked and unlinked, without manually having to call {@link User#reload}.
1771
1771
  *
1772
1772
  * #### Example
1773
1773
  *
@@ -1792,7 +1792,7 @@ export namespace FirebaseAuthTypes {
1792
1792
  /**
1793
1793
  * Signs the user out.
1794
1794
  *
1795
- * Triggers the {@link auth#onAuthStateChanged} listener.
1795
+ * Triggers the {@link onAuthStateChanged} listener.
1796
1796
  *
1797
1797
  * #### Example
1798
1798
  *
@@ -2143,7 +2143,7 @@ export namespace FirebaseAuthTypes {
2143
2143
 
2144
2144
  /**
2145
2145
  * Completes the password reset process with the confirmation code and new password, via
2146
- * {@link auth#sendPasswordResetEmail}.
2146
+ * {@link sendPasswordResetEmail}.
2147
2147
  *
2148
2148
  * #### Example
2149
2149
  *
package/lib/version.js CHANGED
@@ -1,2 +1,2 @@
1
1
  // Generated by genversion.
2
- module.exports = '24.0.0';
2
+ module.exports = '24.1.1';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@react-native-firebase/auth",
3
- "version": "24.0.0",
3
+ "version": "24.1.1",
4
4
  "author": "Invertase <oss@invertase.io> (http://invertase.io)",
5
5
  "description": "React Native Firebase - The authentication module provides an easy-to-use API to integrate an authentication workflow into new and existing applications. React Native Firebase provides access to all Firebase authentication methods and identity providers.",
6
6
  "main": "lib/index.js",
@@ -27,7 +27,7 @@
27
27
  "plist": "^3.1.0"
28
28
  },
29
29
  "peerDependencies": {
30
- "@react-native-firebase/app": "24.0.0",
30
+ "@react-native-firebase/app": "24.1.1",
31
31
  "expo": ">=47.0.0"
32
32
  },
33
33
  "devDependencies": {
@@ -43,5 +43,5 @@
43
43
  "access": "public",
44
44
  "provenance": true
45
45
  },
46
- "gitHead": "46c48499190be2dc9b9792d39c251db29495a607"
46
+ "gitHead": "ea699f0bbcc98d25eebea4bfbe88cf1e9f2d0107"
47
47
  }
package/typedoc.json ADDED
@@ -0,0 +1,5 @@
1
+ {
2
+ "$schema": "https://typedoc.org/schema.json",
3
+ "entryPoints": ["lib/index.d.ts"],
4
+ "intentionallyNotExported": ["AuthNamespace"]
5
+ }