@firebase/firestore 3.7.1 → 3.7.2-canary.457fc2eeb

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 * as grpc from '@grpc/grpc-js';
8
8
  import * as protoLoader from '@grpc/proto-loader';
9
9
 
10
10
  const name = "@firebase/firestore";
11
- const version$1 = "3.7.1";
11
+ const version$1 = "3.7.2-canary.457fc2eeb";
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.12.1";
64
+ const version = "9.13.0-canary.457fc2eeb";
65
65
 
66
66
  /**
67
67
  * @license
@@ -24655,7 +24655,7 @@ class AsyncObserver {
24655
24655
  this.scheduleEvent(this.observer.error, error);
24656
24656
  }
24657
24657
  else {
24658
- logError('Uncaught Error in snapshot listener:', error);
24658
+ logError('Uncaught Error in snapshot listener:', error.toString());
24659
24659
  }
24660
24660
  }
24661
24661
  mute() {
@@ -25212,6 +25212,7 @@ class TransactionRunner {
25212
25212
  const code = error.code;
25213
25213
  return (code === 'aborted' ||
25214
25214
  code === 'failed-precondition' ||
25215
+ code === 'already-exists' ||
25215
25216
  !isPermanentError(code));
25216
25217
  }
25217
25218
  return false;
@@ -28846,6 +28847,7 @@ function changesFromSnapshot(querySnapshot, includeMetadataChanges) {
28846
28847
  let index = 0;
28847
28848
  return querySnapshot._snapshot.docChanges.map(change => {
28848
28849
  const doc = new QueryDocumentSnapshot(querySnapshot._firestore, querySnapshot._userDataWriter, change.doc.key, change.doc, new SnapshotMetadata(querySnapshot._snapshot.mutatedKeys.has(change.doc.key), querySnapshot._snapshot.fromCache), querySnapshot.query.converter);
28850
+ change.doc;
28849
28851
  return {
28850
28852
  type: 'added',
28851
28853
  doc,