@firebase/firestore 4.5.1-canary.42fcdfe4c → 4.5.1-canary.6d31930b3

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.
@@ -1,19 +1,3 @@
1
- /**
2
- * @license
3
- * Copyright 2023 Google LLC
4
- *
5
- * Licensed under the Apache License, Version 2.0 (the "License");
6
- * you may not use this file except in compliance with the License.
7
- * You may obtain a copy of the License at
8
- *
9
- * http://www.apache.org/licenses/LICENSE-2.0
10
- *
11
- * Unless required by applicable law or agreed to in writing, software
12
- * distributed under the License is distributed on an "AS IS" BASIS,
13
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
- * See the License for the specific language governing permissions and
15
- * limitations under the License.
16
- */
17
1
  import { CollectionReference, DocumentData, Firestore, Query, QueryConstraint, DocumentReference, QueryCompositeFilterConstraint, QueryNonFilterConstraint, DocumentSnapshot, UpdateData, QuerySnapshot } from './firebase_export';
18
2
  import { PERSISTENCE_MODE_UNSPECIFIED, PersistenceMode } from './helpers';
19
3
  /**
@@ -44,6 +28,7 @@ export declare class CompositeIndexTestHelper {
44
28
  private removeTestSpecificFieldsFromDoc;
45
29
  private prepareTestDocuments;
46
30
  assertOnlineAndOfflineResultsMatch(query: Query, ...expectedDocs: string[]): Promise<void>;
31
+ assertSnapshotResultIdsMatch(snapshot: QuerySnapshot, expectedIds: string[]): void;
47
32
  query<T>(query_: Query<T>, ...queryConstraints: QueryConstraint[]): Query<T>;
48
33
  compositeQuery<T>(query_: Query<T>, compositeFilter: QueryCompositeFilterConstraint, ...queryConstraints: QueryNonFilterConstraint[]): Query<T>;
49
34
  getDocRef<T>(coll: CollectionReference<T>, docId: string): DocumentReference<T>;
package/dist/index.cjs.js CHANGED
@@ -70,7 +70,7 @@ User.MOCK_USER = new User("mock-user");
70
70
  * See the License for the specific language governing permissions and
71
71
  * limitations under the License.
72
72
  */
73
- let S = "10.10.0-canary.42fcdfe4c";
73
+ let S = "10.10.0-canary.6d31930b3";
74
74
 
75
75
  /**
76
76
  * @license
@@ -21912,9 +21912,9 @@ let Ce = null;
21912
21912
  return r = Object.assign({
21913
21913
  useFetchStreams: t
21914
21914
  }, r), s._setSettings(r), s;
21915
- }), "PUBLIC").setMultipleInstances(!0)), app.registerVersion(w, "4.5.1-canary.42fcdfe4c", e),
21915
+ }), "PUBLIC").setMultipleInstances(!0)), app.registerVersion(w, "4.5.1-canary.6d31930b3", e),
21916
21916
  // BUILD_TARGET will be replaced by values like esm5, esm2017, cjs5, etc during the compilation
21917
- app.registerVersion(w, "4.5.1-canary.42fcdfe4c", "cjs2017");
21917
+ app.registerVersion(w, "4.5.1-canary.6d31930b3", "cjs2017");
21918
21918
  }();
21919
21919
 
21920
21920
  exports.AbstractUserDataWriter = AbstractUserDataWriter;
@@ -66,7 +66,7 @@ User.MOCK_USER = new User("mock-user");
66
66
  * See the License for the specific language governing permissions and
67
67
  * limitations under the License.
68
68
  */
69
- let S = "10.10.0-canary.42fcdfe4c";
69
+ let S = "10.10.0-canary.6d31930b3";
70
70
 
71
71
  /**
72
72
  * @license
@@ -21908,9 +21908,9 @@ let Ce = null;
21908
21908
  return r = Object.assign({
21909
21909
  useFetchStreams: t
21910
21910
  }, r), s._setSettings(r), s;
21911
- }), "PUBLIC").setMultipleInstances(!0)), registerVersion(w, "4.5.1-canary.42fcdfe4c", e),
21911
+ }), "PUBLIC").setMultipleInstances(!0)), registerVersion(w, "4.5.1-canary.6d31930b3", e),
21912
21912
  // BUILD_TARGET will be replaced by values like esm5, esm2017, cjs5, etc during the compilation
21913
- registerVersion(w, "4.5.1-canary.42fcdfe4c", "esm2017");
21913
+ registerVersion(w, "4.5.1-canary.6d31930b3", "esm2017");
21914
21914
  }();
21915
21915
 
21916
21916
  export { AbstractUserDataWriter, AggregateField, AggregateQuerySnapshot, Bytes, ye 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, 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, __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, waitForPendingWrites, where, writeBatch };
@@ -70,7 +70,7 @@ k.MOCK_USER = new k("mock-user");
70
70
  * See the License for the specific language governing permissions and
71
71
  * limitations under the License.
72
72
  */
