diff --git a/README.md b/README.md index 4baae82..eeb5d9b 100644 --- a/README.md +++ b/README.md @@ -206,6 +206,7 @@ Below are the methods supported in this module. |Method Name|Description| |---|---| +|Constructor(csvFile)|Expect a IP2Location Country Information CSV file. This database is free for download at https://www.ip2location.com/free/country-information| |getCountryInfo(countryCode)|Returns the country information.| ## Usage @@ -231,6 +232,7 @@ Below are the methods supported in this module. |Method Name|Description| |---|---| +|Constructor(csvFile)|Expect a IP2Location ISO 3166-2 Subdivision Code CSV file. This database is free for download at https://www.ip2location.com/free/iso3166-2| |getRegionCode(countryCode, regionName)|Returns the region code for the supplied country code and region name.| ## Usage diff --git a/package.json b/package.json index 209335b..f0a5f51 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ip2location-nodejs", - "version": "9.4.1", + "version": "9.4.2", "description": "IP2Location geolocation component", "keywords": [ "ip2location", diff --git a/src/ip2location.js b/src/ip2location.js index edf0d32..ab9540a 100644 --- a/src/ip2location.js +++ b/src/ip2location.js @@ -5,7 +5,7 @@ var https = require("https"); const csv = require("csv-parser"); // For BIN queries -const VERSION = "9.4.1"; +const VERSION = "9.4.2"; const MAX_INDEX = 65536; const COUNTRY_POSITION = [ 0, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,