diff --git a/CHANGELOG.md b/CHANGELOG.md index b8548c0a..827a2c47 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ## [Unreleased] +### Fixed + +- Passing `rules` instead of `rules.geolocation` to `geolocationAutoCompleteAddress` since it uses the root object in the function + ## [3.5.11] - 2019-05-20 ### Fixed diff --git a/manifest.json b/manifest.json index 995e5b23..ecb0d31e 100644 --- a/manifest.json +++ b/manifest.json @@ -21,5 +21,6 @@ }, "scripts": { "postreleasy": "vtex publish --public && npm publish" - } -} + }, + "$schema": "https://raw.githubusercontent.com/vtex/node-vtex-api/master/gen/manifest.schema" +} \ No newline at end of file diff --git a/react/geolocation/Utils.js b/react/geolocation/Utils.js index 331c8439..3a66671d 100644 --- a/react/geolocation/Utils.js +++ b/react/geolocation/Utils.js @@ -22,7 +22,7 @@ export default function getAddressByGeolocation(geolocationProps) { const autoCompletedAddress = geolocationAutoCompleteAddress( address, googleAddress, - rules.geolocation, + rules, ) onChangeAddress({