73
- var P = "10.10.0-canary.42fcdfe4c", O = new l("@firebase/firestore");
73
+ var P = "10.10.0-canary.6d31930b3", O = new l("@firebase/firestore");
74
74
 
75
75
  /**
76
76
  * @license
@@ -22580,9 +22580,9 @@ function Wf(t, r) {
22580
22580
  return r = Object.assign({
22581
22581
  useFetchStreams: Hf
22582
22582
  }, r), o._setSettings(r), o;
22583
- }), "PUBLIC").setMultipleInstances(!0)), a(A, "4.5.1-canary.42fcdfe4c", Yf),
22583
+ }), "PUBLIC").setMultipleInstances(!0)), a(A, "4.5.1-canary.6d31930b3", Yf),
22584
22584
  // BUILD_TARGET will be replaced by values like esm5, esm2017, cjs5, etc during the compilation
22585
- a(A, "4.5.1-canary.42fcdfe4c", "esm5");
22585
+ a(A, "4.5.1-canary.6d31930b3", "esm5");
22586
22586
 
22587
22587
  export { qh as AbstractUserDataWriter, Pl as AggregateField, Ol as AggregateQuerySnapshot, Rl as Bytes, vl as CACHE_SIZE_UNLIMITED, al as CollectionReference, ol as DocumentReference, Yh as DocumentSnapshot, Ml as FieldPath, Vl as FieldValue, ml as Firestore, j as FirestoreError, Ll as GeoPoint, pl as LoadBundleTask, zf as PersistentCacheIndexManager, il as Query, bh as QueryCompositeFilterConstraint, mh as QueryConstraint, Hh as QueryDocumentSnapshot, kh as QueryEndAtConstraint, gh as QueryFieldFilterConstraint, Sh as QueryLimitConstraint, Eh as QueryOrderByConstraint, Jh as QuerySnapshot, Dh as QueryStartAtConstraint, Wh as SnapshotMetadata, ut as Timestamp, Pf as Transaction, Af as WriteBatch, rt as _AutoId, Pe as _ByteString, Be as _DatabaseId, dt as _DocumentKey, et as _EmptyAppCheckTokenProvider, Y as _EmptyAuthCredentialsProvider, ft as _FieldPath, Xf as _TestingHooks, $c as _cast, z as _debugAssert, ke as _isBase64Available, L as _logWarn, Hc as _validateIsNotUsedTogether, lf as addDoc, jh as aggregateFieldEqual, Qh as aggregateQuerySnapshotEqual, _h as and, Vf as arrayRemove, Ff as arrayUnion, Gh as average, Tl as clearIndexedDbPersistence, ul as collection, sl as collectionGroup, rl as connectFirestoreEmulator, Kh as count, Qf as deleteAllPersistentCacheIndexes, cf as deleteDoc, Rf as deleteField, Cl as disableNetwork, jf as disablePersistentCacheIndexAutoCreation, cl as doc, Fl as documentId, Il as enableIndexedDbPersistence, _l as enableMultiTabIndexedDbPersistence, xl as enableNetwork, Kf as enablePersistentCacheIndexAutoCreation, Oh as endAt, Ph as endBefore, wl as ensureFirestoreConfigured, df as executeWrite, mf as getAggregateFromServer, vf as getCountFromServer, $h as getDoc, ef as getDocFromCache, nf as getDocFromServer, rf as getDocs, of as getDocsFromCache, af as getDocsFromServer, gl as getFirestore, Gf as getPersistentCacheIndexManager, Lf as increment, yl as initializeFirestore, xh as limit, Ch as limitToLast, Nl as loadBundle, If as memoryEagerGarbageCollector, Ef as memoryLocalCache, _f as memoryLruGarbageCollector, Al as namedQuery, hf as onSnapshot, ff as onSnapshotsInSync, Ih as or, Th as orderBy, Tf as persistentLocalCache, Df as persistentMultipleTabManager, Cf as persistentSingleTabManager, yh as query, hl as queryEqual, ll as refEqual, Of as runTransaction, Mf as serverTimestamp, uf as setDoc, Uf as setIndexConfiguration, M as setLogLevel, Zh as snapshotEqual, Ah as startAfter, Nh as startAt, zh as sum, Dl as terminate, sf as updateDoc, Sl as waitForPendingWrites, wh as where, qf as writeBatch };
22588
22588
  //# sourceMappingURL=index.esm5.js.map
@@ -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.5.1-canary.42fcdfe4c";
37
+ const version$1 = "4.5.1-canary.6d31930b3";
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 = "10.10.0-canary.42fcdfe4c";
90
+ const version = "10.10.0-canary.6d31930b3";
91
91
 
92
92
  /**
93
93
  * @license
@@ -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.5.1-canary.42fcdfe4c";
12
+ const version$1 = "4.5.1-canary.6d31930b3";
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 = "10.10.0-canary.42fcdfe4c";
65
+ const version = "10.10.0-canary.6d31930b3";
66
66
 
67
67
  /**
68
68
  * @license
package/dist/index.rn.js CHANGED
@@ -70,7 +70,7 @@ User.MOCK_USER = new User("mock-user");
70
70
  * See the License for the specific language governing permissions and
71
71
  * limitations under the License.
72
72
  */
