@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 @@ var path = require('path');
15
15
  var protoLoader = require('@grpc/proto-loader');
16
16
 
17
17
  var name = "@firebase/firestore";
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
@@ -19961,14 +19961,10 @@ function valueDescription(input) {
19961
19961
  return fail();
19962
19962
  }
19963
19963
  }
19964
- /** Hacky method to try to get the constructor name for an object. */
19964
+ /** try to get the constructor name for an object. */
19965
19965
  function tryGetCustomObjectType(input) {
19966
19966
  if (input.constructor) {
19967
- var funcNameRegex = /function\s+([^\s(]+)\s*\(/;
19968
- var results = funcNameRegex.exec(input.constructor.toString());
19969
- if (results && results.length > 1) {
19970
- return results[1];
19971
- }
19967
+ return input.constructor.name;
19972
19968
  }
19973
19969
  return null;
19974
19970
  }