@influxdata/influxdb-client-browser 1.21.0-nightly.1636 → 1.21.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
@@ -501,7 +501,7 @@ var influxdb = (function (exports) {
501
501
  var identity = function (x) { return x; };
502
502
  /**
503
503
  * A dictionary of serializers of particular types returned by a flux query.
504
- * See {@link https://v2.docs.influxdata.com/v2.0/reference/syntax/annotated-csv/#valid-data-types }
504
+ * See {@link https://docs.influxdata.com/influxdb/v2.1/reference/syntax/annotated-csv/#data-types }
505
505
  */
506
506
  var typeSerializers = {
507
507
  boolean: function (x) { return x === 'true'; },
@@ -1772,11 +1772,7 @@ var influxdb = (function (exports) {
1772
1772
  return this.retryBuffer.close() + this.writeBuffer.length;
1773
1773
  };
1774
1774
  WriteApiImpl.prototype.useDefaultTags = function (tags) {
1775
- var _this = this;
1776
- this.defaultTags = undefined;
1777
- Object.keys(tags).forEach(function (key) {
1778
- (_this.defaultTags || (_this.defaultTags = {}))[key] = escape.tag(tags[key]);
1779
- });
1775
+ this.defaultTags = tags;
1780
1776
  return this;
1781
1777
  };
1782
1778
  WriteApiImpl.prototype.convertTime = function (value) {
@@ -2104,7 +2100,7 @@ var influxdb = (function (exports) {
2104
2100
  if (typeof this.options.now === 'function') {
2105
2101
  request.now = this.options.now();
2106
2102
  }
2107
- // https://v2.docs.influxdata.com/v2.0/api/#operation/PostQuery requires type
2103
+ // https://docs.influxdata.com/influxdb/v2.1/api/#operation/PostQuery requires type
2108
2104
  request.type = (_a = this.options.type) !== null && _a !== void 0 ? _a : 'flux';
2109
2105
  return request;
2110
2106
  };
@@ -2260,7 +2256,7 @@ var influxdb = (function (exports) {
2260
2256
  }());
2261
2257
 
2262
2258
  /**
2263
- * InfluxDB 2.0 entry point that configures communication with InfluxDB server
2259
+ * InfluxDB entry point that configures communication with InfluxDB server
2264
2260
  * and provide APIs to write and query data.
2265
2261
  */
2266
2262
  var InfluxDB = /** @class */ (function () {
Binary file