73
- let D = "10.10.0-canary.42fcdfe4c";
73
+ let D = "10.10.0-canary.6d31930b3";
74
74
 
75
75
  /**
76
76
  * @license
@@ -21930,9 +21930,9 @@ let Fe = null;
21930
21930
  return r = Object.assign({
21931
21931
  useFetchStreams: t
21932
21932
  }, r), s._setSettings(r), s;
21933
- }), "PUBLIC").setMultipleInstances(!0)), r(b, "4.5.1-canary.42fcdfe4c", e),
21933
+ }), "PUBLIC").setMultipleInstances(!0)), r(b, "4.5.1-canary.6d31930b3", e),
21934
21934
  // BUILD_TARGET will be replaced by values like esm5, esm2017, cjs5, etc during the compilation
21935
- r(b, "4.5.1-canary.42fcdfe4c", "esm2017");
21935
+ r(b, "4.5.1-canary.6d31930b3", "esm2017");
21936
21936
  }("rn", /* useFetchStreams= */ !1);
21937
21937
 
21938
21938
  export { AbstractUserDataWriter, AggregateField, AggregateQuerySnapshot, Bytes, Se 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, 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, __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, waitForPendingWrites, where, writeBatch };
@@ -1,19 +1,3 @@
1
- /**
2
- * @license
3
- * Copyright 2023 Google LLC
4
- *
5
- * Licensed under the Apache License, Version 2.0 (the "License");
6
- * you may not use this file except in compliance with the License.
7
- * You may obtain a copy of the License at
8
- *
9
- * http://www.apache.org/licenses/LICENSE-2.0
10
- *
11
- * Unless required by applicable law or agreed to in writing, software
12
- * distributed under the License is distributed on an "AS IS" BASIS,
13
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
- * See the License for the specific language governing permissions and
15
- * limitations under the License.
16
- */
17
1
  import { CollectionReference, DocumentData, Firestore, Query, QueryConstraint, DocumentReference, QueryCompositeFilterConstraint, QueryNonFilterConstraint, DocumentSnapshot, UpdateData, QuerySnapshot } from './firebase_export';
18
2
  import { PERSISTENCE_MODE_UNSPECIFIED, PersistenceMode } from './helpers';
19
3
  /**
@@ -44,6 +28,7 @@ export declare class CompositeIndexTestHelper {
44
28
  private removeTestSpecificFieldsFromDoc;
45
29
  private prepareTestDocuments;
46
30
  assertOnlineAndOfflineResultsMatch(query: Query, ...expectedDocs: string[]): Promise<void>;
31
+ assertSnapshotResultIdsMatch(snapshot: QuerySnapshot, expectedIds: string[]): void;
47
32
  query<T>(query_: Query<T>, ...queryConstraints: QueryConstraint[]): Query<T>;
48
33
  compositeQuery<T>(query_: Query<T>, compositeFilter: QueryCompositeFilterConstraint, ...queryConstraints: QueryNonFilterConstraint[]): Query<T>;
49
34
  getDocRef<T>(coll: CollectionReference<T>, docId: string): DocumentReference<T>;
@@ -63,7 +63,7 @@ User.MOCK_USER = new User("mock-user");
63
63
  * See the License for the specific language governing permissions and
64
64
  * limitations under the License.
65
65
  */
