@aws-amplify/datastore 3.4.6-unstable.1 → 3.4.7-unstable.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
@@ -3,6 +3,14 @@
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
+ ## [3.4.6](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/datastore@3.4.5...@aws-amplify/datastore@3.4.6) (2021-09-24)
7
+
8
+ **Note:** Version bump only for package @aws-amplify/datastore
9
+
10
+
11
+
12
+
13
+
6
14
  ## [3.4.5](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/datastore@3.4.4...@aws-amplify/datastore@3.4.5) (2021-09-22)
7
15
 
8
16
  **Note:** Version bump only for package @aws-amplify/datastore
@@ -1,12 +1,12 @@
1
1
  (function webpackUniversalModuleDefinition(root, factory) {
2
2
  if(typeof exports === 'object' && typeof module === 'object')
3
- module.exports = factory(require("@aws-amplify/pubsub"));
3
+ module.exports = factory(require("aws_amplify_pubsub"));
4
4
  else if(typeof define === 'function' && define.amd)
5
- define("aws_amplify_datastore", ["@aws-amplify/pubsub"], factory);
5
+ define("aws_amplify_datastore", ["aws_amplify_pubsub"], factory);
6
6
  else if(typeof exports === 'object')
7
- exports["aws_amplify_datastore"] = factory(require("@aws-amplify/pubsub"));
7
+ exports["aws_amplify_datastore"] = factory(require("aws_amplify_pubsub"));
8
8
  else
9
- root["aws_amplify_datastore"] = factory(root["@aws-amplify/pubsub"]);
9
+ root["aws_amplify_datastore"] = factory(root["aws_amplify_pubsub"]);
10
10
  })(window, function(__WEBPACK_EXTERNAL_MODULE__aws_amplify_pubsub__) {
11
11
  return /******/ (function(modules) { // webpackBootstrap
12
12
  /******/ // The module cache
@@ -52416,6 +52416,7 @@ var AmplifyClass = function () {
52416
52416
  this.XR = null;
52417
52417
  this.Predictions = null;
52418
52418
  this.DataStore = null;
52419
+ this.Geo = null;
52419
52420
  this.Logger = _Logger__WEBPACK_IMPORTED_MODULE_0__["ConsoleLogger"];
52420
52421
  this.ServiceWorker = null;
52421
52422
  }
@@ -55714,6 +55715,17 @@ var parseMobileHubConfig = function parseMobileHubConfig(config) {
55714
55715
  amplifyConfig.Logging = __assign(__assign({}, config['Logging']), {
55715
55716
  region: config['aws_project_region']
55716
55717
  });
55718
+ } // Geo
55719
+
55720
+
55721
+ if (config['geo']) {
55722
+ amplifyConfig.Geo = Object.assign({}, config.geo);
55723
+
55724
+ if (config.geo['amazon_location_service']) {
55725
+ amplifyConfig.Geo = {
55726
+ AmazonLocationService: config.geo['amazon_location_service']
55727
+ };
55728
+ }
55717
55729
  }
55718
55730
 
55719
55731
  amplifyConfig.Analytics = Object.assign({}, amplifyConfig.Analytics, config.Analytics);
@@ -55815,7 +55827,7 @@ var getAmplifyUserAgent = function getAmplifyUserAgent() {
55815
55827
  __webpack_require__.r(__webpack_exports__);
55816
55828
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "version", function() { return version; });
55817
55829
  // generated by genversion
55818
- var version = '4.2.11';
55830
+ var version = '4.3.0';
55819
55831
 
55820
55832
  /***/ }),
55821
55833
 
@@ -81356,9 +81368,9 @@ module.exports = v4;
81356
81368
  /***/ }),
81357
81369
 
81358
81370
  /***/ "@aws-amplify/pubsub":
81359
- /*!**************************************!*\
81360
- !*** external "@aws-amplify/pubsub" ***!
81361
- \**************************************/
81371
+ /*!*************************************!*\
81372
+ !*** external "aws_amplify_pubsub" ***!
81373
+ \*************************************/
81362
81374
  /*! no static exports found */
81363
81375
  /***/ (function(module, exports) {
81364
81376