@react-native-firebase/auth 21.7.1 → 21.7.3

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
+ ## [21.7.3](https://github.com/invertase/react-native-firebase/compare/v21.7.2...v21.7.3) (2025-02-08)
7
+
8
+ ### Bug Fixes
9
+
10
+ - **auth:** resolve type issue when migrating to v9 ([#8277](https://github.com/invertase/react-native-firebase/issues/8277)) ([f4e44ad](https://github.com/invertase/react-native-firebase/commit/f4e44ad50ec85604b7ba0ea835490f473ed5447c))
11
+
12
+ ## [21.7.2](https://github.com/invertase/react-native-firebase/compare/v21.7.1...v21.7.2) (2025-02-05)
13
+
14
+ **Note:** Version bump only for package @react-native-firebase/auth
15
+
6
16
  ## [21.7.1](https://github.com/invertase/react-native-firebase/compare/v21.7.0...v21.7.1) (2025-01-20)
7
17
 
8
18
  **Note:** Version bump only for package @react-native-firebase/auth
package/README.md CHANGED
@@ -50,7 +50,7 @@ yarn add @react-native-firebase/auth
50
50
  ---
51
51
 
52
52
  <p>
53
- <img align="left" width="75px" src="https://static.invertase.io/assets/invertase-logo-small.png">
53
+ <img align="left" width="75px" src="https://static.invertase.io/assets/invertase/invertase-rounded.png">
54
54
  <p align="left">
55
55
  Built and maintained with 💛 by <a href="https://invertase.io">Invertase</a>.
56
56
  </p>
package/lib/index.d.ts CHANGED
@@ -258,7 +258,7 @@ export namespace FirebaseAuthTypes {
258
258
  ERROR: 'error';
259
259
  }
260
260
 
261
- // eslint-disable-next-line @typescript-eslint/no-empty-interface
261
+ // eslint-disable-next-line @typescript-eslint/no-empty-object-type
262
262
  export interface MultiFactorSession {
263
263
  // this is has no documented contents, it is simply returned from some APIs and passed to others
264
264
  }
@@ -1428,7 +1428,6 @@ export namespace FirebaseAuthTypes {
1428
1428
  * const user = firebase.auth().currentUser.toJSON();
1429
1429
  * ```
1430
1430
  */
1431
- // eslint-disable-next-line @typescript-eslint/ban-types
1432
1431
  toJSON(): object;
1433
1432
 
1434
1433
  /**
@@ -2191,7 +2190,6 @@ export default defaultExport;
2191
2190
  * Attach namespace to `firebase.` and `FirebaseApp.`.
2192
2191
  */
2193
2192
  declare module '@react-native-firebase/app' {
2194
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
2195
2193
  namespace ReactNativeFirebase {
2196
2194
  import FirebaseModuleWithStaticsAndApp = ReactNativeFirebase.FirebaseModuleWithStaticsAndApp;
2197
2195
  interface Module {
@@ -15,11 +15,12 @@
15
15
  * limitations under the License.
16
16
  */
17
17
 
18
- import { FirebaseApp } from '@firebase/app-types';
18
+ import { ReactNativeFirebase } from '@react-native-firebase/app';
19
19
  import { FirebaseAuthTypes, CallbackOrObserver, AuthListenerCallback } from '../index';
20
20
  import { firebase } from '..';
21
21
 
22
22
  import Auth = FirebaseAuthTypes.Module;
23
+ import FirebaseApp = ReactNativeFirebase.FirebaseApp;
23
24
 
24
25
  /**
25
26
  * Returns the Auth instance associated with the provided FirebaseApp.
@@ -147,6 +148,7 @@ export function getMultiFactorResolver(
147
148
  * @param resolver - Optional. The popup redirect resolver.
148
149
  * @returns A promise that resolves with the user credentials or null.
149
150
  */
151
+ // eslint-disable-next-line @typescript-eslint/no-empty-object-type
150
152
  export interface PopupRedirectResolver {}
151
153
 
152
154
  export function getRedirectResult(
package/lib/version.js CHANGED
@@ -1,2 +1,2 @@
1
1
  // Generated by genversion.
2
- module.exports = '21.7.1';
2
+ module.exports = '21.7.3';
@@ -113,7 +113,7 @@ function userToObject(user) {
113
113
  * @param {string|null} secret - The secret to use for the credential.
114
114
  * @returns {AuthCredential|null} - The AuthCredential object.
115
115
  */
116
- function getAuthCredential(auth, provider, token, secret) {
116
+ function getAuthCredential(_auth, provider, token, secret) {
117
117
  if (provider.startsWith('oidc.')) {
118
118
  return new OAuthProvider(provider).credential({
119
119
  idToken: token,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@react-native-firebase/auth",
3
- "version": "21.7.1",
3
+ "version": "21.7.3",
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,12 +27,12 @@
27
27
  "plist": "^3.1.0"
28
28
  },
29
29
  "peerDependencies": {
30
- "@react-native-firebase/app": "21.7.1",
30
+ "@react-native-firebase/app": "21.7.3",
31
31
  "expo": ">=47.0.0"
32
32
  },
33
33
  "devDependencies": {
34
34
  "@types/plist": "^3.0.5",
35
- "expo": "^50.0.21"
35
+ "expo": "^52.0.30"
36
36
  },
37
37
  "peerDependenciesMeta": {
38
38
  "expo": {
@@ -42,5 +42,5 @@
42
42
  "publishConfig": {
43
43
  "access": "public"
44
44
  },
45
- "gitHead": "a11363f77efa34b41cab2bc92ed9a700b814fd8d"
45
+ "gitHead": "e1446c8737b4df5067fcc4f99ca30b0a3afcc8e5"
46
46
  }
@@ -1 +1 @@
1
- {"root":["./src/index.ts","./src/pluginConfig.ts","./src/ios/index.ts","./src/ios/openUrlFix.ts","./src/ios/urlTypes.ts"],"version":"5.6.2"}
1
+ {"root":["./src/index.ts","./src/pluginConfig.ts","./src/ios/index.ts","./src/ios/openUrlFix.ts","./src/ios/urlTypes.ts"],"version":"5.7.3"}