66
- let d = "10.10.0-canary.42fcdfe4c";
66
+ let d = "10.10.0-canary.6d31930b3";
67
67
 
68
68
  /**
69
69
  * @license
@@ -7212,7 +7212,7 @@ class Transaction {
7212
7212
  return r && i._setSettings(r), i;
7213
7213
  }), "PUBLIC").setMultipleInstances(!0)),
7214
7214
  // RUNTIME_ENV and BUILD_TARGET are replaced by real values during the compilation
7215
- registerVersion("firestore-lite", "4.5.1-canary.42fcdfe4c", ""), registerVersion("firestore-lite", "4.5.1-canary.42fcdfe4c", "esm2017");
7215
+ registerVersion("firestore-lite", "4.5.1-canary.6d31930b3", ""), registerVersion("firestore-lite", "4.5.1-canary.6d31930b3", "esm2017");
7216
7216
  }();
7217
7217
 
7218
7218
  export { AggregateField, AggregateQuerySnapshot, Bytes, CollectionReference, DocumentReference, DocumentSnapshot, FieldPath, FieldValue, Firestore, FirestoreError, GeoPoint, Query, QueryCompositeFilterConstraint, QueryConstraint, QueryDocumentSnapshot, QueryEndAtConstraint, QueryFieldFilterConstraint, QueryLimitConstraint, QueryOrderByConstraint, QuerySnapshot, QueryStartAtConstraint, Timestamp, Transaction, WriteBatch, addDoc, aggregateFieldEqual, aggregateQuerySnapshotEqual, and, arrayRemove, arrayUnion, average, collection, collectionGroup, connectFirestoreEmulator, count, deleteDoc, deleteField, doc, documentId, endAt, endBefore, getAggregate, getCount, getDoc, getDocs, getFirestore, increment, initializeFirestore, limit, limitToLast, or, orderBy, query, queryEqual, refEqual, runTransaction, serverTimestamp, setDoc, setLogLevel, snapshotEqual, startAfter, startAt, sum, terminate, updateDoc, where, writeBatch };
@@ -67,7 +67,7 @@ g.MOCK_USER = new g("mock-user");
67
67
  * See the License for the specific language governing permissions and
68
68
  * limitations under the License.
69
69
  */
70
- var v = "10.10.0-canary.42fcdfe4c", w = new l("@firebase/firestore");
70
+ var v = "10.10.0-canary.6d31930b3", w = new l("@firebase/firestore");
71
71
 
72
72
  /**
73
73
  * @license
@@ -6707,7 +6707,7 @@ fi = "".concat(i, "_lite"), v = fi, o(new c("firestore/lite", (function(t, e) {
6707
6707
  return r && o._setSettings(r), o;
6708
6708
  }), "PUBLIC").setMultipleInstances(!0)),
6709
6709
  // RUNTIME_ENV and BUILD_TARGET are replaced by real values during the compilation
6710
- a("firestore-lite", "4.5.1-canary.42fcdfe4c", ""), a("firestore-lite", "4.5.1-canary.42fcdfe4c", "esm5");
6710
+ a("firestore-lite", "4.5.1-canary.6d31930b3", ""), a("firestore-lite", "4.5.1-canary.6d31930b3", "esm5");
6711
6711
 
6712
6712
  export { Tn as AggregateField, En as AggregateQuerySnapshot, Nn as Bytes, In as CollectionReference, kn as DocumentReference, cr as DocumentSnapshot, Dn as FieldPath, qn as FieldValue, gn as Firestore, B as FirestoreError, xn as GeoPoint, Sn as Query, wr as QueryCompositeFilterConstraint, yr as QueryConstraint, lr as QueryDocumentSnapshot, Or as QueryEndAtConstraint, gr as QueryFieldFilterConstraint, Sr as QueryLimitConstraint, Tr as QueryOrderByConstraint, fr as QuerySnapshot, Ar as QueryStartAtConstraint, Dt as Timestamp, di as Transaction, ii as WriteBatch, Kr as addDoc, Xr as aggregateFieldEqual, Zr as aggregateQuerySnapshotEqual, br as and, ni as arrayRemove, ei as arrayUnion, Wr as average, An as collection, Pn as collectionGroup, _n as connectFirestoreEmulator, Jr as count, Gr as deleteDoc, $r as deleteField, Fn as doc, Rn as documentId, Nr as endAt, Vr as endBefore, Yr as getAggregate, Qr as getCount, Mr as getDoc, Ur as getDocs, wn as getFirestore, ri as increment, vn as initializeFirestore, kr as limit, Ir as limitToLast, _r as or, Er as orderBy, mr as query, Vn as queryEqual, On as refEqual, yi as runTransaction, ti as serverTimestamp, Br as setDoc, _ as setLogLevel, hr as snapshotEqual, Fr as startAfter, Pr as startAt, Hr as sum, bn as terminate, zr as updateDoc, vr as where, ai as writeBatch };
6713
6713
  //# sourceMappingURL=index.browser.esm5.js.map
@@ -63,7 +63,7 @@ User.MOCK_USER = new User("mock-user");
63
63
  * See the License for the specific language governing permissions and
64
64
  * limitations under the License.
65
65
  */
