@react-native-firebase/auth 18.3.0 → 18.3.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,12 @@
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
+ ## [18.3.1](https://github.com/invertase/react-native-firebase/compare/v18.3.0...v18.3.1) (2023-08-23)
7
+
8
+ ### Bug Fixes
9
+
10
+ - **auth, android:** avoid crash on react-native < 0.63 ([3fee0d6](https://github.com/invertase/react-native-firebase/commit/3fee0d6da587f56911669307e35558f55107c88e))
11
+
6
12
  ## [18.3.0](https://github.com/invertase/react-native-firebase/compare/v18.2.0...v18.3.0) (2023-07-19)
7
13
 
8
14
  ### Features
@@ -1944,7 +1944,10 @@ class ReactNativeFirebaseAuthModule extends ReactNativeFirebaseModule {
1944
1944
  */
1945
1945
  private void promiseRejectAuthException(Promise promise, Exception exception) {
1946
1946
  WritableMap error = getJSError(exception);
1947
- final String sessionId = error.getString("sessionId");
1947
+ String sessionId = null;
1948
+ if (error.hasKey("sessionId")) {
1949
+ sessionId = error.getString("sessionId");
1950
+ }
1948
1951
  final MultiFactorResolver multiFactorResolver = mCachedResolvers.get(sessionId);
1949
1952
  WritableMap resolverAsMap = Arguments.createMap();
1950
1953
  if (multiFactorResolver != null) {
package/lib/version.js CHANGED
@@ -1,2 +1,2 @@
1
1
  // Generated by genversion.
2
- module.exports = '18.3.0';
2
+ module.exports = '18.3.1';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@react-native-firebase/auth",
3
- "version": "18.3.0",
3
+ "version": "18.3.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.0.5"
28
28
  },
29
29
  "peerDependencies": {
30
- "@react-native-firebase/app": "18.3.0",
30
+ "@react-native-firebase/app": "18.3.1",
31
31
  "expo": ">=47.0.0"
32
32
  },
33
33
  "devDependencies": {
@@ -42,5 +42,5 @@
42
42
  "publishConfig": {
43
43
  "access": "public"
44
44
  },
45
- "gitHead": "cca7053a12ea04c8476f880bd2220f44ee4ae17a"
45
+ "gitHead": "878f4199ca99963dec7822d1c9e14e9c91325b4f"
46
46
  }