@firebase/storage 0.13.8-canary.f92069a21 → 0.13.8
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 +1 -3
- package/dist/index.browser.cjs.js.map +1 -1
- package/dist/index.cjs.js +1 -3
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm2017.js +2 -4
- package/dist/index.esm2017.js.map +1 -1
- package/dist/index.node.cjs.js +1 -3
- package/dist/index.node.cjs.js.map +1 -1
- package/dist/node-esm/index.node.esm.js +2 -4
- 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,
|
|
2
|
+
import { FirebaseError, isCloudWorkstation, pingServer, createMockUserToken, getModularInstance, getDefaultEmulatorHostnameAndPort } from '@firebase/util';
|
|
3
3
|
import { Component } from '@firebase/component';
|
|
4
4
|
|
|
5
5
|
/**
|
|
@@ -3201,7 +3201,6 @@ 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);
|
|
3205
3204
|
}
|
|
3206
3205
|
storage._isUsingEmulator = true;
|
|
3207
3206
|
storage._protocol = useSsl ? 'https' : 'http';
|
|
@@ -3372,7 +3371,7 @@ class FirebaseStorageImpl {
|
|
|
3372
3371
|
}
|
|
3373
3372
|
|
|
3374
3373
|
const name = "@firebase/storage";
|
|
3375
|
-
const version = "0.13.8
|
|
3374
|
+
const version = "0.13.8";
|
|
3376
3375
|
|
|
3377
3376
|
/**
|
|
3378
3377
|
* @license
|
|
@@ -3583,7 +3582,6 @@ function _getChild(ref, childPath) {
|
|
|
3583
3582
|
*/
|
|
3584
3583
|
function getStorage(app = getApp(), bucketUrl) {
|
|
3585
3584
|
app = getModularInstance(app);
|
|
3586
|
-
updateEmulatorBanner('Storage', false);
|
|
3587
3585
|
const storageProvider = _getProvider(app, STORAGE_TYPE);
|
|
3588
3586
|
const storageInstance = storageProvider.getImmediate({
|
|
3589
3587
|
identifier: bucketUrl
|