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

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.
@@ -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
  /**
package/dist/index.cjs.js CHANGED
@@ -70,7 +70,7 @@ V.MOCK_USER = new V("mock-user");
70
70
  * See the License for the specific language governing permissions and
71
71
  * limitations under the License.
72
72
  */
73
- let S = "9.21.0-canary.e0551fa13";
73
+ let S = "9.21.0-canary.e147219ee";
74
74
 
75
75
  /**
76
76
  * @license
@@ -17652,7 +17652,7 @@ class ah {
17652
17652
  this.cacheSizeBytes = t.cacheSizeBytes;
17653
17653
  }
17654
17654
  sh("experimentalForceLongPolling", t.experimentalForceLongPolling, "experimentalAutoDetectLongPolling", t.experimentalAutoDetectLongPolling),
17655
- this.experimentalForceLongPolling = !!t.experimentalForceLongPolling, this.experimentalForceLongPolling ? this.experimentalAutoDetectLongPolling = !1 : void 0 === t.experimentalAutoDetectLongPolling ? this.experimentalAutoDetectLongPolling = false :
17655
+ this.experimentalForceLongPolling = !!t.experimentalForceLongPolling, this.experimentalForceLongPolling ? this.experimentalAutoDetectLongPolling = !1 : void 0 === t.experimentalAutoDetectLongPolling ? this.experimentalAutoDetectLongPolling = true :
17656
17656
  // For backwards compatibility, coerce the value to boolean even though
17657
17657
  // the TypeScript compiler has narrowed the type to boolean already.
17658
17658
  // noinspection PointlessBooleanExpressionJS
@@ -21375,9 +21375,9 @@ function Jf(t, e) {
21375
21375
  return s = Object.assign({
21376
21376
  useFetchStreams: e
21377
21377
  }, s), r._setSettings(s), r;
21378
- }), "PUBLIC").setMultipleInstances(!0)), app.registerVersion(b, "3.11.0-canary.e0551fa13", t),
21378
+ }), "PUBLIC").setMultipleInstances(!0)), app.registerVersion(b, "3.11.0-canary.e147219ee", t),
21379
21379
  // BUILD_TARGET will be replaced by values like esm5, esm2017, cjs5, etc during the compilation
21380
- app.registerVersion(b, "3.11.0-canary.e0551fa13", "cjs2017");
21380
+ app.registerVersion(b, "3.11.0-canary.e147219ee", "cjs2017");
21381
21381
  }();
21382
21382
 
21383
21383
  exports.AbstractUserDataWriter = Wl;