From fb854cacb65e29a52807fa051dee8118451e9d73 Mon Sep 17 00:00:00 2001 From: oceanroleplay Date: Tue, 7 Sep 2021 13:45:15 +0530 Subject: [PATCH] v1.1.9 --- package-lock.json | 4 ++-- package.json | 2 +- src/types/options/AW/aircraftreports.ts | 4 ++-- src/types/options/AW/airsigmet.ts | 4 ++-- src/types/options/AW/g-airmet.ts | 4 ++-- src/types/options/AW/metar.ts | 4 ++-- src/types/options/AW/taf.ts | 4 ++-- 7 files changed, 13 insertions(+), 13 deletions(-) diff --git a/package-lock.json b/package-lock.json index f8b788e..9a5c1c5 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "aviationweather", - "version": "1.1.8", + "version": "1.1.9", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "aviationweather", - "version": "1.1.8", + "version": "1.1.9", "license": "MIT", "dependencies": { "axios": "^0.21.1", diff --git a/package.json b/package.json index 296a429..41fc987 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "aviationweather", - "version": "1.1.8", + "version": "1.1.9", "description": "Node.js wrapper for aviation weather, written in TypeScript", "main": "build/index.js", "types": "build/index.d.ts", diff --git a/src/types/options/AW/aircraftreports.ts b/src/types/options/AW/aircraftreports.ts index ef8ab4a..ee7b9eb 100644 --- a/src/types/options/AW/aircraftreports.ts +++ b/src/types/options/AW/aircraftreports.ts @@ -11,12 +11,12 @@ export interface IAircraftReportsOptions { /** * start and end times in seconds since January 1, 1970 */ - startTime?: number; + startTime?: Date | string | number; /** * start and end times in seconds since January 1, 1970 */ - endTime?: number; + endTime?: Date | string | number; /** * true - get the single most recent aircraft report, only one result is returned diff --git a/src/types/options/AW/airsigmet.ts b/src/types/options/AW/airsigmet.ts index 7a3e00d..a2ec761 100644 --- a/src/types/options/AW/airsigmet.ts +++ b/src/types/options/AW/airsigmet.ts @@ -11,12 +11,12 @@ export interface IAirSigmetOptions { /** * start and end times in seconds since January 1, 1970 */ - startTime?: number; + startTime?: Date | string | number; /** * start and end times in seconds since January 1, 1970 */ - endTime?: number; + endTime?: Date | string | number; /** * true - get the single most recent aircraft report, only one result is returned diff --git a/src/types/options/AW/g-airmet.ts b/src/types/options/AW/g-airmet.ts index 606dfe3..6bf63c1 100644 --- a/src/types/options/AW/g-airmet.ts +++ b/src/types/options/AW/g-airmet.ts @@ -11,12 +11,12 @@ export interface IGAirmetOptions { /** * start and end times in seconds since January 1, 1970 */ - startTime?: number; + startTime?: Date | string | number; /** * start and end times in seconds since January 1, 1970 */ - endTime?: number; + endTime?: Date | string | number; /** * true - get the single most recent aircraft report, only one result is returned diff --git a/src/types/options/AW/metar.ts b/src/types/options/AW/metar.ts index 29df207..ad98eec 100644 --- a/src/types/options/AW/metar.ts +++ b/src/types/options/AW/metar.ts @@ -16,12 +16,12 @@ export interface IMetarOptions { /** * start and end times in seconds since January 1, 1970 */ - startTime?: number; + startTime?: Date | string | number; /** * start and end times in seconds since January 1, 1970 */ - endTime?: number; + endTime?: Date | string | number; /** * true - get the single most recent METAR (only one value is returned) for the specified time range diff --git a/src/types/options/AW/taf.ts b/src/types/options/AW/taf.ts index 314833d..5a3b15c 100644 --- a/src/types/options/AW/taf.ts +++ b/src/types/options/AW/taf.ts @@ -16,12 +16,12 @@ export interface ITafOptions { /** * start and end times in seconds since January 1, 1970 */ - startTime?: number; + startTime?: Date | string | number; /** * start and end times in seconds since January 1, 1970 */ - endTime?: number; + endTime?: Date | string | number; /** * timeType = issue or valid (default)