@firebase/firestore 3.12.1 → 3.12.2-20230531163950
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/cache_config.d.ts +4 -0
- package/dist/firestore/src/api/database.d.ts +2 -0
- package/dist/firestore/src/api/settings.d.ts +6 -0
- package/dist/index.cjs.js +22 -15
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +12 -0
- package/dist/index.esm2017.js +22 -15
- package/dist/index.esm2017.js.map +1 -1
- package/dist/index.esm5.js +21 -14
- package/dist/index.esm5.js.map +1 -1
- package/dist/index.node.cjs.js +20 -13
- package/dist/index.node.cjs.js.map +1 -1
- package/dist/index.node.mjs +20 -13
- package/dist/index.node.mjs.map +1 -1
- package/dist/index.rn.js +22 -15
- package/dist/index.rn.js.map +1 -1
- package/dist/internal.d.ts +12 -0
- package/dist/lite/firestore/src/api/cache_config.d.ts +4 -0
- package/dist/lite/firestore/src/api/database.d.ts +2 -0
- package/dist/lite/firestore/src/api/settings.d.ts +6 -0
- package/dist/lite/index.browser.esm2017.js +2 -2
- package/dist/lite/index.browser.esm2017.js.map +1 -1
- package/dist/lite/index.browser.esm5.js +2 -2
- package/dist/lite/index.browser.esm5.js.map +1 -1
- package/dist/lite/index.cjs.js +2 -2
- package/dist/lite/index.cjs.js.map +1 -1
- package/dist/lite/index.node.cjs.js +2 -2
- package/dist/lite/index.node.mjs +2 -2
- package/dist/lite/index.node.mjs.map +1 -1
- package/dist/lite/index.rn.esm2017.js +2 -2
- package/dist/lite/index.rn.esm2017.js.map +1 -1
- package/dist/lite/packages/firestore/src/api/cache_config.d.ts +4 -0
- package/dist/lite/packages/firestore/src/api/database.d.ts +2 -0
- package/dist/lite/packages/firestore/src/api/settings.d.ts +6 -0
- package/dist/packages/firestore/dist/index.esm2017.d.ts +4 -0
- package/dist/packages/firestore/src/api/cache_config.d.ts +4 -0
- package/dist/packages/firestore/src/api/database.d.ts +2 -0
- package/dist/packages/firestore/src/api/settings.d.ts +6 -0
- package/dist/private.d.ts +12 -0
- package/package.json +2 -2
package/dist/index.esm5.js
CHANGED
|
@@ -70,7 +70,7 @@ O.MOCK_USER = new O("mock-user");
|
|
|
70
70
|
* See the License for the specific language governing permissions and
|
|
71
71
|
* limitations under the License.
|
|
72
72
|
*/
|
|
73
|
-
var F = "9.22.
|
|
73
|
+
var F = "9.22.2-20230531163950", P = new l("@firebase/firestore");
|
|
74
74
|
|
|
75
75
|
/**
|
|
76
76
|
* @license
|
|
@@ -7471,23 +7471,26 @@ function Ro(t, e) {
|
|
|
7471
7471
|
var e = mt(t);
|
|
7472
7472
|
if (void 0 !== e && !this.en(e)) return !1;
|
|
7473
7473
|
// Process all equalities first. Equalities can appear out of order.
|
|
7474
|
-
for (var n = yt(t), r =
|
|
7474
|
+
for (var n = yt(t), r = new Set, i = 0, o = 0; i < n.length && this.en(n[i]); ++i) r = r.add(n[i].fieldPath.canonicalString());
|
|
7475
7475
|
// If we already have processed all segments, all segments are used to serve
|
|
7476
7476
|
// the equality filters and we do not need to map any segments to the
|
|
7477
7477
|
// target's inequality and orderBy clauses.
|
|
7478
|
-
if (
|
|
7479
|
-
|
|
7480
|
-
|
|
7481
|
-
|
|
7482
|
-
|
|
7483
|
-
if (!
|
|
7484
|
-
|
|
7478
|
+
if (i === n.length) return !0;
|
|
7479
|
+
if (void 0 !== this.Ze) {
|
|
7480
|
+
// If there is an inequality filter and the field was not in one of the
|
|
7481
|
+
// equality filters above, the next segment must match both the filter
|
|
7482
|
+
// and the first orderBy clause.
|
|
7483
|
+
if (!r.has(this.Ze.field.canonicalString())) {
|
|
7484
|
+
var u = n[i];
|
|
7485
|
+
if (!this.nn(this.Ze, u) || !this.sn(this.Ye[o++], u)) return !1;
|
|
7486
|
+
}
|
|
7487
|
+
++i;
|
|
7485
7488
|
}
|
|
7486
7489
|
// All remaining segments need to represent the prefix of the target's
|
|
7487
7490
|
// orderBy.
|
|
7488
|
-
for (;
|
|
7489
|
-
var
|
|
7490
|
-
if (
|
|
7491
|
+
for (;i < n.length; ++i) {
|
|
7492
|
+
var a = n[i];
|
|
7493
|
+
if (o >= this.Ye.length || !this.sn(this.Ye[o++], a)) return !1;
|
|
7491
7494
|
}
|
|
7492
7495
|
return !0;
|
|
7493
7496
|
}, t.prototype.en = function(t) {
|
|
@@ -18753,6 +18756,8 @@ function vl(t) {
|
|
|
18753
18756
|
* * unimplemented: The browser is incompatible with the offline
|
|
18754
18757
|
* persistence implementation.
|
|
18755
18758
|
*
|
|
18759
|
+
* Persistence cannot be used in a Node.js environment.
|
|
18760
|
+
*
|
|
18756
18761
|
* @param firestore - The {@link Firestore} instance to enable persistence for.
|
|
18757
18762
|
* @param persistenceSettings - Optional settings object to configure
|
|
18758
18763
|
* persistence.
|
|
@@ -21586,6 +21591,8 @@ function yf() {
|
|
|
21586
21591
|
/**
|
|
21587
21592
|
* Creates an instance of `PersistentLocalCache`. The instance can be set to
|
|
21588
21593
|
* `FirestoreSettings.cache` to tell the SDK which cache layer to use.
|
|
21594
|
+
*
|
|
21595
|
+
* Persistent cache cannot be used in a Node.js environment.
|
|
21589
21596
|
*/ function bf(t) {
|
|
21590
21597
|
return new pf(t);
|
|
21591
21598
|
}
|
|
@@ -22145,9 +22152,9 @@ function Lf(t, e) {
|
|
|
22145
22152
|
return r = Object.assign({
|
|
22146
22153
|
useFetchStreams: xf
|
|
22147
22154
|
}, r), o._setSettings(r), o;
|
|
22148
|
-
}), "PUBLIC").setMultipleInstances(!0)), u(k, "3.12.
|
|
22155
|
+
}), "PUBLIC").setMultipleInstances(!0)), u(k, "3.12.2-20230531163950", void 0),
|
|
22149
22156
|
// BUILD_TARGET will be replaced by values like esm5, esm2017, cjs5, etc during the compilation
|
|
22150
|
-
u(k, "3.12.
|
|
22157
|
+
u(k, "3.12.2-20230531163950", "esm5");
|
|
22151
22158
|
|
|
22152
22159
|
export { Rh as AbstractUserDataWriter, Cl as AggregateField, xl as AggregateQuerySnapshot, Nl as Bytes, ll as CACHE_SIZE_UNLIMITED, el as CollectionReference, $c as DocumentReference, jh as DocumentSnapshot, Al as FieldPath, Ol as FieldValue, hl as Firestore, Q as FirestoreError, Fl as GeoPoint, cl as LoadBundleTask, tl as Query, vh as QueryCompositeFilterConstraint, hh as QueryConstraint, Kh as QueryDocumentSnapshot, Dh as QueryEndAtConstraint, dh as QueryFieldFilterConstraint, bh as QueryLimitConstraint, gh as QueryOrderByConstraint, Qh as QuerySnapshot, Th as QueryStartAtConstraint, Gh as SnapshotMetadata, st as Timestamp, Nf as Transaction, Df as WriteBatch, Ue as _DatabaseId, pt as _DocumentKey, nt as _EmptyAppCheckTokenProvider, Y as _EmptyAuthCredentialsProvider, dt as _FieldPath, hi as _TestingHooks, Hc as _cast, G as _debugAssert, ke as _isBase64Available, q as _logWarn, jc as _validateIsNotUsedTogether, uf as addDoc, Uh as aggregateFieldEqual, zh as aggregateQuerySnapshotEqual, yh as and, Pf as arrayRemove, Ff as arrayUnion, qh as average, wl as clearIndexedDbPersistence, nl as collection, rl as collectionGroup, Zc as connectFirestoreEmulator, Bh as count, of as deleteDoc, kf as deleteField, El as disableNetwork, il as doc, kl as documentId, ml as enableIndexedDbPersistence, yl as enableMultiTabIndexedDbPersistence, Il as enableNetwork, xh as endAt, Ch as endBefore, pl as ensureFirestoreConfigured, cf as executeWrite, ff as getAggregateFromServer, hf as getCountFromServer, Yh as getDoc, Jh as getDocFromCache, Zh as getDocFromServer, $h as getDocs, tf as getDocsFromCache, ef as getDocsFromServer, dl as getFirestore, Rf as increment, fl as initializeFirestore, Ih as limit, Eh as limitToLast, Sl as loadBundle, yf as memoryEagerGarbageCollector, wf as memoryLocalCache, gf as memoryLruGarbageCollector, _l as namedQuery, af as onSnapshot, sf as onSnapshotsInSync, mh as or, wh as orderBy, bf as persistentLocalCache, Sf as persistentMultipleTabManager, Tf as persistentSingleTabManager, fh as query, ul as queryEqual, ol as refEqual, Af as runTransaction, Of as serverTimestamp, nf as setDoc, Mf as setIndexConfiguration, V as setLogLevel, Hh as snapshotEqual, _h as startAfter, Sh as startAt, Lh as sum, Tl as terminate, rf as updateDoc, bl as waitForPendingWrites, ph as where, Vf as writeBatch };
|
|
22153
22160
|
//# sourceMappingURL=index.esm5.js.map
|