@react-native-firebase/analytics 21.7.0 → 21.7.2

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.2](https://github.com/invertase/react-native-firebase/compare/v21.7.1...v21.7.2) (2025-02-05)
7
+
8
+ **Note:** Version bump only for package @react-native-firebase/analytics
9
+
10
+ ## [21.7.1](https://github.com/invertase/react-native-firebase/compare/v21.7.0...v21.7.1) (2025-01-20)
11
+
12
+ ### Bug Fixes
13
+
14
+ - **analytics,web:** use no-cors mode vs no-cors header for web analytics ([#8238](https://github.com/invertase/react-native-firebase/issues/8238)) ([17e8e49](https://github.com/invertase/react-native-firebase/commit/17e8e498d0cae2212e127f2e7faccebf8de3f64b))
15
+
6
16
  ## [21.7.0](https://github.com/invertase/react-native-firebase/compare/v21.6.2...v21.7.0) (2025-01-16)
7
17
 
8
18
  **Note:** Version bump only for package @react-native-firebase/analytics
package/README.md CHANGED
@@ -54,7 +54,7 @@ yarn add @react-native-firebase/analytics
54
54
  ---
55
55
 
56
56
  <p>
57
- <img align="left" width="75px" src="https://static.invertase.io/assets/invertase-logo-small.png">
57
+ <img align="left" width="75px" src="https://static.invertase.io/assets/invertase/invertase-rounded.png">
58
58
  <p align="left">
59
59
  Built and maintained with 💛 by <a href="https://invertase.io">Invertase</a>.
60
60
  </p>
package/lib/index.d.ts CHANGED
@@ -684,7 +684,7 @@ export namespace FirebaseAnalyticsTypes {
684
684
  // search_term: string;
685
685
  // }
686
686
 
687
- // eslint-disable-next-line @typescript-eslint/no-empty-interface
687
+ // eslint-disable-next-line @typescript-eslint/no-empty-object-type
688
688
  export interface Statics {}
689
689
 
690
690
  /**
@@ -1886,7 +1886,6 @@ export default defaultExport;
1886
1886
  * Attach namespace to `firebase.` and `FirebaseApp.`.
1887
1887
  */
1888
1888
  declare module '@react-native-firebase/app' {
1889
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
1890
1889
  namespace ReactNativeFirebase {
1891
1890
  import FirebaseModuleWithStatics = ReactNativeFirebase.FirebaseModuleWithStatics;
1892
1891
 
package/lib/version.js CHANGED
@@ -1,2 +1,2 @@
1
1
  // Generated by genversion.
2
- module.exports = '21.7.0';
2
+ module.exports = '21.7.2';
package/lib/web/api.js CHANGED
@@ -304,6 +304,7 @@ For example, to use React Native Async Storage:
304
304
  }
305
305
  const response = await fetch(url, {
306
306
  method: 'POST',
307
+ mode: 'no-cors',
307
308
  headers: {
308
309
  accept: '*/*',
309
310
  'accept-encoding': 'gzip, deflate, br',
@@ -314,7 +315,6 @@ For example, to use React Native Async Storage:
314
315
  origin: 'firebase',
315
316
  pragma: 'no-cache',
316
317
  'sec-fetch-dest': 'empty',
317
- 'sec-fetch-mode': 'no-cors',
318
318
  'sec-fetch-site': 'cross-site',
319
319
  'user-agent': 'react-native-firebase',
320
320
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@react-native-firebase/analytics",
3
- "version": "21.7.0",
3
+ "version": "21.7.2",
4
4
  "author": "Invertase <oss@invertase.io> (http://invertase.io)",
5
5
  "description": "React Native Firebase - The analytics module provides out of the box support with Google Analytics for Firebase. Integration with the Android & iOS allows for in-depth analytical insight reporting, such as device information, location, user actions and more.",
6
6
  "main": "lib/index.js",
@@ -22,7 +22,7 @@
22
22
  "analytics"
23
23
  ],
24
24
  "peerDependencies": {
25
- "@react-native-firebase/app": "21.7.0"
25
+ "@react-native-firebase/app": "21.7.2"
26
26
  },
27
27
  "publishConfig": {
28
28
  "access": "public"
@@ -30,5 +30,5 @@
30
30
  "dependencies": {
31
31
  "superstruct": "^2.0.2"
32
32
  },
33
- "gitHead": "c027ef2d772882c091383b7ff81b65573f549b5d"
33
+ "gitHead": "209b36e4b469355e4d024ecdeb6c875f8bd8a187"
34
34
  }