@firebase/firestore 4.7.4-canary.1f1ba3fee → 4.7.4-canary.4db3d3e7b
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 +159 -159
- package/dist/index.esm2017.js +159 -159
- package/dist/index.node.cjs.js +2 -2
- package/dist/index.node.mjs +2 -2
- package/dist/index.rn.js +89 -89
- package/dist/lite/index.browser.esm2017.js +2 -2
- package/dist/lite/index.cjs.js +2 -2
- package/dist/lite/index.node.cjs.js +2 -2
- package/dist/lite/index.node.mjs +2 -2
- package/dist/lite/index.rn.esm2017.js +2 -2
- package/package.json +9 -9
package/dist/index.node.cjs.js
CHANGED
|
@@ -34,7 +34,7 @@ var grpc__namespace = /*#__PURE__*/_interopNamespace(grpc);
|
|
|
34
34
|
var protoLoader__namespace = /*#__PURE__*/_interopNamespace(protoLoader);
|
|
35
35
|
|
|
36
36
|
const name = "@firebase/firestore";
|
|
37
|
-
const version$1 = "4.7.4-canary.
|
|
37
|
+
const version$1 = "4.7.4-canary.4db3d3e7b";
|
|
38
38
|
|
|
39
39
|
/**
|
|
40
40
|
* @license
|
|
@@ -87,7 +87,7 @@ User.GOOGLE_CREDENTIALS = new User('google-credentials-uid');
|
|
|
87
87
|
User.FIRST_PARTY = new User('first-party-uid');
|
|
88
88
|
User.MOCK_USER = new User('mock-user');
|
|
89
89
|
|
|
90
|
-
const version = "11.0.1-canary.
|
|
90
|
+
const version = "11.0.1-canary.4db3d3e7b";
|
|
91
91
|
|
|
92
92
|
/**
|
|
93
93
|
* @license
|
package/dist/index.node.mjs
CHANGED
|
@@ -9,7 +9,7 @@ import * as grpc from '@grpc/grpc-js';
|
|
|
9
9
|
import * as protoLoader from '@grpc/proto-loader';
|
|
10
10
|
|
|
11
11
|
const name = "@firebase/firestore";
|
|
12
|
-
const version$1 = "4.7.4-canary.
|
|
12
|
+
const version$1 = "4.7.4-canary.4db3d3e7b";
|
|
13
13
|
|
|
14
14
|
/**
|
|
15
15
|
* @license
|
|
@@ -62,7 +62,7 @@ User.GOOGLE_CREDENTIALS = new User('google-credentials-uid');
|
|
|
62
62
|
User.FIRST_PARTY = new User('first-party-uid');
|
|
63
63
|
User.MOCK_USER = new User('mock-user');
|
|
64
64
|
|
|
65
|
-
const version = "11.0.1-canary.
|
|
65
|
+
const version = "11.0.1-canary.4db3d3e7b";
|
|
66
66
|
|
|
67
67
|
/**
|
|
68
68
|
* @license
|
package/dist/index.rn.js
CHANGED
|
@@ -4,7 +4,7 @@ import { Component as s } from "@firebase/component";
|
|
|
4
4
|
|
|
5
5
|
import { Logger as o, LogLevel as _ } from "@firebase/logger";
|
|
6
6
|
|
|
7
|
-
import { FirebaseError as a, getUA as u, isIndexedDBAvailable as c, base64 as l, DecodeBase64StringError as h, isSafari as P, createMockUserToken as I, getModularInstance as T, deepEqual as
|
|
7
|
+
import { FirebaseError as a, getUA as u, isIndexedDBAvailable as c, base64 as l, DecodeBase64StringError as h, isSafari as P, createMockUserToken as I, getModularInstance as T, deepEqual as d, getDefaultEmulatorHostnameAndPort as E } from "@firebase/util";
|
|
8
8
|
|
|
9
9
|
import { Integer as A, Md5 as R } from "@firebase/webchannel-wrapper/bloom-blob";
|
|
10
10
|
|
|
@@ -72,7 +72,7 @@ User.MOCK_USER = new User("mock-user");
|
|
|
72
72
|
* See the License for the specific language governing permissions and
|
|
73
73
|
* limitations under the License.
|
|
74
74
|
*/
|
|
75
|
-
let D = "11.0.1-canary.
|
|
75
|
+
let D = "11.0.1-canary.4db3d3e7b";
|
|
76
76
|
|
|
77
77
|
/**
|
|
78
78
|
* @license
|
|
@@ -5874,7 +5874,7 @@ function __PRIVATE_newTextEncoder() {
|
|
|
5874
5874
|
* See the License for the specific language governing permissions and
|
|
5875
5875
|
* limitations under the License.
|
|
5876
5876
|
*/
|
|
5877
|
-
const
|
|
5877
|
+
const de = new A([ 4294967295, 4294967295 ], 0);
|
|
5878
5878
|
|
|
5879
5879
|
// Hash a string using md5 hashing algorithm.
|
|
5880
5880
|
function __PRIVATE_getMd5HashValue(e) {
|
|
@@ -5905,15 +5905,15 @@ class BloomFilter {
|
|
|
5905
5905
|
}
|
|
5906
5906
|
// Calculate the ith hash value based on the hashed 64bit integers,
|
|
5907
5907
|
// and calculate its corresponding bit index in the bitmap to be checked.
|
|
5908
|
-
|
|
5908
|
+
de(e, t, n) {
|
|
5909
5909
|
// Calculate hashed value h(i) = h1 + (i * h2).
|
|
5910
5910
|
let r = e.add(t.multiply(A.fromNumber(n)));
|
|
5911
5911
|
// Wrap if hash value overflow 64bit.
|
|
5912
|
-
return 1 === r.compare(
|
|
5912
|
+
return 1 === r.compare(de) && (r = new A([ r.getBits(0), r.getBits(1) ], 0)),
|
|
5913
5913
|
r.modulo(this.Te).toNumber();
|
|
5914
5914
|
}
|
|
5915
5915
|
// Return whether the bit on the given index in the bitmap is set to 1.
|
|
5916
|
-
|
|
5916
|
+
Ee(e) {
|
|
5917
5917
|
return 0 != (this.bitmap[Math.floor(e / 8)] & 1 << e % 8);
|
|
5918
5918
|
}
|
|
5919
5919
|
mightContain(e) {
|
|
@@ -5921,8 +5921,8 @@ class BloomFilter {
|
|
|
5921
5921
|
if (0 === this.Ie) return !1;
|
|
5922
5922
|
const t = __PRIVATE_getMd5HashValue(e), [n, r] = __PRIVATE_get64BitUints(t);
|
|
5923
5923
|
for (let e = 0; e < this.hashCount; e++) {
|
|
5924
|
-
const t = this.
|
|
5925
|
-
if (!this.
|
|
5924
|
+
const t = this.de(n, r, e);
|
|
5925
|
+
if (!this.Ee(t)) return !1;
|
|
5926
5926
|
}
|
|
5927
5927
|
return !0;
|
|
5928
5928
|
}
|
|
@@ -5934,7 +5934,7 @@ class BloomFilter {
|
|
|
5934
5934
|
if (0 === this.Ie) return;
|
|
5935
5935
|
const t = __PRIVATE_getMd5HashValue(e), [n, r] = __PRIVATE_get64BitUints(t);
|
|
5936
5936
|
for (let e = 0; e < this.hashCount; e++) {
|
|
5937
|
-
const t = this.
|
|
5937
|
+
const t = this.de(n, r, e);
|
|
5938
5938
|
this.Ae(t);
|
|
5939
5939
|
}
|
|
5940
5940
|
}
|
|
@@ -6543,7 +6543,7 @@ function __PRIVATE_snapshotChangesMap() {
|
|
|
6543
6543
|
return new SortedMap(DocumentKey.comparator);
|
|
6544
6544
|
}
|
|
6545
6545
|
|
|
6546
|
-
const
|
|
6546
|
+
const Ee = (() => {
|
|
6547
6547
|
const e = {
|
|
6548
6548
|
asc: "ASCENDING",
|
|
6549
6549
|
desc: "DESCENDING"
|
|
@@ -7135,7 +7135,7 @@ function __PRIVATE_fromFilter(e) {
|
|
|
7135
7135
|
}
|
|
7136
7136
|
|
|
7137
7137
|
function __PRIVATE_toDirection(e) {
|
|
7138
|
-
return
|
|
7138
|
+
return Ee[e];
|
|
7139
7139
|
}
|
|
7140
7140
|
|
|
7141
7141
|
function __PRIVATE_toOperatorName(e) {
|
|
@@ -7724,59 +7724,59 @@ class __PRIVATE_FirestoreIndexValueWriter {
|
|
|
7724
7724
|
this.Tt(e, t),
|
|
7725
7725
|
// Write separator to split index values
|
|
7726
7726
|
// (see go/firestore-storage-format#encodings).
|
|
7727
|
-
t.
|
|
7727
|
+
t.dt();
|
|
7728
7728
|
}
|
|
7729
7729
|
Tt(e, t) {
|
|
7730
|
-
if ("nullValue" in e) this.
|
|
7731
|
-
t.At(e.booleanValue ? 1 : 0); else if ("integerValue" in e) this.
|
|
7730
|
+
if ("nullValue" in e) this.Et(t, 5); else if ("booleanValue" in e) this.Et(t, 10),
|
|
7731
|
+
t.At(e.booleanValue ? 1 : 0); else if ("integerValue" in e) this.Et(t, 15), t.At(__PRIVATE_normalizeNumber(e.integerValue)); else if ("doubleValue" in e) {
|
|
7732
7732
|
const n = __PRIVATE_normalizeNumber(e.doubleValue);
|
|
7733
|
-
isNaN(n) ? this.
|
|
7733
|
+
isNaN(n) ? this.Et(t, 13) : (this.Et(t, 15), __PRIVATE_isNegativeZero(n) ?
|
|
7734
7734
|
// -0.0, 0 and 0.0 are all considered the same
|
|
7735
7735
|
t.At(0) : t.At(n));
|
|
7736
7736
|
} else if ("timestampValue" in e) {
|
|
7737
7737
|
let n = e.timestampValue;
|
|
7738
|
-
this.
|
|
7738
|
+
this.Et(t, 20), "string" == typeof n && (n = __PRIVATE_normalizeTimestamp(n)), t.Rt(`${n.seconds || ""}`),
|
|
7739
7739
|
t.At(n.nanos || 0);
|
|
7740
|
-
} else if ("stringValue" in e) this.Vt(e.stringValue, t), this.ft(t); else if ("bytesValue" in e) this.
|
|
7740
|
+
} else if ("stringValue" in e) this.Vt(e.stringValue, t), this.ft(t); else if ("bytesValue" in e) this.Et(t, 30),
|
|
7741
7741
|
t.gt(__PRIVATE_normalizeByteString(e.bytesValue)), this.ft(t); else if ("referenceValue" in e) this.yt(e.referenceValue, t); else if ("geoPointValue" in e) {
|
|
7742
7742
|
const n = e.geoPointValue;
|
|
7743
|
-
this.
|
|
7744
|
-
} else "mapValue" in e ? __PRIVATE_isMaxValue(e) ? this.
|
|
7743
|
+
this.Et(t, 45), t.At(n.latitude || 0), t.At(n.longitude || 0);
|
|
7744
|
+
} else "mapValue" in e ? __PRIVATE_isMaxValue(e) ? this.Et(t, Number.MAX_SAFE_INTEGER) : __PRIVATE_isVectorValue(e) ? this.wt(e.mapValue, t) : (this.St(e.mapValue, t),
|
|
7745
7745
|
this.ft(t)) : "arrayValue" in e ? (this.bt(e.arrayValue, t), this.ft(t)) : fail();
|
|
7746
7746
|
}
|
|
7747
7747
|
Vt(e, t) {
|
|
7748
|
-
this.
|
|
7748
|
+
this.Et(t, 25), this.Dt(e, t);
|
|
7749
7749
|
}
|
|
7750
7750
|
Dt(e, t) {
|
|
7751
7751
|
t.Rt(e);
|
|
7752
7752
|
}
|
|
7753
7753
|
St(e, t) {
|
|
7754
7754
|
const n = e.fields || {};
|
|
7755
|
-
this.
|
|
7755
|
+
this.Et(t, 55);
|
|
7756
7756
|
for (const e of Object.keys(n)) this.Vt(e, t), this.Tt(n[e], t);
|
|
7757
7757
|
}
|
|
7758
7758
|
wt(e, t) {
|
|
7759
7759
|
var n, r;
|
|
7760
7760
|
const i = e.fields || {};
|
|
7761
|
-
this.
|
|
7761
|
+
this.Et(t, 53);
|
|
7762
7762
|
// Vectors sort first by length
|
|
7763
7763
|
const s = "value", o = (null === (r = null === (n = i[s].arrayValue) || void 0 === n ? void 0 : n.values) || void 0 === r ? void 0 : r.length) || 0;
|
|
7764
|
-
this.
|
|
7764
|
+
this.Et(t, 15), t.At(__PRIVATE_normalizeNumber(o)),
|
|
7765
7765
|
// Vectors then sort by position value
|
|
7766
7766
|
this.Vt(s, t), this.Tt(i[s], t);
|
|
7767
7767
|
}
|
|
7768
7768
|
bt(e, t) {
|
|
7769
7769
|
const n = e.values || [];
|
|
7770
|
-
this.
|
|
7770
|
+
this.Et(t, 50);
|
|
7771
7771
|
for (const e of n) this.Tt(e, t);
|
|
7772
7772
|
}
|
|
7773
7773
|
yt(e, t) {
|
|
7774
|
-
this.
|
|
7774
|
+
this.Et(t, 37);
|
|
7775
7775
|
DocumentKey.fromName(e).path.forEach((e => {
|
|
7776
|
-
this.
|
|
7776
|
+
this.Et(t, 60), this.Dt(e, t);
|
|
7777
7777
|
}));
|
|
7778
7778
|
}
|
|
7779
|
-
|
|
7779
|
+
Et(e, t) {
|
|
7780
7780
|
e.At(t);
|
|
7781
7781
|
}
|
|
7782
7782
|
ft(e) {
|
|
@@ -7976,7 +7976,7 @@ class __PRIVATE_AscendingIndexByteEncoder {
|
|
|
7976
7976
|
At(e) {
|
|
7977
7977
|
this.jt.kt(e);
|
|
7978
7978
|
}
|
|
7979
|
-
|
|
7979
|
+
dt() {
|
|
7980
7980
|
this.jt.$t();
|
|
7981
7981
|
}
|
|
7982
7982
|
}
|
|
@@ -7994,7 +7994,7 @@ class __PRIVATE_DescendingIndexByteEncoder {
|
|
|
7994
7994
|
At(e) {
|
|
7995
7995
|
this.jt.Kt(e);
|
|
7996
7996
|
}
|
|
7997
|
-
|
|
7997
|
+
dt() {
|
|
7998
7998
|
this.jt.Wt();
|
|
7999
7999
|
}
|
|
8000
8000
|
}
|
|
@@ -8692,7 +8692,7 @@ class __PRIVATE_IndexedDbIndexManager {
|
|
|
8692
8692
|
n.push(t.value), r && (r = t.inclusive);
|
|
8693
8693
|
}
|
|
8694
8694
|
return new Bound(n, r);
|
|
8695
|
-
}(s, i), c = this.In(i, s, a), l = this.In(i, s, u), h = this.Tn(i, s, _), P = this.
|
|
8695
|
+
}(s, i), c = this.In(i, s, a), l = this.In(i, s, u), h = this.Tn(i, s, _), P = this.dn(i.indexId, o, c, a.inclusive, l, u.inclusive, h);
|
|
8696
8696
|
return PersistencePromise.forEach(P, (i => n.G(i, t.limit).next((t => {
|
|
8697
8697
|
t.forEach((t => {
|
|
8698
8698
|
const n = DocumentKey.fromSegments(t.documentKey);
|
|
@@ -8715,14 +8715,14 @@ class __PRIVATE_IndexedDbIndexManager {
|
|
|
8715
8715
|
/**
|
|
8716
8716
|
* Constructs a key range query on `DbIndexEntryStore` that unions all
|
|
8717
8717
|
* bounds.
|
|
8718
|
-
*/
|
|
8718
|
+
*/ dn(e, t, n, r, i, s, o) {
|
|
8719
8719
|
// The number of total index scans we union together. This is similar to a
|
|
8720
8720
|
// distributed normal form, but adapted for array values. We create a single
|
|
8721
8721
|
// index range per value in an ARRAY_CONTAINS or ARRAY_CONTAINS_ANY filter
|
|
8722
8722
|
// combined with the values from the query bounds.
|
|
8723
8723
|
const _ = (null != t ? t.length : 1) * Math.max(n.length, i.length), a = _ / (null != t ? t.length : 1), u = [];
|
|
8724
8724
|
for (let c = 0; c < _; ++c) {
|
|
8725
|
-
const _ = t ? this.
|
|
8725
|
+
const _ = t ? this.En(t[c / a]) : Ve, l = this.An(e, _, n[c % a], r), h = this.Rn(e, _, i[c % a], s), P = o.map((t => this.An(e, _, t,
|
|
8726
8726
|
/* inclusive= */ !0)));
|
|
8727
8727
|
u.push(...this.createRange(l, h, P));
|
|
8728
8728
|
}
|
|
@@ -8790,7 +8790,7 @@ class __PRIVATE_IndexedDbIndexManager {
|
|
|
8790
8790
|
}
|
|
8791
8791
|
return n.zt();
|
|
8792
8792
|
}
|
|
8793
|
-
/** Encodes a single value to the ascending index format. */
|
|
8793
|
+
/** Encodes a single value to the ascending index format. */ En(e) {
|
|
8794
8794
|
const t = new __PRIVATE_IndexByteEncoder;
|
|
8795
8795
|
return __PRIVATE_FirestoreIndexValueWriter.vt.It(e, t.Yt(0 /* IndexKind.ASCENDING */)),
|
|
8796
8796
|
t.zt();
|
|
@@ -8918,7 +8918,7 @@ class __PRIVATE_IndexedDbIndexManager {
|
|
|
8918
8918
|
const i = __PRIVATE_fieldIndexGetArraySegment(t);
|
|
8919
8919
|
if (null != i) {
|
|
8920
8920
|
const s = e.data.field(i.fieldPath);
|
|
8921
|
-
if (isArray(s)) for (const i of s.arrayValue.values || []) n = n.add(new __PRIVATE_IndexEntry(t.indexId, e.key, this.
|
|
8921
|
+
if (isArray(s)) for (const i of s.arrayValue.values || []) n = n.add(new __PRIVATE_IndexEntry(t.indexId, e.key, this.En(i), r));
|
|
8922
8922
|
} else n = n.add(new __PRIVATE_IndexEntry(t.indexId, e.key, Ve, r));
|
|
8923
8923
|
return n;
|
|
8924
8924
|
}
|
|
@@ -10864,16 +10864,16 @@ class OverlayedDocument {
|
|
|
10864
10864
|
*/ class __PRIVATE_ReferenceSet {
|
|
10865
10865
|
constructor() {
|
|
10866
10866
|
// A set of outstanding references to a document sorted by key.
|
|
10867
|
-
this.Tr = new SortedSet(__PRIVATE_DocReference.
|
|
10867
|
+
this.Tr = new SortedSet(__PRIVATE_DocReference.dr),
|
|
10868
10868
|
// A set of outstanding references to a document sorted by target id.
|
|
10869
|
-
this.
|
|
10869
|
+
this.Er = new SortedSet(__PRIVATE_DocReference.Ar);
|
|
10870
10870
|
}
|
|
10871
10871
|
/** Returns true if the reference set contains no references. */ isEmpty() {
|
|
10872
10872
|
return this.Tr.isEmpty();
|
|
10873
10873
|
}
|
|
10874
10874
|
/** Adds a reference to the given document key for the given ID. */ addReference(e, t) {
|
|
10875
10875
|
const n = new __PRIVATE_DocReference(e, t);
|
|
10876
|
-
this.Tr = this.Tr.add(n), this.
|
|
10876
|
+
this.Tr = this.Tr.add(n), this.Er = this.Er.add(n);
|
|
10877
10877
|
}
|
|
10878
10878
|
/** Add references to the given document keys for the given ID. */ Rr(e, t) {
|
|
10879
10879
|
e.forEach((e => this.addReference(e, t)));
|
|
@@ -10892,7 +10892,7 @@ class OverlayedDocument {
|
|
|
10892
10892
|
* removed.
|
|
10893
10893
|
*/ gr(e) {
|
|
10894
10894
|
const t = new DocumentKey(new ResourcePath([])), n = new __PRIVATE_DocReference(t, e), r = new __PRIVATE_DocReference(t, e + 1), i = [];
|
|
10895
|
-
return this.
|
|
10895
|
+
return this.Er.forEachInRange([ n, r ], (e => {
|
|
10896
10896
|
this.Vr(e), i.push(e.key);
|
|
10897
10897
|
})), i;
|
|
10898
10898
|
}
|
|
@@ -10900,12 +10900,12 @@ class OverlayedDocument {
|
|
|
10900
10900
|
this.Tr.forEach((e => this.Vr(e)));
|
|
10901
10901
|
}
|
|
10902
10902
|
Vr(e) {
|
|
10903
|
-
this.Tr = this.Tr.delete(e), this.
|
|
10903
|
+
this.Tr = this.Tr.delete(e), this.Er = this.Er.delete(e);
|
|
10904
10904
|
}
|
|
10905
10905
|
yr(e) {
|
|
10906
10906
|
const t = new DocumentKey(new ResourcePath([])), n = new __PRIVATE_DocReference(t, e), r = new __PRIVATE_DocReference(t, e + 1);
|
|
10907
10907
|
let i = __PRIVATE_documentKeySet();
|
|
10908
|
-
return this.
|
|
10908
|
+
return this.Er.forEachInRange([ n, r ], (e => {
|
|
10909
10909
|
i = i.add(e.key);
|
|
10910
10910
|
})), i;
|
|
10911
10911
|
}
|
|
@@ -10919,7 +10919,7 @@ class __PRIVATE_DocReference {
|
|
|
10919
10919
|
constructor(e, t) {
|
|
10920
10920
|
this.key = e, this.wr = t;
|
|
10921
10921
|
}
|
|
10922
|
-
/** Compare by key then by ID */ static
|
|
10922
|
+
/** Compare by key then by ID */ static dr(e, t) {
|
|
10923
10923
|
return DocumentKey.comparator(e.key, t.key) || __PRIVATE_primitiveComparator(e.wr, t.wr);
|
|
10924
10924
|
}
|
|
10925
10925
|
/** Compare by ID then by key */ static Ar(e, t) {
|
|
@@ -10953,7 +10953,7 @@ class __PRIVATE_DocReference {
|
|
|
10953
10953
|
/** Next value to use when assigning sequential IDs to each mutation batch. */
|
|
10954
10954
|
this.Sr = 1,
|
|
10955
10955
|
/** An ordered mapping between documents and the mutations batch IDs. */
|
|
10956
|
-
this.br = new SortedSet(__PRIVATE_DocReference.
|
|
10956
|
+
this.br = new SortedSet(__PRIVATE_DocReference.dr);
|
|
10957
10957
|
}
|
|
10958
10958
|
checkEmpty(e) {
|
|
10959
10959
|
return PersistencePromise.resolve(0 === this.mutationQueue.length);
|
|
@@ -11929,9 +11929,9 @@ class __PRIVATE_IndexedDbPersistence {
|
|
|
11929
11929
|
/** The client metadata refresh task. */
|
|
11930
11930
|
this.Ti = null,
|
|
11931
11931
|
/** The last time we garbage collected the client metadata object store. */
|
|
11932
|
-
this.
|
|
11932
|
+
this.di = Number.NEGATIVE_INFINITY,
|
|
11933
11933
|
/** A listener to notify on primary state changes. */
|
|
11934
|
-
this.
|
|
11934
|
+
this.Ei = e => Promise.resolve(), !__PRIVATE_IndexedDbPersistence.D()) throw new FirestoreError(C.UNIMPLEMENTED, "This platform is either missing IndexedDB or is known to have an incomplete implementation. Offline persistence has been disabled.");
|
|
11935
11935
|
this.referenceDelegate = new __PRIVATE_IndexedDbLruDelegateImpl(this, r), this.Ai = t + "main",
|
|
11936
11936
|
this.serializer = new __PRIVATE_LocalSerializer(_), this.Ri = new __PRIVATE_SimpleDb(this.Ai, this.hi, new __PRIVATE_SchemaConverter(this.serializer)),
|
|
11937
11937
|
this.$r = new __PRIVATE_IndexedDbGlobalsCache, this.Ur = new __PRIVATE_IndexedDbTargetCache(this.referenceDelegate, this.serializer),
|
|
@@ -11966,7 +11966,7 @@ class __PRIVATE_IndexedDbPersistence {
|
|
|
11966
11966
|
*
|
|
11967
11967
|
* PORTING NOTE: This is only used for Web multi-tab.
|
|
11968
11968
|
*/ yi(e) {
|
|
11969
|
-
return this.
|
|
11969
|
+
return this.Ei = async t => {
|
|
11970
11970
|
if (this.started) return e(t);
|
|
11971
11971
|
}, e(this.isPrimary);
|
|
11972
11972
|
}
|
|
@@ -12007,7 +12007,7 @@ class __PRIVATE_IndexedDbPersistence {
|
|
|
12007
12007
|
inForeground: this.inForeground
|
|
12008
12008
|
}).next((() => {
|
|
12009
12009
|
if (this.isPrimary) return this.wi(e).next((e => {
|
|
12010
|
-
e || (this.isPrimary = !1, this.ui.enqueueRetryable((() => this.
|
|
12010
|
+
e || (this.isPrimary = !1, this.ui.enqueueRetryable((() => this.Ei(!1))));
|
|
12011
12011
|
}));
|
|
12012
12012
|
})).next((() => this.Si(e))).next((t => this.isPrimary && !t ? this.bi(e).next((() => !1)) : !!t && this.Di(e).next((() => !0)))))).catch((e => {
|
|
12013
12013
|
if (__PRIVATE_isIndexedDbTransactionError(e))
|
|
@@ -12019,7 +12019,7 @@ class __PRIVATE_IndexedDbPersistence {
|
|
|
12019
12019
|
return __PRIVATE_logDebug("IndexedDbPersistence", "Releasing owner lease after error during lease refresh", e),
|
|
12020
12020
|
/* isPrimary= */ !1;
|
|
12021
12021
|
})).then((e => {
|
|
12022
|
-
this.isPrimary !== e && this.ui.enqueueRetryable((() => this.
|
|
12022
|
+
this.isPrimary !== e && this.ui.enqueueRetryable((() => this.Ei(e))), this.isPrimary = e;
|
|
12023
12023
|
}));
|
|
12024
12024
|
}
|
|
12025
12025
|
wi(e) {
|
|
@@ -12033,8 +12033,8 @@ class __PRIVATE_IndexedDbPersistence {
|
|
|
12033
12033
|
* RemoteDocumentChanges and the ClientMetadata store based on the last update
|
|
12034
12034
|
* time of all clients.
|
|
12035
12035
|
*/ async Fi() {
|
|
12036
|
-
if (this.isPrimary && !this.Mi(this.
|
|
12037
|
-
this.
|
|
12036
|
+
if (this.isPrimary && !this.Mi(this.di, 18e5)) {
|
|
12037
|
+
this.di = Date.now();
|
|
12038
12038
|
const e = await this.runTransaction("maybeGarbageCollectMultiClientState", "readwrite-primary", (e => {
|
|
12039
12039
|
const t = __PRIVATE_getStore(e, "clientMetadata");
|
|
12040
12040
|
return t.U().next((e => {
|
|
@@ -12174,7 +12174,7 @@ class __PRIVATE_IndexedDbPersistence {
|
|
|
12174
12174
|
return this.Ri.runTransaction(e, r, i, (r => (s = new __PRIVATE_IndexedDbTransaction(r, this.Qr ? this.Qr.next() : __PRIVATE_ListenSequence.oe),
|
|
12175
12175
|
"readwrite-primary" === t ? this.wi(s).next((e => !!e || this.Si(s))).next((t => {
|
|
12176
12176
|
if (!t) throw __PRIVATE_logError(`Failed to obtain primary lease for action '${e}'.`),
|
|
12177
|
-
this.isPrimary = !1, this.ui.enqueueRetryable((() => this.
|
|
12177
|
+
this.isPrimary = !1, this.ui.enqueueRetryable((() => this.Ei(!1))), new FirestoreError(C.FAILED_PRECONDITION, M);
|
|
12178
12178
|
return n(s);
|
|
12179
12179
|
})).next((e => this.Di(s).next((() => e)))) : this.Ki(s).next((() => n(s)))))).then((e => (s.raiseOnCommittedEvent(),
|
|
12180
12180
|
e)));
|
|
@@ -13016,9 +13016,9 @@ async function __PRIVATE_localStoreApplyBundledDocuments(e, t, n, r) {
|
|
|
13016
13016
|
const i = __PRIVATE_debugCast(e);
|
|
13017
13017
|
let s = __PRIVATE_documentKeySet(), o = __PRIVATE_mutableDocumentMap();
|
|
13018
13018
|
for (const e of n) {
|
|
13019
|
-
const n = t.
|
|
13019
|
+
const n = t.ds(e.metadata.name);
|
|
13020
13020
|
e.document && (s = s.add(n));
|
|
13021
|
-
const r = t.
|
|
13021
|
+
const r = t.Es(e);
|
|
13022
13022
|
r.setReadTime(t.As(e.metadata.readTime)), o = o.insert(n, r);
|
|
13023
13023
|
}
|
|
13024
13024
|
const _ = i.cs.newChangeBuffer({
|
|
@@ -14429,7 +14429,7 @@ class __PRIVATE_PersistentStream {
|
|
|
14429
14429
|
})), this.stream.mo((e => {
|
|
14430
14430
|
n((() => this.I_(e)));
|
|
14431
14431
|
})), this.stream.onMessage((e => {
|
|
14432
|
-
n((() => 1 == ++this.e_ ? this.
|
|
14432
|
+
n((() => 1 == ++this.e_ ? this.d_(e) : this.onNext(e)));
|
|
14433
14433
|
}));
|
|
14434
14434
|
}
|
|
14435
14435
|
i_() {
|
|
@@ -14473,7 +14473,7 @@ class __PRIVATE_PersistentStream {
|
|
|
14473
14473
|
T_(e, t) {
|
|
14474
14474
|
return this.connection.Bo("Listen", e, t);
|
|
14475
14475
|
}
|
|
14476
|
-
|
|
14476
|
+
d_(e) {
|
|
14477
14477
|
return this.onNext(e);
|
|
14478
14478
|
}
|
|
14479
14479
|
onNext(e) {
|
|
@@ -14487,7 +14487,7 @@ class __PRIVATE_PersistentStream {
|
|
|
14487
14487
|
const t = e.targetChange;
|
|
14488
14488
|
return t.targetIds && t.targetIds.length ? SnapshotVersion.min() : t.readTime ? __PRIVATE_fromVersion(t.readTime) : SnapshotVersion.min();
|
|
14489
14489
|
}(e);
|
|
14490
|
-
return this.listener.
|
|
14490
|
+
return this.listener.E_(t, n);
|
|
14491
14491
|
}
|
|
14492
14492
|
/**
|
|
14493
14493
|
* Registers interest in the results of the given target. If the target
|
|
@@ -14567,7 +14567,7 @@ class __PRIVATE_PersistentStream {
|
|
|
14567
14567
|
T_(e, t) {
|
|
14568
14568
|
return this.connection.Bo("Write", e, t);
|
|
14569
14569
|
}
|
|
14570
|
-
|
|
14570
|
+
d_(e) {
|
|
14571
14571
|
// Always capture the last stream token.
|
|
14572
14572
|
return __PRIVATE_hardAssert(!!e.streamToken), this.lastStreamToken = e.streamToken,
|
|
14573
14573
|
// The first response is always the handshake response
|
|
@@ -15162,7 +15162,7 @@ async function __PRIVATE_remoteStoreHandleCredentialChange(e, t) {
|
|
|
15162
15162
|
Eo: __PRIVATE_onWatchStreamConnected.bind(null, e),
|
|
15163
15163
|
Ro: __PRIVATE_onWatchStreamOpen.bind(null, e),
|
|
15164
15164
|
mo: __PRIVATE_onWatchStreamClose.bind(null, e),
|
|
15165
|
-
|
|
15165
|
+
E_: __PRIVATE_onWatchStreamChange.bind(null, e)
|
|
15166
15166
|
}), e.B_.push((async t => {
|
|
15167
15167
|
t ? (e.K_.s_(), __PRIVATE_shouldStartWatchStream(e) ? __PRIVATE_startWatchStream(e) : e.q_.set("Unknown" /* OnlineState.Unknown */)) : (await e.K_.stop(),
|
|
15168
15168
|
__PRIVATE_cleanUpWatchStreamState(e));
|
|
@@ -15750,13 +15750,13 @@ class __PRIVATE_QueryListener {
|
|
|
15750
15750
|
constructor(e) {
|
|
15751
15751
|
this.serializer = e;
|
|
15752
15752
|
}
|
|
15753
|
-
|
|
15753
|
+
ds(e) {
|
|
15754
15754
|
return fromName(this.serializer, e);
|
|
15755
15755
|
}
|
|
15756
15756
|
/**
|
|
15757
15757
|
* Converts a BundleDocument to a MutableDocument.
|
|
15758
|
-
*/
|
|
15759
|
-
return e.metadata.exists ? __PRIVATE_fromDocument(this.serializer, e.document, !1) : MutableDocument.newNoDocument(this.
|
|
15758
|
+
*/ Es(e) {
|
|
15759
|
+
return e.metadata.exists ? __PRIVATE_fromDocument(this.serializer, e.document, !1) : MutableDocument.newNoDocument(this.ds(e.metadata.name), this.As(e.metadata.readTime));
|
|
15760
15760
|
}
|
|
15761
15761
|
As(e) {
|
|
15762
15762
|
return __PRIVATE_fromVersion(e);
|
|
@@ -15798,7 +15798,7 @@ class __PRIVATE_QueryListener {
|
|
|
15798
15798
|
ha(e) {
|
|
15799
15799
|
const t = new Map, n = new __PRIVATE_BundleConverterImpl(this.serializer);
|
|
15800
15800
|
for (const r of e) if (r.metadata.queries) {
|
|
15801
|
-
const e = n.
|
|
15801
|
+
const e = n.ds(r.metadata.name);
|
|
15802
15802
|
for (const n of r.metadata.queries) {
|
|
15803
15803
|
const r = (t.get(n) || __PRIVATE_documentKeySet()).add(e);
|
|
15804
15804
|
t.set(n, r);
|
|
@@ -15872,7 +15872,7 @@ class __PRIVATE_RemovedLimboDocument {
|
|
|
15872
15872
|
constructor(e,
|
|
15873
15873
|
/** Documents included in the remote target */
|
|
15874
15874
|
t) {
|
|
15875
|
-
this.query = e, this.Ta = t, this.
|
|
15875
|
+
this.query = e, this.Ta = t, this.da = null, this.hasCachedResults = !1,
|
|
15876
15876
|
/**
|
|
15877
15877
|
* A flag whether the view is current with the backend. A view is considered
|
|
15878
15878
|
* current after it has seen the current flag from the backend and did not
|
|
@@ -15881,7 +15881,7 @@ class __PRIVATE_RemovedLimboDocument {
|
|
|
15881
15881
|
*/
|
|
15882
15882
|
this.current = !1,
|
|
15883
15883
|
/** Documents in the view but not in the remote target */
|
|
15884
|
-
this.
|
|
15884
|
+
this.Ea = __PRIVATE_documentKeySet(),
|
|
15885
15885
|
/** Document Keys that have local changes */
|
|
15886
15886
|
this.mutatedKeys = __PRIVATE_documentKeySet(), this.Aa = __PRIVATE_newQueryComparator(e),
|
|
15887
15887
|
this.Ra = new DocumentSet(this.Aa);
|
|
@@ -16026,10 +16026,10 @@ class __PRIVATE_RemovedLimboDocument {
|
|
|
16026
16026
|
* See the License for the specific language governing permissions and
|
|
16027
16027
|
* limitations under the License.
|
|
16028
16028
|
*/ (e.type, t.type) || this.Aa(e.doc, t.doc))), this.pa(n), r = null != r && r;
|
|
16029
|
-
const o = t && !r ? this.ya() : [], _ = 0 === this.
|
|
16029
|
+
const o = t && !r ? this.ya() : [], _ = 0 === this.Ea.size && this.current && !r ? 1 /* SyncState.Synced */ : 0 /* SyncState.Local */ , a = _ !== this.da;
|
|
16030
16030
|
// We are at synced state if there is no limbo docs are waiting to be resolved, view is current
|
|
16031
16031
|
// with the backend, and the query is not pending to reset due to existence filter mismatch.
|
|
16032
|
-
if (this.
|
|
16032
|
+
if (this.da = _, 0 !== s.length || a) {
|
|
16033
16033
|
return {
|
|
16034
16034
|
snapshot: new ViewSnapshot(this.query, e.Ra, i, s, e.mutatedKeys, 0 /* SyncState.Local */ === _, a,
|
|
16035
16035
|
/* excludesMetadataChanges= */ !1, !!n && n.resumeToken.approximateByteSize() > 0),
|
|
@@ -16080,15 +16080,15 @@ class __PRIVATE_RemovedLimboDocument {
|
|
|
16080
16080
|
if (!this.current) return [];
|
|
16081
16081
|
// TODO(klimt): Do this incrementally so that it's not quadratic when
|
|
16082
16082
|
// updating many documents.
|
|
16083
|
-
const e = this.
|
|
16084
|
-
this.
|
|
16085
|
-
this.Sa(e.key) && (this.
|
|
16083
|
+
const e = this.Ea;
|
|
16084
|
+
this.Ea = __PRIVATE_documentKeySet(), this.Ra.forEach((e => {
|
|
16085
|
+
this.Sa(e.key) && (this.Ea = this.Ea.add(e.key));
|
|
16086
16086
|
}));
|
|
16087
16087
|
// Diff the new limbo docs with the old limbo docs.
|
|
16088
16088
|
const t = [];
|
|
16089
16089
|
return e.forEach((e => {
|
|
16090
|
-
this.
|
|
16091
|
-
})), this.
|
|
16090
|
+
this.Ea.has(e) || t.push(new __PRIVATE_RemovedLimboDocument(e));
|
|
16091
|
+
})), this.Ea.forEach((n => {
|
|
16092
16092
|
e.has(n) || t.push(new __PRIVATE_AddedLimboDocument(n));
|
|
16093
16093
|
})), t;
|
|
16094
16094
|
}
|
|
@@ -16113,7 +16113,7 @@ class __PRIVATE_RemovedLimboDocument {
|
|
|
16113
16113
|
*/
|
|
16114
16114
|
// PORTING NOTE: Multi-tab only.
|
|
16115
16115
|
ba(e) {
|
|
16116
|
-
this.Ta = e.Ts, this.
|
|
16116
|
+
this.Ta = e.Ts, this.Ea = __PRIVATE_documentKeySet();
|
|
16117
16117
|
const t = this.ma(e.documents);
|
|
16118
16118
|
return this.applyChanges(t, /* limboResolutionEnabled= */ !0);
|
|
16119
16119
|
}
|
|
@@ -16124,7 +16124,7 @@ class __PRIVATE_RemovedLimboDocument {
|
|
|
16124
16124
|
*/
|
|
16125
16125
|
// PORTING NOTE: Multi-tab only.
|
|
16126
16126
|
Da() {
|
|
16127
|
-
return ViewSnapshot.fromInitialDocuments(this.query, this.Ra, this.mutatedKeys, 0 /* SyncState.Local */ === this.
|
|
16127
|
+
return ViewSnapshot.fromInitialDocuments(this.query, this.Ra, this.mutatedKeys, 0 /* SyncState.Local */ === this.da, this.hasCachedResults);
|
|
16128
16128
|
}
|
|
16129
16129
|
}
|
|
16130
16130
|
|
|
@@ -16425,7 +16425,7 @@ async function __PRIVATE_allocateTargetAndMaybeListen(e, t, n, r) {
|
|
|
16425
16425
|
// Run global snapshot listeners if a consistent snapshot has been emitted.
|
|
16426
16426
|
e.Z_(t) && (r = !0);
|
|
16427
16427
|
})), r && __PRIVATE_raiseSnapshotsInSyncEvent(n);
|
|
16428
|
-
}(r.eventManager, t), e.length && r.Ca.
|
|
16428
|
+
}(r.eventManager, t), e.length && r.Ca.E_(e), r.onlineState = t, r.isPrimaryClient && r.sharedClientState.setOnlineState(t);
|
|
16429
16429
|
}
|
|
16430
16430
|
}
|
|
16431
16431
|
|
|
@@ -16629,7 +16629,7 @@ async function __PRIVATE_syncEngineEmitNewSnapsAndNotifyLocalStore(e, t, n) {
|
|
|
16629
16629
|
s.push(t);
|
|
16630
16630
|
}
|
|
16631
16631
|
})));
|
|
16632
|
-
})), await Promise.all(o), r.Ca.
|
|
16632
|
+
})), await Promise.all(o), r.Ca.E_(i), await async function __PRIVATE_localStoreNotifyLocalViewChanges(e, t) {
|
|
16633
16633
|
const n = __PRIVATE_debugCast(e);
|
|
16634
16634
|
try {
|
|
16635
16635
|
await n.persistence.runTransaction("notifyLocalViewChanges", "readwrite", (e => PersistencePromise.forEach(t, (t => PersistencePromise.forEach(t.$i, (r => n.persistence.referenceDelegate.addReference(e, t.targetId, r))).next((() => PersistencePromise.forEach(t.Ui, (r => n.persistence.referenceDelegate.removeReference(e, t.targetId, r)))))))));
|
|
@@ -16807,7 +16807,7 @@ async function __PRIVATE_synchronizeQueryViewsAndRaiseSnapshots(e, t, n) {
|
|
|
16807
16807
|
}
|
|
16808
16808
|
i.push(t);
|
|
16809
16809
|
}
|
|
16810
|
-
return r.Ca.
|
|
16810
|
+
return r.Ca.E_(s), i;
|
|
16811
16811
|
}
|
|
16812
16812
|
|
|
16813
16813
|
/**
|
|
@@ -16890,7 +16890,7 @@ function __PRIVATE_ensureWatchCallbacks(e) {
|
|
|
16890
16890
|
return t.remoteStore.remoteSyncer.applyRemoteEvent = __PRIVATE_syncEngineApplyRemoteEvent.bind(null, t),
|
|
16891
16891
|
t.remoteStore.remoteSyncer.getRemoteKeysForTarget = __PRIVATE_syncEngineGetRemoteKeysForTarget.bind(null, t),
|
|
16892
16892
|
t.remoteStore.remoteSyncer.rejectListen = __PRIVATE_syncEngineRejectListen.bind(null, t),
|
|
16893
|
-
t.Ca.
|
|
16893
|
+
t.Ca.E_ = __PRIVATE_eventManagerOnWatchChange.bind(null, t.eventManager), t.Ca.$a = __PRIVATE_eventManagerOnWatchError.bind(null, t.eventManager),
|
|
16894
16894
|
t;
|
|
16895
16895
|
}
|
|
16896
16896
|
|
|
@@ -18595,10 +18595,10 @@ function doc(e, t, ...n) {
|
|
|
18595
18595
|
// automatically removed after they are run or canceled.
|
|
18596
18596
|
this.Tu = [],
|
|
18597
18597
|
// visible for testing
|
|
18598
|
-
this.
|
|
18598
|
+
this.du = null,
|
|
18599
18599
|
// Flag set while there's an outstanding AsyncQueue operation, used for
|
|
18600
18600
|
// assertion sanity-checks.
|
|
18601
|
-
this.
|
|
18601
|
+
this.Eu = !1,
|
|
18602
18602
|
// Enabled during shutdown on Safari to prevent future access to IndexedDB.
|
|
18603
18603
|
this.Au = !1,
|
|
18604
18604
|
// List of TimerIds to fast-forward delays for.
|
|
@@ -18679,8 +18679,8 @@ function doc(e, t, ...n) {
|
|
|
18679
18679
|
}
|
|
18680
18680
|
}
|
|
18681
18681
|
gu(e) {
|
|
18682
|
-
const t = this.mu.then((() => (this.
|
|
18683
|
-
this.
|
|
18682
|
+
const t = this.mu.then((() => (this.Eu = !0, e().catch((e => {
|
|
18683
|
+
this.du = e, this.Eu = !1;
|
|
18684
18684
|
const t =
|
|
18685
18685
|
/**
|
|
18686
18686
|
* Chrome includes Error.message in Error.stack. Other browsers do not.
|
|
@@ -18712,7 +18712,7 @@ function doc(e, t, ...n) {
|
|
|
18712
18712
|
// all further attempts to chain (via .then) will just short-circuit
|
|
18713
18713
|
// and return the rejected Promise.
|
|
18714
18714
|
throw __PRIVATE_logError("INTERNAL UNHANDLED ERROR: ", t), e;
|
|
18715
|
-
})).then((e => (this.
|
|
18715
|
+
})).then((e => (this.Eu = !1, e))))));
|
|
18716
18716
|
return this.mu = t, t;
|
|
18717
18717
|
}
|
|
18718
18718
|
enqueueAfterDelay(e, t, n) {
|
|
@@ -18723,7 +18723,7 @@ function doc(e, t, ...n) {
|
|
|
18723
18723
|
return this.Tu.push(r), r;
|
|
18724
18724
|
}
|
|
18725
18725
|
fu() {
|
|
18726
|
-
this.
|
|
18726
|
+
this.du && fail();
|
|
18727
18727
|
}
|
|
18728
18728
|
verifyOperationInProgress() {}
|
|
18729
18729
|
/**
|
|
@@ -18939,7 +18939,7 @@ class LoadBundleTask {
|
|
|
18939
18939
|
const e = r.getImmediate({
|
|
18940
18940
|
identifier: n
|
|
18941
18941
|
}), i = r.getOptions(n);
|
|
18942
|
-
if (
|
|
18942
|
+
if (d(i, t)) return e;
|
|
18943
18943
|
throw new FirestoreError(C.FAILED_PRECONDITION, "initializeFirestore() has already been called with different options. To avoid this error, call initializeFirestore() with the same options as when it was originally called, or call getFirestore() to return the already initialized instance.");
|
|
18944
18944
|
}
|
|
18945
18945
|
if (void 0 !== t.cacheSizeBytes && void 0 !== t.localCache) throw new FirestoreError(C.INVALID_ARGUMENT, "cache and cacheSizeBytes cannot be specified at the same time as cacheSizeBytes willbe deprecated. Instead, specify the cache size in the cache object");
|
|
@@ -18955,7 +18955,7 @@ function getFirestore(t, n) {
|
|
|
18955
18955
|
identifier: i
|
|
18956
18956
|
});
|
|
18957
18957
|
if (!s._initialized) {
|
|
18958
|
-
const e =
|
|
18958
|
+
const e = E("firestore");
|
|
18959
18959
|
e && connectFirestoreEmulator(s, ...e);
|
|
18960
18960
|
}
|
|
18961
18961
|
return s;
|
|
@@ -19769,7 +19769,7 @@ class __PRIVATE_ArrayUnionFieldValueImpl extends FieldValue {
|
|
|
19769
19769
|
return new FieldTransform(e.path, r);
|
|
19770
19770
|
}
|
|
19771
19771
|
isEqual(e) {
|
|
19772
|
-
return e instanceof __PRIVATE_ArrayUnionFieldValueImpl &&
|
|
19772
|
+
return e instanceof __PRIVATE_ArrayUnionFieldValueImpl && d(this.Ku, e.Ku);
|
|
19773
19773
|
}
|
|
19774
19774
|
}
|
|
19775
19775
|
|
|
@@ -19783,7 +19783,7 @@ class __PRIVATE_ArrayRemoveFieldValueImpl extends FieldValue {
|
|
|
19783
19783
|
return new FieldTransform(e.path, r);
|
|
19784
19784
|
}
|
|
19785
19785
|
isEqual(e) {
|
|
19786
|
-
return e instanceof __PRIVATE_ArrayRemoveFieldValueImpl &&
|
|
19786
|
+
return e instanceof __PRIVATE_ArrayRemoveFieldValueImpl && d(this.Ku, e.Ku);
|
|
19787
19787
|
}
|
|
19788
19788
|
}
|
|
19789
19789
|
|
|
@@ -20887,7 +20887,7 @@ class __PRIVATE_LiteUserDataWriter extends AbstractUserDataWriter {
|
|
|
20887
20887
|
* @returns `true` if the objects are "equal", as defined above, or `false`
|
|
20888
20888
|
* otherwise.
|
|
20889
20889
|
*/ function aggregateQuerySnapshotEqual(e, t) {
|
|
20890
|
-
return queryEqual(e.query, t.query) &&
|
|
20890
|
+
return queryEqual(e.query, t.query) && d(e.data(), t.data());
|
|
20891
20891
|
}
|
|
20892
20892
|
|
|
20893
20893
|
/**
|
|
@@ -22244,9 +22244,9 @@ let xe = null;
|
|
|
22244
22244
|
return r = Object.assign({
|
|
22245
22245
|
useFetchStreams: t
|
|
22246
22246
|
}, r), s._setSettings(r), s;
|
|
22247
|
-
}), "PUBLIC").setMultipleInstances(!0)), r(b, "4.7.4-canary.
|
|
22247
|
+
}), "PUBLIC").setMultipleInstances(!0)), r(b, "4.7.4-canary.4db3d3e7b", e),
|
|
22248
22248
|
// BUILD_TARGET will be replaced by values like esm2017, cjs2017, etc during the compilation
|
|
22249
|
-
r(b, "4.7.4-canary.
|
|
22249
|
+
r(b, "4.7.4-canary.4db3d3e7b", "esm2017");
|
|
22250
22250
|
}("rn", /* useFetchStreams= */ !1);
|
|
22251
22251
|
|
|
22252
22252
|
export { AbstractUserDataWriter, AggregateField, AggregateQuerySnapshot, Bytes, De as CACHE_SIZE_UNLIMITED, CollectionReference, DocumentReference, DocumentSnapshot, FieldPath, FieldValue, Firestore, FirestoreError, GeoPoint, LoadBundleTask, PersistentCacheIndexManager, Query, QueryCompositeFilterConstraint, QueryConstraint, QueryDocumentSnapshot, QueryEndAtConstraint, QueryFieldFilterConstraint, QueryLimitConstraint, QueryOrderByConstraint, QuerySnapshot, QueryStartAtConstraint, SnapshotMetadata, Timestamp, Transaction, VectorValue, WriteBatch, __PRIVATE_AutoId as _AutoId, ByteString as _ByteString, DatabaseId as _DatabaseId, DocumentKey as _DocumentKey, __PRIVATE_EmptyAppCheckTokenProvider as _EmptyAppCheckTokenProvider, __PRIVATE_EmptyAuthCredentialsProvider as _EmptyAuthCredentialsProvider, FieldPath$1 as _FieldPath, TestingHooks as _TestingHooks, __PRIVATE_cast as _cast, __PRIVATE_debugAssert as _debugAssert, _internalAggregationQueryToProtoRunAggregationQueryRequest, _internalQueryToProtoQueryTarget, __PRIVATE_isBase64Available as _isBase64Available, __PRIVATE_logWarn as _logWarn, __PRIVATE_validateIsNotUsedTogether as _validateIsNotUsedTogether, addDoc, aggregateFieldEqual, aggregateQuerySnapshotEqual, and, arrayRemove, arrayUnion, average, clearIndexedDbPersistence, collection, collectionGroup, connectFirestoreEmulator, count, deleteAllPersistentCacheIndexes, deleteDoc, deleteField, disableNetwork, disablePersistentCacheIndexAutoCreation, doc, documentId, enableIndexedDbPersistence, enableMultiTabIndexedDbPersistence, enableNetwork, enablePersistentCacheIndexAutoCreation, endAt, endBefore, ensureFirestoreConfigured, executeWrite, getAggregateFromServer, getCountFromServer, getDoc, getDocFromCache, getDocFromServer, getDocs, getDocsFromCache, getDocsFromServer, getFirestore, getPersistentCacheIndexManager, increment, initializeFirestore, limit, limitToLast, loadBundle, memoryEagerGarbageCollector, memoryLocalCache, memoryLruGarbageCollector, namedQuery, onSnapshot, onSnapshotsInSync, or, orderBy, persistentLocalCache, persistentMultipleTabManager, persistentSingleTabManager, query, queryEqual, refEqual, runTransaction, serverTimestamp, setDoc, setIndexConfiguration, setLogLevel, snapshotEqual, startAfter, startAt, sum, terminate, updateDoc, vector, waitForPendingWrites, where, writeBatch };
|