@firebase/firestore 3.1.0-2021822203916 → 3.1.0

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.
@@ -15,7 +15,7 @@ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'defau
15
15
 
16
16
  var nodeFetch__default = /*#__PURE__*/_interopDefaultLegacy(nodeFetch);
17
17
 
18
- var version$1 = "3.1.0-2021822203916";
18
+ var version$1 = "3.1.0";
19
19
  /**
20
20
  * @license
21
21
  * Copyright 2017 Google LLC
@@ -67,7 +67,7 @@ User.UNAUTHENTICATED = new User(null);
67
67
  User.GOOGLE_CREDENTIALS = new User('google-credentials-uid');
68
68
  User.FIRST_PARTY = new User('first-party-uid');
69
69
  User.MOCK_USER = new User('mock-user');
70
- var version = "9.1.0-2021822203916";
70
+ var version = "9.1.0";
71
71
  /**
72
72
  * @license
73
73
  * Copyright 2017 Google LLC
@@ -1126,14 +1126,10 @@ function valueDescription(input) {
1126
1126
  return fail();
1127
1127
  }
1128
1128
  }
1129
- /** Hacky method to try to get the constructor name for an object. */
1129
+ /** try to get the constructor name for an object. */
1130
1130
  function tryGetCustomObjectType(input) {
1131
1131
  if (input.constructor) {
1132
- var funcNameRegex = /function\s+([^\s(]+)\s*\(/;
1133
- var results = funcNameRegex.exec(input.constructor.toString());
1134
- if (results && results.length > 1) {
1135
- return results[1];
1136
- }
1132
+ return input.constructor.name;
1137
1133
  }
1138
1134
  return null;
1139
1135
  }