@dereekb/dbx-firebase 9.6.4 → 9.7.1
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.
|
@@ -31,7 +31,7 @@ import { provideFunctions, getFunctions, connectFunctionsEmulator, Functions } f
|
|
|
31
31
|
import * as i1$3 from '@angular/fire/firestore';
|
|
32
32
|
import { provideFirestore, getFirestore, connectFirestoreEmulator, enableIndexedDbPersistence, Firestore } from '@angular/fire/firestore';
|
|
33
33
|
import { HTTP_INTERCEPTORS } from '@angular/common/http';
|
|
34
|
-
import { clientFirebaseFirestoreContextFactory, iterationQueryDocChangeWatcher, firebaseQuerySnapshotAccumulator, firebaseQueryItemAccumulator, firestoreModelKeysFromDocuments, firestoreModelIdsFromDocuments, documentReferencesFromDocuments, getDocumentSnapshots, getDataFromDocumentSnapshots,
|
|
34
|
+
import { clientFirebaseFirestoreContextFactory, iterationQueryDocChangeWatcher, firebaseQuerySnapshotAccumulator, firebaseQueryItemAccumulator, firestoreModelKeysFromDocuments, firestoreModelIdsFromDocuments, documentReferencesFromDocuments, getDocumentSnapshots, getDataFromDocumentSnapshots, latestSnapshotsFromDocuments, dataFromDocumentSnapshots, loadDocumentsForKeys, loadDocumentsForDocumentReferences, loadDocumentsForIds, firestoreModelIdsFromKey, firestoreModelKeyPartPairs, firestoreModelKeyPairObject, documentDataWithIdAndKey, clientFirebaseStorageContextFactory } from '@dereekb/firebase';
|
|
35
35
|
|
|
36
36
|
/**
|
|
37
37
|
* Enables debug token generation for AppCheck by setting FIREBASE_APPCHECK_DEBUG_TOKEN in the browser's self/window.
|
|
@@ -2118,7 +2118,7 @@ class DbxLimitedFirebaseDocumentLoaderInstance {
|
|
|
2118
2118
|
/**
|
|
2119
2119
|
* Snapshot stream of the documents
|
|
2120
2120
|
*/
|
|
2121
|
-
this.snapshotsStream$ = this.documents$.pipe(switchMap((docs) =>
|
|
2121
|
+
this.snapshotsStream$ = this.documents$.pipe(switchMap((docs) => latestSnapshotsFromDocuments(docs)), shareReplay(1));
|
|
2122
2122
|
/**
|
|
2123
2123
|
* Data streamd of the documents.
|
|
2124
2124
|
*/
|