@firebase/firestore 3.10.1-canary.2d141ed9d → 3.10.1

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.10.1-canary.2d141ed9d";
11
+ const version$1 = "3.10.1";
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.20.0-canary.2d141ed9d";
64
+ const version = "9.20.0";
65
65
 
66
66
  /**
67
67
  * @license
@@ -4254,17 +4254,6 @@ function serverTimestamp$1(localWriteTime, previousValue) {
4254
4254
  }
4255
4255
  }
4256
4256
  };
4257
- // We should avoid storing deeply nested server timestamp map values
4258
- // because we never use the intermediate "previous values".
4259
- // For example:
4260
- // previous: 42L, add: t1, result: t1 -> 42L
4261
- // previous: t1, add: t2, result: t2 -> 42L (NOT t2 -> t1 -> 42L)
4262
- // previous: t2, add: t3, result: t3 -> 42L (NOT t3 -> t2 -> t1 -> 42L)
4263
- // `getPreviousValue` recursively traverses server timestamps to find the
4264
- // least recent Value.
4265
- if (previousValue && isServerTimestamp(previousValue)) {
4266
- previousValue = getPreviousValue(previousValue);
4267
- }
4268
4257
  if (previousValue) {
4269
4258
  mapValue.fields[PREVIOUS_VALUE_KEY] = previousValue;
4270
4259
  }