@firebase/firestore 3.4.4-canary.e8972ef49 → 3.4.4-canary.e9619685b
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/api/snapshot.d.ts +1 -2
- package/dist/index.d.ts +1 -2
- package/dist/index.esm2017.js +8 -7
- package/dist/index.esm2017.js.map +1 -1
- package/dist/index.esm5.js +7 -8
- package/dist/index.esm5.js.map +1 -1
- package/dist/index.node.cjs.js +6 -7
- package/dist/index.node.cjs.js.map +1 -1
- package/dist/index.node.mjs +6 -7
- package/dist/index.node.mjs.map +1 -1
- package/dist/index.rn.js +8 -7
- package/dist/index.rn.js.map +1 -1
- package/dist/internal.d.ts +1 -2
- package/dist/lite/firestore/src/api/snapshot.d.ts +1 -2
- package/dist/lite/index.browser.esm2017.js +72 -72
- package/dist/lite/index.browser.esm2017.js.map +1 -1
- package/dist/lite/index.browser.esm5.js +8 -8
- package/dist/lite/index.node.cjs.js +2 -2
- package/dist/lite/index.node.mjs +2 -2
- package/dist/lite/index.node.mjs.map +1 -1
- package/dist/lite/index.rn.esm2017.js +2 -2
- package/dist/lite/packages/firestore/dist/lite/index.browser.esm2017.d.ts +18 -18
- package/dist/lite/packages/firestore/src/api/snapshot.d.ts +1 -2
- package/dist/packages/firestore/src/api/snapshot.d.ts +1 -2
- package/dist/private.d.ts +1 -2
- package/package.json +9 -9
|
@@ -198,8 +198,7 @@ export declare class DocumentSnapshot<T = DocumentData> extends LiteDocumentSnap
|
|
|
198
198
|
/** @hideconstructor protected */
|
|
199
199
|
constructor(_firestore: Firestore, userDataWriter: AbstractUserDataWriter, key: DocumentKey, document: Document | null, metadata: SnapshotMetadata, converter: UntypedFirestoreDataConverter<T> | null);
|
|
200
200
|
/**
|
|
201
|
-
*
|
|
202
|
-
* exists. True if the document exists.
|
|
201
|
+
* Returns whether or not the data exists. True if the document exists.
|
|
203
202
|
*/
|
|
204
203
|
exists(): this is QueryDocumentSnapshot<T>;
|
|
205
204
|
/**
|
package/dist/index.d.ts
CHANGED
|
@@ -413,8 +413,7 @@ export declare class DocumentSnapshot<T = DocumentData> {
|
|
|
413
413
|
readonly metadata: SnapshotMetadata;
|
|
414
414
|
protected constructor();
|
|
415
415
|
/**
|
|
416
|
-
*
|
|
417
|
-
* exists. True if the document exists.
|
|
416
|
+
* Returns whether or not the data exists. True if the document exists.
|
|
418
417
|
*/
|
|
419
418
|
exists(): this is QueryDocumentSnapshot<T>;
|
|
420
419
|
/**
|
package/dist/index.esm2017.js
CHANGED
|
@@ -66,7 +66,7 @@ C.MOCK_USER = new C("mock-user");
|
|
|
66
66
|
* See the License for the specific language governing permissions and
|
|
67
67
|
* limitations under the License.
|
|
68
68
|
*/
|
|
69
|
-
let N = "9.6.
|
|
69
|
+
let N = "9.6.6-canary.e9619685b";
|
|
70
70
|
|
|
71
71
|
/**
|
|
72
72
|
* @license
|
|
@@ -13278,8 +13278,10 @@ async function fc(t, e) {
|
|
|
13278
13278
|
// to the query. EventManager will not have an assigned target ID in this
|
|
13279
13279
|
// case and calls `listen` to obtain this ID.
|
|
13280
13280
|
s = r.targetId, n.sharedClientState.addLocalQueryTarget(s), i = r.view.xo(); else {
|
|
13281
|
-
const t = await br(n.localStore, Se(e))
|
|
13282
|
-
|
|
13281
|
+
const t = await br(n.localStore, Se(e));
|
|
13282
|
+
n.isPrimaryClient && go(n.remoteStore, t);
|
|
13283
|
+
const r = n.sharedClientState.addLocalQueryTarget(t.targetId);
|
|
13284
|
+
s = t.targetId, i = await dc(n, e, s, "current" === r);
|
|
13283
13285
|
}
|
|
13284
13286
|
return i;
|
|
13285
13287
|
}
|
|
@@ -16881,8 +16883,7 @@ function ku(t, e, n, s, i) {
|
|
|
16881
16883
|
super(t, e, n, s, r), this._firestore = t, this._firestoreImpl = t, this.metadata = i;
|
|
16882
16884
|
}
|
|
16883
16885
|
/**
|
|
16884
|
-
*
|
|
16885
|
-
* exists. True if the document exists.
|
|
16886
|
+
* Returns whether or not the data exists. True if the document exists.
|
|
16886
16887
|
*/ exists() {
|
|
16887
16888
|
return super.exists();
|
|
16888
16889
|
}
|
|
@@ -18150,9 +18151,9 @@ function Lh(t, e) {
|
|
|
18150
18151
|
return n = Object.assign({
|
|
18151
18152
|
useFetchStreams: e
|
|
18152
18153
|
}, n), i._setSettings(n), i;
|
|
18153
|
-
}), "PUBLIC")), registerVersion(D, "3.4.4-canary.
|
|
18154
|
+
}), "PUBLIC")), registerVersion(D, "3.4.4-canary.e9619685b", t),
|
|
18154
18155
|
// BUILD_TARGET will be replaced by values like esm5, esm2017, cjs5, etc during the compilation
|
|
18155
|
-
registerVersion(D, "3.4.4-canary.
|
|
18156
|
+
registerVersion(D, "3.4.4-canary.e9619685b", "esm2017");
|
|
18156
18157
|
}();
|
|
18157
18158
|
|
|
18158
18159
|
export { hh as AbstractUserDataWriter, ou as Bytes, Ua as CACHE_SIZE_UNLIMITED, Na as CollectionReference, Da as DocumentReference, Lu as DocumentSnapshot, iu as FieldPath, cu as FieldValue, qa as Firestore, G as FirestoreError, au as GeoPoint, Ba as LoadBundleTask, Ca as Query, Gu as QueryConstraint, Bu as QueryDocumentSnapshot, Uu as QuerySnapshot, Mu as SnapshotMetadata, at as Timestamp, Dh as Transaction, dh as WriteBatch, Vt as _DatabaseId, Nt as _DocumentKey, et as _EmptyAppCheckTokenProvider, z as _EmptyAuthCredentialsProvider, mt as _FieldPath, ba as _cast, q as _debugAssert, yt as _isBase64Available, M as _logWarn, Mh as _setIndexConfiguration, Ea as _validateIsNotUsedTogether, bh as addDoc, $h as arrayRemove, xh as arrayUnion, Ja as clearIndexedDbPersistence, ka as collection, xa as collectionGroup, Sa as connectFirestoreEmulator, Rh as deleteDoc, Nh as deleteField, Za as disableNetwork, $a as doc, ru as documentId, Wa as enableIndexedDbPersistence, za as enableMultiTabIndexedDbPersistence, Xa as enableNetwork, rh as endAt, ih as endBefore, Ga as ensureFirestoreConfigured, Vh as executeWrite, _h as getDoc, gh as getDocFromCache, yh as getDocFromServer, ph as getDocs, Th as getDocsFromCache, Eh as getDocsFromServer, ja as getFirestore, Oh as increment, Ka as initializeFirestore, Xu as limit, Zu as limitToLast, eu as loadBundle, nu as namedQuery, Ph as onSnapshot, vh as onSnapshotsInSync, Ju as orderBy, Qu as query, Fa as queryEqual, Oa as refEqual, Ch as runTransaction, kh as serverTimestamp, Ih as setDoc, $ as setLogLevel, Ku as snapshotEqual, nh as startAfter, eh as startAt, tu as terminate, Ah as updateDoc, Ya as waitForPendingWrites, zu as where, Fh as writeBatch };
|