@firebase/database 1.0.15 → 1.0.16-20250512211235
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 +3 -1
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm2017.js +4 -2
- package/dist/index.esm2017.js.map +1 -1
- package/dist/index.node.cjs.js +3 -1
- package/dist/index.node.cjs.js.map +1 -1
- package/dist/index.standalone.js +2 -0
- package/dist/index.standalone.js.map +1 -1
- package/dist/node-esm/index.node.esm.js +4 -2
- package/dist/node-esm/index.node.esm.js.map +1 -1
- package/package.json +4 -4
package/dist/index.node.cjs.js
CHANGED
|
@@ -1260,7 +1260,7 @@ WebSocketConnection.responsesRequiredToBeHealthy = 2;
|
|
|
1260
1260
|
WebSocketConnection.healthyTimeout = 30000;
|
|
1261
1261
|
|
|
1262
1262
|
const name = "@firebase/database";
|
|
1263
|
-
const version = "1.0.
|
|
1263
|
+
const version = "1.0.16-20250512211235";
|
|
1264
1264
|
|
|
1265
1265
|
/**
|
|
1266
1266
|
* @license
|
|
@@ -13610,6 +13610,7 @@ class Database {
|
|
|
13610
13610
|
if (!this._instanceStarted) {
|
|
13611
13611
|
repoStart(this._repoInternal, this.app.options.appId, this.app.options['databaseAuthVariableOverride']);
|
|
13612
13612
|
this._instanceStarted = true;
|
|
13613
|
+
util.updateEmulatorBanner('Database', this._repo.repoInfo_.emulatorOptions !== null);
|
|
13613
13614
|
}
|
|
13614
13615
|
return this._repoInternal;
|
|
13615
13616
|
}
|
|
@@ -13717,6 +13718,7 @@ function connectDatabaseEmulator(db, host, port, options = {}) {
|
|
|
13717
13718
|
// Workaround to get cookies in Firebase Studio
|
|
13718
13719
|
if (util.isCloudWorkstation(host)) {
|
|
13719
13720
|
void util.pingServer(host);
|
|
13721
|
+
util.updateEmulatorBanner('Database', true);
|
|
13720
13722
|
}
|
|
13721
13723
|
// Modify the repo to apply emulator settings
|
|
13722
13724
|
repoManagerApplyEmulatorSettings(repo, hostAndPort, options, tokenProvider);
|