@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.
@@ -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
  }