@firebase/firestore 3.4.3-canary.e28b0e413 → 3.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.
@@ -63,7 +63,7 @@ l.MOCK_USER = new l("mock-user");
63
63
  * See the License for the specific language governing permissions and
64
64
  * limitations under the License.
65
65
  */
66
- let f = "9.6.4-canary.e28b0e413";
66
+ let f = "9.6.5";
67
67
 
68
68
  /**
69
69
  * @license
@@ -190,14 +190,14 @@ function p(t, ...n) {
190
190
  * given message if it did.
191
191
  *
192
192
  * Messages are stripped in production builds.
193
- */ function b(t, n) {
193
+ */ function v(t, n) {
194
194
  t || g();
195
195
  }
196
196
 
197
197
  /**
198
198
  * Casts `obj` to `T`. In non-production builds, verifies that `obj` is an
199
199
  * instance of `T` before casting.
200
- */ function v(t,
200
+ */ function b(t,
201
201
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
202
202
  n) {
203
203
  return t;
@@ -332,7 +332,7 @@ n) {
332
332
  }));
333
333
  }
334
334
  getToken() {
335
- return this.auth ? this.auth.getToken().then((t => t ? (b("string" == typeof t.accessToken),
335
+ return this.auth ? this.auth.getToken().then((t => t ? (v("string" == typeof t.accessToken),
336
336
  new j(t.accessToken, new l(this.auth.getUid()))) : null)) : Promise.resolve(null);
337
337
  }
338
338
  invalidateToken() {}
@@ -386,7 +386,7 @@ class W {
386
386
  }));
387
387
  }
