@firebase/firestore 3.1.0 → 3.1.1-canary.4594d3fd6
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/CHANGELOG.md +6 -0
- package/dist/firestore/src/register.d.ts +1 -1
- package/dist/firestore/src/remote/persistent_stream.d.ts +5 -1
- package/dist/firestore/src/util/async_queue.d.ts +4 -2
- package/dist/index.esm2017.js +2997 -2993
- package/dist/index.esm2017.js.map +1 -1
- package/dist/index.esm5.js +2861 -2851
- package/dist/index.esm5.js.map +1 -1
- package/dist/index.node.cjs.js +7051 -9102
- package/dist/index.node.cjs.js.map +1 -1
- package/dist/{index.node.cjs.esm2017.js → index.node.mjs} +56 -23
- package/dist/index.node.mjs.map +1 -0
- package/dist/index.rn.js +2973 -2965
- package/dist/index.rn.js.map +1 -1
- package/dist/internal.d.ts +4 -2
- package/dist/lite/firestore/src/register.d.ts +1 -1
- package/dist/lite/firestore/src/remote/persistent_stream.d.ts +5 -1
- package/dist/lite/firestore/src/util/async_queue.d.ts +4 -2
- package/dist/lite/index.browser.esm2017.js +1188 -1191
- package/dist/lite/index.browser.esm2017.js.map +1 -1
- package/dist/lite/index.browser.esm5.js +797 -796
- package/dist/lite/index.browser.esm5.js.map +1 -1
- package/dist/lite/index.node.cjs.js +1807 -2262
- package/dist/lite/index.node.cjs.js.map +1 -1
- package/dist/lite/{index.node.esm2017.js → index.node.mjs} +6 -4
- package/dist/lite/index.node.mjs.map +1 -0
- package/dist/lite/index.rn.esm2017.js +11 -11
- package/dist/lite/index.rn.esm2017.js.map +1 -1
- package/dist/lite/internal.d.ts +4 -2
- package/dist/lite/packages/firestore/dist/lite/index.browser.esm2017.d.ts +115 -115
- package/dist/lite/packages/firestore/src/register.d.ts +1 -1
- package/dist/lite/packages/firestore/src/remote/persistent_stream.d.ts +5 -1
- package/dist/lite/packages/firestore/src/util/async_queue.d.ts +4 -2
- package/dist/lite/private.d.ts +4 -2
- package/dist/packages/firestore/dist/index.esm2017.d.ts +187 -187
- package/dist/packages/firestore/src/register.d.ts +1 -1
- package/dist/packages/firestore/src/remote/persistent_stream.d.ts +5 -1
- package/dist/packages/firestore/src/util/async_queue.d.ts +4 -2
- package/dist/private.d.ts +4 -2
- package/lite/package.json +1 -1
- package/package.json +22 -16
- package/dist/index.node.cjs.esm2017.js.map +0 -1
- package/dist/lite/firestore/dist/lite/index.node.esm2017.d.ts +0 -1195
- package/dist/lite/index.node.esm2017.js.map +0 -1
- package/dist/packages/firestore/dist/index.node.cjs.esm2017.d.ts +0 -1844
|
@@ -66,7 +66,7 @@ l.MOCK_USER = new l("mock-user");
|
|
|
66
66
|
* See the License for the specific language governing permissions and
|
|
67
67
|
* limitations under the License.
|
|
68
68
|
*/
|
|
69
|
-
let f = "9.1.
|
|
69
|
+
let f = "9.1.3-canary.4594d3fd6";
|
|
70
70
|
|
|
71
71
|
/**
|
|
72
72
|
* @license
|
|
@@ -5457,7 +5457,7 @@ class xr {
|
|
|
5457
5457
|
*/
|
|
5458
5458
|
function(t) {
|
|
5459
5459
|
switch (t) {
|
|
5460
|
-
|
|
5460
|
+
default:
|
|
5461
5461
|
return g();
|
|
5462
5462
|
|
|
5463
5463
|
case I:
|
|
@@ -5484,9 +5484,6 @@ class xr {
|
|
|
5484
5484
|
case x:
|
|
5485
5485
|
case L:
|
|
5486
5486
|
return !0;
|
|
5487
|
-
|
|
5488
|
-
default:
|
|
5489
|
-
return g();
|
|
5490
5487
|
}
|
|
5491
5488
|
}(n);
|
|
5492
5489
|
}
|
|
@@ -5751,10 +5748,7 @@ class xr {
|
|
|
5751
5748
|
Lt(t) {
|
|
5752
5749
|
const n = this.Vt.then((() => (this.St = !0, t().catch((t => {
|
|
5753
5750
|
this.Ft = t, this.St = !1;
|
|
5754
|
-
|
|
5755
|
-
// all further attempts to chain (via .then) will just short-circuit
|
|
5756
|
-
// and return the rejected Promise.
|
|
5757
|
-
throw p("INTERNAL UNHANDLED ERROR: ",
|
|
5751
|
+
const n =
|
|
5758
5752
|
/**
|
|
5759
5753
|
* Chrome includes Error.message in Error.stack. Other browsers do not.
|
|
5760
5754
|
* This returns expected output of message + stack when available.
|
|
@@ -5789,7 +5783,11 @@ class xr {
|
|
|
5789
5783
|
* The `Transaction` object passed to a transaction's `updateFunction` provides
|
|
5790
5784
|
* the methods to read and write data within the transaction context. See
|
|
5791
5785
|
* {@link runTransaction}.
|
|
5792
|
-
*/ (t)
|
|
5786
|
+
*/ (t);
|
|
5787
|
+
// Re-throw the error so that this.tail becomes a rejected Promise and
|
|
5788
|
+
// all further attempts to chain (via .then) will just short-circuit
|
|
5789
|
+
// and return the rejected Promise.
|
|
5790
|
+
throw p("INTERNAL UNHANDLED ERROR: ", n), t;
|
|
5793
5791
|
})).then((t => (this.St = !1, t))))));
|
|
5794
5792
|
return this.Vt = n, n;
|
|
5795
5793
|
}
|
|
@@ -5927,7 +5925,9 @@ class Ur {
|
|
|
5927
5925
|
}(`${s}_lite`), e(new i("firestore/lite", ((t, {options: n}) => {
|
|
5928
5926
|
const e = t.getProvider("app").getImmediate(), r = new se(e, new Q(t.getProvider("auth-internal")));
|
|
5929
5927
|
return n && r._setSettings(n), r;
|
|
5930
|
-
}), "PUBLIC" /* PUBLIC */)),
|
|
5928
|
+
}), "PUBLIC" /* PUBLIC */)),
|
|
5929
|
+
// RUNTIME_ENV and BUILD_TARGET are replaced by real values during the compilation
|
|
5930
|
+
r("firestore-lite", "3.1.1-canary.4594d3fd6", "rn"), r("firestore-lite", "3.1.1-canary.4594d3fd6", "esm2017");
|
|
5931
5931
|
|
|
5932
5932
|
export { ge as Bytes, le as CollectionReference, ae as DocumentReference, He as DocumentSnapshot, ye as FieldPath, ve as FieldValue, se as Firestore, U as FirestoreError, be as GeoPoint, he as Query, Xe as QueryConstraint, Ye as QueryDocumentSnapshot, Ke as QuerySnapshot, yt as Timestamp, Ur as Transaction, $r as WriteBatch, Ar as addDoc, Nr as arrayRemove, Vr as arrayUnion, fe as collection, de as collectionGroup, ue as connectFirestoreEmulator, Tr as deleteDoc, Pr as deleteField, we as doc, _e as documentId, dr as endAt, fr as endBefore, vr as getDoc, br as getDocs, oe as getFirestore, Dr as increment, ie as initializeFirestore, or as limit, ur as limitToLast, sr as orderBy, tr as query, pe as queryEqual, me as refEqual, jr as runTransaction, Rr as serverTimestamp, Er as setDoc, w as setLogLevel, Je as snapshotEqual, hr as startAfter, ar as startAt, ce as terminate, Ir as updateDoc, er as where, Sr as writeBatch };
|
|
5933
5933
|
//# sourceMappingURL=index.rn.esm2017.js.map
|