smarty / smartystreets-javascript-sdk

The official client libraries for accessing SmartyStreets APIs from javascript.
https://smartystreets.com/docs/sdk/javascript
Apache License 2.0
31 stars 30 forks source link

Non-postal address support #36

Closed scottbullard closed 3 years ago

scottbullard commented 3 years ago

The current version seems to lack support for the Non-postal address.

camiblanch commented 3 years ago

@scottbullard This SDK has support for non-postal addresses. To use it you must have an active US Core license or a US Rooftop Geocoding license, set the license on the client builder, and set lookup.match to enhanced before making a request.

camiblanch commented 3 years ago

The response is set on candidate.analysis.enhancedMatch as seen here https://github.com/smartystreets/smartystreets-javascript-sdk/blob/master/src/us_street/Candidate.js#L83

scottbullard commented 3 years ago

@camiblanch - sorry for not being more specific. Does this apply for the usAutocompletePro client? I do not see this as an available parameter.

camiblanch commented 3 years ago

@scottbullard The SDK does not have support for using non-postal addresses yet, but we are currently working on implementing that. It is available in the US Autocomplete Pro API directly. I will keep this issue open until the support is added

swiatekr commented 3 years ago

@camiblanch @DuncanBeutler When are you planning to roll out this update?

camiblanch commented 3 years ago

@swiatekr Yes sorry we meant to update this issue once we published the changes. This was fixed in pull request #37 and published in version 1.11.0