@firebase/firestore 4.7.16-canary.9964849e9 → 4.7.16-canary.af9f8b552

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 CHANGED
@@ -9,7 +9,7 @@ var util = require('@firebase/util');
9
9
  var bloomBlob = require('@firebase/webchannel-wrapper/bloom-blob');
10
10
  var webchannelBlob = require('@firebase/webchannel-wrapper/webchannel-blob');
11
11
 
12
- const F = "@firebase/firestore", M = "4.7.16-canary.9964849e9";
12
+ const F = "@firebase/firestore", M = "4.7.16-canary.af9f8b552";
13
13
 
14
14
  /**
15
15
  * @license
@@ -71,7 +71,7 @@ User.MOCK_USER = new User("mock-user");
71
71
  * See the License for the specific language governing permissions and
72
72
  * limitations under the License.
73
73
  */
74
- let x = "11.8.1-canary.9964849e9";
74
+ let x = "11.8.1-canary.af9f8b552";
75
75
 
76
76
  /**
77
77
  * @license
@@ -5,7 +5,7 @@ import { FirebaseError, isCloudWorkstation, pingServer, updateEmulatorBanner, de
5
5
  import { Integer, Md5 } from '@firebase/webchannel-wrapper/bloom-blob';
6
6
  import { XhrIo, EventType, ErrorCode, createWebChannelTransport, getStatEventTarget, WebChannel, Event, Stat } from '@firebase/webchannel-wrapper/webchannel-blob';
7
7
 
8
- const F = "@firebase/firestore", M = "4.7.16-canary.9964849e9";
8
+ const F = "@firebase/firestore", M = "4.7.16-canary.af9f8b552";
9
9
 
10
10
  /**
11
11
  * @license
@@ -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 x = "11.8.1-canary.9964849e9";
70
+ let x = "11.8.1-canary.af9f8b552";
71
71
 
72
72
  /**
73
73
  * @license
@@ -34,7 +34,7 @@ var grpc__namespace = /*#__PURE__*/_interopNamespace(grpc);
34
34
  var protoLoader__namespace = /*#__PURE__*/_interopNamespace(protoLoader);
35
35
 
36
36
  const name = "@firebase/firestore";
37
- const version$1 = "4.7.16-canary.9964849e9";
37
+ const version$1 = "4.7.16-canary.af9f8b552";
38
38
 
39
39
  /**
40
40
  * @license
@@ -87,7 +87,7 @@ User.GOOGLE_CREDENTIALS = new User('google-credentials-uid');
87
87
  User.FIRST_PARTY = new User('first-party-uid');
88
88
  User.MOCK_USER = new User('mock-user');
89
89
 
90
- const version = "11.8.1-canary.9964849e9";
90
+ const version = "11.8.1-canary.af9f8b552";
91
91
 
92
92
  /**
93
93
  * @license
@@ -9,7 +9,7 @@ import * as grpc from '@grpc/grpc-js';
9
9
  import * as protoLoader from '@grpc/proto-loader';
10
10
 
11
11
  const name = "@firebase/firestore";
12
- const version$1 = "4.7.16-canary.9964849e9";
12
+ const version$1 = "4.7.16-canary.af9f8b552";
13
13
 
14
14
  /**
15
15
  * @license
@@ -62,7 +62,7 @@ User.GOOGLE_CREDENTIALS = new User('google-credentials-uid');
62
62
  User.FIRST_PARTY = new User('first-party-uid');
63
63
  User.MOCK_USER = new User('mock-user');
64
64
 
65
- const version = "11.8.1-canary.9964849e9";
65
+ const version = "11.8.1-canary.af9f8b552";
66
66
 
67
67
  /**
68
68
  * @license
package/dist/index.rn.js CHANGED
@@ -10,7 +10,7 @@ import { Integer as p, Md5 as y } from "@firebase/webchannel-wrapper/bloom-blob"
10
10
 
11
11
  import { XhrIo as w, EventType as S, ErrorCode as b, createWebChannelTransport as D, getStatEventTarget as v, WebChannel as C, Event as F, Stat as M } from "@firebase/webchannel-wrapper/webchannel-blob";
12
12
 
13
- const x = "@firebase/firestore", O = "4.7.16-canary.9964849e9";
13
+ const x = "@firebase/firestore", O = "4.7.16-canary.af9f8b552";
14
14
 
15
15
  /**
16
16
  * @license
@@ -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 N = "11.8.1-canary.9964849e9";
75
+ let N = "11.8.1-canary.af9f8b552";
76
76
 
77
77
  /**
78
78
  * @license
@@ -4,7 +4,7 @@ import { Logger, LogLevel } from '@firebase/logger';
4
4
  import { FirebaseError, getDefaultEmulatorHostnameAndPort, isCloudWorkstation, pingServer, updateEmulatorBanner, deepEqual, createMockUserToken, getModularInstance } from '@firebase/util';
5
5
  import { Integer } from '@firebase/webchannel-wrapper/bloom-blob';
6
6
 
7
- const A = "4.7.16-canary.9964849e9";
7
+ const A = "4.7.16-canary.af9f8b552";
8
8
 
9
9
  /**
10
10
  * @license
@@ -65,7 +65,7 @@ User.MOCK_USER = new User("mock-user");
65
65
  * See the License for the specific language governing permissions and
66
66
  * limitations under the License.
67
67
  */
