@aws-amplify/core 4.2.11-unstable.4 → 4.3.0

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
@@ -3,6 +3,32 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [4.3.0](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/core@4.2.11...@aws-amplify/core@4.3.0) (2021-09-24)
7
+
8
+
9
+ ### Features
10
+
11
+ * **Geo:** add Geo class and amazonLocationServicesProvider - Geo milestone 1 - PR 3/6 ([#8618](https://github.com/aws-amplify/amplify-js/issues/8618)) ([4c1c1fe](https://github.com/aws-amplify/amplify-js/commit/4c1c1fe786f2a4b1d7e1260491357a248dd6d084))
12
+ * **Geo:** getAvailableMaps and getDefaultMap - Geo milestone 1 - PR 4 ([#8620](https://github.com/aws-amplify/amplify-js/issues/8620)) ([229f93e](https://github.com/aws-amplify/amplify-js/commit/229f93edf1bc07de26aebe28f26f3066d3e31a74))
13
+ * **Geo:** searchByCoordinates - Geo milestone 1 - PR 6 ([#8622](https://github.com/aws-amplify/amplify-js/issues/8622)) ([ae725c0](https://github.com/aws-amplify/amplify-js/commit/ae725c0f2d55ba95d4ecc76e46506a888e6b67c5))
14
+ * **Geo:** searchByText - Geo milestone 1 - PR 5 ([#8621](https://github.com/aws-amplify/amplify-js/issues/8621)) ([5346ae1](https://github.com/aws-amplify/amplify-js/commit/5346ae17dcf5672b3c25c46f483af53d5f5dfc93))
15
+ * **Geo:** update aws-amplify/core - Geo milestone 1 - PR 2/6 ([#8617](https://github.com/aws-amplify/amplify-js/issues/8617)) ([3a83893](https://github.com/aws-amplify/amplify-js/commit/3a8389388ebe7a521d0b78c58e24d91b53db4799))
16
+
17
+
18
+
19
+
20
+
21
+ ## [4.2.11](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/core@4.2.10...@aws-amplify/core@4.2.11) (2021-09-22)
22
+
23
+
24
+ ### Bug Fixes
25
+
26
+ * **@aws-amplify/core:** error throwing and tests ([#8916](https://github.com/aws-amplify/amplify-js/issues/8916)) ([0918a07](https://github.com/aws-amplify/amplify-js/commit/0918a0741d1e90bc67cbfb10f3eb6ce719fee58e))
27
+
28
+
29
+
30
+
31
+
6
32
  ## [4.2.10](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/core@4.2.9...@aws-amplify/core@4.2.10) (2021-09-17)
7
33
 
8
34
  **Note:** Version bump only for package @aws-amplify/core
@@ -29280,6 +29280,7 @@ var AmplifyClass = function () {
29280
29280
  this.XR = null;
29281
29281
  this.Predictions = null;
29282
29282
  this.DataStore = null;
29283
+ this.Geo = null;
29283
29284
  this.Logger = _Logger__WEBPACK_IMPORTED_MODULE_0__["ConsoleLogger"];
29284
29285
  this.ServiceWorker = null;
29285
29286
  }
@@ -32578,6 +32579,17 @@ var parseMobileHubConfig = function parseMobileHubConfig(config) {
32578
32579
  amplifyConfig.Logging = __assign(__assign({}, config['Logging']), {
32579
32580
  region: config['aws_project_region']
32580
32581
  });
32582
+ } // Geo
32583
+
32584
+
32585
+ if (config['geo']) {
32586
+ amplifyConfig.Geo = Object.assign({}, config.geo);
32587
+
32588
+ if (config.geo['amazon_location_service']) {
32589
+ amplifyConfig.Geo = {
32590
+ AmazonLocationService: config.geo['amazon_location_service']
32591
+ };
32592
+ }
32581
32593
  }
32582
32594
 
32583
32595
  amplifyConfig.Analytics = Object.assign({}, amplifyConfig.Analytics, config.Analytics);
@@ -32679,7 +32691,7 @@ var getAmplifyUserAgent = function getAmplifyUserAgent() {
32679
32691
  __webpack_require__.r(__webpack_exports__);
32680
32692
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "version", function() { return version; });
32681
32693
  // generated by genversion
32682
- var version = '4.2.10';
32694
+ var version = '4.2.11';
32683
32695
 
32684
32696
  /***/ }),
32685
32697