@react-native-firebase/ml 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,18 @@
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
+ ### Bug Fixes
15
+
16
+ - **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))
17
+
6
18
  ## [21.7.2](https://github.com/invertase/react-native-firebase/compare/v21.7.1...v21.7.2) (2025-02-05)
7
19
 
8
20
  **Note:** Version bump only for package @react-native-firebase/ml
@@ -1,7 +1,8 @@
1
- import { FirebaseApp } from '@firebase/app-types';
1
+ import { ReactNativeFirebase } from '@react-native-firebase/app';
2
2
  import { FirebaseMLTypes } from '..';
3
3
 
4
4
  type FirebaseML = FirebaseMLTypes.Module;
5
+ import FirebaseApp = ReactNativeFirebase.FirebaseApp;
5
6
 
6
7
  /**
7
8
  * Returns the existing default {@link FirebaseML} instance that is associated with the
@@ -1,4 +1,4 @@
1
- import { firebase } from '..';
1
+ import { getApp } from '@react-native-firebase/app';
2
2
 
3
3
  /**
4
4
  * @typedef {import('@firebase/app').FirebaseApp} FirebaseApp
@@ -11,7 +11,7 @@ import { firebase } from '..';
11
11
  */
12
12
  export function getML(app) {
13
13
  if (app) {
14
- return firebase.ml(app);
14
+ return getApp(app).ml();
15
15
  }
16
- return firebase.ml();
16
+ return getApp().ml();
17
17
  }
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/ml",
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 - Firebase ML brings the power of machine learning vision to your React Native application, supporting both Android & iOS.",
6
6
  "main": "lib/index.js",
@@ -26,10 +26,10 @@
26
26
  "image labeler"
27
27
  ],
28
28
  "peerDependencies": {
29
- "@react-native-firebase/app": "21.7.2"
29
+ "@react-native-firebase/app": "21.7.4"
30
30
  },
31
31
  "publishConfig": {
32
32
  "access": "public"
33
33
  },
34
- "gitHead": "209b36e4b469355e4d024ecdeb6c875f8bd8a187"
34
+ "gitHead": "82c4c7391fee6597726e5363d78400f11a644e47"
35
35
  }