Skip to content

Commit 0d94cb9

Browse files
author
Max Pothier
committed
Merge branch 'master' into max/custom-parameters
2 parents f547727 + b79c9a1 commit 0d94cb9

File tree

2 files changed

+18
-1
lines changed

2 files changed

+18
-1
lines changed

src/us_street/Lookup.js

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,22 @@
44
* @see "https://www.smarty.com/docs/cloud/us-street-api#input-fields"
55
*/
66
class Lookup {
7-
constructor(street, street2, secondary, city, state, zipCode, lastLine, addressee, urbanization, match, maxCandidates, inputId, format) {
7+
constructor(
8+
street,
9+
street2,
10+
secondary,
11+
city,
12+
state,
13+
zipCode,
14+
lastLine,
15+
addressee,
16+
urbanization,
17+
match,
18+
maxCandidates,
19+
inputId,
20+
format,
21+
countySource,
22+
) {
823
this.street = street;
924
this.street2 = street2;
1025
this.secondary = secondary;
@@ -18,6 +33,7 @@ class Lookup {
1833
this.maxCandidates = maxCandidates;
1934
this.inputId = inputId;
2035
this.format = format;
36+
this.countySource = countySource;
2137
this.result = [];
2238
this.customParameters = {};
2339
}

src/util/apiToSDKKeyMap.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ module.exports = {
1212
"match": "match",
1313
"format": "format",
1414
"candidates": "maxCandidates",
15+
"county_source": "countySource"
1516
},
1617
usAutocompletePro: {
1718
search: "search",

0 commit comments

Comments
 (0)