@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.
@@ -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.e8972ef49";
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.5-canary.e8972ef49";
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
- * Property of the `DocumentSnapshot` that signals whether or not the data
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();