ipinfo
Advanced tools
Comparing version 1.5.0 to 1.5.1
@@ -34,3 +34,3 @@ "use strict"; | ||
if (!type) { | ||
url = ipInfo.HOSTNAME_SSL + "/json" + ipInfo.TOKEN_PREFIX + token; | ||
url = ipInfo.HOSTNAME_SSL + "json" + ipInfo.TOKEN_PREFIX + token; | ||
} else if (ipInfo.IP_REGEX.test(type)) { | ||
@@ -37,0 +37,0 @@ url = ipInfo.HOSTNAME_SSL + type + "/json" + ipInfo.TOKEN_PREFIX + token; |
{ | ||
"name": "ipinfo", | ||
"version": "1.5.0", | ||
"version": "1.5.1", | ||
"description": "An http://ipinfo.io NodeJS wrapper.", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
@@ -211,3 +211,2 @@ <!-- Please do not edit this file. Edit the `blah` field in the `package.json` instead. If in doubt, open an issue. --> | ||
- `sphere-ipinfo-mashup` | ||
- `sunset-year` | ||
- `family_one` | ||
@@ -220,2 +219,3 @@ - `@elasticlive/sdk` | ||
- `machine-ip` | ||
- `sunset-year` | ||
@@ -222,0 +222,0 @@ |
9499