@flybywiresim/api-client
Advanced tools
Comparing version 0.5.0 to 0.6.0
@@ -124,3 +124,3 @@ export declare class MetarResponse { | ||
static fetchConnection(id: string): Promise<TelexConnection>; | ||
static findConnection(flightNumber: string): Promise<TelexConnection>; | ||
static findConnections(flightNumber: string): Promise<TelexConnection[]>; | ||
static countConnections(): Promise<number>; | ||
@@ -127,0 +127,0 @@ private static buildBody; |
@@ -288,3 +288,3 @@ "use strict"; | ||
}; | ||
Telex.findConnection = function (flightNumber) { | ||
Telex.findConnections = function (flightNumber) { | ||
var url = new URL("/txcxn/_find", NXApi.url); | ||
@@ -291,0 +291,0 @@ url.searchParams.set("flight", flightNumber); |
{ | ||
"name": "@flybywiresim/api-client", | ||
"version": "0.5.0", | ||
"version": "0.6.0", | ||
"description": "Client library for the FlyByWire Simulations API", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
26042