@firebase/database 1.0.14-firebase-studio-sdk-integration.226be0bb1 → 1.0.14-firebase-studio-sdk-integration.bffdabd70
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 +5 -1
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm2017.js +6 -2
- package/dist/index.esm2017.js.map +1 -1
- package/dist/index.node.cjs.js +5 -1
- package/dist/index.node.cjs.js.map +1 -1
- package/dist/index.standalone.js +4 -0
- package/dist/index.standalone.js.map +1 -1
- package/dist/node-esm/index.node.esm.js +6 -2
- package/dist/node-esm/index.node.esm.js.map +1 -1
- package/package.json +7 -7
package/dist/index.standalone.js
CHANGED
|
@@ -13688,6 +13688,10 @@ function connectDatabaseEmulator(db, host, port, options = {}) {
|
|
|
13688
13688
|
: util.createMockUserToken(options.mockUserToken, db.app.options.projectId);
|
|
13689
13689
|
tokenProvider = new EmulatorTokenProvider(token);
|
|
13690
13690
|
}
|
|
13691
|
+
// Workaround to get cookies in Firebase Studio
|
|
13692
|
+
if (util.isCloudWorkstation(host)) {
|
|
13693
|
+
void util.pingServer(host);
|
|
13694
|
+
}
|
|
13691
13695
|
// Modify the repo to apply emulator settings
|
|
13692
13696
|
repoManagerApplyEmulatorSettings(repo, hostAndPort, options, tokenProvider);
|
|
13693
13697
|
}
|