@firebase/firestore 3.11.0-canary.e0551fa13 → 3.11.0-canary.e45fea9b8

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.
@@ -2207,8 +2207,11 @@ export declare interface FirestoreSettings extends FirestoreSettings_2 {
2207
2207
  * detect if long-polling should be used. This is very similar to
2208
2208
  * `experimentalForceLongPolling`, but only uses long-polling if required.
2209
2209
  *
2210
- * This setting will likely be enabled by default in future releases and
2211
- * cannot be combined with `experimentalForceLongPolling`.
2210
+ * After having had a default value of `false` since its inception in 2019,
2211
+ * the default value of this setting was changed in mid-2023 to `true`. That
2212
+ * is, auto-detection of long polling is now enabled by default. To disable
2213
+ * it, set this setting to `false`, and please open a GitHub issue to share
2214
+ * the problems that motivated you disabling long-polling auto-detection.
2212
2215
  */
2213
2216
  experimentalAutoDetectLongPolling?: boolean;
2214
2217
  /**
@@ -81,8 +81,11 @@ export interface FirestoreSettings extends LiteSettings {
81
81
  * detect if long-polling should be used. This is very similar to
82
82
  * `experimentalForceLongPolling`, but only uses long-polling if required.
83
83
  *
84
- * This setting will likely be enabled by default in future releases and
85
- * cannot be combined with `experimentalForceLongPolling`.
84
+ * After having had a default value of `false` since its inception in 2019,
85
+ * the default value of this setting was changed in mid-2023 to `true`. That
86
+ * is, auto-detection of long polling is now enabled by default. To disable
87
+ * it, set this setting to `false`, and please open a GitHub issue to share
88
+ * the problems that motivated you disabling long-polling auto-detection.
86
89
  */
87
90
  experimentalAutoDetectLongPolling?: boolean;
88
91
  /**
@@ -63,7 +63,7 @@ d.MOCK_USER = new d("mock-user");
63
63
  * See the License for the specific language governing permissions and
64
64
  * limitations under the License.
65
65
  */
66
- let w = "9.21.0-canary.e0551fa13";
66
+ let w = "9.21.0-canary.e45fea9b8";
67
67
 
68
68
  /**
69
69
  * @license
@@ -4092,7 +4092,7 @@ class In {
4092
4092
  !function(t, e, n, r) {
4093
4093
  if (!0 === e && !0 === r) throw new U(P, `${t} and ${n} cannot be used together.`);
4094
4094
  }("experimentalForceLongPolling", t.experimentalForceLongPolling, "experimentalAutoDetectLongPolling", t.experimentalAutoDetectLongPolling),
4095
- this.experimentalForceLongPolling = !!t.experimentalForceLongPolling, this.experimentalForceLongPolling ? this.experimentalAutoDetectLongPolling = !1 : void 0 === t.experimentalAutoDetectLongPolling ? this.experimentalAutoDetectLongPolling = false :
4095
+ this.experimentalForceLongPolling = !!t.experimentalForceLongPolling, this.experimentalForceLongPolling ? this.experimentalAutoDetectLongPolling = !1 : void 0 === t.experimentalAutoDetectLongPolling ? this.experimentalAutoDetectLongPolling = true :
4096
4096
  // For backwards compatibility, coerce the value to boolean even though
4097
4097
  // the TypeScript compiler has narrowed the type to boolean already.
4098
4098
  // noinspection PointlessBooleanExpressionJS
@@ -7173,7 +7173,7 @@ class bs {
7173
7173
  return n && s._setSettings(n), s;
7174
7174
  }), "PUBLIC").setMultipleInstances(!0)),
7175
7175
  // RUNTIME_ENV and BUILD_TARGET are replaced by real values during the compilation
7176
- registerVersion("firestore-lite", "3.11.0-canary.e0551fa13", ""), registerVersion("firestore-lite", "3.11.0-canary.e0551fa13", "esm2017");
7176
+ registerVersion("firestore-lite", "3.11.0-canary.e45fea9b8", ""), registerVersion("firestore-lite", "3.11.0-canary.e45fea9b8", "esm2017");
7177
7177
 
7178
7178
  export { $n as AggregateField, Nn as AggregateQuerySnapshot, Mn as Bytes, xn as CollectionReference, Dn as DocumentReference, pr as DocumentSnapshot, Ln as FieldPath, jn as FieldValue, Tn as Firestore, U as FirestoreError, Bn as GeoPoint, Fn as Query, Rr as QueryCompositeFilterConstraint, Er as QueryConstraint, yr as QueryDocumentSnapshot, kr as QueryEndAtConstraint, Tr as QueryFieldFilterConstraint, Dr as QueryLimitConstraint, $r as QueryOrderByConstraint, gr as QuerySnapshot, Sr as QueryStartAtConstraint, xt as Timestamp, bs as Transaction, fs as WriteBatch, Zr as addDoc, is as aggregateFieldEqual, os as aggregateQuerySnapshotEqual, Vr as and, hs as arrayRemove, as as arrayUnion, rs as average, Sn as collection, qn as collectionGroup, Pn as connectFirestoreEmulator, ss as count, Xr as deleteDoc, us as deleteField, On as doc, Un as documentId, Mr as endAt, Cr as endBefore, es as getAggregate, ts as getCount, Kr as getDoc, Yr as getDocs, Rn as getFirestore, ls as increment, An as initializeFirestore, Fr as limit, xr as limitToLast, Pr as or, Nr as orderBy, Ir as query, Cn as queryEqual, kn as refEqual, Es as runTransaction, cs as serverTimestamp, Hr as setDoc, p as setLogLevel, _r as snapshotEqual, Or as startAfter, qr as startAt, ns as sum, Vn as terminate, Jr as updateDoc, Ar as where, ws as writeBatch };
7179
7179
  //# sourceMappingURL=index.browser.esm2017.js.map