@firebase/database 0.12.7 → 0.12.8-canary.44948ac91

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 { __spreadArray, __read, __values, __extends, __awaiter, __generator, __a
5
5
  import { Logger, LogLevel } from '@firebase/logger';
6
6
 
7
7
  var name = "@firebase/database";
8
- var version = "0.12.7";
8
+ var version = "0.12.8-canary.44948ac91";
9
9
 
10
10
  /**
11
11
  * @license
@@ -12253,7 +12253,7 @@ var parseRepoInfo = function (dataURL, nodeAdmin) {
12253
12253
  }
12254
12254
  var webSocketOnly = parsedUrl.scheme === 'ws' || parsedUrl.scheme === 'wss';
12255
12255
  return {
12256
- repoInfo: new RepoInfo(parsedUrl.host, parsedUrl.secure, namespace, nodeAdmin, webSocketOnly,
12256
+ repoInfo: new RepoInfo(parsedUrl.host, parsedUrl.secure, namespace, webSocketOnly, nodeAdmin,
12257
12257
  /*persistenceKey=*/ '',
12258
12258
  /*includeNamespaceInQueryParams=*/ namespace !== parsedUrl.subdomain),
12259
12259
  path: new Path(parsedUrl.pathString)
@@ -14004,7 +14004,7 @@ function repoManagerDatabaseFromApp(app, authProvider, appCheckProvider, url, no
14004
14004
  var repoInfo = parsedUrl.repoInfo;
14005
14005
  var isEmulator;
14006
14006
  var dbEmulatorHost = undefined;
14007
- if (typeof process !== 'undefined') {
14007
+ if (typeof process !== 'undefined' && process.env) {
14008
14008
  dbEmulatorHost = process.env[FIREBASE_DATABASE_EMULATOR_HOST_VAR];
14009
14009
  }
14010
14010
  if (dbEmulatorHost) {