@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.
- package/dist/firestore/src/api/settings.d.ts +5 -2
- package/dist/index.cjs.js +4 -4
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +5 -2
- package/dist/index.esm2017.js +4 -4
- package/dist/index.esm2017.js.map +1 -1
- package/dist/index.esm5.js +4 -4
- package/dist/index.esm5.js.map +1 -1
- package/dist/index.node.cjs.js +3 -3
- package/dist/index.node.cjs.js.map +1 -1
- package/dist/index.node.mjs +3 -3
- package/dist/index.node.mjs.map +1 -1
- package/dist/index.rn.js +4 -4
- package/dist/index.rn.js.map +1 -1
- package/dist/internal.d.ts +5 -2
- package/dist/lite/firestore/src/api/settings.d.ts +5 -2
- package/dist/lite/index.browser.esm2017.js +3 -3
- package/dist/lite/index.browser.esm2017.js.map +1 -1
- package/dist/lite/index.browser.esm5.js +41 -41
- package/dist/lite/index.browser.esm5.js.map +1 -1
- package/dist/lite/index.cjs.js +3 -3
- package/dist/lite/index.cjs.js.map +1 -1
- package/dist/lite/index.node.cjs.js +3 -3
- package/dist/lite/index.node.cjs.js.map +1 -1
- package/dist/lite/index.node.mjs +3 -3
- package/dist/lite/index.node.mjs.map +1 -1
- package/dist/lite/index.rn.esm2017.js +3 -3
- package/dist/lite/index.rn.esm2017.js.map +1 -1
- package/dist/lite/packages/firestore/src/api/settings.d.ts +5 -2
- package/dist/packages/firestore/src/api/settings.d.ts +5 -2
- package/dist/private.d.ts +5 -2
- package/package.json +9 -9
package/dist/index.d.ts
CHANGED
|
@@ -921,8 +921,11 @@ export declare interface FirestoreSettings {
|
|
|
921
921
|
* detect if long-polling should be used. This is very similar to
|
|
922
922
|
* `experimentalForceLongPolling`, but only uses long-polling if required.
|
|
923
923
|
*
|
|
924
|
-
*
|
|
925
|
-
*
|
|
924
|
+
* After having had a default value of `false` since its inception in 2019,
|
|
925
|
+
* the default value of this setting was changed in mid-2023 to `true`. That
|
|
926
|
+
* is, auto-detection of long polling is now enabled by default. To disable
|
|
927
|
+
* it, set this setting to `false`, and please open a GitHub issue to share
|
|
928
|
+
* the problems that motivated you disabling long-polling auto-detection.
|
|
926
929
|
*/
|
|
927
930
|
experimentalAutoDetectLongPolling?: boolean;
|
|
928
931
|
/**
|
package/dist/index.esm2017.js
CHANGED
|
@@ -66,7 +66,7 @@ V.MOCK_USER = new V("mock-user");
|
|
|
66
66
|
* See the License for the specific language governing permissions and
|
|
67
67
|
* limitations under the License.
|
|
68
68
|
*/
|
|
69
|
-
let S = "9.21.0-canary.
|
|
69
|
+
let S = "9.21.0-canary.e45fea9b8";
|
|
70
70
|
|
|
71
71
|
/**
|
|
72
72
|
* @license
|
|
@@ -17648,7 +17648,7 @@ class ah {
|
|
|
17648
17648
|
this.cacheSizeBytes = t.cacheSizeBytes;
|
|
17649
17649
|
}
|
|
17650
17650
|
sh("experimentalForceLongPolling", t.experimentalForceLongPolling, "experimentalAutoDetectLongPolling", t.experimentalAutoDetectLongPolling),
|
|
17651
|
-
this.experimentalForceLongPolling = !!t.experimentalForceLongPolling, this.experimentalForceLongPolling ? this.experimentalAutoDetectLongPolling = !1 : void 0 === t.experimentalAutoDetectLongPolling ? this.experimentalAutoDetectLongPolling =
|
|
17651
|
+
this.experimentalForceLongPolling = !!t.experimentalForceLongPolling, this.experimentalForceLongPolling ? this.experimentalAutoDetectLongPolling = !1 : void 0 === t.experimentalAutoDetectLongPolling ? this.experimentalAutoDetectLongPolling = true :
|
|
17652
17652
|
// For backwards compatibility, coerce the value to boolean even though
|
|
17653
17653
|
// the TypeScript compiler has narrowed the type to boolean already.
|
|
17654
17654
|
// noinspection PointlessBooleanExpressionJS
|
|
@@ -21371,9 +21371,9 @@ function Jf(t, e) {
|
|
|
21371
21371
|
return s = Object.assign({
|
|
21372
21372
|
useFetchStreams: e
|
|
21373
21373
|
}, s), r._setSettings(s), r;
|
|
21374
|
-
}), "PUBLIC").setMultipleInstances(!0)), registerVersion(b, "3.11.0-canary.
|
|
21374
|
+
}), "PUBLIC").setMultipleInstances(!0)), registerVersion(b, "3.11.0-canary.e45fea9b8", t),
|
|
21375
21375
|
// BUILD_TARGET will be replaced by values like esm5, esm2017, cjs5, etc during the compilation
|
|
21376
|
-
registerVersion(b, "3.11.0-canary.
|
|
21376
|
+
registerVersion(b, "3.11.0-canary.e45fea9b8", "esm2017");
|
|
21377
21377
|
}();
|
|
21378
21378
|
|
|
21379
21379
|
export { Wl as AbstractUserDataWriter, Lh as AggregateField, qh as AggregateQuerySnapshot, Uh as Bytes, Ah as CACHE_SIZE_UNLIMITED, wh as CollectionReference, fh as DocumentReference, sf as DocumentSnapshot, Kh as FieldPath, Qh as FieldValue, vh as Firestore, U as FirestoreError, jh as GeoPoint, Eh as LoadBundleTask, dh as Query, Vl as QueryCompositeFilterConstraint, vl as QueryConstraint, rf as QueryDocumentSnapshot, Bl as QueryEndAtConstraint, Pl as QueryFieldFilterConstraint, Nl as QueryLimitConstraint, Cl as QueryOrderByConstraint, of as QuerySnapshot, $l as QueryStartAtConstraint, nf as SnapshotMetadata, it as Timestamp, qf as Transaction, Bf as WriteBatch, Oe as _DatabaseId, ht as _DocumentKey, X as _EmptyAppCheckTokenProvider, Q as _EmptyAuthCredentialsProvider, at as _FieldPath, ci as _TestingHooks, uh as _cast, B as _debugAssert, be as _isBase64Available, M as _logWarn, sh as _validateIsNotUsedTogether, pf as addDoc, tf as aggregateFieldEqual, ef as aggregateQuerySnapshotEqual, Dl as and, jf as arrayRemove, Qf as arrayUnion, Xl as average, xh as clearIndexedDbPersistence, _h as collection, mh as collectionGroup, lh as connectFirestoreEmulator, Zl as count, yf as deleteDoc, Kf as deleteField, Mh as disableNetwork, gh as doc, Gh as documentId, Sh as enableIndexedDbPersistence, Dh as enableMultiTabIndexedDbPersistence, kh as enableNetwork, ql as endAt, Ll as endBefore, bh as ensureFirestoreConfigured, Ef as executeWrite, Rf as getAggregateFromServer, vf as getCountFromServer, af as getDoc, lf as getDocFromCache, ff as getDocFromServer, df as getDocs, wf as getDocsFromCache, _f as getDocsFromServer, Ph as getFirestore, zf as increment, Rh as initializeFirestore, kl as limit, Ml as limitToLast, Oh as loadBundle, Df as memoryEagerGarbageCollector, xf as memoryLocalCache, Cf as memoryLruGarbageCollector, Fh as namedQuery, If as onSnapshot, Tf as onSnapshotsInSync, Sl as or, xl as orderBy, Nf as persistentLocalCache, Of as persistentMultipleTabManager, $f as persistentSingleTabManager, Rl as query, ph as queryEqual, yh as refEqual, Uf as runTransaction, Gf as serverTimestamp, mf as setDoc, Hf as setIndexConfiguration, x as setLogLevel, cf as snapshotEqual, Fl as startAfter, Ol as startAt, Yl as sum, $h as terminate, gf as updateDoc, Nh as waitForPendingWrites, bl as where, Wf as writeBatch };
|