@firebase/database-compat 0.1.7-canary.0001e23e2 → 0.1.7-canary.1cf124e6e

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.
@@ -5,7 +5,7 @@ import { errorPrefix, validateArgCount, validateCallback, validateContextObject,
5
5
  import { Logger } from '@firebase/logger';
6
6
 
7
7
  const name = "@firebase/database-compat";
8
- const version = "0.1.7-canary.0001e23e2";
8
+ const version = "0.1.7-canary.1cf124e6e";
9
9
 
10
10
  /**
11
11
  * @license
@@ -6,7 +6,7 @@ import { __extends } from 'tslib';
6
6
  import { Logger } from '@firebase/logger';
7
7
 
8
8
  var name = "@firebase/database-compat";
9
- var version = "0.1.7-canary.0001e23e2";
9
+ var version = "0.1.7-canary.1cf124e6e";
10
10
 
11
11
  /**
12
12
  * @license
package/dist/index.js CHANGED
@@ -12,7 +12,7 @@ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'defau
12
12
  var firebase__default = /*#__PURE__*/_interopDefaultLegacy(firebase);
13
13
 
14
14
  var name = "@firebase/database-compat";
15
- var version = "0.1.7-canary.0001e23e2";
15
+ var version = "0.1.7-canary.1cf124e6e";
16
16
 
17
17
  /**
18
18
  * @license
@@ -15606,7 +15606,7 @@ var parseRepoInfo = function (dataURL, nodeAdmin) {
15606
15606
  }
15607
15607
  var webSocketOnly = parsedUrl.scheme === 'ws' || parsedUrl.scheme === 'wss';
15608
15608
  return {
15609
- repoInfo: new RepoInfo(parsedUrl.host, parsedUrl.secure, namespace, nodeAdmin, webSocketOnly,
15609
+ repoInfo: new RepoInfo(parsedUrl.host, parsedUrl.secure, namespace, webSocketOnly, nodeAdmin,
15610
15610
  /*persistenceKey=*/ '',
15611
15611
  /*includeNamespaceInQueryParams=*/ namespace !== parsedUrl.subdomain),
15612
15612
  path: new Path(parsedUrl.pathString)
@@ -17357,7 +17357,7 @@ function repoManagerDatabaseFromApp(app, authProvider, appCheckProvider, url, no
17357
17357
  var repoInfo = parsedUrl.repoInfo;
17358
17358
  var isEmulator;
17359
17359
  var dbEmulatorHost = undefined;
17360
- if (typeof process !== 'undefined') {
17360
+ if (typeof process !== 'undefined' && process.env) {
17361
17361
  dbEmulatorHost = process.env[FIREBASE_DATABASE_EMULATOR_HOST_VAR];
17362
17362
  }
17363
17363
  if (dbEmulatorHost) {