@react-native-firebase/ml 21.7.3 → 21.8.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,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.8.0](https://github.com/invertase/react-native-firebase/compare/v21.7.4...v21.8.0) (2025-02-10)
7
+
8
+ ### Bug Fixes
9
+
10
+ - do not ship unit tests in released packages ([e71dadf](https://github.com/invertase/react-native-firebase/commit/e71dadfc1c0cad2e89c94100913af31ddf7d9c91))
11
+
12
+ ## [21.7.4](https://github.com/invertase/react-native-firebase/compare/v21.7.3...v21.7.4) (2025-02-08)
13
+
14
+ ### Bug Fixes
15
+
16
+ - the init calls for modular should use modular getApp() ([79da98b](https://github.com/invertase/react-native-firebase/commit/79da98bf4ecf7860db61b2813b87673f1cd0adfd))
17
+
6
18
  ## [21.7.3](https://github.com/invertase/react-native-firebase/compare/v21.7.2...v21.7.3) (2025-02-08)
7
19
 
8
20
  ### Bug Fixes
@@ -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.3';
2
+ module.exports = '21.8.0';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@react-native-firebase/ml",
3
- "version": "21.7.3",
3
+ "version": "21.8.0",
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.3"
29
+ "@react-native-firebase/app": "21.8.0"
30
30
  },
31
31
  "publishConfig": {
32
32
  "access": "public"
33
33
  },
34
- "gitHead": "e1446c8737b4df5067fcc4f99ca30b0a3afcc8e5"
34
+ "gitHead": "14ebd5c2d2e0f284397c331f909e533c47f2ec62"
35
35
  }
@@ -1,19 +0,0 @@
1
- import { describe, expect, it } from '@jest/globals';
2
-
3
- import { firebase, getML } from '../lib';
4
-
5
- describe('ml()', function () {
6
- describe('namespace', function () {
7
- it('accessible from firebase.app()', function () {
8
- const app = firebase.app();
9
- expect(app.ml).toBeDefined();
10
- expect(app.ml().app).toEqual(app);
11
- });
12
- });
13
-
14
- describe('modular', function () {
15
- it('`getML` function is properly exposed to end user', function () {
16
- expect(getML).toBeDefined();
17
- });
18
- });
19
- });