ip2location-nodejs
Advanced tools
Comparing version 9.6.1 to 9.6.2
{ | ||
"name": "ip2location-nodejs", | ||
"version": "9.6.1", | ||
"version": "9.6.2", | ||
"description": "IP2Location geolocation component", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -327,3 +327,3 @@ export class IP2Location { | ||
*/ | ||
getLatitude(myIP: string): string; | ||
getLatitude(myIP: string): string | number; | ||
/** | ||
@@ -335,3 +335,3 @@ * Returns the latitude asynchronously. | ||
*/ | ||
getLatitudeAsync(myIP: string): Promise<string>; | ||
getLatitudeAsync(myIP: string): Promise<string | number>; | ||
/** | ||
@@ -343,3 +343,3 @@ * Returns the longitude. | ||
*/ | ||
getLongitude(myIP: string): string; | ||
getLongitude(myIP: string): string | number; | ||
/** | ||
@@ -351,3 +351,3 @@ * Returns the longitude asynchronously. | ||
*/ | ||
getLongitudeAsync(myIP: string): Promise<string>; | ||
getLongitudeAsync(myIP: string): Promise<string | number>; | ||
/** | ||
@@ -621,4 +621,4 @@ * Returns the domain name. | ||
zipCode: string; | ||
latitude: string; | ||
longitude: string; | ||
latitude: string | number; | ||
longitude: string | number; | ||
timeZone: string; | ||
@@ -657,4 +657,4 @@ netSpeed: string; | ||
zipCode: string; | ||
latitude: string; | ||
longitude: string; | ||
latitude: string | number; | ||
longitude: string | number; | ||
timeZone: string; | ||
@@ -661,0 +661,0 @@ netSpeed: string; |
Sorry, the diff of this file is not supported yet
107007