flightradar24-client-ts
Advanced tools
Comparing version 0.0.3-development to 0.0.4-development
@@ -6,2 +6,3 @@ import { AircraftData, AirlineDetail, Flight, RadarOptions, ZoneData } from './types'; | ||
} | ||
export declare const defaultRadarOptions: RadarOptions; | ||
export declare class FlightRadarApi { | ||
@@ -8,0 +9,0 @@ private config; |
@@ -15,3 +15,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.FlightRadarApi = void 0; | ||
exports.FlightRadarApi = exports.defaultRadarOptions = void 0; | ||
const utils_1 = require("./utils"); | ||
@@ -21,3 +21,3 @@ const querystringify_1 = __importDefault(require("querystringify")); | ||
const cross_fetch_1 = __importDefault(require("cross-fetch")); | ||
const defaultRadarOptions = { | ||
exports.defaultRadarOptions = { | ||
FAA: true, | ||
@@ -104,3 +104,3 @@ FLARM: true, | ||
} | ||
fetchFromRadar(options = defaultRadarOptions) { | ||
fetchFromRadar(options = exports.defaultRadarOptions) { | ||
var _a, _b, _c, _d, _e, _f, _g, _h, _j; | ||
@@ -161,3 +161,3 @@ return __awaiter(this, void 0, void 0, function* () { | ||
} | ||
fetchFromRadarMultiZone(zones, options = defaultRadarOptions) { | ||
fetchFromRadarMultiZone(zones, options = exports.defaultRadarOptions) { | ||
return __awaiter(this, void 0, void 0, function* () { | ||
@@ -164,0 +164,0 @@ const promises = []; |
{ | ||
"name": "flightradar24-client-ts", | ||
"version": "0.0.3-development", | ||
"version": "0.0.4-development", | ||
"description": "A client for the Flightradar24 API written in TypeScript", | ||
@@ -5,0 +5,0 @@ "main": "./lib/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
30106
653