@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.esm2017.js
CHANGED
|
@@ -67,7 +67,7 @@ User.MOCK_USER = new User("mock-user");
|
|
|
67
67
|
* See the License for the specific language governing permissions and
|
|
68
68
|
* limitations under the License.
|
|
69
69
|
*/
|
|
70
|
-
let b = "10.12.0-canary.
|
|
70
|
+
let b = "10.12.0-canary.9cbb1845e";
|
|
71
71
|
|
|
72
72
|
/**
|
|
73
73
|
* @license
|
|
@@ -16461,14 +16461,12 @@ async function __PRIVATE_syncEngineEmitNewSnapsAndNotifyLocalStore(e, t, n) {
|
|
|
16461
16461
|
const r = __PRIVATE_debugCast(e), i = [], s = [], o = [];
|
|
16462
16462
|
r.ba.isEmpty() || (r.ba.forEach(((e, _) => {
|
|
16463
16463
|
o.push(r.Ba(_, t, n).then((e => {
|
|
16464
|
+
// Update views if there are actual changes.
|
|
16465
|
+
if (
|
|
16464
16466
|
// If there are changes, or we are handling a global snapshot, notify
|
|
16465
16467
|
// secondary clients to update query state.
|
|
16466
|
-
|
|
16467
|
-
|
|
16468
|
-
r.sharedClientState.updateQueryState(_.targetId, t ? "current" : "not-current");
|
|
16469
|
-
}
|
|
16470
|
-
// Update views if there are actual changes.
|
|
16471
|
-
if (e) {
|
|
16468
|
+
(e || n) && r.isPrimaryClient && r.sharedClientState.updateQueryState(_.targetId, (null == e ? void 0 : e.fromCache) ? "not-current" : "current"),
|
|
16469
|
+
e) {
|
|
16472
16470
|
i.push(e);
|
|
16473
16471
|
const t = __PRIVATE_LocalViewChanges.Ki(_.targetId, e);
|
|
16474
16472
|
s.push(t);
|
|
@@ -21990,9 +21988,9 @@ let ve = null;
|
|
|
21990
21988
|
return r = Object.assign({
|
|
21991
21989
|
useFetchStreams: t
|
|
21992
21990
|
}, r), s._setSettings(r), s;
|
|
21993
|
-
}), "PUBLIC").setMultipleInstances(!0)), registerVersion(S, "4.6.2-canary.
|
|
21991
|
+
}), "PUBLIC").setMultipleInstances(!0)), registerVersion(S, "4.6.2-canary.9cbb1845e", e),
|
|
21994
21992
|
// BUILD_TARGET will be replaced by values like esm5, esm2017, cjs5, etc during the compilation
|
|
21995
|
-
registerVersion(S, "4.6.2-canary.
|
|
21993
|
+
registerVersion(S, "4.6.2-canary.9cbb1845e", "esm2017");
|
|
21996
21994
|
}();
|
|
21997
21995
|
|
|
21998
21996
|
export { AbstractUserDataWriter, AggregateField, AggregateQuerySnapshot, Bytes, we 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 };
|