@firebase/storage 0.13.7-firebase-studio-sdk-integration.bffdabd70 → 0.13.7-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.
@@ -1,5 +1,5 @@
1
1
  import { _isFirebaseServerApp, _getProvider, getApp, _registerComponent, registerVersion, SDK_VERSION } from '@firebase/app';
2
- import { FirebaseError, isCloudWorkstation, pingServer, createMockUserToken, getModularInstance, getDefaultEmulatorHostnameAndPort } from '@firebase/util';
2
+ import { FirebaseError, isCloudWorkstation, pingServer, updateEmulatorBanner, createMockUserToken, getModularInstance, getDefaultEmulatorHostnameAndPort } from '@firebase/util';
3
3
  import { Component } from '@firebase/component';
4
4
 
5
5
  /**
@@ -3174,6 +3174,7 @@ function connectStorageEmulator$1(storage, host, port, options = {}) {
3174
3174
  // Workaround to get cookies in Firebase Studio
3175
3175
  if (useSsl) {
3176
3176
  void pingServer(`https://${storage.host}`);
3177
+ updateEmulatorBanner('Storage', true);
3177
3178
  }
3178
3179
  storage._isUsingEmulator = true;
3179
3180
  storage._protocol = useSsl ? 'https' : 'http';
@@ -3323,6 +3324,7 @@ class FirebaseStorageImpl {
3323
3324
  * @param authToken - Firebase auth token
3324
3325
  */
3325
3326
  _makeRequest(requestInfo, requestFactory, authToken, appCheckToken, retry = true) {
3327
+ updateEmulatorBanner('Service', this._isUsingEmulator);
3326
3328
  if (!this._deleted) {
3327
3329
  const request = makeRequest(requestInfo, this._appId, authToken, appCheckToken, requestFactory, this._firebaseVersion, retry, this._isUsingEmulator);
3328
3330
  this._requests.add(request);
@@ -3344,7 +3346,7 @@ class FirebaseStorageImpl {
3344
3346
  }
3345
3347
 
3346
3348
  const name = "@firebase/storage";
3347
- const version = "0.13.7-firebase-studio-sdk-integration.bffdabd70";
3349
+ const version = "0.13.7-firebase-studio-sdk-integration.fe1264c00";
3348
3350
 
3349
3351
  /**
3350
3352
  * @license