Comparing version 5.9.5 to 5.9.6
@@ -766,4 +766,8 @@ /// <reference types="node" /> | ||
writeMeasurement(measurement: string, points: IPoint[], options?: IWriteOptions): Promise<void>; | ||
query<T>(query: string[], options?: IQueryOptions): Promise<Array<IResults<T>>>; | ||
query<T>(query: string, options?: IQueryOptions): Promise<IResults<T>>; | ||
query<T>(query: string[], options?: IQueryOptions): Promise<Array<IResults<T & { | ||
time: grammar.INanoDate; | ||
}>>>; | ||
query<T>(query: string, options?: IQueryOptions): Promise<IResults<T & { | ||
time: grammar.INanoDate; | ||
}>>; | ||
/** | ||
@@ -770,0 +774,0 @@ * QueryRaw functions similarly to .query() but it does no fancy |
@@ -0,1 +1,2 @@ | ||
import type { INanoDate } from "./grammar"; | ||
import { TimePrecision } from "./grammar"; | ||
@@ -111,3 +112,7 @@ /** | ||
*/ | ||
export declare function parse<T>(res: IResponse, precision?: TimePrecision): Array<IResults<T>> | IResults<T>; | ||
export declare function parse<T>(res: IResponse, precision?: TimePrecision): Array<IResults<T & { | ||
time: INanoDate; | ||
}>> | IResults<T & { | ||
time: INanoDate; | ||
}>; | ||
/** | ||
@@ -114,0 +119,0 @@ * ParseSingle asserts that the response contains a single result, |
{ | ||
"name": "influx", | ||
"version": "5.9.5", | ||
"version": "5.9.6", | ||
"description": "InfluxDB Client", | ||
@@ -5,0 +5,0 @@ "main": "./lib/src/index.js", |
159141
4308