@firebase/firestore 3.4.4-canary.6555aa70f → 3.4.4-canary.aaeab08ac

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.
@@ -66,7 +66,7 @@ C.MOCK_USER = new C("mock-user");
66
66
  * See the License for the specific language governing permissions and
67
67
  * limitations under the License.
68
68
  */
69
- let N = "9.6.5-canary.6555aa70f";
69
+ let N = "9.6.5-canary.aaeab08ac";
70
70
 
71
71
  /**
72
72
  * @license
@@ -7425,7 +7425,7 @@ class Qi {
7425
7425
  if (!e)
7426
7426
  // Our size accounting requires us to read all documents before
7427
7427
  // removing them.
7428
- return i++, n.getEntry(t, r).next((() => (n.removeEntry(r), Li(t).delete([ 0, Rs(r.path) ]))));
7428
+ return i++, n.getEntry(t, r).next((() => (n.removeEntry(r, ut.min()), Li(t).delete([ 0, Rs(r.path) ]))));
7429
7429
  }));
7430
7430
  s.push(e);
7431
7431
  }
@@ -9978,7 +9978,7 @@ class Or {
9978
9978
  return Gs.forEach(this.xs, (n => {
9979
9979
  const s = Dt.fromPath(n);
9980
9980
  return this.$s(t, s).next((t => {
9981
- t || e.removeEntry(s);
9981
+ t || e.removeEntry(s, ut.min());
9982
9982
  }));
9983
9983
  })).next((() => (this.Ns = null, e.apply(t))));
9984
9984
  }
@@ -13139,7 +13139,10 @@ async function oc(t, e) {
13139
13139
  // store to purge a document. However, it would be tricky to keep all of
13140
13140
  // the local store's invariants with another method.
13141
13141
  let t = new yn(Dt.comparator);
13142
- t = t.insert(r, Gt.newNoDocument(r, ut.min()));
13142
+ // TODO(b/217189216): This limbo document should ideally have a read time,
13143
+ // so that it is picked up by any read-time based scans. The backend,
13144
+ // however, does not send a read time for target removals.
13145
+ t = t.insert(r, Gt.newNoDocument(r, ut.min()));
13143
13146
  const n = Sn().add(r), i = new Nn(ut.min(),
13144
13147
  /* targetChanges= */ new Map,
13145
13148
  /* targetMismatches= */ new En(rt), t, n);
@@ -17990,9 +17993,9 @@ function Lh(t, e) {
17990
17993
  return n = Object.assign({
17991
17994
  useFetchStreams: e
17992
17995
  }, n), i._setSettings(n), i;
17993
- }), "PUBLIC")), registerVersion(D, "3.4.4-canary.6555aa70f", t),
17996
+ }), "PUBLIC")), registerVersion(D, "3.4.4-canary.aaeab08ac", t),
17994
17997
  // BUILD_TARGET will be replaced by values like esm5, esm2017, cjs5, etc during the compilation
17995
- registerVersion(D, "3.4.4-canary.6555aa70f", "esm2017");
17998
+ registerVersion(D, "3.4.4-canary.aaeab08ac", "esm2017");
17996
17999
  }();
17997
18000
 
17998
18001
  export { oh as AbstractUserDataWriter, nu as Bytes, Ma as CACHE_SIZE_UNLIMITED, Va as CollectionReference, Pa as DocumentReference, $u as DocumentSnapshot, tu as FieldPath, su as FieldValue, Fa as Firestore, Q as FirestoreError, iu as GeoPoint, Oa as LoadBundleTask, va as Query, Uu as QueryConstraint, Ou as QueryDocumentSnapshot, Mu as QuerySnapshot, xu as SnapshotMetadata, at as Timestamp, Ph as Transaction, uh as WriteBatch, wa as _DatabaseId, Dt as _DocumentKey, et as _EmptyAppCheckTokenProvider, z as _EmptyAuthCredentialsProvider, mt as _FieldPath, Ea as _cast, q as _debugAssert, yt as _isBase64Available, F as _logWarn, Fh as _setIndexConfiguration, ga as _validateIsNotUsedTogether, Eh as addDoc, Ch as arrayRemove, Dh as arrayUnion, Wa as clearIndexedDbPersistence, Sa as collection, Da as collectionGroup, ba as connectFirestoreEmulator, Th as deleteDoc, Vh as deleteField, Ha as disableNetwork, Ca as doc, eu as documentId, Ka as enableIndexedDbPersistence, ja as enableMultiTabIndexedDbPersistence, za as enableNetwork, eh as endAt, th as endBefore, Ua as ensureFirestoreConfigured, Rh as executeWrite, lh as getDoc, dh as getDocFromCache, wh as getDocFromServer, _h as getDocs, mh as getDocsFromCache, gh as getDocsFromServer, Ba as getFirestore, Nh as increment, La as initializeFirestore, zu as limit, Hu as limitToLast, Ya as loadBundle, Xa as namedQuery, Ih as onSnapshot, Ah as onSnapshotsInSync, Wu as orderBy, qu as query, ka as queryEqual, Na as refEqual, vh as runTransaction, Sh as serverTimestamp, yh as setDoc, $ as setLogLevel, Lu as snapshotEqual, Xu as startAfter, Yu as startAt, Ja as terminate, ph as updateDoc, Ga as waitForPendingWrites, ju as where, kh as writeBatch };