@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.
@@ -10,7 +10,7 @@ import { resolve, join } from 'path';
10
10
  import { loadSync } from '@grpc/proto-loader';
11
11
 
12
12
  const name = "@firebase/firestore";
13
- const version$1 = "3.1.0-2021822203916";
13
+ const version$1 = "3.1.0";
14
14
 
15
15
  /**
16
16
  * @license
@@ -63,7 +63,7 @@ User.GOOGLE_CREDENTIALS = new User('google-credentials-uid');
63
63
  User.FIRST_PARTY = new User('first-party-uid');
64
64
  User.MOCK_USER = new User('mock-user');
65
65
 
66
- const version = "9.1.0-2021822203916";
66
+ const version = "9.1.0";
67
67
 
68
68
  /**
69
69
  * @license
@@ -18479,14 +18479,10 @@ function valueDescription(input) {
18479
18479
  return fail();
18480
18480
  }
18481
18481
  }
18482
- /** Hacky method to try to get the constructor name for an object. */
18482
+ /** try to get the constructor name for an object. */
18483
18483
  function tryGetCustomObjectType(input) {
18484
18484
  if (input.constructor) {
18485
- const funcNameRegex = /function\s+([^\s(]+)\s*\(/;
18486
- const results = funcNameRegex.exec(input.constructor.toString());
18487
- if (results && results.length > 1) {
18488
- return results[1];
18489
- }
18485
+ return input.constructor.name;
18490
18486
  }
18491
18487
  return null;
18492
18488
  }