@firebase/firestore 4.6.2-canary.2ce95696f → 4.6.2-canary.9cbb1845e
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/dist/index.cjs.js +7 -9
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm2017.js +7 -9
- package/dist/index.esm2017.js.map +1 -1
- package/dist/index.esm5.js +9 -11
- package/dist/index.esm5.js.map +1 -1
- package/dist/index.node.cjs.js +3 -4
- package/dist/index.node.cjs.js.map +1 -1
- package/dist/index.node.mjs +3 -4
- package/dist/index.node.mjs.map +1 -1
- package/dist/index.rn.js +7 -9
- package/dist/index.rn.js.map +1 -1
- package/dist/lite/index.browser.esm2017.js +2 -2
- package/dist/lite/index.browser.esm5.js +2 -2
- package/dist/lite/index.cjs.js +2 -2
- package/dist/lite/index.node.cjs.js +2 -2
- package/dist/lite/index.node.mjs +2 -2
- package/dist/lite/index.rn.esm2017.js +2 -2
- package/package.json +9 -9
package/dist/index.rn.js
CHANGED
|
@@ -72,7 +72,7 @@ User.MOCK_USER = new User("mock-user");
|
|
|
72
72
|
* See the License for the specific language governing permissions and
|
|
73
73
|
* limitations under the License.
|
|
74
74
|
*/
|
|
75
|
-
let C = "10.12.0-canary.
|
|
75
|
+
let C = "10.12.0-canary.9cbb1845e";
|
|
76
76
|
|
|
77
77
|
/**
|
|
78
78
|
* @license
|
|
@@ -16473,14 +16473,12 @@ async function __PRIVATE_syncEngineEmitNewSnapsAndNotifyLocalStore(e, t, n) {
|
|
|
16473
16473
|
const r = __PRIVATE_debugCast(e), i = [], s = [], o = [];
|
|
16474
16474
|
r.ba.isEmpty() || (r.ba.forEach(((e, _) => {
|
|
16475
16475
|
o.push(r.Ba(_, t, n).then((e => {
|
|
16476
|
+
// Update views if there are actual changes.
|
|
16477
|
+
if (
|
|
16476
16478
|
// If there are changes, or we are handling a global snapshot, notify
|
|
16477
16479
|
// secondary clients to update query state.
|
|
16478
|
-
|
|
16479
|
-
|
|
16480
|
-
r.sharedClientState.updateQueryState(_.targetId, t ? "current" : "not-current");
|
|
16481
|
-
}
|
|
16482
|
-
// Update views if there are actual changes.
|
|
16483
|
-
if (e) {
|
|
16480
|
+
(e || n) && r.isPrimaryClient && r.sharedClientState.updateQueryState(_.targetId, (null == e ? void 0 : e.fromCache) ? "not-current" : "current"),
|
|
16481
|
+
e) {
|
|
16484
16482
|
i.push(e);
|
|
16485
16483
|
const t = __PRIVATE_LocalViewChanges.Ki(_.targetId, e);
|
|
16486
16484
|
s.push(t);
|
|
@@ -22013,9 +22011,9 @@ let Me = null;
|
|
|
22013
22011
|
return r = Object.assign({
|
|
22014
22012
|
useFetchStreams: t
|
|
22015
22013
|
}, r), s._setSettings(r), s;
|
|
22016
|
-
}), "PUBLIC").setMultipleInstances(!0)), r(D, "4.6.2-canary.
|
|
22014
|
+
}), "PUBLIC").setMultipleInstances(!0)), r(D, "4.6.2-canary.9cbb1845e", e),
|
|
22017
22015
|
// BUILD_TARGET will be replaced by values like esm5, esm2017, cjs5, etc during the compilation
|
|
22018
|
-
r(D, "4.6.2-canary.
|
|
22016
|
+
r(D, "4.6.2-canary.9cbb1845e", "esm2017");
|
|
22019
22017
|
}("rn", /* useFetchStreams= */ !1);
|
|
22020
22018
|
|
|
22021
22019
|
export { AbstractUserDataWriter, AggregateField, AggregateQuerySnapshot, Bytes, be as CACHE_SIZE_UNLIMITED, CollectionReference, DocumentReference, DocumentSnapshot, FieldPath, FieldValue, Firestore, FirestoreError, GeoPoint, LoadBundleTask, PersistentCacheIndexManager, Query, QueryCompositeFilterConstraint, QueryConstraint, QueryDocumentSnapshot, QueryEndAtConstraint, QueryFieldFilterConstraint, QueryLimitConstraint, QueryOrderByConstraint, QuerySnapshot, QueryStartAtConstraint, SnapshotMetadata, Timestamp, Transaction, WriteBatch, __PRIVATE_AutoId as _AutoId, ByteString as _ByteString, DatabaseId as _DatabaseId, DocumentKey as _DocumentKey, __PRIVATE_EmptyAppCheckTokenProvider as _EmptyAppCheckTokenProvider, __PRIVATE_EmptyAuthCredentialsProvider as _EmptyAuthCredentialsProvider, FieldPath$1 as _FieldPath, TestingHooks as _TestingHooks, __PRIVATE_cast as _cast, __PRIVATE_debugAssert as _debugAssert, _internalAggregationQueryToProtoRunAggregationQueryRequest, _internalQueryToProtoQueryTarget, __PRIVATE_isBase64Available as _isBase64Available, __PRIVATE_logWarn as _logWarn, __PRIVATE_validateIsNotUsedTogether as _validateIsNotUsedTogether, addDoc, aggregateFieldEqual, aggregateQuerySnapshotEqual, and, arrayRemove, arrayUnion, average, clearIndexedDbPersistence, collection, collectionGroup, connectFirestoreEmulator, count, deleteAllPersistentCacheIndexes, deleteDoc, deleteField, disableNetwork, disablePersistentCacheIndexAutoCreation, doc, documentId, enableIndexedDbPersistence, enableMultiTabIndexedDbPersistence, enableNetwork, enablePersistentCacheIndexAutoCreation, endAt, endBefore, ensureFirestoreConfigured, executeWrite, getAggregateFromServer, getCountFromServer, getDoc, getDocFromCache, getDocFromServer, getDocs, getDocsFromCache, getDocsFromServer, getFirestore, getPersistentCacheIndexManager, increment, initializeFirestore, limit, limitToLast, loadBundle, memoryEagerGarbageCollector, memoryLocalCache, memoryLruGarbageCollector, namedQuery, onSnapshot, onSnapshotsInSync, or, orderBy, persistentLocalCache, persistentMultipleTabManager, persistentSingleTabManager, query, queryEqual, refEqual, runTransaction, serverTimestamp, setDoc, setIndexConfiguration, setLogLevel, snapshotEqual, startAfter, startAt, sum, terminate, updateDoc, waitForPendingWrites, where, writeBatch };
|