@firebase/storage 0.9.6 → 0.9.7-canary.ebc17e27f

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.
@@ -2084,6 +2084,7 @@ class FetchConnection {
2084
2084
  this.errorCode_ = ErrorCode.NO_ERROR;
2085
2085
  }
2086
2086
  async send(url, method, body, headers) {
2087
+ var _a;
2087
2088
  if (this.sent_) {
2088
2089
  throw internalError('cannot .send() more than once');
2089
2090
  }
@@ -2100,7 +2101,7 @@ class FetchConnection {
2100
2101
  this.body_ = await response.arrayBuffer();
2101
2102
  }
2102
2103
  catch (e) {
2103
- this.errorText_ = e.message;
2104
+ this.errorText_ = (_a = e) === null || _a === void 0 ? void 0 : _a.message;
2104
2105
  // emulate XHR which sets status to 0 when encountering a network error
2105
2106
  this.statusCode_ = 0;
2106
2107
  this.errorCode_ = ErrorCode.NETWORK_ERROR;
@@ -2167,6 +2168,7 @@ class FetchStreamConnection extends FetchConnection {
2167
2168
  this.stream_ = null;
2168
2169
  }
2169
2170
  async send(url, method, body, headers) {
2171
+ var _a;
2170
2172
  if (this.sent_) {
2171
2173
  throw internalError('cannot .send() more than once');
2172
2174
  }
@@ -2183,7 +2185,7 @@ class FetchStreamConnection extends FetchConnection {
2183
2185
  this.stream_ = response.body;
2184
2186
  }
2185
2187
  catch (e) {
2186
- this.errorText_ = e.message;
2188
+ this.errorText_ = (_a = e) === null || _a === void 0 ? void 0 : _a.message;
2187
2189
  // emulate XHR which sets status to 0 when encountering a network error
2188
2190
  this.statusCode_ = 0;
2189
2191
  this.errorCode_ = ErrorCode.NETWORK_ERROR;
@@ -3275,7 +3277,7 @@ class FirebaseStorageImpl {
3275
3277
  }
3276
3278
 
3277
3279
  const name = "@firebase/storage";
3278
- const version = "0.9.6";
3280
+ const version = "0.9.7-canary.ebc17e27f";
3279
3281
 
3280
3282
  /**
3281
3283
  * @license