68
- let P = "11.8.1-canary.9964849e9";
68
+ let P = "11.8.1-canary.af9f8b552";
69
69
 
70
70
  /**
71
71
  * @license
@@ -5194,8 +5194,8 @@ function __PRIVATE_isWrite(t) {
5194
5194
  _t: !0
5195
5195
  });
5196
5196
  }
5197
- dt(t) {
5198
- return __PRIVATE_createError(t, this.settings.methodName, this.settings.ft || !1, this.path, this.settings.Et);
5197
+ ft(t) {
5198
+ return __PRIVATE_createError(t, this.settings.methodName, this.settings.dt || !1, this.path, this.settings.Et);
5199
5199
  }
5200
5200
  /** Returns 'true' if 'fieldPath' was traversed when creating this context. */ contains(t) {
5201
5201
  return void 0 !== this.fieldMask.find((e => t.isPrefixOf(e))) || void 0 !== this.fieldTransforms.find((e => t.isPrefixOf(e.field)));
@@ -5206,8 +5206,8 @@ function __PRIVATE_isWrite(t) {
5206
5206
  if (this.path) for (let t = 0; t < this.path.length; t++) this.ct(this.path.get(t));
5207
5207
  }
5208
5208
  ct(t) {
5209
- if (0 === t.length) throw this.dt("Document fields must not be empty");
5210
- if (__PRIVATE_isWrite(this.it) && ut.test(t)) throw this.dt('Document fields cannot begin and end with "__"');
5209
+ if (0 === t.length) throw this.ft("Document fields must not be empty");
5210
+ if (__PRIVATE_isWrite(this.it) && ut.test(t)) throw this.ft('Document fields cannot begin and end with "__"');
5211
5211
  }
5212
5212
  }
5213
5213
 
@@ -5225,7 +5225,7 @@ function __PRIVATE_isWrite(t) {
5225
5225
  Et: r,
5226
5226
  path: FieldPath$1.emptyPath(),
5227
5227
  _t: !1,
5228
- ft: n
5228
+ dt: n
5229
5229
  }, this.databaseId, this.serializer, this.ignoreUndefinedProperties);
5230
5230
  }
5231
5231
  }
