@firebase/storage 0.9.11-20221010190246 → 0.9.11-20221010211037

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/CHANGELOG.md CHANGED
@@ -1,15 +1,18 @@
1
1
  #Unreleased
2
2
 
3
- ## 0.9.11-20221010190246
3
+ ## 0.9.11-20221010211037
4
4
 
5
5
  ### Patch Changes
6
6
 
7
7
  - [`4eb8145fb`](https://github.com/firebase/firebase-js-sdk/commit/4eb8145fb3b503884ea610e813be359127d1a705) [#6653](https://github.com/firebase/firebase-js-sdk/pull/6653) - Fixed bug where upload status wasn't being checked after an upload failure.
8
8
  Implemented exponential backoff and max retry strategy.
9
- - Updated dependencies [[`29d034072`](https://github.com/firebase/firebase-js-sdk/commit/29d034072c20af394ce384e42aa10a37d5dfcb18)]:
10
- - @firebase/util@1.7.1-20221010190246
11
- - @firebase/app@0.8.1-20221010190246
12
- - @firebase/component@0.5.19-20221010190246
9
+
10
+ * [`171b78b76`](https://github.com/firebase/firebase-js-sdk/commit/171b78b762826a640d267dd4dd172ad9459c4561) [#6673](https://github.com/firebase/firebase-js-sdk/pull/6673) - Handle IPv6 addresses in emulator autoinit.
11
+
12
+ * Updated dependencies [[`171b78b76`](https://github.com/firebase/firebase-js-sdk/commit/171b78b762826a640d267dd4dd172ad9459c4561), [`29d034072`](https://github.com/firebase/firebase-js-sdk/commit/29d034072c20af394ce384e42aa10a37d5dfcb18)]:
13
+ - @firebase/util@1.7.1-20221010211037
14
+ - @firebase/app@0.8.1-20221010211037
15
+ - @firebase/component@0.5.19-20221010211037
13
16
 
14
17
  ## 0.9.10
15
18
 
@@ -3490,7 +3490,7 @@ var FirebaseStorageImpl = /** @class */ (function () {
3490
3490
  }());
3491
3491
 
3492
3492
  var name = "@firebase/storage";
3493
- var version = "0.9.11-20221010190246";
3493
+ var version = "0.9.11-20221010211037";
3494
3494
 
3495
3495
  /**
3496
3496
  * @license
@@ -3513,22 +3513,6 @@ var version = "0.9.11-20221010190246";
3513
3513
  */
3514
3514
  var STORAGE_TYPE = 'storage';
3515
3515
 
3516
- /**
3517
- * @license
3518
- * Copyright 2020 Google LLC
3519
- *
3520
- * Licensed under the Apache License, Version 2.0 (the "License");
3521
- * you may not use this file except in compliance with the License.
3522
- * You may obtain a copy of the License at
3523
- *
3524
- * http://www.apache.org/licenses/LICENSE-2.0
3525
- *
3526
- * Unless required by applicable law or agreed to in writing, software
3527
- * distributed under the License is distributed on an "AS IS" BASIS,
3528
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
3529
- * See the License for the specific language governing permissions and
3530
- * limitations under the License.
3531
- */
3532
3516
  /**
3533
3517
  * Downloads the data at the object's location. Returns an error if the object
3534
3518
  * is not found.
@@ -3706,11 +3690,9 @@ function getStorage(app$1, bucketUrl) {
3706
3690
  var storageInstance = storageProvider.getImmediate({
3707
3691
  identifier: bucketUrl
3708
3692
  });
3709
- var storageEmulatorHost = util.getDefaultEmulatorHost('storage');
3710
- if (storageEmulatorHost) {
3711
- var _a = storageEmulatorHost.split(':'), host = _a[0], port = _a[1];
3712
- // eslint-disable-next-line no-restricted-globals
3713
- connectStorageEmulator(storageInstance, host, parseInt(port, 10));
3693
+ var emulator = util.getDefaultEmulatorHostnameAndPort('storage');
3694
+ if (emulator) {
3695
+ connectStorageEmulator.apply(void 0, tslib.__spreadArray([storageInstance], emulator));
3714
3696
  }
3715
3697
  return storageInstance;
3716
3698
  }