@influxdata/influxdb-client-browser 1.26.0 → 1.27.0-nightly.2036

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
@@ -859,7 +859,7 @@ var influxdb = (function (exports) {
859
859
  ns: function (d) { return "".concat(d.getTime(), "000000"); },
860
860
  };
861
861
  /**
862
- * convertTimeToNanos converts of Point's timestamp to a string
862
+ * convertTimeToNanos converts Point's timestamp to a string.
863
863
  * @param value - supported timestamp value
864
864
  * @returns line protocol value
865
865
  */
@@ -1674,9 +1674,9 @@ var influxdb = (function (exports) {
1674
1674
  this.transport = transport;
1675
1675
  this.closed = false;
1676
1676
  this._timeoutHandle = undefined;
1677
- this.httpPath = "/api/v2/write?org=".concat(encodeURIComponent(org), "&bucket=").concat(encodeURIComponent(bucket), "&precision=").concat(precision);
1677
+ this.path = "/api/v2/write?org=".concat(encodeURIComponent(org), "&bucket=").concat(encodeURIComponent(bucket), "&precision=").concat(precision);
1678
1678
  if (writeOptions === null || writeOptions === void 0 ? void 0 : writeOptions.consistency) {
1679
- this.httpPath += "&consistency=".concat(encodeURIComponent(writeOptions.consistency));
1679
+ this.path += "&consistency=".concat(encodeURIComponent(writeOptions.consistency));
1680
1680
  }
1681
1681
  this.writeOptions = __assign(__assign({}, DEFAULT_WriteOptions), writeOptions);
1682
1682
  this.currentTime = currentTime[precision];
@@ -1768,7 +1768,7 @@ var influxdb = (function (exports) {
1768
1768
  }
1769
1769
  },
1770
1770
  };
1771
- _this.transport.send(_this.httpPath, lines.join('\n'), _this.sendOptions, callbacks);
1771
+ _this.transport.send(_this.path, lines.join('\n'), _this.sendOptions, callbacks);
1772
1772
  });
1773
1773
  }
1774
1774
  else {
Binary file