@firebase/firestore 3.4.0-canary.cd5ad5055 → 3.4.0-canary.fd8cd3ec4

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,18 +8,13 @@ var logger = require('@firebase/logger');
8
8
  var util = require('util');
9
9
  var util$1 = require('@firebase/util');
10
10
  var crypto = require('crypto');
11
- var module$1 = require('module');
12
11
  var grpcJs = require('@grpc/grpc-js');
13
12
  var path = require('path');
14
13
  var url = require('url');
15
14
  var protoLoader = require('@grpc/proto-loader');
16
15
 
17
- function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
18
-
19
- var module__default = /*#__PURE__*/_interopDefaultLegacy(module$1);
20
-
21
16
  const name = "@firebase/firestore";
22
- const version$1 = "3.4.0-canary.cd5ad5055";
17
+ const version$1 = "3.4.0-canary.fd8cd3ec4";
23
18
 
24
19
  /**
25
20
  * @license
@@ -72,7 +67,7 @@ User.GOOGLE_CREDENTIALS = new User('google-credentials-uid');
72
67
  User.FIRST_PARTY = new User('first-party-uid');
73
68
  User.MOCK_USER = new User('mock-user');
74
69
 
75
- const version = "9.6.0-canary.cd5ad5055";
70
+ const version = "9.6.0-canary.fd8cd3ec4";
76
71
 
77
72
  /**
78
73
  * @license
@@ -14320,11 +14315,9 @@ function nodePromise(action) {
14320
14315
  * See the License for the specific language governing permissions and
14321
14316
  * limitations under the License.
14322
14317
  */
14323
- // This is a hack fix for Node ES modules to use `require`.
14324
- // @ts-ignore To avoid using `--module es2020` flag.
14325
- const requireInESM = module__default["default"].createRequire(new (require('url').URL)('file:' + __filename).href);
14326
- // eslint-disable-next-line @typescript-eslint/no-require-imports
14327
- const { version: grpcVersion } = requireInESM('@grpc/grpc-js/package.json');
14318
+ // TODO: Fetch runtime version from grpc-js/package.json instead
14319
+ // when there's a cleaner way to dynamic require JSON in both Node ESM and CJS
14320
+ const grpcVersion = '1.3.7';
14328
14321
  const LOG_TAG$9 = 'Connection';
14329
14322
  const X_GOOG_API_CLIENT_VALUE = `gl-node/${process.versions.node} fire/${SDK_VERSION} grpc/${grpcVersion}`;
14330
14323
  function createMetadata(databasePath, authToken, appCheckToken, appId) {