@firebase/firestore 4.7.15 → 4.7.16-20250521232236

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,14 +2,14 @@ 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, TextEncoder, TextDecoder } from 'util';
5
- import { FirebaseError, isCloudWorkstation, deepEqual, pingServer, updateEmulatorBanner, createMockUserToken, getModularInstance, getDefaultEmulatorHostnameAndPort, getGlobal, isIndexedDBAvailable, getUA, isSafari, isSafariOrWebkit } from '@firebase/util';
5
+ import { FirebaseError, isCloudWorkstation, pingServer, updateEmulatorBanner, deepEqual, createMockUserToken, getModularInstance, getDefaultEmulatorHostnameAndPort, getGlobal, isIndexedDBAvailable, getUA, isSafari, isSafariOrWebkit } from '@firebase/util';
6
6
  import { randomBytes as randomBytes$1 } from 'crypto';
7
7
  import { Integer, Md5 } from '@firebase/webchannel-wrapper/bloom-blob';
8
8
  import * as grpc from '@grpc/grpc-js';
9
9
  import * as protoLoader from '@grpc/proto-loader';
10
10
 
11
11
  const name = "@firebase/firestore";
12
- const version$1 = "4.7.15";
12
+ const version$1 = "4.7.16-20250521232236";
13
13
 
14
14
  /**
15
15
  * @license
@@ -62,7 +62,7 @@ User.GOOGLE_CREDENTIALS = new User('google-credentials-uid');
62
62
  User.FIRST_PARTY = new User('first-party-uid');
63
63
  User.MOCK_USER = new User('mock-user');
64
64
 
65
- const version = "11.8.0";
65
+ const version = "11.8.1-20250521232236";
66
66
 
67
67
  /**
68
68
  * @license
@@ -28063,7 +28063,6 @@ class Firestore$1 {
28063
28063
  }
28064
28064
  _freezeSettings() {
28065
28065
  this._settingsFrozen = true;
28066
- updateEmulatorBanner('Firestore', this._settings.isUsingEmulator);
28067
28066
  return this._settings;
28068
28067
  }
28069
28068
  _delete() {
@@ -28125,6 +28124,10 @@ function connectFirestoreEmulator(firestore, host, port, options = {}) {
28125
28124
  const settings = firestore._getSettings();
28126
28125
  const existingConfig = Object.assign(Object.assign({}, settings), { emulatorOptions: firestore._getEmulatorOptions() });
28127
28126
  const newHostSetting = `${host}:${port}`;
28127
+ if (useSsl) {
28128
+ void pingServer(`https://${newHostSetting}`);
28129
+ updateEmulatorBanner('Firestore', true);
28130
+ }
28128
28131
  if (settings.host !== DEFAULT_HOST && settings.host !== newHostSetting) {
28129
28132
  logWarn('Host has been set in both settings() and connectFirestoreEmulator(), emulator host ' +
28130
28133
  'will be used.');
@@ -28136,10 +28139,6 @@ function connectFirestoreEmulator(firestore, host, port, options = {}) {
28136
28139
  return;
28137
28140
  }
28138
28141
  firestore._setSettings(newConfig);
28139
- if (useSsl) {
28140
- void pingServer(`https://${newHostSetting}`);
28141
- updateEmulatorBanner('Firestore', true);
28142
- }
28143
28142
  if (options.mockUserToken) {
28144
28143
  let token;
28145
28144
  let user;