@@ -5254,7 +5254,7 @@ function __PRIVATE_newUserDataReader(t) {
5254
5254
 
5255
5255
  class __PRIVATE_DeleteFieldValueImpl extends FieldValue {
5256
5256
  _toFieldTransform(t) {
5257
- if (2 /* UserDataSource.MergeSet */ !== t.it) throw 1 /* UserDataSource.Update */ === t.it ? t.dt(`${this._methodName}() can only appear at the top level of your update data`) : t.dt(`${this._methodName}() cannot be used with set() unless you pass {merge:true}`);
5257
+ if (2 /* UserDataSource.MergeSet */ !== t.it) throw 1 /* UserDataSource.Update */ === t.it ? t.ft(`${this._methodName}() can only appear at the top level of your update data`) : t.ft(`${this._methodName}() cannot be used with set() unless you pass {merge:true}`);
5258
5258
  // No transform to add for a delete, but we need to add it to our
5259
5259
  // fieldMask so it gets deleted.
5260
5260
  return t.fieldMask.push(t.path), null;
@@ -5421,8 +5421,8 @@ class __PRIVATE_NumericIncrementFieldValueImpl extends FieldValue {
5421
5421
  */
5422
5422
  return function __PRIVATE_parseSentinelFieldValue(t, e) {
5423
5423
  // Sentinels are only supported with writes, and not within arrays.
5424
- if (!__PRIVATE_isWrite(e.it)) throw e.dt(`${t._methodName}() can only be used with update() and set()`);
5425
- if (!e.path) throw e.dt(`${t._methodName}() is not currently supported inside arrays`);
5424
+ if (!__PRIVATE_isWrite(e.it)) throw e.ft(`${t._methodName}() can only be used with update() and set()`);
5425
+ if (!e.path) throw e.ft(`${t._methodName}() is not currently supported inside arrays`);
5426
5426
  const r = t._toFieldTransform(e);
5427
5427
  r && e.fieldTransforms.push(r);
5428
5428
  }
@@ -5446,7 +5446,7 @@ class __PRIVATE_NumericIncrementFieldValueImpl extends FieldValue {
5446
5446
  // the set of values to be included for the IN query) that may directly
5447
5447
  // contain additional arrays (each representing an individual field
5448
5448
  // value), so we disable this validation.
5449
- if (e.settings._t && 4 /* UserDataSource.ArrayArgument */ !== e.it) throw e.dt("Nested arrays are not supported");
5449
+ if (e.settings._t && 4 /* UserDataSource.ArrayArgument */ !== e.it) throw e.ft("Nested arrays are not supported");
5450
5450
  return function __PRIVATE_parseArray(t, e) {
5451
5451
  const r = [];
5452
5452
  let n = 0;
@@ -5503,7 +5503,7 @@ class __PRIVATE_NumericIncrementFieldValueImpl extends FieldValue {
5503
5503
  };
5504
5504
  if (t instanceof DocumentReference) {
5505
5505
  const r = e.databaseId, n = t.firestore._databaseId;
5506
- if (!n.isEqual(r)) throw e.dt(`Document reference is for database ${n.projectId}/${n.database} but should be for database ${r.projectId}/${r.database}`);
5506
+ if (!n.isEqual(r)) throw e.ft(`Document reference is for database ${n.projectId}/${n.database} but should be for database ${r.projectId}/${r.database}`);
5507
5507
  return {
5508
5508
  referenceValue: __PRIVATE_toResourceName(t.firestore._databaseId || e.databaseId, t._key.path)
5509
5509
  };
@@ -5521,7 +5521,7 @@ class __PRIVATE_NumericIncrementFieldValueImpl extends FieldValue {
5521
5521
  [X]: {
5522
5522
  arrayValue: {
5523
5523
  values: t.toArray().map((t => {
5524
- if ("number" != typeof t) throw e.dt("VectorValues must only contain numeric values.");
5524
+ if ("number" != typeof t) throw e.ft("VectorValues must only contain numeric values.");
5525
5525
  return __PRIVATE_toDouble(e.serializer, t);
5526
5526
  }))
5527
5527
  }
@@ -5539,7 +5539,7 @@ class __PRIVATE_NumericIncrementFieldValueImpl extends FieldValue {
5539
5539
  * GeoPoints, etc. are not considered to look like JSON objects since they map
5540
5540
  * to specific FieldValue types other than ObjectValue.
5541
5541
  */ (t, e);
5542
- throw e.dt(`Unsupported field value: ${__PRIVATE_valueDescription(t)}`);
5542
+ throw e.ft(`Unsupported field value: ${__PRIVATE_valueDescription(t)}`);
5543
5543
  }(t, e);
5544
5544
  }
5545
5545
 
@@ -5570,7 +5570,7 @@ function __PRIVATE_validatePlainObject(t, e, r) {
5570
5570
  return "object" == typeof t && null !== t && (Object.getPrototypeOf(t) === Object.prototype || null === Object.getPrototypeOf(t));
5571
5571
  }(r)) {
5572
5572
  const n = __PRIVATE_valueDescription(r);
5573
- throw "an object" === n ? e.dt(t + " a custom object") : e.dt(t + " " + n);
5573
+ throw "an object" === n ? e.ft(t + " a custom object") : e.ft(t + " " + n);
5574
5574
  }
5575
5575
  }
5576
5576
 
@@ -4,7 +4,7 @@ import { Logger, LogLevel } from '@firebase/logger';
4
4
  import { FirebaseError, getDefaultEmulatorHostnameAndPort, isCloudWorkstation, pingServer, updateEmulatorBanner, deepEqual, createMockUserToken, getModularInstance } from '@firebase/util';
5
5
  import { Integer } from '@firebase/webchannel-wrapper/bloom-blob';
6
6
 
7
- const A = "4.7.16-canary.9964849e9";
7
+ const A = "4.7.16-canary.af9f8b552";
8
8
 
9
9
  /**
10
10
  * @license
@@ -65,7 +65,7 @@ User.MOCK_USER = new User("mock-user");
65
65
  * See the License for the specific language governing permissions and
66
66
  * limitations under the License.
67
67
  */
68
- let P = "11.8.1-canary.9964849e9";
68
+ let P = "11.8.1-canary.af9f8b552";
69
69
 
70
70
  /**
71
71
  * @license
@@ -5194,8 +5194,8 @@ function __PRIVATE_isWrite(t) {
5194
5194
  _t: !0
5195
5195
  });
5196
5196
  }
5197
- dt(t) {
5198
- return __PRIVATE_createError(t, this.settings.methodName, this.settings.ft || !1, this.path, this.settings.Et);
5197
+ ft(t) {
5198
+ return __PRIVATE_createError(t, this.settings.methodName, this.settings.dt || !1, this.path, this.settings.Et);
5199
5199
  }
5200
5200
  /** Returns 'true' if 'fieldPath' was traversed when creating this context. */ contains(t) {
5201
5201
  return void 0 !== this.fieldMask.find((e => t.isPrefixOf(e))) || void 0 !== this.fieldTransforms.find((e => t.isPrefixOf(e.field)));
@@ -5206,8 +5206,8 @@ function __PRIVATE_isWrite(t) {
5206
5206
  if (this.path) for (let t = 0; t < this.path.length; t++) this.ct(this.path.get(t));
5207
5207
  }
5208
5208
  ct(t) {
5209
- if (0 === t.length) throw this.dt("Document fields must not be empty");
5210
- if (__PRIVATE_isWrite(this.it) && ut.test(t)) throw this.dt('Document fields cannot begin and end with "__"');
5209
+ if (0 === t.length) throw this.ft("Document fields must not be empty");
5210
+ if (__PRIVATE_isWrite(this.it) && ut.test(t)) throw this.ft('Document fields cannot begin and end with "__"');
5211
5211
  }
5212
5212
  }
5213
5213
 
@@ -5225,7 +5225,7 @@ function __PRIVATE_isWrite(t) {
5225
5225
  Et: r,
5226
5226
  path: FieldPath$1.emptyPath(),
5227
5227
  _t: !1,
5228
- ft: n
5228
+ dt: n
5229
5229
  }, this.databaseId, this.serializer, this.ignoreUndefinedProperties);
5230
5230
  }
5231
5231
  }
@@ -5254,7 +5254,7 @@ function __PRIVATE_newUserDataReader(t) {
5254
5254
 
5255
5255
  class __PRIVATE_DeleteFieldValueImpl extends FieldValue {
5256
5256
  _toFieldTransform(t) {
5257
- if (2 /* UserDataSource.MergeSet */ !== t.it) throw 1 /* UserDataSource.Update */ === t.it ? t.dt(`${this._methodName}() can only appear at the top level of your update data`) : t.dt(`${this._methodName}() cannot be used with set() unless you pass {merge:true}`);
5257
+ if (2 /* UserDataSource.MergeSet */ !== t.it) throw 1 /* UserDataSource.Update */ === t.it ? t.ft(`${this._methodName}() can only appear at the top level of your update data`) : t.ft(`${this._methodName}() cannot be used with set() unless you pass {merge:true}`);
5258
5258
  // No transform to add for a delete, but we need to add it to our
5259
5259
  // fieldMask so it gets deleted.
5260
5260
  return t.fieldMask.push(t.path), null;
@@ -5421,8 +5421,8 @@ class __PRIVATE_NumericIncrementFieldValueImpl extends FieldValue {
5421
5421
  */
5422
5422
  return function __PRIVATE_parseSentinelFieldValue(t, e) {
5423
5423
  // Sentinels are only supported with writes, and not within arrays.
5424
- if (!__PRIVATE_isWrite(e.it)) throw e.dt(`${t._methodName}() can only be used with update() and set()`);
5425
- if (!e.path) throw e.dt(`${t._methodName}() is not currently supported inside arrays`);
5424
+ if (!__PRIVATE_isWrite(e.it)) throw e.ft(`${t._methodName}() can only be used with update() and set()`);
5425
+ if (!e.path) throw e.ft(`${t._methodName}() is not currently supported inside arrays`);
5426
5426
  const r = t._toFieldTransform(e);
5427
5427
  r && e.fieldTransforms.push(r);
5428
5428
  }
@@ -5446,7 +5446,7 @@ class __PRIVATE_NumericIncrementFieldValueImpl extends FieldValue {
5446
5446
  // the set of values to be included for the IN query) that may directly
5447
5447
  // contain additional arrays (each representing an individual field
5448
5448
  // value), so we disable this validation.
5449
- if (e.settings._t && 4 /* UserDataSource.ArrayArgument */ !== e.it) throw e.dt("Nested arrays are not supported");
5449
+ if (e.settings._t && 4 /* UserDataSource.ArrayArgument */ !== e.it) throw e.ft("Nested arrays are not supported");
5450
5450
  return function __PRIVATE_parseArray(t, e) {
5451
5451
  const r = [];
5452
5452
  let n = 0;
@@ -5503,7 +5503,7 @@ class __PRIVATE_NumericIncrementFieldValueImpl extends FieldValue {
5503
5503
  };
5504
5504
  if (t instanceof DocumentReference) {
5505
5505
  const r = e.databaseId, n = t.firestore._databaseId;
5506
- if (!n.isEqual(r)) throw e.dt(`Document reference is for database ${n.projectId}/${n.database} but should be for database ${r.projectId}/${r.database}`);
5506
+ if (!n.isEqual(r)) throw e.ft(`Document reference is for database ${n.projectId}/${n.database} but should be for database ${r.projectId}/${r.database}`);
5507
5507
  return {
5508
5508
  referenceValue: __PRIVATE_toResourceName(t.firestore._databaseId || e.databaseId, t._key.path)
5509
5509
  };
@@ -5521,7 +5521,7 @@ class __PRIVATE_NumericIncrementFieldValueImpl extends FieldValue {
5521
5521
  [X]: {
5522
5522
  arrayValue: {
5523
5523
  values: t.toArray().map((t => {
5524
- if ("number" != typeof t) throw e.dt("VectorValues must only contain numeric values.");
5524
+ if ("number" != typeof t) throw e.ft("VectorValues must only contain numeric values.");
5525
5525
  return __PRIVATE_toDouble(e.serializer, t);
5526
5526
  }))
5527
5527
  }
@@ -5539,7 +5539,7 @@ class __PRIVATE_NumericIncrementFieldValueImpl extends FieldValue {
5539
5539
  * GeoPoints, etc. are not considered to look like JSON objects since they map
5540
5540
  * to specific FieldValue types other than ObjectValue.
5541
5541
  */ (t, e);
5542
- throw e.dt(`Unsupported field value: ${__PRIVATE_valueDescription(t)}`);
5542
+ throw e.ft(`Unsupported field value: ${__PRIVATE_valueDescription(t)}`);
5543
5543
  }(t, e);
5544
5544
  }
5545
5545
 
@@ -5570,7 +5570,7 @@ function __PRIVATE_validatePlainObject(t, e, r) {
5570
5570
  return "object" == typeof t && null !== t && (Object.getPrototypeOf(t) === Object.prototype || null === Object.getPrototypeOf(t));
5571
5571
  }(r)) {
5572
5572
  const n = __PRIVATE_valueDescription(r);
5573
- throw "an object" === n ? e.dt(t + " a custom object") : e.dt(t + " " + n);
5573
+ throw "an object" === n ? e.ft(t + " a custom object") : e.ft(t + " " + n);
5574
5574
  }
5575
5575
  }
5576
5576
 
@@ -10,7 +10,7 @@ var util = require('@firebase/util');
10
10
  var bloomBlob = require('@firebase/webchannel-wrapper/bloom-blob');
11
11
  var crypto = require('crypto');
12
12
 
13
- const version$1 = "4.7.16-canary.9964849e9";
13
+ const version$1 = "4.7.16-canary.af9f8b552";
14
14
 
15
15
  /**
16
16
  * @license
@@ -63,7 +63,7 @@ User.GOOGLE_CREDENTIALS = new User('google-credentials-uid');
63
63
  User.FIRST_PARTY = new User('first-party-uid');
64
64
  User.MOCK_USER = new User('mock-user');
65
65
 
66
- const version = "11.8.1-canary.9964849e9";
66
+ const version = "11.8.1-canary.af9f8b552";
67
67
 
68
68
  /**
69
69
  * @license
@@ -6,7 +6,7 @@ import { FirebaseError, getDefaultEmulatorHostnameAndPort, isCloudWorkstation, p
6
6
  import { Integer } from '@firebase/webchannel-wrapper/bloom-blob';
7
7
  import { randomBytes as randomBytes$1 } from 'crypto';
8
8
 
9
- const version$1 = "4.7.16-canary.9964849e9";
9
+ const version$1 = "4.7.16-canary.af9f8b552";
10
10
 
11
11
  /**
12
12
  * @license
@@ -59,7 +59,7 @@ User.GOOGLE_CREDENTIALS = new User('google-credentials-uid');
59
59
  User.FIRST_PARTY = new User('first-party-uid');
60
60
  User.MOCK_USER = new User('mock-user');
61
61
 
62
- const version = "11.8.1-canary.9964849e9";
62
+ const version = "11.8.1-canary.af9f8b552";
63
63
 
64
64
  /**
65
65
  * @license
@@ -4,11 +4,11 @@ import { Component as o } from "@firebase/component";
4
4
 
5
5
  import { Logger as a, LogLevel as u } from "@firebase/logger";
6
6
 
7
- import { FirebaseError as _, isCloudWorkstation as c, base64 as l, DecodeBase64StringError as h, getDefaultEmulatorHostnameAndPort as d, pingServer as f, updateEmulatorBanner as E, deepEqual as m, createMockUserToken as T, getModularInstance as A } from "@firebase/util";
7
+ import { FirebaseError as _, isCloudWorkstation as c, base64 as l, DecodeBase64StringError as h, getDefaultEmulatorHostnameAndPort as f, pingServer as d, updateEmulatorBanner as E, deepEqual as m, createMockUserToken as T, getModularInstance as A } from "@firebase/util";
8
8
 
9
9
  import { Integer as P } from "@firebase/webchannel-wrapper/bloom-blob";
10
10
 
11
- const R = "4.7.16-canary.9964849e9";
11
+ const R = "4.7.16-canary.af9f8b552";
12
12
 
13
13
  /**
14
14
  * @license
@@ -69,7 +69,7 @@ User.MOCK_USER = new User("mock-user");
69
69
  * See the License for the specific language governing permissions and
70
70
  * limitations under the License.
71
71
  */
72
- let I = "11.8.1-canary.9964849e9";
72
+ let I = "11.8.1-canary.af9f8b552";
73
73
 
74
74
  /**
75
75
  * @license
@@ -4474,7 +4474,7 @@ function getFirestore(t, r) {
4474
4474
  identifier: i
4475
4475
  });
4476
4476
  if (!s._initialized) {
4477
- const t = d("firestore");
4477
+ const t = f("firestore");
4478
4478
  t && connectFirestoreEmulator(s, ...t);
4479
4479
  }
4480
4480
  return s;
@@ -4498,7 +4498,7 @@ function getFirestore(t, r) {
4498
4498
  const s = c(e), o = t._getSettings(), a = Object.assign(Object.assign({}, o), {
4499
4499
  emulatorOptions: t._getEmulatorOptions()
4500
4500
  }), u = `${e}:${r}`;
4501
- s && (f(`https://${u}`), E("Firestore", !0)), o.host !== _t && o.host !== u && __PRIVATE_logWarn("Host has been set in both settings() and connectFirestoreEmulator(), emulator host will be used.");
4501
+ s && (d(`https://${u}`), E("Firestore", !0)), o.host !== _t && o.host !== u && __PRIVATE_logWarn("Host has been set in both settings() and connectFirestoreEmulator(), emulator host will be used.");
4502
4502
  const _ = Object.assign(Object.assign({}, o), {
4503
4503
  host: u,
4504
4504
  ssl: s,
@@ -5206,8 +5206,8 @@ function __PRIVATE_isWrite(t) {
5206
5206
  _t: !0
5207
5207
  });
5208
5208
  }
5209
- dt(t) {
5210
- return __PRIVATE_createError(t, this.settings.methodName, this.settings.ft || !1, this.path, this.settings.Et);
5209
+ ft(t) {
5210
+ return __PRIVATE_createError(t, this.settings.methodName, this.settings.dt || !1, this.path, this.settings.Et);
5211
5211
  }
5212
5212
  /** Returns 'true' if 'fieldPath' was traversed when creating this context. */ contains(t) {
5213
5213
  return void 0 !== this.fieldMask.find((e => t.isPrefixOf(e))) || void 0 !== this.fieldTransforms.find((e => t.isPrefixOf(e.field)));
@@ -5218,8 +5218,8 @@ function __PRIVATE_isWrite(t) {
5218
5218
  if (this.path) for (let t = 0; t < this.path.length; t++) this.ct(this.path.get(t));
5219
5219
  }
5220
5220
  ct(t) {
5221
- if (0 === t.length) throw this.dt("Document fields must not be empty");
5222
- if (__PRIVATE_isWrite(this.it) && lt.test(t)) throw this.dt('Document fields cannot begin and end with "__"');
5221
+ if (0 === t.length) throw this.ft("Document fields must not be empty");
5222
+ if (__PRIVATE_isWrite(this.it) && lt.test(t)) throw this.ft('Document fields cannot begin and end with "__"');
5223
5223
  }
5224
5224
  }
5225
5225
 
@@ -5237,7 +5237,7 @@ function __PRIVATE_isWrite(t) {
5237
5237
  Et: r,
5238
5238
  path: FieldPath$1.emptyPath(),
5239
5239
  _t: !1,
5240
- ft: n
5240
+ dt: n
5241
5241
  }, this.databaseId, this.serializer, this.ignoreUndefinedProperties);
5242
5242
  }
5243
5243
  }
@@ -5266,7 +5266,7 @@ function __PRIVATE_newUserDataReader(t) {
5266
5266
 
5267
5267
  class __PRIVATE_DeleteFieldValueImpl extends FieldValue {
5268
5268
  _toFieldTransform(t) {
5269
- if (2 /* UserDataSource.MergeSet */ !== t.it) throw 1 /* UserDataSource.Update */ === t.it ? t.dt(`${this._methodName}() can only appear at the top level of your update data`) : t.dt(`${this._methodName}() cannot be used with set() unless you pass {merge:true}`);
5269
+ if (2 /* UserDataSource.MergeSet */ !== t.it) throw 1 /* UserDataSource.Update */ === t.it ? t.ft(`${this._methodName}() can only appear at the top level of your update data`) : t.ft(`${this._methodName}() cannot be used with set() unless you pass {merge:true}`);
5270
5270
  // No transform to add for a delete, but we need to add it to our
5271
5271
  // fieldMask so it gets deleted.
5272
5272
  return t.fieldMask.push(t.path), null;
@@ -5433,8 +5433,8 @@ class __PRIVATE_NumericIncrementFieldValueImpl extends FieldValue {
5433
5433
  */
5434
5434
  return function __PRIVATE_parseSentinelFieldValue(t, e) {
5435
5435
  // Sentinels are only supported with writes, and not within arrays.
5436
- if (!__PRIVATE_isWrite(e.it)) throw e.dt(`${t._methodName}() can only be used with update() and set()`);
5437
- if (!e.path) throw e.dt(`${t._methodName}() is not currently supported inside arrays`);
5436
+ if (!__PRIVATE_isWrite(e.it)) throw e.ft(`${t._methodName}() can only be used with update() and set()`);
5437
+ if (!e.path) throw e.ft(`${t._methodName}() is not currently supported inside arrays`);
5438
5438
  const r = t._toFieldTransform(e);
5439
5439
  r && e.fieldTransforms.push(r);
5440
5440
  }
@@ -5458,7 +5458,7 @@ class __PRIVATE_NumericIncrementFieldValueImpl extends FieldValue {
5458
5458
  // the set of values to be included for the IN query) that may directly
5459
5459
  // contain additional arrays (each representing an individual field
5460
5460
  // value), so we disable this validation.
5461
- if (e.settings._t && 4 /* UserDataSource.ArrayArgument */ !== e.it) throw e.dt("Nested arrays are not supported");
5461
+ if (e.settings._t && 4 /* UserDataSource.ArrayArgument */ !== e.it) throw e.ft("Nested arrays are not supported");
5462
5462
  return function __PRIVATE_parseArray(t, e) {
5463
5463
  const r = [];
5464
5464
  let n = 0;
@@ -5515,7 +5515,7 @@ class __PRIVATE_NumericIncrementFieldValueImpl extends FieldValue {
5515
5515
  };
5516
5516
  if (t instanceof DocumentReference) {
5517
5517
  const r = e.databaseId, n = t.firestore._databaseId;
5518
- if (!n.isEqual(r)) throw e.dt(`Document reference is for database ${n.projectId}/${n.database} but should be for database ${r.projectId}/${r.database}`);
5518
+ if (!n.isEqual(r)) throw e.ft(`Document reference is for database ${n.projectId}/${n.database} but should be for database ${r.projectId}/${r.database}`);
5519
5519
  return {
5520
5520
  referenceValue: __PRIVATE_toResourceName(t.firestore._databaseId || e.databaseId, t._key.path)
5521
5521
  };
@@ -5533,7 +5533,7 @@ class __PRIVATE_NumericIncrementFieldValueImpl extends FieldValue {
5533
5533
  [rt]: {
5534
5534
  arrayValue: {
5535
5535
  values: t.toArray().map((t => {
5536
- if ("number" != typeof t) throw e.dt("VectorValues must only contain numeric values.");
5536
+ if ("number" != typeof t) throw e.ft("VectorValues must only contain numeric values.");
5537
5537
  return __PRIVATE_toDouble(e.serializer, t);
5538
5538
  }))
5539
5539
  }
@@ -5551,7 +5551,7 @@ class __PRIVATE_NumericIncrementFieldValueImpl extends FieldValue {
5551
5551
  * GeoPoints, etc. are not considered to look like JSON objects since they map
5552
5552
  * to specific FieldValue types other than ObjectValue.
5553
5553
  */ (t, e);
5554
- throw e.dt(`Unsupported field value: ${__PRIVATE_valueDescription(t)}`);
5554
+ throw e.ft(`Unsupported field value: ${__PRIVATE_valueDescription(t)}`);
5555
5555
  }(t, e);
5556
5556
  }
5557
5557
 
@@ -5582,7 +5582,7 @@ function __PRIVATE_validatePlainObject(t, e, r) {
5582
5582
  return "object" == typeof t && null !== t && (Object.getPrototypeOf(t) === Object.prototype || null === Object.getPrototypeOf(t));
5583
5583
  }(r)) {
5584
5584
  const n = __PRIVATE_valueDescription(r);
5585
- throw "an object" === n ? e.dt(t + " a custom object") : e.dt(t + " " + n);
5585
+ throw "an object" === n ? e.ft(t + " a custom object") : e.ft(t + " " + n);
5586
5586
  }
5587
5587
  }
5588
5588
 
@@ -6974,7 +6974,7 @@ function __PRIVATE_validateReference(t, e) {
6974
6974
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
6975
6975
  * See the License for the specific language governing permissions and
6976
6976
  * limitations under the License.
6977
- */ const dt = {
6977
+ */ const ft = {
6978
6978
  maxAttempts: 5
6979
6979
  };
6980
6980
 
@@ -7210,7 +7210,7 @@ class __PRIVATE_TransactionRunner {
7210
7210
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
7211
7211
  * See the License for the specific language governing permissions and
7212
7212
  * limitations under the License.
7213
- */ const ft = "AsyncQueue";
7213
+ */ const dt = "AsyncQueue";
7214
7214
 
7215
7215
  class __PRIVATE_AsyncQueueImpl {
7216
7216
  constructor(t = Promise.resolve()) {
@@ -7239,7 +7239,7 @@ class __PRIVATE_AsyncQueueImpl {
7239
7239
  // after page comes into foreground.
7240
7240
  this.Bt = () => {
7241
7241
  const t = getDocument();
7242
- t && __PRIVATE_logDebug(ft, "Visibility state changed to " + t.visibilityState),
7242
+ t && __PRIVATE_logDebug(dt, "Visibility state changed to " + t.visibilityState),
7243
7243
  this.Vt.tt();
7244
7244
  }, this.$t = t;
7245
7245
  const e = getDocument();
@@ -7313,7 +7313,7 @@ class __PRIVATE_AsyncQueueImpl {
7313
7313
  return "IndexedDbTransactionError" === t.name;
7314
7314
  }(t)) throw t;
7315
7315
  // Failure will be handled by AsyncQueue
7316
- __PRIVATE_logDebug(ft, "Operation failed with retryable error: " + t);
7316
+ __PRIVATE_logDebug(dt, "Operation failed with retryable error: " + t);
7317
7317
  }
7318
7318
  this.Dt.length > 0 &&
7319
7319
  // If there are additional operations, we re-schedule `retryNextOp()`.
@@ -7500,7 +7500,7 @@ function __PRIVATE_getMessageOrStack(t) {
7500
7500
  * `updateFunction `is returned here. Otherwise, if the transaction failed, a
7501
7501
  * rejected promise with the corresponding failure error is returned.
7502
7502
  */ function runTransaction(t, e, r) {
7503
- const n = __PRIVATE_getDatastore(t = __PRIVATE_cast(t, Firestore)), i = Object.assign(Object.assign({}, dt), r);
7503
+ const n = __PRIVATE_getDatastore(t = __PRIVATE_cast(t, Firestore)), i = Object.assign(Object.assign({}, ft), r);
7504
7504
  !function __PRIVATE_validateTransactionOptions(t) {
7505
7505
  if (t.maxAttempts < 1) throw new FirestoreError(w, "Max attempts must be at least 1");
7506
7506
  }(i);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@firebase/firestore",
3
- "version": "4.7.16-canary.9964849e9",
3
+ "version": "4.7.16-canary.af9f8b552",
4
4
  "engines": {
5
5
  "node": ">=18.0.0"
6
6
  },
@@ -100,21 +100,21 @@
100
100
  "lite/package.json"
101
101
  ],
102
102
  "dependencies": {
103
- "@firebase/component": "0.6.17-canary.9964849e9",
104
- "@firebase/logger": "0.4.4-canary.9964849e9",
105
- "@firebase/util": "1.12.0-canary.9964849e9",
106
- "@firebase/webchannel-wrapper": "1.0.3-canary.9964849e9",
103
+ "@firebase/component": "0.6.17-canary.af9f8b552",
104
+ "@firebase/logger": "0.4.4-canary.af9f8b552",
105
+ "@firebase/util": "1.12.0-canary.af9f8b552",
106
+ "@firebase/webchannel-wrapper": "1.0.3-canary.af9f8b552",
107
107
  "@grpc/grpc-js": "~1.9.0",
108
108
  "@grpc/proto-loader": "^0.7.8",
109
109
  "tslib": "^2.1.0"
110
110
  },
111
111
  "peerDependencies": {
112
- "@firebase/app": "0.13.0-canary.9964849e9"
112
+ "@firebase/app": "0.13.0-canary.af9f8b552"
113
113
  },
114
114
  "devDependencies": {
115
- "@firebase/app": "0.13.0-canary.9964849e9",
116
- "@firebase/app-compat": "0.4.0-canary.9964849e9",
117
- "@firebase/auth": "1.10.6-canary.9964849e9",
115
+ "@firebase/app": "0.13.0-canary.af9f8b552",
116
+ "@firebase/app-compat": "0.4.0-canary.af9f8b552",
117
+ "@firebase/auth": "1.10.6-canary.af9f8b552",
118
118
  "@rollup/plugin-alias": "5.1.1",
119
119
  "@rollup/plugin-json": "6.1.0",
120
120
  "@types/eslint": "7.29.0",