@firebase/firestore 3.4.7-canary.7a4e65cef → 3.4.7-canary.82e23a51d
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/firestore/src/local/indexeddb_remote_document_cache.d.ts +9 -0
- package/dist/firestore/src/local/simple_db.d.ts +2 -0
- package/dist/firestore/test/unit/local/test_remote_document_cache.d.ts +0 -4
- package/dist/index.esm2017.js +14 -7
- package/dist/index.esm2017.js.map +1 -1
- package/dist/index.esm5.js +11 -7
- package/dist/index.esm5.js.map +1 -1
- package/dist/index.node.cjs.js +26 -9
- package/dist/index.node.cjs.js.map +1 -1
- package/dist/index.node.mjs +26 -9
- package/dist/index.node.mjs.map +1 -1
- package/dist/index.rn.js +14 -7
- package/dist/index.rn.js.map +1 -1
- package/dist/lite/firestore/src/local/indexeddb_remote_document_cache.d.ts +9 -0
- package/dist/lite/firestore/src/local/simple_db.d.ts +2 -0
- package/dist/lite/firestore/test/unit/local/test_remote_document_cache.d.ts +0 -4
- package/dist/lite/index.browser.esm2017.js +2 -2
- package/dist/lite/index.browser.esm2017.js.map +1 -1
- package/dist/lite/index.browser.esm5.js +2 -2
- package/dist/lite/index.browser.esm5.js.map +1 -1
- package/dist/lite/index.node.cjs.js +2 -2
- package/dist/lite/index.node.cjs.js.map +1 -1
- package/dist/lite/index.node.mjs +2 -2
- package/dist/lite/index.node.mjs.map +1 -1
- package/dist/lite/index.rn.esm2017.js +1112 -1112
- package/dist/lite/index.rn.esm2017.js.map +1 -1
- package/dist/lite/packages/firestore/src/local/indexeddb_remote_document_cache.d.ts +9 -0
- package/dist/lite/packages/firestore/src/local/simple_db.d.ts +2 -0
- package/dist/lite/packages/firestore/test/unit/local/test_remote_document_cache.d.ts +0 -4
- package/dist/packages/firestore/src/local/indexeddb_remote_document_cache.d.ts +9 -0
- package/dist/packages/firestore/src/local/simple_db.d.ts +2 -0
- package/dist/packages/firestore/test/unit/local/test_remote_document_cache.d.ts +0 -4
- package/package.json +9 -9
package/dist/index.esm5.js
CHANGED
|
@@ -70,7 +70,7 @@ L.MOCK_USER = new L("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 = "9.6.10-canary.
|
|
73
|
+
var P = "9.6.10-canary.82e23a51d", O = new l("@firebase/firestore");
|
|
74
74
|
|
|
75
75
|
/**
|
|
76
76
|
* @license
|
|
@@ -8545,11 +8545,15 @@ function Ko(t, e) {
|
|
|
8545
8545
|
|
|
8546
8546
|
/**
|
|
8547
8547
|
* Comparator that compares document keys according to the primary key sorting
|
|
8548
|
-
* used by the `DbRemoteDocumentDocument` store (by
|
|
8549
|
-
* document ID).
|
|
8548
|
+
* used by the `DbRemoteDocumentDocument` store (by prefix path, collection id
|
|
8549
|
+
* and then document ID).
|
|
8550
|
+
*
|
|
8551
|
+
* Visible for testing.
|
|
8550
8552
|
*/ function Go(t, e) {
|
|
8551
|
-
var n = t.path.
|
|
8552
|
-
|
|
8553
|
+
for (var n = t.path.toArray(), r = e.path.toArray(), i = 0, o = 0
|
|
8554
|
+
// The ordering is based on https://chromium.googlesource.com/chromium/blink/+/fe5c21fef94dae71c1c3344775b8d8a7f7e6d9ec/Source/modules/indexeddb/IDBKey.cpp#74
|
|
8555
|
+
; o < n.length - 2 && o < r.length - 2; ++o) if (i = ct(n[o], r[o])) return i;
|
|
8556
|
+
return (i = ct(n.length, r.length)) || ((i = ct(n[n.length - 2], r[r.length - 2])) || ct(n[n.length - 1], r[r.length - 1]));
|
|
8553
8557
|
}
|
|
8554
8558
|
|
|
8555
8559
|
/**
|
|
@@ -19656,9 +19660,9 @@ function dh(t, e) {
|
|
|
19656
19660
|
return n = Object.assign({
|
|
19657
19661
|
useFetchStreams: rh
|
|
19658
19662
|
}, n), i._setSettings(n), i;
|
|
19659
|
-
}), "PUBLIC")), u(R, "3.4.7-canary.
|
|
19663
|
+
}), "PUBLIC")), u(R, "3.4.7-canary.82e23a51d", void 0),
|
|
19660
19664
|
// BUILD_TARGET will be replaced by values like esm5, esm2017, cjs5, etc during the compilation
|
|
19661
|
-
u(R, "3.4.7-canary.
|
|
19665
|
+
u(R, "3.4.7-canary.82e23a51d", "esm5");
|
|
19662
19666
|
|
|
19663
19667
|
export { Ol as AbstractUserDataWriter, Vc as Bytes, pc as CACHE_SIZE_UNLIMITED, oc as CollectionReference, rc as DocumentReference, fl as DocumentSnapshot, kc as FieldPath, Rc as FieldValue, yc as Firestore, Y as FirestoreError, Lc as GeoPoint, dc as LoadBundleTask, ic as Query, gl as QueryConstraint, dl as QueryDocumentSnapshot, pl as QuerySnapshot, hl as SnapshotMetadata, ft as Timestamp, ih as Transaction, Ul as WriteBatch, Mt as _DatabaseId, Pt as _DocumentKey, ot as _EmptyAppCheckTokenProvider, $ as _EmptyAuthCredentialsProvider, bt as _FieldPath, $a as _cast, Q as _debugAssert, Tt as _isBase64Available, K as _logWarn, fh as _setIndexConfiguration, Ha as _validateIsNotUsedTogether, $l as addDoc, ch as arrayRemove, ah as arrayUnion, Ec as clearIndexedDbPersistence, uc as collection, sc as collectionGroup, nc as connectFirestoreEmulator, Jl as deleteDoc, uh as deleteField, Dc as disableNetwork, ac as doc, Mc as documentId, bc as enableIndexedDbPersistence, Ic as enableMultiTabIndexedDbPersistence, _c as enableNetwork, Ml as endAt, kl as endBefore, gc as ensureFirestoreConfigured, eh as executeWrite, Kl as getDoc, jl as getDocFromCache, zl as getDocFromServer, Ql as getDocs, Wl as getDocsFromCache, Hl as getDocsFromServer, mc as getFirestore, lh as increment, vc as initializeFirestore, _l as limit, Dl as limitToLast, Ac as loadBundle, xc as namedQuery, Zl as onSnapshot, th as onSnapshotsInSync, El as orderBy, wl as query, lc as queryEqual, cc as refEqual, oh as runTransaction, sh as serverTimestamp, Yl as setDoc, q as setLogLevel, vl as snapshotEqual, xl as startAfter, Al as startAt, Nc as terminate, Xl as updateDoc, Sc as waitForPendingWrites, Il as where, hh as writeBatch };
|
|
19664
19668
|
//# sourceMappingURL=index.esm5.js.map
|