@firebase/firestore 4.6.2-canary.9cbb1845e → 4.6.2-canary.f66769cca
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/index.cjs.js +9 -7
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm2017.js +9 -7
- package/dist/index.esm2017.js.map +1 -1
- package/dist/index.esm5.js +11 -9
- package/dist/index.esm5.js.map +1 -1
- package/dist/index.node.cjs.js +4 -3
- package/dist/index.node.cjs.js.map +1 -1
- package/dist/index.node.mjs +4 -3
- package/dist/index.node.mjs.map +1 -1
- package/dist/index.rn.js +9 -7
- package/dist/index.rn.js.map +1 -1
- package/dist/lite/index.browser.esm2017.js +2 -2
- package/dist/lite/index.browser.esm5.js +2 -2
- package/dist/lite/index.cjs.js +2 -2
- package/dist/lite/index.node.cjs.js +2 -2
- package/dist/lite/index.node.mjs +2 -2
- package/dist/lite/index.rn.esm2017.js +2 -2
- package/package.json +9 -9
package/dist/index.cjs.js
CHANGED
|
@@ -71,7 +71,7 @@ User.MOCK_USER = new User("mock-user");
|
|
|
71
71
|
* See the License for the specific language governing permissions and
|
|
72
72
|
* limitations under the License.
|
|
73
73
|
*/
|
|
74
|
-
let b = "10.12.0-canary.
|
|
74
|
+
let b = "10.12.0-canary.f66769cca";
|
|
75
75
|
|
|
76
76
|
/**
|
|
77
77
|
* @license
|
|
@@ -16465,12 +16465,14 @@ async function __PRIVATE_syncEngineEmitNewSnapsAndNotifyLocalStore(e, t, n) {
|
|
|
16465
16465
|
const r = __PRIVATE_debugCast(e), i = [], s = [], o = [];
|
|
16466
16466
|
r.ba.isEmpty() || (r.ba.forEach(((e, _) => {
|
|
16467
16467
|
o.push(r.Ba(_, t, n).then((e => {
|
|
16468
|
-
// Update views if there are actual changes.
|
|
16469
|
-
if (
|
|
16470
16468
|
// If there are changes, or we are handling a global snapshot, notify
|
|
16471
16469
|
// secondary clients to update query state.
|
|
16472
|
-
(e || n) && r.isPrimaryClient
|
|
16473
|
-
|
|
16470
|
+
if ((e || n) && r.isPrimaryClient) {
|
|
16471
|
+
const t = e && !e.fromCache;
|
|
16472
|
+
r.sharedClientState.updateQueryState(_.targetId, t ? "current" : "not-current");
|
|
16473
|
+
}
|
|
16474
|
+
// Update views if there are actual changes.
|
|
16475
|
+
if (e) {
|
|
16474
16476
|
i.push(e);
|
|
16475
16477
|
const t = __PRIVATE_LocalViewChanges.Ki(_.targetId, e);
|
|
16476
16478
|
s.push(t);
|
|
@@ -21992,9 +21994,9 @@ let ve = null;
|
|
|
21992
21994
|
return r = Object.assign({
|
|
21993
21995
|
useFetchStreams: t
|
|
21994
21996
|
}, r), s._setSettings(r), s;
|
|
21995
|
-
}), "PUBLIC").setMultipleInstances(!0)), app.registerVersion(S, "4.6.2-canary.
|
|
21997
|
+
}), "PUBLIC").setMultipleInstances(!0)), app.registerVersion(S, "4.6.2-canary.f66769cca", e),
|
|
21996
21998
|
// BUILD_TARGET will be replaced by values like esm5, esm2017, cjs5, etc during the compilation
|
|
21997
|
-
app.registerVersion(S, "4.6.2-canary.
|
|
21999
|
+
app.registerVersion(S, "4.6.2-canary.f66769cca", "cjs2017");
|
|
21998
22000
|
}();
|
|
21999
22001
|
|
|
22000
22002
|
exports.AbstractUserDataWriter = AbstractUserDataWriter;
|