@apiverve/airportdistance 1.1.10 → 1.1.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +1 -1
- package/README.md +1 -1
- package/index.d.ts +21 -1
- package/package.json +5 -4
package/LICENSE
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
The MIT License (MIT)
|
|
2
2
|
|
|
3
|
-
Copyright (c)
|
|
3
|
+
Copyright (c) 2025 APIVerve, and EvlarSoft LLC
|
|
4
4
|
|
|
5
5
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
6
|
of this software and associated documentation files (the "Software"), to deal
|
package/README.md
CHANGED
|
@@ -175,7 +175,7 @@ All usage of the APIVerve website, API, and services is subject to the [APIVerve
|
|
|
175
175
|
## License
|
|
176
176
|
Licensed under the The MIT License (MIT)
|
|
177
177
|
|
|
178
|
-
Copyright (©) 2025 APIVerve, and
|
|
178
|
+
Copyright (©) 2025 APIVerve, and EvlarSoft LLC
|
|
179
179
|
|
|
180
180
|
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
181
181
|
|
package/index.d.ts
CHANGED
|
@@ -7,10 +7,30 @@ declare module '@apiverve/airportdistance' {
|
|
|
7
7
|
export interface airportdistanceResponse {
|
|
8
8
|
status: string;
|
|
9
9
|
error: string | null;
|
|
10
|
-
data:
|
|
10
|
+
data: AirportDistanceData;
|
|
11
11
|
code?: number;
|
|
12
12
|
}
|
|
13
13
|
|
|
14
|
+
|
|
15
|
+
interface AirportDistanceData {
|
|
16
|
+
distanceMiles: number;
|
|
17
|
+
distanceKM: number;
|
|
18
|
+
airport1: Airport;
|
|
19
|
+
airport2: Airport;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
interface Airport {
|
|
23
|
+
name: string;
|
|
24
|
+
iata: string;
|
|
25
|
+
icao: string;
|
|
26
|
+
city: string;
|
|
27
|
+
state: string;
|
|
28
|
+
country: string;
|
|
29
|
+
elevation: number;
|
|
30
|
+
latitude: number;
|
|
31
|
+
longitude: number;
|
|
32
|
+
}
|
|
33
|
+
|
|
14
34
|
export default class airportdistanceWrapper {
|
|
15
35
|
constructor(options: airportdistanceOptions);
|
|
16
36
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@apiverve/airportdistance",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.12",
|
|
4
4
|
"description": "Airport Distance is a simple tool for getting the distance between two airports. It returns the distance between the two airports.",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"types": "index.d.ts",
|
|
@@ -10,7 +10,8 @@
|
|
|
10
10
|
},
|
|
11
11
|
"repository": {
|
|
12
12
|
"type": "git",
|
|
13
|
-
"url": "git+https://github.com/apiverve/airportdistance-
|
|
13
|
+
"url": "git+https://github.com/apiverve/airportdistance-api.git",
|
|
14
|
+
"directory": "npm"
|
|
14
15
|
},
|
|
15
16
|
"keywords": [
|
|
16
17
|
"airport distance", "airport distance api", "airport distance tool", "airport distance software", "airport distance service"
|
|
@@ -18,7 +19,7 @@
|
|
|
18
19
|
"author": "APIVerve <hello@apiverve.com> (http://apiverve.com/)",
|
|
19
20
|
"license": "MIT",
|
|
20
21
|
"bugs": {
|
|
21
|
-
"url": "https://github.com/apiverve/airportdistance-
|
|
22
|
+
"url": "https://github.com/apiverve/airportdistance-api/issues"
|
|
22
23
|
},
|
|
23
24
|
"homepage": "https://apiverve.com/marketplace/airportdistance?utm_source=npm",
|
|
24
25
|
"devDependencies": {
|
|
@@ -29,6 +30,6 @@
|
|
|
29
30
|
"dependencies": {
|
|
30
31
|
"node-fetch": "^3.3.2",
|
|
31
32
|
"promise": "^8.3.0",
|
|
32
|
-
"axios": "1.
|
|
33
|
+
"axios": "1.13.2"
|
|
33
34
|
}
|
|
34
35
|
}
|