@firebase/firestore 4.6.2-canary.2ce95696f → 4.6.2-canary.9cbb1845e

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.
@@ -9,7 +9,7 @@ import * as grpc from '@grpc/grpc-js';
9
9
  import * as protoLoader from '@grpc/proto-loader';
10
10
 
11
11
  const name = "@firebase/firestore";
12
- const version$1 = "4.6.2-canary.2ce95696f";
12
+ const version$1 = "4.6.2-canary.9cbb1845e";
13
13
 
14
14
  /**
15
15
  * @license
@@ -62,7 +62,7 @@ User.GOOGLE_CREDENTIALS = new User('google-credentials-uid');
62
62
  User.FIRST_PARTY = new User('first-party-uid');
63
63
  User.MOCK_USER = new User('mock-user');
64
64
 
65
- const version = "10.12.0-canary.2ce95696f";
65
+ const version = "10.12.0-canary.9cbb1845e";
66
66
 
67
67
  /**
68
68
  * @license
@@ -25459,8 +25459,7 @@ async function syncEngineEmitNewSnapsAndNotifyLocalStore(syncEngine, changes, re
25459
25459
  // secondary clients to update query state.
25460
25460
  if (viewSnapshot || remoteEvent) {
25461
25461
  if (syncEngineImpl.isPrimaryClient) {
25462
- const isCurrent = viewSnapshot && !viewSnapshot.fromCache;
25463
- syncEngineImpl.sharedClientState.updateQueryState(queryView.targetId, isCurrent ? 'current' : 'not-current');
25462
+ syncEngineImpl.sharedClientState.updateQueryState(queryView.targetId, (viewSnapshot === null || viewSnapshot === void 0 ? void 0 : viewSnapshot.fromCache) ? 'not-current' : 'current');
25464
25463
  }
25465
25464
  }
25466
25465
  // Update views if there are actual changes.