@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.
- package/dist/index.browser.cjs.js +3 -1
- package/dist/index.browser.cjs.js.map +1 -1
- package/dist/index.cjs.js +3 -1
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm2017.js +4 -2
- package/dist/index.esm2017.js.map +1 -1
- package/dist/index.node.cjs.js +3 -1
- package/dist/index.node.cjs.js.map +1 -1
- package/dist/node-esm/index.node.esm.js +4 -2
- package/dist/node-esm/index.node.esm.js.map +1 -1
- package/package.json +6 -6
|
@@ -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';
|
|
@@ -3371,7 +3372,7 @@ class FirebaseStorageImpl {
|
|
|
3371
3372
|
}
|
|
3372
3373
|
|
|
3373
3374
|
const name = "@firebase/storage";
|
|
3374
|
-
const version = "0.13.8-canary.
|
|
3375
|
+
const version = "0.13.8-canary.f92069a21";
|
|
3375
3376
|
|
|
3376
3377
|
/**
|
|
3377
3378
|
* @license
|
|
@@ -3582,6 +3583,7 @@ function _getChild(ref, childPath) {
|
|
|
3582
3583
|
*/
|
|
3583
3584
|
function getStorage(app = getApp(), bucketUrl) {
|
|
3584
3585
|
app = getModularInstance(app);
|
|
3586
|
+
updateEmulatorBanner('Storage', false);
|
|
3585
3587
|
const storageProvider = _getProvider(app, STORAGE_TYPE);
|
|
3586
3588
|
const storageInstance = storageProvider.getImmediate({
|
|
3587
3589
|
identifier: bucketUrl
|