@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.
@@ -1260,7 +1260,7 @@ WebSocketConnection.responsesRequiredToBeHealthy = 2;
1260
1260
  WebSocketConnection.healthyTimeout = 30000;
1261
1261
 
1262
1262
  const name = "@firebase/database";
1263
- const version = "1.0.14-firebase-studio-sdk-integration.226be0bb1";
1263
+ const version = "1.0.14-firebase-studio-sdk-integration.bffdabd70";
1264
1264
 
1265
1265
  /**
1266
1266
  * @license
@@ -13714,6 +13714,10 @@ function connectDatabaseEmulator(db, host, port, options = {}) {
13714
13714
  : util.createMockUserToken(options.mockUserToken, db.app.options.projectId);
13715
13715
  tokenProvider = new EmulatorTokenProvider(token);
13716
13716
  }
13717
+ // Workaround to get cookies in Firebase Studio
13718
+ if (util.isCloudWorkstation(host)) {
13719
+ void util.pingServer(host);
13720
+ }
13717
13721
  // Modify the repo to apply emulator settings
13718
13722
  repoManagerApplyEmulatorSettings(repo, hostAndPort, options, tokenProvider);
13719
13723
  }