@react-native-firebase/analytics 21.6.2 → 21.7.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,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.1](https://github.com/invertase/react-native-firebase/compare/v21.7.0...v21.7.1) (2025-01-20)
7
+
8
+ ### Bug Fixes
9
+
10
+ - **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))
11
+
12
+ ## [21.7.0](https://github.com/invertase/react-native-firebase/compare/v21.6.2...v21.7.0) (2025-01-16)
13
+
14
+ **Note:** Version bump only for package @react-native-firebase/analytics
15
+
6
16
  ## [21.6.2](https://github.com/invertase/react-native-firebase/compare/v21.6.1...v21.6.2) (2025-01-02)
7
17
 
8
18
  **Note:** Version bump only for package @react-native-firebase/analytics
package/lib/version.js CHANGED
@@ -1,2 +1,2 @@
1
1
  // Generated by genversion.
2
- module.exports = '21.6.2';
2
+ module.exports = '21.7.1';
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.6.2",
3
+ "version": "21.7.1",
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.6.2"
25
+ "@react-native-firebase/app": "21.7.1"
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": "f3c82a58ca9a7287f7b8478addf73d842e3d196b"
33
+ "gitHead": "a11363f77efa34b41cab2bc92ed9a700b814fd8d"
34
34
  }