@firebase/database 1.0.18 → 1.0.19-20250520183425
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 +1 -3
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm2017.js +2 -4
- package/dist/index.esm2017.js.map +1 -1
- package/dist/index.node.cjs.js +1 -3
- package/dist/index.node.cjs.js.map +1 -1
- package/dist/index.standalone.js +0 -2
- package/dist/index.standalone.js.map +1 -1
- package/dist/node-esm/index.node.esm.js +2 -4
- package/dist/node-esm/index.node.esm.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import Websocket from 'faye-websocket';
|
|
2
|
-
import { stringify, jsonEval, contains, assert, isNodeSdk, stringToByteArray, Sha1, base64, deepCopy, base64Encode, isMobileCordova, stringLength, Deferred, safeGet, isAdmin, isValidFormat, isEmpty, isReactNative, assertionError, map, querystring, errorPrefix, getModularInstance,
|
|
2
|
+
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
3
|
import { Logger, LogLevel } from '@firebase/logger';
|
|
4
4
|
import { _isFirebaseServerApp, _getProvider, getApp, SDK_VERSION as SDK_VERSION$1, _registerComponent, registerVersion } from '@firebase/app';
|
|
5
5
|
import { Component, ComponentContainer, Provider } from '@firebase/component';
|
|
@@ -1252,7 +1252,7 @@ WebSocketConnection.responsesRequiredToBeHealthy = 2;
|
|
|
1252
1252
|
WebSocketConnection.healthyTimeout = 30000;
|
|
1253
1253
|
|
|
1254
1254
|
const name = "@firebase/database";
|
|
1255
|
-
const version = "1.0.
|
|
1255
|
+
const version = "1.0.19-20250520183425";
|
|
1256
1256
|
|
|
1257
1257
|
/**
|
|
1258
1258
|
* @license
|
|
@@ -13602,7 +13602,6 @@ 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
|
-
updateEmulatorBanner('Database', this._repo.repoInfo_.emulatorOptions !== null);
|
|
13606
13605
|
}
|
|
13607
13606
|
return this._repoInternal;
|
|
13608
13607
|
}
|
|
@@ -13710,7 +13709,6 @@ function connectDatabaseEmulator(db, host, port, options = {}) {
|
|
|
13710
13709
|
// Workaround to get cookies in Firebase Studio
|
|
13711
13710
|
if (isCloudWorkstation(host)) {
|
|
13712
13711
|
void pingServer(host);
|
|
13713
|
-
updateEmulatorBanner('Database', true);
|
|
13714
13712
|
}
|
|
13715
13713
|
// Modify the repo to apply emulator settings
|
|
13716
13714
|
repoManagerApplyEmulatorSettings(repo, hostAndPort, options, tokenProvider);
|