@react-native-firebase/auth 15.4.0 → 15.6.0

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,16 @@
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
+ # [15.6.0](https://github.com/invertase/react-native-firebase/compare/v15.5.0...v15.6.0) (2022-09-17)
7
+
8
+ ### Bug Fixes
9
+
10
+ - **auth, types:** verifyPasswordResetCode returns Promise<string> with email address ([#6537](https://github.com/invertase/react-native-firebase/issues/6537)) ([6f67c2c](https://github.com/invertase/react-native-firebase/commit/6f67c2c33bb9fa8b6c343aa9b3b7ca1dff34f2db))
11
+
12
+ # [15.5.0](https://github.com/invertase/react-native-firebase/compare/v15.4.0...v15.5.0) (2022-09-16)
13
+
14
+ **Note:** Version bump only for package @react-native-firebase/auth
15
+
6
16
  # [15.4.0](https://github.com/invertase/react-native-firebase/compare/v15.3.0...v15.4.0) (2022-08-27)
7
17
 
8
18
  **Note:** Version bump only for package @react-native-firebase/auth
package/lib/index.d.ts CHANGED
@@ -1645,7 +1645,7 @@ export namespace FirebaseAuthTypes {
1645
1645
  * #### Example
1646
1646
  *
1647
1647
  * ```js
1648
- * await firebase.auth().verifyPasswordResetCode('ABCD');
1648
+ * const verifiedEmail = await firebase.auth().verifyPasswordResetCode('ABCD');
1649
1649
  * ```
1650
1650
  *
1651
1651
  * @error auth/expired-action-code Thrown if the password reset code has expired.
@@ -1653,8 +1653,9 @@ export namespace FirebaseAuthTypes {
1653
1653
  * @error auth/user-disabled Thrown if the user corresponding to the given password reset code has been disabled.
1654
1654
  * @error auth/user-not-found Thrown if there is no user corresponding to the password reset code. This may have happened if the user was deleted between when the code was issued and when this method was called.
1655
1655
  * @param code A password reset code.
1656
+ * @returns {string} The user's email address if valid
1656
1657
  */
1657
- verifyPasswordResetCode(code: string): Promise<void>;
1658
+ verifyPasswordResetCode(code: string): Promise<string>;
1658
1659
  /**
1659
1660
  * Switch userAccessGroup and current user to the given accessGroup and the user stored in it.
1660
1661
  * Sign in a user with any sign in method, and the same current user is available in all
package/lib/version.js CHANGED
@@ -1,2 +1,2 @@
1
1
  // Generated by genversion.
2
- module.exports = '15.4.0';
2
+ module.exports = '15.6.0';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@react-native-firebase/auth",
3
- "version": "15.4.0",
3
+ "version": "15.6.0",
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",
@@ -22,10 +22,10 @@
22
22
  "auth"
23
23
  ],
24
24
  "peerDependencies": {
25
- "@react-native-firebase/app": "15.4.0"
25
+ "@react-native-firebase/app": "15.6.0"
26
26
  },
27
27
  "publishConfig": {
28
28
  "access": "public"
29
29
  },
30
- "gitHead": "a05f63d5cb208d9b6f645a0743584f58a942d6bc"
30
+ "gitHead": "09edad10f28d4d2e0a471aa075c6f004826e1331"
31
31
  }