@firebase/firestore 3.4.10-canary.8e952e2ee → 3.4.10-canary.bf4959b60

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 (33) hide show
  1. package/dist/firestore/src/platform/node/grpc_connection.d.ts +1 -1
  2. package/dist/firestore/src/remote/connection.d.ts +1 -1
  3. package/dist/firestore/src/remote/rest_connection.d.ts +1 -1
  4. package/dist/index.esm2017.js +7 -7
  5. package/dist/index.esm2017.js.map +1 -1
  6. package/dist/index.esm5.js +12 -12
  7. package/dist/index.esm5.js.map +1 -1
  8. package/dist/index.node.cjs.js +16 -7
  9. package/dist/index.node.cjs.js.map +1 -1
  10. package/dist/index.node.mjs +16 -7
  11. package/dist/index.node.mjs.map +1 -1
  12. package/dist/index.rn.js +7 -7
  13. package/dist/index.rn.js.map +1 -1
  14. package/dist/lite/firestore/src/platform/node/grpc_connection.d.ts +1 -1
  15. package/dist/lite/firestore/src/remote/connection.d.ts +1 -1
  16. package/dist/lite/firestore/src/remote/rest_connection.d.ts +1 -1
  17. package/dist/lite/index.browser.esm2017.js +6 -6
  18. package/dist/lite/index.browser.esm2017.js.map +1 -1
  19. package/dist/lite/index.browser.esm5.js +11 -11
  20. package/dist/lite/index.browser.esm5.js.map +1 -1
  21. package/dist/lite/index.node.cjs.js +6 -6
  22. package/dist/lite/index.node.cjs.js.map +1 -1
  23. package/dist/lite/index.node.mjs +6 -6
  24. package/dist/lite/index.node.mjs.map +1 -1
  25. package/dist/lite/index.rn.esm2017.js +6 -6
  26. package/dist/lite/index.rn.esm2017.js.map +1 -1
  27. package/dist/lite/packages/firestore/src/platform/node/grpc_connection.d.ts +1 -1
  28. package/dist/lite/packages/firestore/src/remote/connection.d.ts +1 -1
  29. package/dist/lite/packages/firestore/src/remote/rest_connection.d.ts +1 -1
  30. package/dist/packages/firestore/src/platform/node/grpc_connection.d.ts +1 -1
  31. package/dist/packages/firestore/src/remote/connection.d.ts +1 -1
  32. package/dist/packages/firestore/src/remote/rest_connection.d.ts +1 -1
  33. package/package.json +9 -9
@@ -70,7 +70,7 @@ R.MOCK_USER = new R("mock-user");
70
70
  * See the License for the specific language governing permissions and
71
71
  * limitations under the License.
72
72
  */
73
- var L = "9.8.3-canary.8e952e2ee", F = new l("@firebase/firestore");
73
+ var L = "9.8.3-canary.bf4959b60", F = new l("@firebase/firestore");
74
74
 
75
75
  /**
76
76
  * @license
@@ -12104,7 +12104,7 @@ var Pu = /** @class */ function() {
12104
12104
  throw K("RestConnection", t + " failed with error: ", e, "url: ", o, "request:", n),
12105
12105
  e;
12106
12106
  }));
12107
- }, t.prototype.ao = function(t, e, n, r, i) {
12107
+ }, t.prototype.ao = function(t, e, n, r, i, o) {
12108
12108
  // The REST API automatically aggregates all of the streamed results, so we
12109
12109
  // can just use the normal invoke() method.
12110
12110
  return this.ro(t, e, n, r, i);
@@ -12728,14 +12728,14 @@ function Ju() {
12728
12728
  r.appCheckCredentials.invalidateToken()), t) : new Y(H.UNKNOWN, t.toString());
12729
12729
  }));
12730
12730
  },
