Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@flybywiresim/api-client

Package Overview
Dependencies
Maintainers
4
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@flybywiresim/api-client - npm Package Compare versions

Comparing version 0.7.1 to 0.8.0

6

lib/index.d.ts

@@ -46,2 +46,6 @@ export declare class MetarResponse {

}
export declare class SearchResult<T> {
fullMatch?: T;
matches: T[];
}
export declare class TelexMessage {

@@ -125,3 +129,3 @@ id: string;

static fetchConnection(id: string): Promise<TelexConnection>;
static findConnections(flightNumber: string): Promise<TelexConnection[]>;
static findConnections(flightNumber: string): Promise<SearchResult<TelexConnection>>;
static countConnections(): Promise<number>;

@@ -128,0 +132,0 @@ private static buildBody;

@@ -274,3 +274,8 @@ "use strict";

return _get(url)
.then(function (res) { return res.map(Telex.mapConnection); });
.then(function (res) {
return {
matches: res.matches.map(Telex.mapConnection),
fullMatch: res.fullMatch ? Telex.mapConnection(res.fullMatch) : undefined,
};
});
};

@@ -277,0 +282,0 @@ Telex.countConnections = function () {

2

package.json
{
"name": "@flybywiresim/api-client",
"version": "0.7.1",
"version": "0.8.0",
"description": "Client library for the FlyByWire Simulations API",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc