@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 CHANGED
@@ -8,7 +8,7 @@ var util = require('@firebase/util');
8
8
  var logger$1 = require('@firebase/logger');
9
9
 
10
10
  const name = "@firebase/database";
11
- const version = "1.0.14-firebase-studio-sdk-integration.226be0bb1";
11
+ const version = "1.0.14-firebase-studio-sdk-integration.bffdabd70";
12
12
 
13
13
  /**
14
14
  * @license
@@ -13706,6 +13706,10 @@ function connectDatabaseEmulator(db, host, port, options = {}) {
13706
13706
  : util.createMockUserToken(options.mockUserToken, db.app.options.projectId);
13707
13707
  tokenProvider = new EmulatorTokenProvider(token);
13708
13708
  }
13709
+ // Workaround to get cookies in Firebase Studio
13710
+ if (util.isCloudWorkstation(host)) {
13711
+ void util.pingServer(host);
13712
+ }
13709
13713
  // Modify the repo to apply emulator settings
13710
13714
  repoManagerApplyEmulatorSettings(repo, hostAndPort, options, tokenProvider);
13711
13715
  }