66
- let d = "10.10.0-canary.42fcdfe4c";
66
+ let d = "10.10.0-canary.6d31930b3";
67
67
 
68
68
  /**
69
69
  * @license
@@ -7212,7 +7212,7 @@ class Transaction {
7212
7212
  return r && i._setSettings(r), i;
7213
7213
  }), "PUBLIC").setMultipleInstances(!0)),
7214
7214
  // RUNTIME_ENV and BUILD_TARGET are replaced by real values during the compilation
7215
- registerVersion("firestore-lite", "4.5.1-canary.42fcdfe4c", ""), registerVersion("firestore-lite", "4.5.1-canary.42fcdfe4c", "cjs2017");
7215
+ registerVersion("firestore-lite", "4.5.1-canary.6d31930b3", ""), registerVersion("firestore-lite", "4.5.1-canary.6d31930b3", "cjs2017");
7216
7216
  }();
7217
7217
 
7218
7218
  export { AggregateField, AggregateQuerySnapshot, Bytes, CollectionReference, DocumentReference, DocumentSnapshot, FieldPath, FieldValue, Firestore, FirestoreError, GeoPoint, Query, QueryCompositeFilterConstraint, QueryConstraint, QueryDocumentSnapshot, QueryEndAtConstraint, QueryFieldFilterConstraint, QueryLimitConstraint, QueryOrderByConstraint, QuerySnapshot, QueryStartAtConstraint, Timestamp, Transaction, WriteBatch, addDoc, aggregateFieldEqual, aggregateQuerySnapshotEqual, and, arrayRemove, arrayUnion, average, collection, collectionGroup, connectFirestoreEmulator, count, deleteDoc, deleteField, doc, documentId, endAt, endBefore, getAggregate, getCount, getDoc, getDocs, getFirestore, increment, initializeFirestore, limit, limitToLast, or, orderBy, query, queryEqual, refEqual, runTransaction, serverTimestamp, setDoc, setLogLevel, snapshotEqual, startAfter, startAt, sum, terminate, updateDoc, where, writeBatch };
@@ -10,7 +10,7 @@ var util = require('@firebase/util');
10
10
  var undici = require('undici');
11
11
  var crypto = require('crypto');
12
12
 
13
- const version$1 = "4.5.1-canary.42fcdfe4c";
13
+ const version$1 = "4.5.1-canary.6d31930b3";
14
14
 
15
15
  /**
16
16
  * @license
@@ -63,7 +63,7 @@ User.GOOGLE_CREDENTIALS = new User('google-credentials-uid');
63
63
  User.FIRST_PARTY = new User('first-party-uid');
64
64
  User.MOCK_USER = new User('mock-user');
65
65
 
66
- const version = "10.10.0-canary.42fcdfe4c";
66
+ const version = "10.10.0-canary.6d31930b3";
67
67
 
68
68
  /**
69
69
  * @license
@@ -6,7 +6,7 @@ import { FirebaseError, getDefaultEmulatorHostnameAndPort, createMockUserToken,
6
6
  import { fetch } from 'undici';
7
7
  import { randomBytes as randomBytes$1 } from 'crypto';
8
8
 
9
- const version$1 = "4.5.1-canary.42fcdfe4c";
9
+ const version$1 = "4.5.1-canary.6d31930b3";
10
10
 
11
11
  /**
12
12
  * @license
@@ -59,7 +59,7 @@ User.GOOGLE_CREDENTIALS = new User('google-credentials-uid');
59
59
  User.FIRST_PARTY = new User('first-party-uid');
60
60
  User.MOCK_USER = new User('mock-user');
61
61
 
62
- const version = "10.10.0-canary.42fcdfe4c";
62
+ const version = "10.10.0-canary.6d31930b3";
63
63
 
64
64
  /**
65
65
  * @license
@@ -66,7 +66,7 @@ User.MOCK_USER = new User("mock-user");
66
66
  * See the License for the specific language governing permissions and
67
67
  * limitations under the License.
68
68
  */
