@firebase/firestore 3.12.1-canary.e642fc7cd → 3.12.1-canary.fe7da7ec3
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 +21 -18
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm2017.js +21 -18
- package/dist/index.esm2017.js.map +1 -1
- package/dist/index.esm5.js +27 -24
- package/dist/index.esm5.js.map +1 -1
- package/dist/index.node.cjs.js +21 -17
- package/dist/index.node.cjs.js.map +1 -1
- package/dist/index.node.mjs +21 -17
- package/dist/index.node.mjs.map +1 -1
- package/dist/index.rn.js +21 -18
- package/dist/index.rn.js.map +1 -1
- package/dist/lite/index.browser.esm2017.js +5 -5
- package/dist/lite/index.browser.esm2017.js.map +1 -1
- package/dist/lite/index.browser.esm5.js +144 -144
- package/dist/lite/index.browser.esm5.js.map +1 -1
- package/dist/lite/index.cjs.js +5 -5
- package/dist/lite/index.cjs.js.map +1 -1
- package/dist/lite/index.node.cjs.js +7 -6
- package/dist/lite/index.node.cjs.js.map +1 -1
- package/dist/lite/index.node.mjs +7 -6
- package/dist/lite/index.node.mjs.map +1 -1
- package/dist/lite/index.rn.esm2017.js +5 -5
- package/dist/lite/index.rn.esm2017.js.map +1 -1
- package/package.json +9 -9
package/dist/index.rn.js
CHANGED
|
@@ -70,7 +70,7 @@ D.MOCK_USER = new D("mock-user");
|
|
|
70
70
|
* See the License for the specific language governing permissions and
|
|
71
71
|
* limitations under the License.
|
|
72
72
|
*/
|
|
73
|
-
let C = "9.22.1-canary.
|
|
73
|
+
let C = "9.22.1-canary.fe7da7ec3";
|
|
74
74
|
|
|
75
75
|
/**
|
|
76
76
|
* @license
|
|
@@ -7977,25 +7977,28 @@ function Br(t, e) {
|
|
|
7977
7977
|
const e = wt(t);
|
|
7978
7978
|
if (void 0 !== e && !this.en(e)) return !1;
|
|
7979
7979
|
const n = _t(t);
|
|
7980
|
-
let s =
|
|
7980
|
+
let s = new Set, i = 0, r = 0;
|
|
7981
7981
|
// Process all equalities first. Equalities can appear out of order.
|
|
7982
|
-
for (;
|
|
7982
|
+
for (;i < n.length && this.en(n[i]); ++i) s = s.add(n[i].fieldPath.canonicalString());
|
|
7983
7983
|
// If we already have processed all segments, all segments are used to serve
|
|
7984
7984
|
// the equality filters and we do not need to map any segments to the
|
|
7985
7985
|
// target's inequality and orderBy clauses.
|
|
7986
|
-
if (
|
|
7987
|
-
|
|
7988
|
-
|
|
7989
|
-
|
|
7990
|
-
|
|
7991
|
-
if (!
|
|
7992
|
-
|
|
7986
|
+
if (i === n.length) return !0;
|
|
7987
|
+
if (void 0 !== this.Ze) {
|
|
7988
|
+
// If there is an inequality filter and the field was not in one of the
|
|
7989
|
+
// equality filters above, the next segment must match both the filter
|
|
7990
|
+
// and the first orderBy clause.
|
|
7991
|
+
if (!s.has(this.Ze.field.canonicalString())) {
|
|
7992
|
+
const t = n[i];
|
|
7993
|
+
if (!this.nn(this.Ze, t) || !this.sn(this.Ye[r++], t)) return !1;
|
|
7994
|
+
}
|
|
7995
|
+
++i;
|
|
7993
7996
|
}
|
|
7994
7997
|
// All remaining segments need to represent the prefix of the target's
|
|
7995
7998
|
// orderBy.
|
|
7996
|
-
for (;
|
|
7997
|
-
const t = n[
|
|
7998
|
-
if (
|
|
7999
|
+
for (;i < n.length; ++i) {
|
|
8000
|
+
const t = n[i];
|
|
8001
|
+
if (r >= this.Ye.length || !this.sn(this.Ye[r++], t)) return !1;
|
|
7999
8002
|
}
|
|
8000
8003
|
return !0;
|
|
8001
8004
|
}
|
|
@@ -17790,10 +17793,10 @@ class dh {
|
|
|
17790
17793
|
* Security Rules.
|
|
17791
17794
|
*/ function wh(t, e, n, s = {}) {
|
|
17792
17795
|
var i;
|
|
17793
|
-
const r = (t = hh(t, dh))._getSettings()
|
|
17794
|
-
if ("firestore.googleapis.com" !== r.host && r.host !==
|
|
17796
|
+
const r = (t = hh(t, dh))._getSettings(), o = `${e}:${n}`;
|
|
17797
|
+
if ("firestore.googleapis.com" !== r.host && r.host !== o && O("Host has been set in both settings() and connectFirestoreEmulator(), emulator host will be used."),
|
|
17795
17798
|
t._setSettings(Object.assign(Object.assign({}, r), {
|
|
17796
|
-
host:
|
|
17799
|
+
host: o,
|
|
17797
17800
|
ssl: !1
|
|
17798
17801
|
})), s.mockUserToken) {
|
|
17799
17802
|
let e, n;
|
|
@@ -21398,9 +21401,9 @@ function Zf(t, e) {
|
|
|
21398
21401
|
return s = Object.assign({
|
|
21399
21402
|
useFetchStreams: e
|
|
21400
21403
|
}, s), r._setSettings(s), r;
|
|
21401
|
-
}), "PUBLIC").setMultipleInstances(!0)), s(S, "3.12.1-canary.
|
|
21404
|
+
}), "PUBLIC").setMultipleInstances(!0)), s(S, "3.12.1-canary.fe7da7ec3", t),
|
|
21402
21405
|
// BUILD_TARGET will be replaced by values like esm5, esm2017, cjs5, etc during the compilation
|
|
21403
|
-
s(S, "3.12.1-canary.
|
|
21406
|
+
s(S, "3.12.1-canary.fe7da7ec3", "esm2017");
|
|
21404
21407
|
}("rn", /* useFetchStreams= */ !1);
|
|
21405
21408
|
|
|
21406
21409
|
export { Yl as AbstractUserDataWriter, Kh as AggregateField, Gh as AggregateQuerySnapshot, Qh as Bytes, Ph as CACHE_SIZE_UNLIMITED, gh as CollectionReference, _h as DocumentReference, uf as DocumentSnapshot, jh as FieldPath, Wh as FieldValue, bh as Firestore, G as FirestoreError, Hh as GeoPoint, Rh as LoadBundleTask, mh as Query, Cl as QueryCompositeFilterConstraint, bl as QueryConstraint, cf as QueryDocumentSnapshot, Ul as QueryEndAtConstraint, Sl as QueryFieldFilterConstraint, Ml as QueryLimitConstraint, kl as QueryOrderByConstraint, af as QuerySnapshot, Bl as QueryStartAtConstraint, of as SnapshotMetadata, ot as Timestamp, Gf as Transaction, Uf as WriteBatch, Le as _DatabaseId, ft as _DocumentKey, tt as _EmptyAppCheckTokenProvider, z as _EmptyAuthCredentialsProvider, lt as _FieldPath, li as _TestingHooks, hh as _cast, q as _debugAssert, De as _isBase64Available, O as _logWarn, oh as _validateIsNotUsedTogether, Ef as addDoc, sf as aggregateFieldEqual, rf as aggregateQuerySnapshotEqual, Nl as and, Hf as arrayRemove, Wf as arrayUnion, ef as average, $h as clearIndexedDbPersistence, yh as collection, ph as collectionGroup, wh as connectFirestoreEmulator, nf as count, Tf as deleteDoc, jf as deleteField, Fh as disableNetwork, Ih as doc, zh as documentId, xh as enableIndexedDbPersistence, Nh as enableMultiTabIndexedDbPersistence, Oh as enableNetwork, Gl as endAt, Kl as endBefore, Dh as ensureFirestoreConfigured, Rf as executeWrite, Vf as getAggregateFromServer, bf as getCountFromServer, ff as getDoc, wf as getDocFromCache, _f as getDocFromServer, mf as getDocs, gf as getDocsFromCache, yf as getDocsFromServer, Sh as getFirestore, Jf as increment, Vh as initializeFirestore, Ol as limit, Fl as limitToLast, Lh as loadBundle, Nf as memoryEagerGarbageCollector, $f as memoryLocalCache, kf as memoryLruGarbageCollector, qh as namedQuery, Af as onSnapshot, vf as onSnapshotsInSync, xl as or, $l as orderBy, Mf as persistentLocalCache, Lf as persistentMultipleTabManager, Bf as persistentSingleTabManager, Vl as query, Eh as queryEqual, Th as refEqual, Qf as runTransaction, zf as serverTimestamp, pf as setDoc, Xf as setIndexConfiguration, k as setLogLevel, lf as snapshotEqual, ql as startAfter, Ll as startAt, tf as sum, Bh as terminate, If as updateDoc, Mh as waitForPendingWrites, Dl as where, Yf as writeBatch };
|