@firebase/storage 0.13.7-firebase-studio-sdk-integration.927daddb8 → 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
  /**
@@ -3201,6 +3201,7 @@ function connectStorageEmulator$1(storage, host, port, options = {}) {
3201
3201
  // Workaround to get cookies in Firebase Studio
3202
3202
  if (useSsl) {
3203
3203
  void pingServer(`https://${storage.host}`);
3204
+ updateEmulatorBanner('Storage', true);
3204
3205
  }
3205
3206
  storage._isUsingEmulator = true;
3206
3207
  storage._protocol = useSsl ? 'https' : 'http';
@@ -3350,6 +3351,7 @@ class FirebaseStorageImpl {
3350
3351
  * @param authToken - Firebase auth token
3351
3352
  */
3352
3353
  _makeRequest(requestInfo, requestFactory, authToken, appCheckToken, retry = true) {
3354
+ updateEmulatorBanner('Service', this._isUsingEmulator);
3353
3355
  if (!this._deleted) {
3354
3356
  const request = makeRequest(requestInfo, this._appId, authToken, appCheckToken, requestFactory, this._firebaseVersion, retry, this._isUsingEmulator);
3355
3357
  this._requests.add(request);
@@ -3371,7 +3373,7 @@ class FirebaseStorageImpl {
3371
3373
  }
3372
3374
 
3373
3375
  const name = "@firebase/storage";
3374
- const version = "0.13.7-firebase-studio-sdk-integration.927daddb8";
3376
+ const version = "0.13.7-firebase-studio-sdk-integration.fe1264c00";
3375
3377
 
3376
3378
  /**
3377
3379
  * @license