69
- let E = "10.10.0-canary.42fcdfe4c";
69
+ let E = "10.10.0-canary.6d31930b3";
70
70
 
71
71
  /**
72
72
  * @license
@@ -7222,7 +7222,7 @@ class Transaction {
7222
7222
  return r && i._setSettings(r), i;
7223
7223
  }), "PUBLIC").setMultipleInstances(!0)),
7224
7224
  // RUNTIME_ENV and BUILD_TARGET are replaced by real values during the compilation
7225
- n("firestore-lite", "4.5.1-canary.42fcdfe4c", "rn"), n("firestore-lite", "4.5.1-canary.42fcdfe4c", "esm2017");
7225
+ n("firestore-lite", "4.5.1-canary.6d31930b3", "rn"), n("firestore-lite", "4.5.1-canary.6d31930b3", "esm2017");
7226
7226
  }();
7227
7227
 
7228
7228
  export { AggregateField, AggregateQuerySnapshot, Bytes, CollectionReference, DocumentReference, DocumentSnapshot, FieldPath, FieldValue, Firestore, FirestoreError, GeoPoint, Query, QueryCompositeFilterConstraint, QueryConstraint, QueryDocumentSnapshot, QueryEndAtConstraint, QueryFieldFilterConstraint, QueryLimitConstraint, QueryOrderByConstraint, QuerySnapshot, QueryStartAtConstraint, Timestamp, Transaction, WriteBatch, addDoc, aggregateFieldEqual, aggregateQuerySnapshotEqual, and, arrayRemove, arrayUnion, average, collection, collectionGroup, connectFirestoreEmulator, count, deleteDoc, deleteField, doc, documentId, endAt, endBefore, getAggregate, getCount, getDoc, getDocs, getFirestore, increment, initializeFirestore, limit, limitToLast, or, orderBy, query, queryEqual, refEqual, runTransaction, serverTimestamp, setDoc, setLogLevel, snapshotEqual, startAfter, startAt, sum, terminate, updateDoc, where, writeBatch };
@@ -1,19 +1,3 @@
1
- /**
2
- * @license
3
- * Copyright 2023 Google LLC
4
- *
5
- * Licensed under the Apache License, Version 2.0 (the "License");
6
- * you may not use this file except in compliance with the License.
7
- * You may obtain a copy of the License at
8
- *
9
- * http://www.apache.org/licenses/LICENSE-2.0
10
- *
11
- * Unless required by applicable law or agreed to in writing, software
12
- * distributed under the License is distributed on an "AS IS" BASIS,
13
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
- * See the License for the specific language governing permissions and
15
- * limitations under the License.
16
- */
17
1
  import { CollectionReference, DocumentData, Firestore, Query, QueryConstraint, DocumentReference, QueryCompositeFilterConstraint, QueryNonFilterConstraint, DocumentSnapshot, UpdateData, QuerySnapshot } from './firebase_export';
18
2
  import { PERSISTENCE_MODE_UNSPECIFIED, PersistenceMode } from './helpers';
