@react-native-firebase/firestore 16.4.2 → 16.4.4

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
+ ### [16.4.4](https://github.com/invertase/react-native-firebase/compare/v16.4.3...v16.4.4) (2022-11-14)
7
+
8
+ **Note:** Version bump only for package @react-native-firebase/firestore
9
+
10
+ ### [16.4.3](https://github.com/invertase/react-native-firebase/compare/v16.4.2...v16.4.3) (2022-11-06)
11
+
12
+ ### Bug Fixes
13
+
14
+ - **firestore, count:** add countFromServer API, delegates to count ([9f73729](https://github.com/invertase/react-native-firebase/commit/9f73729d3ace2af1d1eb78f8b996cfa869e6cfd7)), closes [#6654](https://github.com/invertase/react-native-firebase/issues/6654)
15
+
6
16
  ### [16.4.2](https://github.com/invertase/react-native-firebase/compare/v16.4.1...v16.4.2) (2022-11-04)
7
17
 
8
18
  **Note:** Version bump only for package @react-native-firebase/firestore
@@ -140,6 +140,10 @@ export default class FirestoreQuery {
140
140
  );
141
141
  }
142
142
 
143
+ countFromServer() {
144
+ return this.count();
145
+ }
146
+
143
147
  endAt(docOrField, ...fields) {
144
148
  return new FirestoreQuery(
145
149
  this._firestore,
package/lib/index.d.ts CHANGED
@@ -941,6 +941,11 @@ export namespace FirebaseFirestoreTypes {
941
941
  */
942
942
  count(): AggregateQuery<{ count: AggregateField<number> }>;
943
943
 
944
+ /**
945
+ * Same as count()
946
+ */
947
+ countFromServer(): AggregateQuery<{ count: AggregateField<number> }>;
948
+
944
949
  /**
945
950
  * Creates and returns a new Query that ends at the provided document (inclusive). The end
946
951
  * position is relative to the order of the query. The document must contain all of the
package/lib/version.js CHANGED
@@ -1,2 +1,2 @@
1
1
  // Generated by genversion.
2
- module.exports = '16.4.2';
2
+ module.exports = '16.4.4';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@react-native-firebase/firestore",
3
- "version": "16.4.2",
3
+ "version": "16.4.4",
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": "16.4.2"
30
+ "@react-native-firebase/app": "16.4.4"
31
31
  },
32
32
  "publishConfig": {
33
33
  "access": "public"
34
34
  },
35
- "gitHead": "f6cd1236f02d5f2f806e95532ef8a11f2c9f17f8"
35
+ "gitHead": "09c047ac956a44696199df0c52665c0b4446e463"
36
36
  }