@react-native-firebase/app-check 21.7.2 → 21.7.4

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.4](https://github.com/invertase/react-native-firebase/compare/v21.7.3...v21.7.4) (2025-02-08)
7
+
8
+ ### Bug Fixes
9
+
10
+ - the init calls for modular should use modular getApp() ([79da98b](https://github.com/invertase/react-native-firebase/commit/79da98bf4ecf7860db61b2813b87673f1cd0adfd))
11
+
12
+ ## [21.7.3](https://github.com/invertase/react-native-firebase/compare/v21.7.2...v21.7.3) (2025-02-08)
13
+
14
+ **Note:** Version bump only for package @react-native-firebase/app-check
15
+
6
16
  ## [21.7.2](https://github.com/invertase/react-native-firebase/compare/v21.7.1...v21.7.2) (2025-02-05)
7
17
 
8
18
  **Note:** Version bump only for package @react-native-firebase/app-check
@@ -15,7 +15,7 @@
15
15
  *
16
16
  */
17
17
 
18
- import { firebase } from '..';
18
+ import { getApp } from '@react-native-firebase/app';
19
19
  import { MODULAR_DEPRECATION_ARG } from '../../../app/lib/common';
20
20
  import CustomProvider from '../ReactNativeFirebaseAppCheckProvider';
21
21
 
@@ -36,13 +36,13 @@ import CustomProvider from '../ReactNativeFirebaseAppCheckProvider';
36
36
  */
37
37
  export async function initializeAppCheck(app, options) {
38
38
  if (app) {
39
- const appCheck = firebase.app(app.name).appCheck();
39
+ const appCheck = getApp(app.name).appCheck();
40
40
  await appCheck.initializeAppCheck.call(appCheck, options, MODULAR_DEPRECATION_ARG);
41
- return { app: firebase.app(app.name) };
41
+ return { app: getApp(app.name) };
42
42
  }
43
- const appCheck = firebase.app().appCheck();
43
+ const appCheck = getApp().appCheck();
44
44
  await appCheck.initializeAppCheck.call(appCheck, options, MODULAR_DEPRECATION_ARG);
45
- return { app: firebase.app() };
45
+ return { app: getApp() };
46
46
  }
47
47
 
48
48
  /**
package/lib/version.js CHANGED
@@ -1,2 +1,2 @@
1
1
  // Generated by genversion.
2
- module.exports = '21.7.2';
2
+ module.exports = '21.7.4';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@react-native-firebase/app-check",
3
- "version": "21.7.2",
3
+ "version": "21.7.4",
4
4
  "author": "Invertase <oss@invertase.io> (http://invertase.io)",
5
5
  "description": "React Native Firebase - App Check",
6
6
  "main": "lib/index.js",
@@ -25,7 +25,7 @@
25
25
  "appCheck"
26
26
  ],
27
27
  "peerDependencies": {
28
- "@react-native-firebase/app": "21.7.2",
28
+ "@react-native-firebase/app": "21.7.4",
29
29
  "expo": ">=47.0.0"
30
30
  },
31
31
  "devDependencies": {
@@ -39,5 +39,5 @@
39
39
  "publishConfig": {
40
40
  "access": "public"
41
41
  },
42
- "gitHead": "209b36e4b469355e4d024ecdeb6c875f8bd8a187"
42
+ "gitHead": "82c4c7391fee6597726e5363d78400f11a644e47"
43
43
  }