@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.standalone.js
CHANGED
|
@@ -13607,6 +13607,7 @@ class Database {
|
|
|
13607
13607
|
if (!this._instanceStarted) {
|
|
13608
13608
|
repoStart(this._repoInternal, this.app.options.appId, this.app.options['databaseAuthVariableOverride']);
|
|
13609
13609
|
this._instanceStarted = true;
|
|
13610
|
+
util.updateEmulatorBanner('Database', this._repo.repoInfo_.emulatorOptions !== null);
|
|
13610
13611
|
}
|
|
13611
13612
|
return this._repoInternal;
|
|
13612
13613
|
}
|
|
@@ -13691,6 +13692,7 @@ function connectDatabaseEmulator(db, host, port, options = {}) {
|
|
|
13691
13692
|
// Workaround to get cookies in Firebase Studio
|
|
13692
13693
|
if (util.isCloudWorkstation(host)) {
|
|
13693
13694
|
void util.pingServer(host);
|
|
13695
|
+
util.updateEmulatorBanner('Database', true);
|
|
13694
13696
|
}
|
|
13695
13697
|
// Modify the repo to apply emulator settings
|
|
13696
13698
|
repoManagerApplyEmulatorSettings(repo, hostAndPort, options, tokenProvider);
|