ip2location-nodejs
Advanced tools
Comparing version 9.6.2 to 9.6.3
{ | ||
"name": "ip2location-nodejs", | ||
"version": "9.6.2", | ||
"version": "9.6.3", | ||
"description": "IP2Location geolocation component", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -144,2 +144,8 @@ export class IP2Location { | ||
/** | ||
* Resets metadata and closes file handle asynchronously. | ||
* | ||
* @returns The promise of 0 if successful else -1 for errors. | ||
*/ | ||
closeAsync(): Promise<0 | -1>; | ||
/** | ||
* Retrieves geolocation data into supplied object. | ||
@@ -179,4 +185,4 @@ * | ||
zipCode: string; | ||
latitude: string; | ||
longitude: string; | ||
latitude: string | number; | ||
longitude: string | number; | ||
timeZone: string; | ||
@@ -216,4 +222,4 @@ netSpeed: string; | ||
zipCode: string; | ||
latitude: string; | ||
longitude: string; | ||
latitude: string | number; | ||
longitude: string | number; | ||
timeZone: string; | ||
@@ -220,0 +226,0 @@ netSpeed: string; |
Sorry, the diff of this file is too big to display
108478
3159