388
388
  getToken() {
389
- return this.appCheck ? this.appCheck.getToken().then((t => t ? (b("string" == typeof t.token),
389
+ return this.appCheck ? this.appCheck.getToken().then((t => t ? (v("string" == typeof t.token),
390
390
  new W(t.token)) : null)) : Promise.resolve(null);
391
391
  }
392
392
  invalidateToken() {}
@@ -1305,15 +1305,15 @@ class gt {
1305
1305
  /**
1306
1306
  * A version of a document in Firestore. This corresponds to the version
1307
1307
  * timestamp, such as update_time or read_time.
1308
- */ class bt {
1308
+ */ class vt {
1309
1309
  constructor(t) {
1310
1310
  this.timestamp = t;
1311
1311
  }
1312
1312
  static fromTimestamp(t) {
1313
- return new bt(t);
1313
+ return new vt(t);
1314
1314
  }
1315
1315
  static min() {
1316
- return new bt(new gt(0, 0));
1316
+ return new vt(new gt(0, 0));
1317
1317
  }
1318
1318
  compareTo(t) {
1319
1319
  return this.timestamp._compareTo(t.timestamp);
@@ -1348,7 +1348,7 @@ class gt {
1348
1348
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1349
1349
  * See the License for the specific language governing permissions and
1350
1350
  * limitations under the License.
1351
- */ function vt(t) {
1351
+ */ function bt(t) {
1352
1352
  let n = 0;
1353
1353
  for (const e in t) Object.prototype.hasOwnProperty.call(t, e) && n++;
1354
1354
  return n;
@@ -1534,13 +1534,13 @@ const At = new RegExp(/^\d{4}-\d\d-\d\dT\d\d:\d\d:\d\d(?:\.(\d+))?Z$/);
1534
1534
  // The json interface (for the browser) will return an iso timestamp string,
1535
1535
  // while the proto js library (for node) will return a
1536
1536
  // google.protobuf.Timestamp instance.
1537
- if (b(!!t), "string" == typeof t) {
1537
+ if (v(!!t), "string" == typeof t) {
1538
1538
  // The date string can have higher precision (nanos) than the Date class
1539
1539
  // (millis), so we do some custom parsing here.
1540
1540
  // Parse the nanos right out of the string.
1541
1541
  let n = 0;
1542
1542
  const e = At.exec(t);
1543
- if (b(!!e), e[1]) {
1543
+ if (v(!!e), e[1]) {
1544
1544
  // Pad the fraction out to 9 digits (nanos).
1545
1545
  let t = e[1];
1546
1546
  t = (t + "000000000").substr(0, 9), n = Number(t);
@@ -1700,7 +1700,7 @@ const At = new RegExp(/^\d{4}-\d\d-\d\dT\d\d:\d\d:\d\d(?:\.(\d+))?Z$/);
1700
1700
  case 10 /* ObjectValue */ :
1701
1701
  return function(t, n) {
1702
1702
  const e = t.mapValue.fields || {}, r = n.mapValue.fields || {};
1703
- if (vt(e) !== vt(r)) return !1;
1703
+ if (bt(e) !== bt(r)) return !1;
1704
1704
  for (const t in e) if (e.hasOwnProperty(t) && (void 0 === r[t] || !Ft(e[t], r[t]))) return !1;
1705
1705
  return !0;
1706
1706
  }
@@ -1996,7 +1996,7 @@ function Ct(t, n) {
1996
1996
  * Creates a document with no known version or data, but which can serve as
1997
1997
  * base document for mutations.
1998
1998
  */ static newInvalidDocument(t) {
1999
- return new zt(t, 0 /* INVALID */ , bt.min(), Bt.empty(), 0 /* SYNCED */);
1999
+ return new zt(t, 0 /* INVALID */ , vt.min(), Bt.empty(), 0 /* SYNCED */);
2000
2000
  }
2001
2001
  /**
2002
2002
  * Creates a new document that is known to exist with the given data at the
@@ -2339,7 +2339,7 @@ function ln(t) {
2339
2339
  * which can be different from the order by constraints the user provided (e.g.
2340
2340
  * the SDK and backend always orders by `__name__`).
2341
2341
  */ function fn(t) {
2342
- const n = v(t);
2342
+ const n = b(t);
2343
2343
  if (null === n.$) {
2344
2344
  n.$ = [];
2345
2345
  const t = hn(n), e = an(n);
@@ -2364,7 +2364,7 @@ function ln(t) {
2364
2364
  /**
2365
2365
  * Converts this `Query` instance to it's corresponding `Target` representation.
2366
2366
  */ function dn(t) {
2367
- const n = v(t);
2367
+ const n = b(t);
2368
2368
  if (!n.S) if ("F" /* First */ === n.limitType) n.S = Qt(n.path, n.collectionGroup, fn(n), n.filters, n.limit, n.startAt, n.endAt); else {
2369
2369
  // Flip the orderBy directions since we want the last results
2370
2370
  const t = [];
@@ -2490,7 +2490,7 @@ function mn(t, n) {
2490
2490
  * transforms. Converts all field values to integers or doubles, but unlike the
2491
2491
  * backend does not cap integer values at 2^63. Instead, JavaScript number
2492
2492
  * arithmetic is used and precision loss can occur for values greater than 2^53.
2493
- */ class bn extends pn {
2493
+ */ class vn extends pn {
2494
2494
  constructor(t, n) {
2495
2495
  super(), this.q = t, this.O = n;
2496
2496
  }
@@ -2512,7 +2512,7 @@ function mn(t, n) {
2512
2512
  * See the License for the specific language governing permissions and
2513
2513
  * limitations under the License.
2514
2514
  */
2515
- /** A field path and the TransformOperation to perform upon it. */ class vn {
2515
+ /** A field path and the TransformOperation to perform upon it. */ class bn {
2516
2516
  constructor(t, n) {
2517
2517
  this.field = t, this.transform = n;
2518
2518
  }
@@ -2727,7 +2727,7 @@ function Fn(t, n) {
2727
2727
  }
2728
2728
 
2729
2729
  function xn(t) {
2730
- return b(!!t), bt.fromTimestamp(function(t) {
2730
+ return v(!!t), vt.fromTimestamp(function(t) {
2731
2731
  const n = Rt(t);
2732
2732
  return new gt(n.seconds, n.nanos);
2733
2733
  }(t));
@@ -2746,11 +2746,11 @@ function On(t, n) {
2746
2746
  function Cn(t, n) {
2747
2747
  const e = function(t) {
2748
2748
  const n = X.fromString(t);
2749
- return b(Hn(n)), n;
2749
+ return v(Hn(n)), n;
2750
2750
  }(n);
2751
2751
  if (e.get(1) !== t.databaseId.projectId) throw new U(A, "Tried to deserialize key from different project: " + e.get(1) + " vs " + t.databaseId.projectId);
2752
2752
  if (e.get(3) !== t.databaseId.database) throw new U(A, "Tried to deserialize key from different database: " + e.get(3) + " vs " + t.databaseId.database);
2753
- return new nt((b((r = e).length > 4 && "documents" === r.get(4)), r.popFirst(5)));
2753
+ return new nt((v((r = e).length > 4 && "documents" === r.get(4)), r.popFirst(5)));
2754
2754
  var r;
2755
2755
  /** Creates a Document proto from key and fields (but no create/update time) */}
2756
2756
 
@@ -2771,7 +2771,7 @@ function kn(t, n, e) {
2771
2771
 
2772
2772
  function jn(t, n) {
2773
2773
  return "found" in n ? function(t, n) {
2774
- b(!!n.found), n.found.name, n.found.updateTime;
2774
+ v(!!n.found), n.found.name, n.found.updateTime;
2775
2775
  const e = Cn(t, n.found.name), r = xn(n.found.updateTime), s = new Bt({
2776
2776
  mapValue: {
2777
2777
  fields: n.found.fields
@@ -2779,7 +2779,7 @@ function jn(t, n) {
2779
2779
  });
2780
2780
  return zt.newFoundDocument(e, r, s);
2781
2781
  }(t, n) : "missing" in n ? function(t, n) {
2782
- b(!!n.missing), b(!!n.readTime);
2782
+ v(!!n.missing), v(!!n.readTime);
2783
2783
  const e = Cn(t, n.missing), r = xn(n.readTime);
2784
2784
  return zt.newNoDocument(e, r);
2785
2785
  }(t, n) : g();
@@ -2818,7 +2818,7 @@ function Mn(t, n) {
2818
2818
  values: e.elements
2819
2819
  }
2820
2820
  };
2821
- if (e instanceof bn) return {
2821
+ if (e instanceof vn) return {
2822
2822
  fieldPath: n.field.canonicalString(),
2823
2823
  increment: e.O
2824
2824
  };
@@ -3118,14 +3118,14 @@ class Xn extends class {} {
3118
3118
  // TODO(firestorexp): Make sure there is only one Datastore instance per
3119
3119
  // firestore-exp client.
3120
3120
  async function Zn(t, n) {
3121
- const e = v(t), r = Un(e.q) + "/documents", s = {
3121
+ const e = b(t), r = Un(e.q) + "/documents", s = {
3122
3122
  writes: n.map((t => Mn(e.q, t)))
3123
3123
  };
3124
3124
  await e.m("Commit", r, s);
3125
3125
  }
3126
3126
 
3127
3127
  async function te(t, n) {
3128
- const e = v(t), r = Un(e.q) + "/documents", s = {
3128
+ const e = b(t), r = Un(e.q) + "/documents", s = {
3129
3129
  documents: n.map((t => On(e.q, t)))
3130
3130
  }, i = await e.T("BatchGetDocuments", r, s), o = new Map;
3131
3131
  i.forEach((t => {
@@ -3135,12 +3135,12 @@ async function te(t, n) {
3135
3135
  const u = [];
3136
3136
  return n.forEach((t => {
3137
3137
  const n = o.get(t.toString());
3138
- b(!!n), u.push(n);
3138
+ v(!!n), u.push(n);
3139
3139
  })), u;
3140
3140
  }
3141
3141
 
3142
3142
  async function ne(t, n) {
3143
- const e = v(t), r = Bn(e.q, dn(n));
3143
+ const e = b(t), r = Bn(e.q, dn(n));
3144
3144
  return (await e.T("RunQuery", r.parent, {
3145
3145
  structuredQuery: r.structuredQuery
3146
3146
  })).filter((t => !!t.document)).map((t => function(t, n, e) {
@@ -3307,7 +3307,7 @@ class se {
3307
3307
  case "gapi":
3308
3308
  const n = t.client;
3309
3309
  // Make sure this really is a Gapi client.
3310
- return b(!("object" != typeof n || null === n || !n.auth || !n.auth.getAuthHeaderValueForFirstParty)),
3310
+ return v(!("object" != typeof n || null === n || !n.auth || !n.auth.getAuthHeaderValueForFirstParty)),
3311
3311
  new Q(n, t.sessionIndex || "0", t.iamToken || null);
3312
3312
 
3313
3313
  case "provider":
@@ -3694,7 +3694,7 @@ function me(t, n, ...e) {
3694
3694
  */
3695
3695
  /**
3696
3696
  * An immutable object representing an array of bytes.
3697
- */ class be {
3697
+ */ class ve {
3698
3698
  /** @hideconstructor */
3699
3699
  constructor(t) {
3700
3700
  this._byteString = t;
@@ -3706,7 +3706,7 @@ function me(t, n, ...e) {
3706
3706
  * @param base64 - The Base64 string used to create the `Bytes` object.
3707
3707
  */ static fromBase64String(t) {
3708
3708
  try {
3709
- return new be(It.fromBase64String(t));
3709
+ return new ve(It.fromBase64String(t));
3710
3710
  } catch (t) {
3711
3711
  throw new U(A, "Failed to construct data from Base64 string: " + t);
3712
3712
  }
@@ -3716,7 +3716,7 @@ function me(t, n, ...e) {
3716
3716
  *
3717
3717
  * @param array - The Uint8Array used to create the `Bytes` object.
3718
3718
  */ static fromUint8Array(t) {
3719
- return new be(It.fromUint8Array(t));
3719
+ return new ve(It.fromUint8Array(t));
3720
3720
  }
3721
3721
  /**
3722
3722
  * Returns the underlying bytes as a Base64-encoded string.
@@ -3768,7 +3768,7 @@ function me(t, n, ...e) {
3768
3768
  /**
3769
3769
  * Sentinel values that can be used when writing document fields with `set()`
3770
3770
  * or `update()`.
3771
- */ class ve {
3771
+ */ class be {
3772
3772
  /**
3773
3773
  * @param _methodName - The public API endpoint that returns this class.
3774
3774
  * @hideconstructor
@@ -4015,7 +4015,7 @@ function De(t) {
4015
4015
  return new Ie(new Bt(u), c, a);
4016
4016
  }
4017
4017
 
4018
- class $e extends ve {
4018
+ class $e extends be {
4019
4019
  _toFieldTransform(t) {
4020
4020
  if (2 /* MergeSet */ !== t.tt) throw 1 /* Update */ === t.tt ? t.ut(`${this._methodName}() can only appear at the top level of your update data`) : t.ut(`${this._methodName}() cannot be used with set() unless you pass {merge:true}`);
4021
4021
  // No transform to add for a delete, but we need to add it to our
@@ -4051,23 +4051,23 @@ class $e extends ve {
4051
4051
  }, n.databaseId, n.q, n.ignoreUndefinedProperties);
4052
4052
  }
4053
4053
 
4054
- class Fe extends ve {
4054
+ class Fe extends be {
4055
4055
  _toFieldTransform(t) {
4056
- return new vn(t.path, new yn);
4056
+ return new bn(t.path, new yn);
4057
4057
  }
4058
4058
  isEqual(t) {
4059
4059
  return t instanceof Fe;
4060
4060
  }
4061
4061
  }
4062
4062
 
4063
- class xe extends ve {
4063
+ class xe extends be {
4064
4064
  constructor(t, n) {
4065
4065
  super(t), this.lt = n;
4066
4066
  }
4067
4067
  _toFieldTransform(t) {
4068
4068
  const n = Se(this, t,
4069
4069
  /*array=*/ !0), e = this.lt.map((t => ke(t, n))), r = new _n(e);
4070
- return new vn(t.path, r);
4070
+ return new bn(t.path, r);
4071
4071
  }
4072
4072
  isEqual(t) {
4073
4073
  // TODO(mrschmidt): Implement isEquals
@@ -4075,14 +4075,14 @@ class xe extends ve {
4075
4075
  }
4076
4076
  }
4077
4077
 
4078
- class qe extends ve {
4078
+ class qe extends be {
4079
4079
  constructor(t, n) {
4080
4080
  super(t), this.lt = n;
4081
4081
  }
4082
4082
  _toFieldTransform(t) {
4083
4083
  const n = Se(this, t,
4084
4084
  /*array=*/ !0), e = this.lt.map((t => ke(t, n))), r = new gn(e);
4085
- return new vn(t.path, r);
4085
+ return new bn(t.path, r);
4086
4086
  }
4087
4087
  isEqual(t) {
4088
4088
  // TODO(mrschmidt): Implement isEquals
@@ -4090,13 +4090,13 @@ class qe extends ve {
4090
4090
  }
4091
4091
  }
4092
4092
 
4093
- class Oe extends ve {
4093
+ class Oe extends be {
4094
4094
  constructor(t, n) {
4095
4095
  super(t), this.ft = n;
4096
4096
  }
4097
4097
  _toFieldTransform(t) {
4098
- const n = new bn(t.q, mn(t.q, this.ft));
4099
- return new vn(t.path, n);
4098
+ const n = new vn(t.q, mn(t.q, this.ft));
4099
+ return new bn(t.path, n);
4100
4100
  }
4101
4101
  isEqual(t) {
4102
4102
  // TODO(mrschmidt): Implement isEquals
@@ -4173,7 +4173,7 @@ class Oe extends ve {
4173
4173
  // Unwrap the API type from the Compat SDK. This will return the API type
4174
4174
  // from firestore-exp.
4175
4175
  t = getModularInstance(t))) return Be("Unsupported field value:", n, t), je(t, n);
4176
- if (t instanceof ve)
4176
+ if (t instanceof be)
4177
4177
  // FieldValues usually parse into transforms (except deleteField())
4178
4178
  // in which case we do not want to include this field in our parsed data
4179
4179
  // (as doing so will overwrite the field directly prior to the transform
@@ -4262,7 +4262,7 @@ class Oe extends ve {
4262
4262
  longitude: t.longitude
4263
4263
  }
4264
4264
  };
4265
- if (t instanceof be) return {
4265
+ if (t instanceof ve) return {
4266
4266
  bytesValue: Sn(n.q, t._byteString)
4267
4267
  };
4268
4268
  if (t instanceof he) {
@@ -4302,7 +4302,7 @@ function je(t, n) {
4302
4302
  }
4303
4303
 
4304
4304
  function Me(t) {
4305
- return !("object" != typeof t || null === t || t instanceof Array || t instanceof Date || t instanceof gt || t instanceof Ee || t instanceof be || t instanceof he || t instanceof ve);
4305
+ return !("object" != typeof t || null === t || t instanceof Array || t instanceof Date || t instanceof gt || t instanceof Ee || t instanceof ve || t instanceof he || t instanceof be);
4306
4306
  }
4307
4307
 
4308
4308
  function Be(t, n, e) {
@@ -4704,12 +4704,12 @@ class sr extends tr {
4704
4704
 
4705
4705
  class or extends tr {
4706
4706
  constructor(t, n, e) {
4707
- super(), this.type = t, this.gt = n, this.bt = e;
4707
+ super(), this.type = t, this.gt = n, this.vt = e;
4708
4708
  }
4709
4709
  _apply(t) {
4710
4710
  return new le(t.firestore, t.converter, function(t, n, e) {
4711
4711
  return new un(t.path, t.collectionGroup, t.explicitOrderBy.slice(), t.filters.slice(), n, e, t.startAt, t.endAt);
4712
- }(t._query, this.gt, this.bt));
4712
+ }(t._query, this.gt, this.vt));
4713
4713
  }
4714
4714
  }
4715
4715
 
@@ -4736,10 +4736,10 @@ class or extends tr {
4736
4736
 
4737
4737
  class ar extends tr {
4738
4738
  constructor(t, n, e) {
4739
- super(), this.type = t, this.vt = n, this.Et = e;
4739
+ super(), this.type = t, this.bt = n, this.Et = e;
4740
4740
  }
4741
4741
  _apply(t) {
4742
- const n = mr(t, this.type, this.vt, this.Et);
4742
+ const n = mr(t, this.type, this.bt, this.Et);
4743
4743
  return new le(t.firestore, t.converter, function(t, n) {
4744
4744
  return new un(t.path, t.collectionGroup, t.explicitOrderBy.slice(), t.filters.slice(), t.limit, t.limitType, n, t.endAt);
4745
4745
  }(t._query, n));
@@ -4757,10 +4757,10 @@ function lr(...t) {
4757
4757
 
4758
4758
  class fr extends tr {
4759
4759
  constructor(t, n, e) {
4760
- super(), this.type = t, this.vt = n, this.Et = e;
4760
+ super(), this.type = t, this.bt = n, this.Et = e;
4761
4761
  }
4762
4762
  _apply(t) {
4763
- const n = mr(t, this.type, this.vt, this.Et);
4763
+ const n = mr(t, this.type, this.bt, this.Et);
4764
4764
  return new le(t.firestore, t.converter, function(t, n) {
4765
4765
  return new un(t.path, t.collectionGroup, t.explicitOrderBy.slice(), t.filters.slice(), t.limit, t.limitType, t.startAt, n);
4766
4766
  }(t._query, n));
@@ -4911,7 +4911,7 @@ function gr(t, n, e) {
4911
4911
  r;
4912
4912
  }
4913
4913
 
4914
- class br extends class {
4914
+ class vr extends class {
4915
4915
  convertValue(t, n = "none") {
4916
4916
  switch (St(t)) {
4917
4917
  case 0 /* NullValue */ :
@@ -4982,7 +4982,7 @@ class br extends class {
4982
4982
  }
4983
4983
  convertDocumentKey(t, n) {
4984
4984
  const e = X.fromString(t);
4985
- b(Hn(e));
4985
+ v(Hn(e));
4986
4986
  const r = new K(e.get(1), e.get(3)), s = new nt(e.popFirst(5));
4987
4987
  return r.isEqual(n) ||
4988
4988
  // TODO(b/64130202): Somehow support foreign references.
@@ -4994,7 +4994,7 @@ class br extends class {
4994
4994
  super(), this.firestore = t;
4995
4995
  }
4996
4996
  convertBytes(t) {
4997
- return new be(t);
4997
+ return new ve(t);
4998
4998
  }
4999
4999
  convertReference(t) {
5000
5000
  const n = this.convertDocumentKey(t, this.firestore._databaseId);
@@ -5014,10 +5014,10 @@ class br extends class {
5014
5014
  * @param reference - The reference of the document to fetch.
5015
5015
  * @returns A Promise resolved with a `DocumentSnapshot` containing the current
5016
5016
  * document contents.
5017
- */ function vr(t) {
5018
- const n = re((t = ot(t, he)).firestore), e = new br(t.firestore);
5017
+ */ function br(t) {
5018
+ const n = re((t = ot(t, he)).firestore), e = new vr(t.firestore);
5019
5019
  return te(n, [ t._key ]).then((n => {
5020
- b(1 === n.length);
5020
+ v(1 === n.length);
5021
5021
  const r = n[0];
5022
5022
  return new He(t.firestore, e, t._key, r.isFoundDocument() ? r : null, t.converter);
5023
5023
  }));
@@ -5038,7 +5038,7 @@ class br extends class {
5038
5038
  !function(t) {
5039
5039
  if (cn(t) && 0 === t.explicitOrderBy.length) throw new U(q, "limitToLast() queries require specifying at least one orderBy() clause");
5040
5040
  }((t = ot(t, le))._query);
5041
- const n = re(t.firestore), e = new br(t.firestore);
5041
+ const n = re(t.firestore), e = new vr(t.firestore);
5042
5042
  return ne(n, t._query).then((n => {
5043
5043
  const r = n.map((n => new Ke(t.firestore, e, n.key, n, t.converter)));
5044
5044
  return cn(t._query) &&
@@ -5351,7 +5351,7 @@ function Fr(t, n) {
5351
5351
  if (t.isFoundDocument()) n = t.version; else {
5352
5352
  if (!t.isNoDocument()) throw g();
5353
5353
  // For deleted docs, we must use baseVersion 0 when we overwrite them.
5354
- n = bt.min();
5354
+ n = vt.min();
5355
5355
  }
5356
5356
  const e = this.readVersions.get(t.key.toString());
5357
5357
  if (e) {
@@ -5374,7 +5374,7 @@ function Fr(t, n) {
5374
5374
  // The first time a document is written, we want to take into account the
5375
5375
  // read time and existence
5376
5376
  if (!this.writtenDocs.has(t.toString()) && n) {
5377
- if (n.isEqual(bt.min()))
5377
+ if (n.isEqual(vt.min()))
5378
5378
  // The document doesn't exist, so fail the transaction.
5379
5379
  // This has to be validated locally because you can't send a
5380
5380
  // precondition that a document does not exist without changing the
@@ -5871,7 +5871,7 @@ class kr {
5871
5871
  * @param documentRef - A reference to the document to be read.
5872
5872
  * @returns A `DocumentSnapshot` with the read data.
5873
5873
  */ get(t) {
5874
- const n = Fr(t, this._firestore), e = new br(this._firestore);
5874
+ const n = Fr(t, this._firestore), e = new vr(this._firestore);
5875
5875
  return this._transaction.lookup([ n._key ]).then((t => {
5876
5876
  if (!t || 1 !== t.length) return g();
5877
5877
  const r = t[0];
@@ -5938,7 +5938,7 @@ class kr {
5938
5938
  return n && r._setSettings(n), r;
5939
5939
  }), "PUBLIC")),
5940
5940
  // RUNTIME_ENV and BUILD_TARGET are replaced by real values during the compilation
5941
- registerVersion("firestore-lite", "3.4.3-canary.e28b0e413", ""), registerVersion("firestore-lite", "3.4.3-canary.e28b0e413", "esm2017");
5941
+ registerVersion("firestore-lite", "3.4.4", ""), registerVersion("firestore-lite", "3.4.4", "esm2017");
5942
5942
 
5943
- export { be as Bytes, fe as CollectionReference, he as DocumentReference, He as DocumentSnapshot, _e as FieldPath, ve as FieldValue, ie as Firestore, U as FirestoreError, Ee as GeoPoint, le as Query, tr as QueryConstraint, Ke as QueryDocumentSnapshot, Je as QuerySnapshot, gt as Timestamp, kr as Transaction, Sr as WriteBatch, Rr as addDoc, Nr as arrayRemove, Dr as arrayUnion, de as collection, we as collectionGroup, ce as connectFirestoreEmulator, Ar as deleteDoc, Pr as deleteField, me as doc, ge as documentId, wr as endAt, dr as endBefore, vr as getDoc, Er as getDocs, ue as getFirestore, $r as increment, oe as initializeFirestore, ur as limit, cr as limitToLast, ir as orderBy, nr as query, ye as queryEqual, pe as refEqual, jr as runTransaction, Vr as serverTimestamp, Tr as setDoc, w as setLogLevel, Xe as snapshotEqual, lr as startAfter, hr as startAt, ae as terminate, Ir as updateDoc, rr as where, xr as writeBatch };
5943
+ export { ve as Bytes, fe as CollectionReference, he as DocumentReference, He as DocumentSnapshot, _e as FieldPath, be as FieldValue, ie as Firestore, U as FirestoreError, Ee as GeoPoint, le as Query, tr as QueryConstraint, Ke as QueryDocumentSnapshot, Je as QuerySnapshot, gt as Timestamp, kr as Transaction, Sr as WriteBatch, Rr as addDoc, Nr as arrayRemove, Dr as arrayUnion, de as collection, we as collectionGroup, ce as connectFirestoreEmulator, Ar as deleteDoc, Pr as deleteField, me as doc, ge as documentId, wr as endAt, dr as endBefore, br as getDoc, Er as getDocs, ue as getFirestore, $r as increment, oe as initializeFirestore, ur as limit, cr as limitToLast, ir as orderBy, nr as query, ye as queryEqual, pe as refEqual, jr as runTransaction, Vr as serverTimestamp, Tr as setDoc, w as setLogLevel, Xe as snapshotEqual, lr as startAfter, hr as startAt, ae as terminate, Ir as updateDoc, rr as where, xr as writeBatch };
5944
5944
  //# sourceMappingURL=index.browser.esm2017.js.map