@react-native-firebase/perf 21.12.0 → 21.12.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
+ ## [21.12.1](https://github.com/invertase/react-native-firebase/compare/v21.12.0...v21.12.1) (2025-03-22)
7
+
8
+ ### Bug Fixes
9
+
10
+ - **performance:** initializePerformance settings param is optional ([#8385](https://github.com/invertase/react-native-firebase/issues/8385)) ([d9b7175](https://github.com/invertase/react-native-firebase/commit/d9b7175983f0e7b86747c88fcb522295bedf203b))
11
+
6
12
  ## [21.12.0](https://github.com/invertase/react-native-firebase/compare/v21.11.0...v21.12.0) (2025-03-03)
7
13
 
8
14
  **Note:** Version bump only for package @react-native-firebase/perf
@@ -39,12 +39,12 @@ type PerformanceSettings = {
39
39
  /**
40
40
  * Returns a Performance instance for the given app.
41
41
  * @param app - FirebaseApp. Required.
42
- * @param settings - PerformanceSettings. Set "dataCollectionEnabled" which will enable/disable Performance collection.
42
+ * @param settings - Optional PerformanceSettings. Set "dataCollectionEnabled" which will enable/disable Performance collection.
43
43
  * @returns {Promise<Performance>}
44
44
  */
45
45
  export function initializePerformance(
46
46
  app: FirebaseApp,
47
- settings: PerformanceSettings,
47
+ settings?: PerformanceSettings,
48
48
  ): Promise<Performance>;
49
49
 
50
50
  /**
@@ -42,7 +42,7 @@ export function getPerformance(app) {
42
42
  /**
43
43
  * Returns a Performance instance for the given app.
44
44
  * @param app - FirebaseApp. Required.
45
- * @param settings - PerformanceSettings. Set "dataCollectionEnabled" which will enable/disable Performance collection.
45
+ * @param settings - Optional PerformanceSettings. Set "dataCollectionEnabled" which will enable/disable Performance collection.
46
46
  * @returns {Performance}
47
47
  */
48
48
  export async function initializePerformance(app, settings) {
package/lib/version.js CHANGED
@@ -1,2 +1,2 @@
1
1
  // Generated by genversion.
2
- module.exports = '21.12.0';
2
+ module.exports = '21.12.1';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@react-native-firebase/perf",
3
- "version": "21.12.0",
3
+ "version": "21.12.1",
4
4
  "author": "Invertase <oss@invertase.io> (http://invertase.io)",
5
5
  "description": "React Native Firebase - React Native Firebase provides native integration with Performance Monitoring to gain insight into key performance characteristics within your React Native application.",
6
6
  "main": "lib/index.js",
@@ -29,7 +29,7 @@
29
29
  "performance monitoring"
30
30
  ],
31
31
  "peerDependencies": {
32
- "@react-native-firebase/app": "21.12.0",
32
+ "@react-native-firebase/app": "21.12.1",
33
33
  "expo": ">=47.0.0"
34
34
  },
35
35
  "devDependencies": {
@@ -43,5 +43,5 @@
43
43
  "publishConfig": {
44
44
  "access": "public"
45
45
  },
46
- "gitHead": "00a5540bc2d8007858dd01903d8f8c171587a766"
46
+ "gitHead": "6dc1da978ce5c9cd193a7903b218f7b741c02b9b"
47
47
  }