@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/WriteApi.d.ts +6 -0
- package/dist/WriteApi.d.ts.map +1 -1
- package/dist/all.d.ts +7 -1
- package/dist/impl/WriteApiImpl.d.ts +1 -1
- 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 +2 -2
- 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 -4
- 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/util/currentTime.d.ts +1 -1
- package/package.json +3 -3
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
|
|
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.
|
|
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.
|
|
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.
|
|
1771
|
+
_this.transport.send(_this.path, lines.join('\n'), _this.sendOptions, callbacks);
|
|
1772
1772
|
});
|
|
1773
1773
|
}
|
|
1774
1774
|
else {
|
package/dist/influxdb.js.gz
CHANGED
|
Binary file
|