@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/README.md +1 -1
- package/dist/InfluxDB.d.ts +1 -1
- package/dist/QueryApi.d.ts +3 -3
- package/dist/WriteApi.d.ts +1 -1
- package/dist/all.d.ts +9 -9
- package/dist/impl/WriteApiImpl.d.ts.map +1 -1
- package/dist/impl/version.d.ts +1 -1
- package/dist/impl/version.d.ts.map +1 -1
- package/dist/index.browser.js +2 -2
- package/dist/index.browser.js.gz +0 -0
- package/dist/index.browser.js.map +1 -1
- package/dist/index.browser.mjs +2 -2
- package/dist/index.browser.mjs.gz +0 -0
- package/dist/index.browser.mjs.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.gz +0 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/index.mjs.gz +0 -0
- package/dist/index.mjs.map +1 -1
- package/dist/influxdb.js +4 -8
- package/dist/influxdb.js.gz +0 -0
- package/dist/influxdb.js.map +1 -1
- package/dist/influxdb.min.js +1 -1
- package/dist/influxdb.min.js.gz +0 -0
- package/dist/influxdb.min.js.map +1 -1
- package/dist/options.d.ts +1 -1
- package/dist/results/AnnotatedCSVResponse.d.ts +1 -1
- package/dist/results/FluxTableColumn.d.ts +1 -1
- package/dist/results/FluxTableMetaData.d.ts +1 -1
- package/package.json +4 -4
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://
|
|
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
|
-
|
|
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://
|
|
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
|
|
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 () {
|
package/dist/influxdb.js.gz
CHANGED
|
Binary file
|