influx 5.9.6 → 5.9.7

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.
@@ -264,7 +264,7 @@ class NanosecondsDateManipulator {
264
264
  case "u":
265
265
  timestamp *= 1000;
266
266
  case "n": {
267
- const date = new Date(timestamp / nsPer.ms);
267
+ const date = new Date(Math.round(timestamp / nsPer.ms));
268
268
  date._nanoTime = String(timestamp);
269
269
  date.getNanoTime = nanoDateMethods.getNanoTimeFromStamp;
270
270
  date.toNanoISOString = nanoDateMethods.toNanoISOStringFromStamp;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "influx",
3
- "version": "5.9.6",
3
+ "version": "5.9.7",
4
4
  "description": "InfluxDB Client",
5
5
  "main": "./lib/src/index.js",
6
6
  "typings": "./lib/src/index",