@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.esm2017.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { _isFirebaseServerApp, _getProvider, getApp, SDK_VERSION as SDK_VERSION$1, _registerComponent, registerVersion } from '@firebase/app';
|
|
2
2
|
import { Component, ComponentContainer, Provider } from '@firebase/component';
|
|
3
|
-
import { stringify, jsonEval, contains, assert, isNodeSdk, stringToByteArray, Sha1, base64, deepCopy, base64Encode, isMobileCordova, stringLength, Deferred, safeGet, isAdmin, isValidFormat, isEmpty, isReactNative, assertionError, map, querystring, errorPrefix, getModularInstance, getDefaultEmulatorHostnameAndPort, deepEqual, createMockUserToken, isCloudWorkstation, pingServer } from '@firebase/util';
|
|
3
|
+
import { stringify, jsonEval, contains, assert, isNodeSdk, stringToByteArray, Sha1, base64, deepCopy, base64Encode, isMobileCordova, stringLength, Deferred, safeGet, isAdmin, isValidFormat, isEmpty, isReactNative, assertionError, map, querystring, errorPrefix, getModularInstance, updateEmulatorBanner, getDefaultEmulatorHostnameAndPort, deepEqual, createMockUserToken, isCloudWorkstation, pingServer } from '@firebase/util';
|
|
4
4
|
import { Logger, LogLevel } from '@firebase/logger';
|
|
5
5
|
|
|
6
6
|
const name = "@firebase/database";
|
|
7
|
-
const version = "1.0.
|
|
7
|
+
const version = "1.0.16-20250512211235";
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
10
|
* @license
|
|
@@ -13598,6 +13598,7 @@ class Database {
|
|
|
13598
13598
|
if (!this._instanceStarted) {
|
|
13599
13599
|
repoStart(this._repoInternal, this.app.options.appId, this.app.options['databaseAuthVariableOverride']);
|
|
13600
13600
|
this._instanceStarted = true;
|
|
13601
|
+
updateEmulatorBanner('Database', this._repo.repoInfo_.emulatorOptions !== null);
|
|
13601
13602
|
}
|
|
13602
13603
|
return this._repoInternal;
|
|
13603
13604
|
}
|
|
@@ -13705,6 +13706,7 @@ function connectDatabaseEmulator(db, host, port, options = {}) {
|
|
|
13705
13706
|
// Workaround to get cookies in Firebase Studio
|
|
13706
13707
|
if (isCloudWorkstation(host)) {
|
|
13707
13708
|
void pingServer(host);
|
|
13709
|
+
updateEmulatorBanner('Database', true);
|
|
13708
13710
|
}
|
|
13709
13711
|
// Modify the repo to apply emulator settings
|
|
13710
13712
|
repoManagerApplyEmulatorSettings(repo, hostAndPort, options, tokenProvider);
|