smartystreets-javascript-sdk
Advanced tools
Comparing version 1.13.4 to 1.13.5
{ | ||
"name": "smartystreets-javascript-sdk", | ||
"version": "1.13.4", | ||
"version": "1.13.5", | ||
"description": "Quick and easy Smarty address validation.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -21,3 +21,2 @@ const Errors = require("../Errors"); | ||
include_only_postal_code: lookup.include_only_postal_code, | ||
selected: lookup.selected, | ||
}; | ||
@@ -24,0 +23,0 @@ |
class Lookup { | ||
constructor( | ||
search = "", | ||
country = "United States", | ||
max_results = undefined, | ||
include_only_administrative_area = "", | ||
include_only_locality = "", | ||
include_only_postal_code = "", | ||
selected = "", | ||
) { | ||
constructor(search = "", country = "United States", max_results = undefined, include_only_administrative_area = "", include_only_locality = "", include_only_postal_code = "") { | ||
this.result = []; | ||
@@ -19,3 +11,2 @@ | ||
this.include_only_postal_code = include_only_postal_code; | ||
this.selected = selected; | ||
} | ||
@@ -22,0 +13,0 @@ } |
@@ -8,4 +8,2 @@ class Suggestion { | ||
this.countryIso3 = responseData.country_iso3; | ||
this.secondary = responseData.secondary; | ||
this.entries = responseData.entries; | ||
} | ||
@@ -12,0 +10,0 @@ } |
@@ -23,3 +23,2 @@ const chai = require("chai"); | ||
country: "United States", | ||
selected: "", | ||
}; | ||
@@ -45,3 +44,2 @@ | ||
search: search, | ||
selected: "", | ||
}; | ||
@@ -67,3 +65,2 @@ | ||
search: search, | ||
selected: "", | ||
}; | ||
@@ -70,0 +67,0 @@ |
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
164597
3768