@firebase/firestore 4.7.11-firebase-studio-sdk-integration.bffdabd70 → 4.7.11-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.
@@ -10,7 +10,7 @@ var util = require('@firebase/util');
10
10
  var bloomBlob = require('@firebase/webchannel-wrapper/bloom-blob');
11
11
  var crypto = require('crypto');
12
12
 
13
- const version$1 = "4.7.11-firebase-studio-sdk-integration.bffdabd70";
13
+ const version$1 = "4.7.11-firebase-studio-sdk-integration.fe1264c00";
14
14
 
15
15
  /**
16
16
  * @license
@@ -63,7 +63,7 @@ User.GOOGLE_CREDENTIALS = new User('google-credentials-uid');
63
63
  User.FIRST_PARTY = new User('first-party-uid');
64
64
  User.MOCK_USER = new User('mock-user');
65
65
 
66
- const version = "11.6.1-firebase-studio-sdk-integration.bffdabd70";
66
+ const version = "11.6.1-firebase-studio-sdk-integration.fe1264c00";
67
67
 
68
68
  /**
69
69
  * @license
@@ -5841,8 +5841,9 @@ class Firestore {
5841
5841
  }
5842
5842
  _freezeSettings() {
5843
5843
  this._settingsFrozen = true;
5844
- util.updateEmulatorBanner('Firestore', this._settings.emulatorOptions !== null &&
5845
- this._settings.emulatorOptions !== undefined);
5844
+ if (util.isCloudWorkstation(this._settings.host)) {
5845
+ util.updateEmulatorBanner('Firestore', this._settings.isUsingEmulator);
5846
+ }
5846
5847
  return this._settings;
5847
5848
  }
5848
5849
  _delete() {
@@ -5946,7 +5947,7 @@ function connectFirestoreEmulator(firestore, host, port, options = {}) {
5946
5947
  firestore._setSettings(newConfig);
5947
5948
  if (useSsl) {
5948
5949
  void util.pingServer(`https://${newHostSetting}`);
5949
- util.updateEmulatorBanner('firestore', true);
5950
+ util.updateEmulatorBanner('Firestore', true);
5950
5951
  }
5951
5952
  if (options.mockUserToken) {
5952
5953
  let token;