@spothero/ui 13.10.0-beta.0 → 13.10.0-beta.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,13 @@
1
+ # 13.10.0-beta.2 - 02/22/2022
2
+
3
+ ## Miscellaneous Updates
4
+ * [[762fc94](https://github.com/spothero/fe-ui/commit/762fc94)] - `chore:` Removed logging (Nathan)
5
+
6
+ # 13.10.0-beta.1 - 02/22/2022
7
+
8
+ ## Miscellaneous Updates
9
+ * [[1f46e18](https://github.com/spothero/fe-ui/commit/1f46e18)] - `chore:` Added logging for suggestions, and added origin to biasing options (Nathan)
10
+
1
11
  # 13.10.0-beta.0 - 02/22/2022
2
12
  ## Miscellaneous Updates
3
13
 
package/CHANGELOG.tmp CHANGED
@@ -1,11 +1,5 @@
1
- # 13.10.0-beta.0 - 02/22/2022
2
- ## Miscellaneous Updates
3
-
4
- ## New Features
5
- * [[4193a26](https://github.com/spothero/fe-ui/commit/4193a26)] - Updated Autocomplete to accept biasing options (Nathan)
1
+ # 13.10.0-beta.2 - 02/22/2022
6
2
 
7
3
  ## Miscellaneous Updates
8
- * [[3a93a18](https://github.com/spothero/fe-ui/commit/3a93a18)] - 13.9.0-beta.0 (sh-devtools-bot)
9
- * [[e6ab74b](https://github.com/spothero/fe-ui/commit/e6ab74b)] - `chore:` Updated location options (Nathan)
10
- * [[19f8451](https://github.com/spothero/fe-ui/commit/19f8451)] - `chore:` Updated PropTypes for geolocation biasing (Nathan)
4
+ * [[762fc94](https://github.com/spothero/fe-ui/commit/762fc94)] - `chore:` Removed logging (Nathan)
11
5
 
@@ -164,7 +164,8 @@ var GooglePlacesSearchInput = /*#__PURE__*/function (_Component) {
164
164
  types: types
165
165
  }), (biasOptions === null || biasOptions === void 0 ? void 0 : biasOptions.location) && {
166
166
  location: new _this._gmaps.LatLng(location.latitude, location.longitude),
167
- radius: biasOptions === null || biasOptions === void 0 ? void 0 : biasOptions.radius
167
+ radius: biasOptions === null || biasOptions === void 0 ? void 0 : biasOptions.radius,
168
+ origin: new _this._gmaps.LatLng(location.latitude, location.longitude)
168
169
  }), {}, {
169
170
  sessionToken: autocompleteSessionToken
170
171
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spothero/ui",
3
- "version": "13.10.0-beta.0",
3
+ "version": "13.10.0-beta.2",
4
4
  "description": "SpotHero's React component UI library.",
5
5
  "main": "v2/index-bundled-cjs/index.js",
6
6
  "module": "v2/index.js",
@@ -151,6 +151,10 @@ export default class GooglePlacesSearchInput extends Component {
151
151
  location.longitude
152
152
  ),
153
153
  radius: biasOptions?.radius,
154
+ origin: new this._gmaps.LatLng(
155
+ location.latitude,
156
+ location.longitude
157
+ ),
154
158
  }),
155
159
  sessionToken: autocompleteSessionToken,
156
160
  };