12731
- /** Invokes the provided RPC with streamed results with auth and AppCheck tokens. */ n.prototype.ao = function(t, e, n) {
12732
- var r = this;
12733
- return this.tu(), Promise.all([ this.authCredentials.getToken(), this.appCheckCredentials.getToken() ]).then((function(i) {
12734
- var o = i[0], u = i[1];
12735
- return r.bo.ao(t, e, n, o, u);
12731
+ /** Invokes the provided RPC with streamed results with auth and AppCheck tokens. */ n.prototype.ao = function(t, e, n, r) {
12732
+ var i = this;
12733
+ return this.tu(), Promise.all([ this.authCredentials.getToken(), this.appCheckCredentials.getToken() ]).then((function(o) {
12734
+ var u = o[0], s = o[1];
12735
+ return i.bo.ao(t, e, n, u, s, r);
12736
12736
  })).catch((function(t) {
12737
- throw "FirebaseError" === t.name ? (t.code === H.UNAUTHENTICATED && (r.authCredentials.invalidateToken(),
12738
- r.appCheckCredentials.invalidateToken()), t) : new Y(H.UNKNOWN, t.toString());
12737
+ throw "FirebaseError" === t.name ? (t.code === H.UNAUTHENTICATED && (i.authCredentials.invalidateToken(),
12738
+ i.appCheckCredentials.invalidateToken()), t) : new Y(H.UNKNOWN, t.toString());
12739
12739
  }));
12740
12740
  }, n.prototype.terminate = function() {
12741
12741
  this.Zo = !0;
@@ -16120,7 +16120,7 @@ function Fa(t, r) {
16120
16120
  documents: r.map((function(t) {
16121
16121
  return Fr(e.wt, t);
16122
16122
  }))
16123
- }, [ 4 /*yield*/ , e.ao("BatchGetDocuments", i, o) ];
16123
+ }, [ 4 /*yield*/ , e.ao("BatchGetDocuments", i, o, r.length) ];
16124
16124
 
16125
16125
  case 1:
16126
16126
  return u = n.sent(), s = new Map, u.forEach((function(t) {
@@ -20286,9 +20286,9 @@ function Eh(t, e) {
20286
20286
  return n = Object.assign({
20287
20287
  useFetchStreams: fh
20288
20288
  }, n), i._setSettings(n), i;
20289
- }), "PUBLIC")), u(M, "3.4.10-canary.8e952e2ee", void 0),
20289
+ }), "PUBLIC")), u(M, "3.4.10-canary.bf4959b60", void 0),
20290
20290
  // BUILD_TARGET will be replaced by values like esm5, esm2017, cjs5, etc during the compilation
20291
- u(M, "3.4.10-canary.8e952e2ee", "esm5");
20291
+ u(M, "3.4.10-canary.bf4959b60", "esm5");
20292
20292
 
20293
20293
  export { Ql as AbstractUserDataWriter, Bc as Bytes, Ec as CACHE_SIZE_UNLIMITED, dc as CollectionReference, hc as DocumentReference, bl as DocumentSnapshot, qc as FieldPath, Kc as FieldValue, Tc as Firestore, Y as FirestoreError, Gc as GeoPoint, Ic as LoadBundleTask, fc as Query, _l as QueryConstraint, Il as QueryDocumentSnapshot, El as QuerySnapshot, wl as SnapshotMetadata, ht as Timestamp, dh as Transaction, Yl as WriteBatch, ce as _DatabaseId, mt as _DocumentKey, ot as _EmptyAppCheckTokenProvider, $ as _EmptyAuthCredentialsProvider, yt as _FieldPath, uc as _cast, Q as _debugAssert, Zt as _isBase64Available, K as _logWarn, Ih as _setIndexConfiguration, nc as _validateIsNotUsedTogether, sh as addDoc, gh as arrayRemove, mh as arrayUnion, Cc as clearIndexedDbPersistence, pc as collection, vc as collectionGroup, lc as connectFirestoreEmulator, uh as deleteDoc, vh as deleteField, Mc as disableNetwork, yc as doc, Uc as documentId, Nc as enableIndexedDbPersistence, Ac as enableMultiTabIndexedDbPersistence, Oc as enableNetwork, Ul as endAt, ql as endBefore, _c as ensureFirestoreConfigured, lh as executeWrite, Xl as getDoc, Zl as getDocFromCache, th as getDocFromServer, eh as getDocs, nh as getDocsFromCache, rh as getDocsFromServer, Dc as getFirestore, wh as increment, Sc as initializeFirestore, Ol as limit, Ml as limitToLast, Lc as loadBundle, Fc as namedQuery, ah as onSnapshot, ch as onSnapshotsInSync, Cl as orderBy, xl as query, gc as queryEqual, mc as refEqual, ph as runTransaction, yh as serverTimestamp, ih as setDoc, q as setLogLevel, Sl as snapshotEqual, Fl as startAfter, Ll as startAt, Rc as terminate, oh as updateDoc, Vc as waitForPendingWrites, Al as where, bh as writeBatch };
20294
20294
  //# sourceMappingURL=index.esm5.js.map