@firebase/storage 0.13.7-canary.e055e9057 → 0.13.7-canary.ea1f9139e
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 -2
- package/dist/index.browser.cjs.js.map +1 -1
- package/dist/index.cjs.js +3 -2
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm2017.js +4 -3
- package/dist/index.esm2017.js.map +1 -1
- package/dist/index.node.cjs.js +3 -2
- package/dist/index.node.cjs.js.map +1 -1
- package/dist/node-esm/index.node.esm.js +4 -3
- package/dist/node-esm/index.node.esm.js.map +1 -1
- package/package.json +6 -6
|
@@ -3170,7 +3170,8 @@ function extractBucket(host, config) {
|
|
|
3170
3170
|
}
|
|
3171
3171
|
function connectStorageEmulator$1(storage, host, port, options = {}) {
|
|
3172
3172
|
storage.host = `${host}:${port}`;
|
|
3173
|
-
|
|
3173
|
+
const useSsl = util.isCloudWorkstation(host);
|
|
3174
|
+
storage._protocol = useSsl ? 'https' : 'http';
|
|
3174
3175
|
const { mockUserToken } = options;
|
|
3175
3176
|
if (mockUserToken) {
|
|
3176
3177
|
storage._overrideAuthToken =
|
|
@@ -3337,7 +3338,7 @@ class FirebaseStorageImpl {
|
|
|
3337
3338
|
}
|
|
3338
3339
|
|
|
3339
3340
|
const name = "@firebase/storage";
|
|
3340
|
-
const version = "0.13.7-canary.
|
|
3341
|
+
const version = "0.13.7-canary.ea1f9139e";
|
|
3341
3342
|
|
|
3342
3343
|
/**
|
|
3343
3344
|
* @license
|