Comparing version 3.0.0 to 3.1.0
@@ -24,3 +24,3 @@ interface AirlyConfig { | ||
*/ | ||
nearestInstallations(lat: number, lng: number, maxDistanceKM?: number, maxResults?: number): Promise<string>; | ||
nearestInstallations(lat: number, lng: number, maxDistanceKM?: number, maxResults?: number): Promise<any>; | ||
/** | ||
@@ -30,3 +30,3 @@ * @param {number} id Installation ID - Unique number of the installation | ||
*/ | ||
installationInfo(id: number): Promise<string>; | ||
installationInfo(id: number): Promise<any>; | ||
/** | ||
@@ -36,3 +36,3 @@ * @param {number} id Installation ID - Unique number of the installation | ||
*/ | ||
installationMeasurements(id: number): Promise<string>; | ||
installationMeasurements(id: number): Promise<any>; | ||
/** | ||
@@ -44,3 +44,3 @@ * @param {number} lat Latitude - Geographical coordinate | ||
*/ | ||
nearestMeasurements(lat: number, lng: number, maxDistanceKM?: number): Promise<string>; | ||
nearestMeasurements(lat: number, lng: number, maxDistanceKM?: number): Promise<any>; | ||
/** | ||
@@ -51,12 +51,12 @@ * @param {number} lat Latitude - Geographical coordinate | ||
*/ | ||
pointMeasurements(lat: number, lng: number): Promise<string>; | ||
pointMeasurements(lat: number, lng: number): Promise<any>; | ||
/** | ||
* @returns {Promise<object[]>} List of IndexTypes supported by the platform | ||
*/ | ||
metaIndexes(): Promise<string>; | ||
metaIndexes(): Promise<any>; | ||
/** | ||
* @returns {Promise<object[]>} List of MeasurementTypes supported by the platform | ||
*/ | ||
metaMeasurements(): Promise<string>; | ||
metaMeasurements(): Promise<any>; | ||
} | ||
export default Airly; |
{ | ||
"name": "airly", | ||
"version": "3.0.0", | ||
"version": "3.1.0", | ||
"description": "Simple wrapper for Airly API, works in Node.js & the browser.", | ||
@@ -55,9 +55,9 @@ "main": "dist/index.js", | ||
"@akepinski/tsconfig": "0.0.2", | ||
"@types/node-fetch": "^2.5.2", | ||
"@typescript-eslint/eslint-plugin": "^2.6.0", | ||
"@typescript-eslint/parser": "^2.6.0", | ||
"@types/node-fetch": "^2.5.3", | ||
"@typescript-eslint/eslint-plugin": "^2.6.1", | ||
"@typescript-eslint/parser": "^2.6.1", | ||
"cpy-cli": "^2.0.0", | ||
"del-cli": "^3.0.0", | ||
"eslint-config-xo-typescript": "^0.19.0", | ||
"typescript": "^3.6.4", | ||
"typescript": "^3.7.2", | ||
"xo": "*" | ||
@@ -64,0 +64,0 @@ }, |
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
27548