@firebase/firestore 3.5.0-canary.fdd4ab464 → 3.6.0-20220929164943
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 +19 -0
- package/dist/index.esm2017.js +9 -5
- package/dist/index.esm2017.js.map +1 -1
- package/dist/index.esm5.js +9 -5
- package/dist/index.esm5.js.map +1 -1
- package/dist/index.node.cjs.js +9 -4
- package/dist/index.node.cjs.js.map +1 -1
- package/dist/index.node.mjs +9 -4
- package/dist/index.node.mjs.map +1 -1
- package/dist/index.rn.js +9 -5
- package/dist/index.rn.js.map +1 -1
- package/dist/lite/index.browser.esm2017.js +2 -2
- package/dist/lite/index.browser.esm2017.js.map +1 -1
- package/dist/lite/index.browser.esm5.js +2 -2
- package/dist/lite/index.browser.esm5.js.map +1 -1
- package/dist/lite/index.node.cjs.js +2 -2
- package/dist/lite/index.node.mjs +2 -2
- package/dist/lite/index.node.mjs.map +1 -1
- package/dist/lite/index.rn.esm2017.js +2 -2
- package/dist/lite/index.rn.esm2017.js.map +1 -1
- package/package.json +9 -9
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,24 @@
|
|
|
1
1
|
# @firebase/firestore
|
|
2
2
|
|
|
3
|
+
## 3.6.0-20220929164943
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`e35db6f95`](https://github.com/firebase/firebase-js-sdk/commit/e35db6f955f1b712ff67a991d8291352f28708e2) [#6597](https://github.com/firebase/firebase-js-sdk/pull/6597) - Implement count query for internal use.
|
|
8
|
+
|
|
9
|
+
* [`ee871fc0b`](https://github.com/firebase/firebase-js-sdk/commit/ee871fc0b157e1a186c2895b4290d70c8d1b986f) [#6608](https://github.com/firebase/firebase-js-sdk/pull/6608) - Added `getCountFromServer()` (`getCount()` in the Lite SDK), which fetches the number of documents in the result set without actually downloading the documents.
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [`fdd4ab464`](https://github.com/firebase/firebase-js-sdk/commit/fdd4ab464b59a107bdcc195df3f01e32efd89ed4) [#6526](https://github.com/firebase/firebase-js-sdk/pull/6526) - Add functionality to auto-initialize project config and emulator settings from global defaults provided by framework tooling.
|
|
14
|
+
|
|
15
|
+
* [`c6ba6fc0f`](https://github.com/firebase/firebase-js-sdk/commit/c6ba6fc0f44178d56fe165f71a798663516a2904) [#6619](https://github.com/firebase/firebase-js-sdk/pull/6619) - Fix a time travel issue across multiple tabs
|
|
16
|
+
|
|
17
|
+
* Updated dependencies [[`fdd4ab464`](https://github.com/firebase/firebase-js-sdk/commit/fdd4ab464b59a107bdcc195df3f01e32efd89ed4)]:
|
|
18
|
+
- @firebase/app@0.8.0-20220929164943
|
|
19
|
+
- @firebase/util@1.7.0-20220929164943
|
|
20
|
+
- @firebase/component@0.5.18-20220929164943
|
|
21
|
+
|
|
3
22
|
## 3.5.0
|
|
4
23
|
|
|
5
24
|
### Minor Changes
|
package/dist/index.esm2017.js
CHANGED
|
@@ -66,7 +66,7 @@ P.MOCK_USER = new P("mock-user");
|
|
|
66
66
|
* See the License for the specific language governing permissions and
|
|
67
67
|
* limitations under the License.
|
|
68
68
|
*/
|
|
69
|
-
let v = "9.
|
|
69
|
+
let v = "9.11.0-20220929164943";
|
|
70
70
|
|
|
71
71
|
/**
|
|
72
72
|
* @license
|
|
@@ -15105,8 +15105,12 @@ async function Ec(t, e, n) {
|
|
|
15105
15105
|
const s = $(t), i = [], r = [], o = [];
|
|
15106
15106
|
s.ic.isEmpty() || (s.ic.forEach(((t, u) => {
|
|
15107
15107
|
o.push(s._c(u, e, n).then((t => {
|
|
15108
|
-
if
|
|
15109
|
-
|
|
15108
|
+
// Update views if there are actual changes.
|
|
15109
|
+
if (
|
|
15110
|
+
// If there are changes, or we are handling a global snapshot, notify
|
|
15111
|
+
// secondary clients to update query state.
|
|
15112
|
+
(t || n) && s.isPrimaryClient && s.sharedClientState.updateQueryState(u.targetId, (null == t ? void 0 : t.fromCache) ? "not-current" : "current"),
|
|
15113
|
+
t) {
|
|
15110
15114
|
i.push(t);
|
|
15111
15115
|
const e = yo.Ci(u.targetId, t);
|
|
15112
15116
|
r.push(e);
|
|
@@ -19950,9 +19954,9 @@ function $l(t, e) {
|
|
|
19950
19954
|
return s = Object.assign({
|
|
19951
19955
|
useFetchStreams: e
|
|
19952
19956
|
}, s), r._setSettings(s), r;
|
|
19953
|
-
}), "PUBLIC").setMultipleInstances(!0)), registerVersion(b, "3.
|
|
19957
|
+
}), "PUBLIC").setMultipleInstances(!0)), registerVersion(b, "3.6.0-20220929164943", t),
|
|
19954
19958
|
// BUILD_TARGET will be replaced by values like esm5, esm2017, cjs5, etc during the compilation
|
|
19955
|
-
registerVersion(b, "3.
|
|
19959
|
+
registerVersion(b, "3.6.0-20220929164943", "esm2017");
|
|
19956
19960
|
}();
|
|
19957
19961
|
|
|
19958
19962
|
export { tl as AbstractUserDataWriter, aa as AggregateField, ha as AggregateQuerySnapshot, th as Bytes, Fa as CACHE_SIZE_UNLIMITED, ta as CollectionReference, Xc as DocumentReference, il as DocumentSnapshot, eh as FieldPath, sh as FieldValue, $a as Firestore, L as FirestoreError, ih as GeoPoint, Ma as LoadBundleTask, Zc as Query, Oh as QueryConstraint, rl as QueryDocumentSnapshot, ol as QuerySnapshot, sl as SnapshotMetadata, nt as Timestamp, Sl as Transaction, vl as WriteBatch, ne as _DatabaseId, ct as _DocumentKey, J as _EmptyAppCheckTokenProvider, K as _EmptyAuthCredentialsProvider, ut as _FieldPath, jc as _cast, F as _debugAssert, jt as _isBase64Available, N as _logWarn, qc as _validateIsNotUsedTogether, pl as addDoc, Rl as aggregateQuerySnapshotEqual, kl as arrayRemove, Nl as arrayUnion, ja as clearIndexedDbPersistence, ea as collection, na as collectionGroup, Yc as connectFirestoreEmulator, yl as deleteDoc, Cl as deleteField, Ha as disableNetwork, sa as doc, nh as documentId, Ka as enableIndexedDbPersistence, Ga as enableMultiTabIndexedDbPersistence, za as enableNetwork, Hh as endAt, zh as endBefore, Ua as ensureFirestoreConfigured, El as executeWrite, bl as getCountFromServer, al as getDoc, ll as getDocFromCache, fl as getDocFromServer, dl as getDocs, _l as getDocsFromCache, wl as getDocsFromServer, La as getFirestore, Ol as increment, Ba as initializeFirestore, qh as limit, Kh as limitToLast, Ya as loadBundle, Xa as namedQuery, Il as onSnapshot, Tl as onSnapshotsInSync, Lh as orderBy, Mh as query, ra as queryEqual, ia as refEqual, Dl as runTransaction, xl as serverTimestamp, ml as setDoc, Fl as setIndexConfiguration, D as setLogLevel, cl as snapshotEqual, jh as startAfter, Qh as startAt, Ja as terminate, gl as updateDoc, Wa as waitForPendingWrites, $h as where, Ml as writeBatch };
|