country-state-picker
Advanced tools
Comparing version 1.1.3 to 1.1.4
@@ -1110,3 +1110,3 @@ "use strict"; | ||
{ | ||
name: 'Viet Nam', | ||
name: 'Vietnam', | ||
code: 'vn', | ||
@@ -1113,0 +1113,0 @@ dial_code: '+84', |
@@ -13,6 +13,7 @@ "use strict"; | ||
}; | ||
exports.getCountries = function () { | ||
var getCountries = function () { | ||
return countries_1.default; | ||
}; | ||
exports.getCountry = function (arg) { | ||
exports.getCountries = getCountries; | ||
var getCountry = function (arg) { | ||
var allCountries = exports.getCountries(); | ||
@@ -27,3 +28,4 @@ for (var _i = 0, allCountries_1 = allCountries; _i < allCountries_1.length; _i++) { | ||
}; | ||
exports.getFilteredCountries = function (args) { | ||
exports.getCountry = getCountry; | ||
var getFilteredCountries = function (args) { | ||
var allCountries = exports.getCountries(); | ||
@@ -43,3 +45,4 @@ var filteredCountries = []; | ||
}; | ||
exports.getStates = function (countryCode) { | ||
exports.getFilteredCountries = getFilteredCountries; | ||
var getStates = function (countryCode) { | ||
try { | ||
@@ -52,1 +55,2 @@ return states_1.default[countryCode]; | ||
}; | ||
exports.getStates = getStates; |
{ | ||
"name": "country-state-picker", | ||
"version": "1.1.3", | ||
"version": "1.1.4", | ||
"description": "NPM package to get the list of countries and their states.", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
Sorry, the diff of this file is too big to display
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
10202
229336