@firebase/database 1.0.15 → 1.0.16-20250513210731

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.
package/dist/index.cjs.js CHANGED
@@ -8,7 +8,7 @@ var util = require('@firebase/util');
8
8
  var logger$1 = require('@firebase/logger');
9
9
 
10
10
  const name = "@firebase/database";
11
- const version = "1.0.15";
11
+ const version = "1.0.16-20250513210731";
12
12
 
13
13
  /**
14
14
  * @license
@@ -13602,6 +13602,7 @@ class Database {
13602
13602
  if (!this._instanceStarted) {
13603
13603
  repoStart(this._repoInternal, this.app.options.appId, this.app.options['databaseAuthVariableOverride']);
13604
13604
  this._instanceStarted = true;
13605
+ util.updateEmulatorBanner('Database', this._repo.repoInfo_.emulatorOptions !== null);
13605
13606
  }
13606
13607
  return this._repoInternal;
13607
13608
  }
@@ -13709,6 +13710,7 @@ function connectDatabaseEmulator(db, host, port, options = {}) {
13709
13710
  // Workaround to get cookies in Firebase Studio
13710
13711
  if (util.isCloudWorkstation(host)) {
13711
13712
  void util.pingServer(host);
13713
+ util.updateEmulatorBanner('Database', true);
13712
13714
  }
13713
13715
  // Modify the repo to apply emulator settings
13714
13716
  repoManagerApplyEmulatorSettings(repo, hostAndPort, options, tokenProvider);