@firebase/firestore 3.4.10 → 3.4.11-canary.b60cf76e1

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.
Files changed (34) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist/firestore/src/platform/node/grpc_connection.d.ts +1 -1
  3. package/dist/firestore/src/remote/connection.d.ts +1 -1
  4. package/dist/firestore/src/remote/rest_connection.d.ts +1 -1
  5. package/dist/index.esm2017.js +16 -14
  6. package/dist/index.esm2017.js.map +1 -1
  7. package/dist/index.esm5.js +28 -22
  8. package/dist/index.esm5.js.map +1 -1
  9. package/dist/index.node.cjs.js +25 -13
  10. package/dist/index.node.cjs.js.map +1 -1
  11. package/dist/index.node.mjs +25 -13
  12. package/dist/index.node.mjs.map +1 -1
  13. package/dist/index.rn.js +16 -14
  14. package/dist/index.rn.js.map +1 -1
  15. package/dist/lite/firestore/src/platform/node/grpc_connection.d.ts +1 -1
  16. package/dist/lite/firestore/src/remote/connection.d.ts +1 -1
  17. package/dist/lite/firestore/src/remote/rest_connection.d.ts +1 -1
  18. package/dist/lite/index.browser.esm2017.js +6 -6
  19. package/dist/lite/index.browser.esm2017.js.map +1 -1
  20. package/dist/lite/index.browser.esm5.js +11 -11
  21. package/dist/lite/index.browser.esm5.js.map +1 -1
  22. package/dist/lite/index.node.cjs.js +6 -6
  23. package/dist/lite/index.node.cjs.js.map +1 -1
  24. package/dist/lite/index.node.mjs +6 -6
  25. package/dist/lite/index.node.mjs.map +1 -1
  26. package/dist/lite/index.rn.esm2017.js +6 -6
  27. package/dist/lite/index.rn.esm2017.js.map +1 -1
  28. package/dist/lite/packages/firestore/src/platform/node/grpc_connection.d.ts +1 -1
  29. package/dist/lite/packages/firestore/src/remote/connection.d.ts +1 -1
  30. package/dist/lite/packages/firestore/src/remote/rest_connection.d.ts +1 -1
  31. package/dist/packages/firestore/src/platform/node/grpc_connection.d.ts +1 -1
  32. package/dist/packages/firestore/src/remote/connection.d.ts +1 -1
  33. package/dist/packages/firestore/src/remote/rest_connection.d.ts +1 -1
  34. package/package.json +9 -9
@@ -67,7 +67,7 @@ y.MOCK_USER = new y("mock-user");
67
67
  * See the License for the specific language governing permissions and
68
68
  * limitations under the License.
69
69
  */
70
- var m = "9.8.3", v = new l("@firebase/firestore");
70
+ var m = "9.8.4-canary.b60cf76e1", v = new l("@firebase/firestore");
71
71
 
72
72
  /**
73
73
  * @license
@@ -892,7 +892,7 @@ var yt = /** @class */ function(r) {
892
892
  throw _("RestConnection", t + " failed with error: ", e, "url: ", o, "request:", n),
893
893
  e;
894
894
  }));
895
- }, t.prototype.T = function(t, e, n, r, i) {
895
+ }, t.prototype.T = function(t, e, n, r, i, o) {
896
896
  // The REST API automatically aggregates all of the streamed results, so we
897
897
  // can just use the normal invoke() method.
898
898
  return this.m(t, e, n, r, i);
@@ -2979,14 +2979,14 @@ function Ye(t) {
2979
2979
  r.appCheckCredentials.invalidateToken()), t) : new M(A, t.toString());
2980
2980
  }));
2981
2981
  },
2982
- /** Invokes the provided RPC with streamed results with auth and AppCheck tokens. */ n.prototype.T = function(t, e, n) {
2983
- var r = this;
2984
- return this.X(), Promise.all([ this.authCredentials.getToken(), this.appCheckCredentials.getToken() ]).then((function(i) {
2985
- var o = i[0], a = i[1];
2986
- return r.H.T(t, e, n, o, a);
2982
+ /** Invokes the provided RPC with streamed results with auth and AppCheck tokens. */ n.prototype.T = function(t, e, n, r) {
2983
+ var i = this;
2984
+ return this.X(), Promise.all([ this.authCredentials.getToken(), this.appCheckCredentials.getToken() ]).then((function(o) {
2985
+ var a = o[0], s = o[1];
2986
+ return i.H.T(t, e, n, a, s, r);
2987
2987
  })).catch((function(t) {
2988
- throw "FirebaseError" === t.name ? (t.code === F && (r.authCredentials.invalidateToken(),
2989
- r.appCheckCredentials.invalidateToken()), t) : new M(A, t.toString());
2988
+ throw "FirebaseError" === t.name ? (t.code === F && (i.authCredentials.invalidateToken(),
2989
+ i.appCheckCredentials.invalidateToken()), t) : new M(A, t.toString());
2990
2990
  }));
2991
2991
  }, n.prototype.terminate = function() {
2992
2992
  this.J = !0;
@@ -3096,7 +3096,7 @@ function tn(t, r) {
3096
3096
  documents: r.map((function(t) {
3097
3097
  return Me(e.q, t);
3098
3098
  }))
3099
- }, [ 4 /*yield*/ , e.T("BatchGetDocuments", i, o) ];
3099
+ }, [ 4 /*yield*/ , e.T("BatchGetDocuments", i, o, r.length) ];
3100
3100
 
3101
3101
  case 1:
3102
3102
  return a = n.sent(), s = new Map, a.forEach((function(t) {
@@ -6058,7 +6058,7 @@ m = i + "_lite", o(new c("firestore/lite", (function(t, e) {
6058
6058
  return n && i._setSettings(n), i;
6059
6059
  }), "PUBLIC")),
6060
6060
  // RUNTIME_ENV and BUILD_TARGET are replaced by real values during the compilation
6061
- a("firestore-lite", "3.4.10", ""), a("firestore-lite", "3.4.10", "esm5");
6061
+ a("firestore-lite", "3.4.11-canary.b60cf76e1", ""), a("firestore-lite", "3.4.11-canary.b60cf76e1", "esm5");
6062
6062
 
6063
6063
  export { _n as Bytes, pn as CollectionReference, fn as DocumentReference, $n as DocumentSnapshot, wn as FieldPath, Tn as FieldValue, an as Firestore, M as FirestoreError, En as GeoPoint, hn as Query, er as QueryConstraint, Xn as QueryDocumentSnapshot, Jn as QuerySnapshot, bt as Timestamp, Br as Transaction, Or as WriteBatch, Ar as addDoc, Nr as arrayRemove, Pr as arrayUnion, dn as collection, yn as collectionGroup, cn as connectFirestoreEmulator, Ir as deleteDoc, Vr as deleteField, mn as doc, bn as documentId, yr as endAt, dr as endBefore, Tr as getDoc, Er as getDocs, un as getFirestore, Fr as increment, sn as initializeFirestore, ur as limit, cr as limitToLast, ar as orderBy, nr as query, gn as queryEqual, vn as refEqual, zr as runTransaction, Dr as serverTimestamp, Sr as setDoc, g as setLogLevel, Zn as snapshotEqual, hr as startAfter, fr as startAt, ln as terminate, kr as updateDoc, ir as where, Rr as writeBatch };
6064
6064
  //# sourceMappingURL=index.browser.esm5.js.map