@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
package/dist/index.node.mjs
CHANGED
|
@@ -8,7 +8,7 @@ import { credentials, loadPackageDefinition, Metadata } from '@grpc/grpc-js';
|
|
|
8
8
|
import { fromJSON } from '@grpc/proto-loader';
|
|
9
9
|
|
|
10
10
|
const name = "@firebase/firestore";
|
|
11
|
-
const version$1 = "3.4.4-canary.
|
|
11
|
+
const version$1 = "3.4.4-canary.e9619685b";
|
|
12
12
|
|
|
13
13
|
/**
|
|
14
14
|
* @license
|
|
@@ -61,7 +61,7 @@ User.GOOGLE_CREDENTIALS = new User('google-credentials-uid');
|
|
|
61
61
|
User.FIRST_PARTY = new User('first-party-uid');
|
|
62
62
|
User.MOCK_USER = new User('mock-user');
|
|
63
63
|
|
|
64
|
-
const version = "9.6.
|
|
64
|
+
const version = "9.6.6-canary.e9619685b";
|
|
65
65
|
|
|
66
66
|
/**
|
|
67
67
|
* @license
|
|
@@ -20511,12 +20511,12 @@ async function syncEngineListen(syncEngine, query) {
|
|
|
20511
20511
|
}
|
|
20512
20512
|
else {
|
|
20513
20513
|
const targetData = await localStoreAllocateTarget(syncEngineImpl.localStore, queryToTarget(query));
|
|
20514
|
-
const status = syncEngineImpl.sharedClientState.addLocalQueryTarget(targetData.targetId);
|
|
20515
|
-
targetId = targetData.targetId;
|
|
20516
|
-
viewSnapshot = await initializeViewAndComputeSnapshot(syncEngineImpl, query, targetId, status === 'current');
|
|
20517
20514
|
if (syncEngineImpl.isPrimaryClient) {
|
|
20518
20515
|
remoteStoreListen(syncEngineImpl.remoteStore, targetData);
|
|
20519
20516
|
}
|
|
20517
|
+
const status = syncEngineImpl.sharedClientState.addLocalQueryTarget(targetData.targetId);
|
|
20518
|
+
targetId = targetData.targetId;
|
|
20519
|
+
viewSnapshot = await initializeViewAndComputeSnapshot(syncEngineImpl, query, targetId, status === 'current');
|
|
20520
20520
|
}
|
|
20521
20521
|
return viewSnapshot;
|
|
20522
20522
|
}
|
|
@@ -25024,8 +25024,7 @@ class DocumentSnapshot extends DocumentSnapshot$1 {
|
|
|
25024
25024
|
this.metadata = metadata;
|
|
25025
25025
|
}
|
|
25026
25026
|
/**
|
|
25027
|
-
*
|
|
25028
|
-
* exists. True if the document exists.
|
|
25027
|
+
* Returns whether or not the data exists. True if the document exists.
|
|
25029
25028
|
*/
|
|
25030
25029
|
exists() {
|
|
25031
25030
|
return super.exists();
|