@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.
@@ -2,11 +2,11 @@ import { _getProvider, getApp, _removeServiceInstance, _registerComponent, regis
2
2
  import { Component } from '@firebase/component';
3
3
  import { Logger, LogLevel } from '@firebase/logger';
4
4
  import { inspect } from 'util';
5
- import { FirebaseError, updateEmulatorBanner, getDefaultEmulatorHostnameAndPort, isCloudWorkstation, deepEqual, pingServer, createMockUserToken, getModularInstance } from '@firebase/util';
5
+ import { FirebaseError, isCloudWorkstation, updateEmulatorBanner, getDefaultEmulatorHostnameAndPort, deepEqual, pingServer, createMockUserToken, getModularInstance } from '@firebase/util';
6
6
  import { Integer } from '@firebase/webchannel-wrapper/bloom-blob';
7
7
  import { randomBytes as randomBytes$1 } from 'crypto';
8
8
 
9
- const version$1 = "4.7.11-firebase-studio-sdk-integration.bffdabd70";
9
+ const version$1 = "4.7.11-firebase-studio-sdk-integration.fe1264c00";
10
10
 
11
11
  /**
12
12
  * @license
@@ -59,7 +59,7 @@ User.GOOGLE_CREDENTIALS = new User('google-credentials-uid');
59
59
  User.FIRST_PARTY = new User('first-party-uid');
60
60
  User.MOCK_USER = new User('mock-user');
61
61
 
62
- const version = "11.6.1-firebase-studio-sdk-integration.bffdabd70";
62
+ const version = "11.6.1-firebase-studio-sdk-integration.fe1264c00";
63
63
 
64
64
  /**
65
65
  * @license
@@ -5837,8 +5837,9 @@ class Firestore {
5837
5837
  }
5838
5838
  _freezeSettings() {
5839
5839
  this._settingsFrozen = true;
5840
- updateEmulatorBanner('Firestore', this._settings.emulatorOptions !== null &&
5841
- this._settings.emulatorOptions !== undefined);
5840
+ if (isCloudWorkstation(this._settings.host)) {
5841
+ updateEmulatorBanner('Firestore', this._settings.isUsingEmulator);
5842
+ }
5842
5843
  return this._settings;
5843
5844
  }
5844
5845
  _delete() {
@@ -5942,7 +5943,7 @@ function connectFirestoreEmulator(firestore, host, port, options = {}) {
5942
5943
  firestore._setSettings(newConfig);
5943
5944
  if (useSsl) {
5944
5945
  void pingServer(`https://${newHostSetting}`);
5945
- updateEmulatorBanner('firestore', true);
5946
+ updateEmulatorBanner('Firestore', true);
5946
5947
  }
5947
5948
  if (options.mockUserToken) {
5948
5949
  let token;