@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.
@@ -1246,7 +1246,7 @@ WebSocketConnection.responsesRequiredToBeHealthy = 2;
1246
1246
  WebSocketConnection.healthyTimeout = 30000;
1247
1247
 
1248
1248
  const name = "@firebase/database";
1249
- const version = "0.12.7";
1249
+ const version = "0.12.8-canary.44948ac91";
1250
1250
 
1251
1251
  /**
1252
1252
  * @license
@@ -11907,7 +11907,7 @@ const parseRepoInfo = function (dataURL, nodeAdmin) {
11907
11907
  }
11908
11908
  const webSocketOnly = parsedUrl.scheme === 'ws' || parsedUrl.scheme === 'wss';
11909
11909
  return {
11910
- repoInfo: new RepoInfo(parsedUrl.host, parsedUrl.secure, namespace, nodeAdmin, webSocketOnly,
11910
+ repoInfo: new RepoInfo(parsedUrl.host, parsedUrl.secure, namespace, webSocketOnly, nodeAdmin,
11911
11911
  /*persistenceKey=*/ '',
11912
11912
  /*includeNamespaceInQueryParams=*/ namespace !== parsedUrl.subdomain),
11913
11913
  path: new Path(parsedUrl.pathString)
@@ -13539,7 +13539,7 @@ function repoManagerDatabaseFromApp(app, authProvider, appCheckProvider, url, no
13539
13539
  let repoInfo = parsedUrl.repoInfo;
13540
13540
  let isEmulator;
13541
13541
  let dbEmulatorHost = undefined;
13542
- if (typeof process !== 'undefined') {
13542
+ if (typeof process !== 'undefined' && process.env) {
13543
13543
  dbEmulatorHost = process.env[FIREBASE_DATABASE_EMULATOR_HOST_VAR];
13544
13544
  }
13545
13545
  if (dbEmulatorHost) {