@influxdata/influxdb-client-browser 1.26.0-nightly.2004 → 1.26.0

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/influxdb.js CHANGED
@@ -2092,11 +2092,11 @@ var influxdb = (function (exports) {
2092
2092
  FetchTransport.prototype.fetch = function (path, body, options) {
2093
2093
  var method = options.method, headers = options.headers, other = __rest(options, ["method", "headers"]);
2094
2094
  var url = "".concat(this.url).concat(path);
2095
- var request = __assign({ method: method, body: method === 'GET' || method === 'HEAD'
2095
+ var request = __assign(__assign({ method: method, body: method === 'GET' || method === 'HEAD'
2096
2096
  ? undefined
2097
2097
  : typeof body === 'string'
2098
2098
  ? body
2099
- : JSON.stringify(body), headers: __assign(__assign({}, this.defaultHeaders), headers), credentials: 'omit' }, other);
2099
+ : JSON.stringify(body), headers: __assign(__assign({}, this.defaultHeaders), headers), credentials: 'omit' }, this.connectionOptions.transportOptions), other);
2100
2100
  this.requestDecorator(request, options, url);
2101
2101
  return fetch(url, request);
2102
2102
  };
Binary file