@firebase/database 1.0.14-firebase-studio-sdk-integration.bffdabd70 → 1.0.14-firebase-studio-sdk-integration.fe1264c00
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 +7 -7
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, updateEmulatorBanner, getModularInstance, 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.14-firebase-studio-sdk-integration.
|
|
7
|
+
const version = "1.0.14-firebase-studio-sdk-integration.fe1264c00";
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
10
|
* @license
|
|
@@ -10936,6 +10936,7 @@ function repoStart(repo, appId, authOverride) {
|
|
|
10936
10936
|
repo.server_.unlisten(query, tag);
|
|
10937
10937
|
}
|
|
10938
10938
|
});
|
|
10939
|
+
updateEmulatorBanner('Database', repo.repoInfo_.isUsingEmulator);
|
|
10939
10940
|
}
|
|
10940
10941
|
/**
|
|
10941
10942
|
* @returns The time in milliseconds, taking the server offset into account if we have one.
|
|
@@ -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);
|