@react-native-firebase/firestore 18.5.0 → 18.6.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,14 @@
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
+ ## [18.6.1](https://github.com/invertase/react-native-firebase/compare/v18.6.0...v18.6.1) (2023-11-01)
7
+
8
+ **Note:** Version bump only for package @react-native-firebase/firestore
9
+
10
+ ## [18.6.0](https://github.com/invertase/react-native-firebase/compare/v18.5.0...v18.6.0) (2023-10-26)
11
+
12
+ **Note:** Version bump only for package @react-native-firebase/firestore
13
+
6
14
  ## [18.5.0](https://github.com/invertase/react-native-firebase/compare/v18.4.0...v18.5.0) (2023-09-22)
7
15
 
8
16
  ### Features
@@ -1,6 +1,6 @@
1
1
  import { describe, expect, it } from '@jest/globals';
2
2
 
3
- import firestore, { firebase, FirebaseFirestoreTypes } from '../lib';
3
+ import firestore, { firebase } from '../lib';
4
4
 
5
5
  const COLLECTION = 'firestore';
6
6
 
@@ -310,22 +310,22 @@ describe('Storage', function () {
310
310
  });
311
311
 
312
312
  it('does not throw when Date is provided instead of Timestamp', async function () {
313
- type BarType = {
314
- myDate: FirebaseFirestoreTypes.Timestamp;
315
- };
313
+ // type BarType = {
314
+ // myDate: FirebaseFirestoreTypes.Timestamp;
315
+ // };
316
316
 
317
- const docRef = firebase.firestore().doc<BarType>(`${COLLECTION}/bar`);
317
+ const docRef = firebase.firestore().doc(`${COLLECTION}/bar`);
318
318
  await docRef.set({
319
319
  myDate: new Date(),
320
320
  });
321
321
  });
322
322
 
323
323
  it('does not throw when serverTimestamp is provided instead of Timestamp', async function () {
324
- type BarType = {
325
- myDate: FirebaseFirestoreTypes.Timestamp;
326
- };
324
+ // type BarType = {
325
+ // myDate: FirebaseFirestoreTypes.Timestamp;
326
+ // };
327
327
 
328
- const docRef = firebase.firestore().doc<BarType>(`${COLLECTION}/bar`);
328
+ const docRef = firebase.firestore().doc(`${COLLECTION}/bar`);
329
329
  await docRef.set({
330
330
  myDate: firestore.FieldValue.serverTimestamp(),
331
331
  });
@@ -11,7 +11,7 @@ buildscript {
11
11
  }
12
12
 
13
13
  dependencies {
14
- classpath("com.android.tools.build:gradle:8.1.1")
14
+ classpath("com.android.tools.build:gradle:8.1.2")
15
15
  }
16
16
  }
17
17
  }
package/lib/version.js CHANGED
@@ -1,2 +1,2 @@
1
1
  // Generated by genversion.
2
- module.exports = '18.5.0';
2
+ module.exports = '18.6.1';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@react-native-firebase/firestore",
3
- "version": "18.5.0",
3
+ "version": "18.6.1",
4
4
  "author": "Invertase <oss@invertase.io> (http://invertase.io)",
5
5
  "description": "React Native Firebase - Cloud Firestore is a NoSQL cloud database to store and sync data between your React Native application and Firebase's database. The API matches the Firebase Web SDK whilst taking advantage of the native SDKs performance and offline capabilities.",
6
6
  "main": "lib/index.js",
@@ -27,10 +27,10 @@
27
27
  "firestore"
28
28
  ],
29
29
  "peerDependencies": {
30
- "@react-native-firebase/app": "18.5.0"
30
+ "@react-native-firebase/app": "18.6.1"
31
31
  },
32
32
  "publishConfig": {
33
33
  "access": "public"
34
34
  },
35
- "gitHead": "c9b695aa8fd75d5a1d070ecbb6bb9ac4e9ff062e"
35
+ "gitHead": "3d73352fb7434251fe661b426115339cf6d30bc1"
36
36
  }