19
3
  /**
@@ -44,6 +28,7 @@ export declare class CompositeIndexTestHelper {
44
28
  private removeTestSpecificFieldsFromDoc;
45
29
  private prepareTestDocuments;
46
30
  assertOnlineAndOfflineResultsMatch(query: Query, ...expectedDocs: string[]): Promise<void>;
31
+ assertSnapshotResultIdsMatch(snapshot: QuerySnapshot, expectedIds: string[]): void;
47
32
  query<T>(query_: Query<T>, ...queryConstraints: QueryConstraint[]): Query<T>;
48
33
  compositeQuery<T>(query_: Query<T>, compositeFilter: QueryCompositeFilterConstraint, ...queryConstraints: QueryNonFilterConstraint[]): Query<T>;
49
34
  getDocRef<T>(coll: CollectionReference<T>, docId: string): DocumentReference<T>;
@@ -1,19 +1,3 @@
1
- /**
2
- * @license
3
- * Copyright 2023 Google LLC
4
- *
5
- * Licensed under the Apache License, Version 2.0 (the "License");
6
- * you may not use this file except in compliance with the License.
7
- * You may obtain a copy of the License at
8
- *
9
- * http://www.apache.org/licenses/LICENSE-2.0
10
- *
11
- * Unless required by applicable law or agreed to in writing, software
12
- * distributed under the License is distributed on an "AS IS" BASIS,
13
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
- * See the License for the specific language governing permissions and
15
- * limitations under the License.
16
- */
17
1
  import { CollectionReference, DocumentData, Firestore, Query, QueryConstraint, DocumentReference, QueryCompositeFilterConstraint, QueryNonFilterConstraint, DocumentSnapshot, UpdateData, QuerySnapshot } from './firebase_export';
18
2
  import { PERSISTENCE_MODE_UNSPECIFIED, PersistenceMode } from './helpers';
19
3
  /**
@@ -44,6 +28,7 @@ export declare class CompositeIndexTestHelper {
44
28
  private removeTestSpecificFieldsFromDoc;
45
29
  private prepareTestDocuments;
46
30
  assertOnlineAndOfflineResultsMatch(query: Query, ...expectedDocs: string[]): Promise<void>;
31
+ assertSnapshotResultIdsMatch(snapshot: QuerySnapshot, expectedIds: string[]): void;
47
32
  query<T>(query_: Query<T>, ...queryConstraints: QueryConstraint[]): Query<T>;
48
33
  compositeQuery<T>(query_: Query<T>, compositeFilter: QueryCompositeFilterConstraint, ...queryConstraints: QueryNonFilterConstraint[]): Query<T>;
49
34
  getDocRef<T>(coll: CollectionReference<T>, docId: string): DocumentReference<T>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@firebase/firestore",
3
- "version": "4.5.1-canary.42fcdfe4c",
3
+ "version": "4.5.1-canary.6d31930b3",
4
4
  "engines": {
5
5
  "node": ">=10.10.0"
6
6
  },
@@ -96,22 +96,22 @@
96
96
  "lite/package.json"
97
97
  ],
98
98
  "dependencies": {
99
- "@firebase/component": "0.6.6-canary.42fcdfe4c",
100
- "@firebase/logger": "0.4.1-canary.42fcdfe4c",
101
- "@firebase/util": "1.9.5-canary.42fcdfe4c",
102
- "@firebase/webchannel-wrapper": "0.10.6-canary.42fcdfe4c",
99
+ "@firebase/component": "0.6.6-canary.6d31930b3",
100
+ "@firebase/logger": "0.4.1-canary.6d31930b3",
101
+ "@firebase/util": "1.9.5-canary.6d31930b3",
102
+ "@firebase/webchannel-wrapper": "0.10.6-canary.6d31930b3",
103
103
  "@grpc/grpc-js": "~1.9.0",
104
104
  "@grpc/proto-loader": "^0.7.8",
105
105
  "undici": "5.28.3",
106
106
  "tslib": "^2.1.0"
107
107
  },
108
108
  "peerDependencies": {
109
- "@firebase/app": "0.10.0-canary.42fcdfe4c"
109
+ "@firebase/app": "0.10.0-canary.6d31930b3"
110
110
  },
111
111
  "devDependencies": {
112
- "@firebase/app": "0.10.0-canary.42fcdfe4c",
113
- "@firebase/app-compat": "0.2.30-canary.42fcdfe4c",
114
- "@firebase/auth": "1.7.0-canary.42fcdfe4c",
112
+ "@firebase/app": "0.10.0-canary.6d31930b3",
113
+ "@firebase/app-compat": "0.2.30-canary.6d31930b3",
114
+ "@firebase/auth": "1.7.0-canary.6d31930b3",
115
115
  "@rollup/plugin-alias": "3.1.9",
116
116
  "@rollup/plugin-json": "4.1.0",
117
117
  "@types/eslint": "7.29.0",