@firebase/storage 0.13.8-canary.f8334eade → 0.13.8-canary.f92069a21

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';
@@ -3344,7 +3345,7 @@ class FirebaseStorageImpl {
3344
3345
  }
3345
3346
 
3346
3347
  const name = "@firebase/storage";
3347
- const version = "0.13.8-canary.f8334eade";
3348
+ const version = "0.13.8-canary.f92069a21";
3348
3349
 
3349
3350
  /**
3350
3351
  * @license
@@ -3555,6 +3556,7 @@ function _getChild(ref, childPath) {
3555
3556
  */
3556
3557
  function getStorage(app = getApp(), bucketUrl) {
3557
3558
  app = getModularInstance(app);
3559
+ updateEmulatorBanner('Storage', false);
3558
3560
  const storageProvider = _getProvider(app, STORAGE_TYPE);
3559
3561
  const storageInstance = storageProvider.getImmediate({
3560
3562
  identifier: bucketUrl