@aws-amplify/datastore 3.10.0 → 3.10.1-unstable.1

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.
@@ -71106,7 +71106,7 @@ var getAmplifyUserAgent = function getAmplifyUserAgent() {
71106
71106
  __webpack_require__.r(__webpack_exports__);
71107
71107
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "version", function() { return version; });
71108
71108
  // generated by genversion
71109
- var version = '4.5.1';
71109
+ var version = '4.5.2';
71110
71110
 
71111
71111
  /***/ }),
71112
71112
 
@@ -89267,6 +89267,17 @@ function () {
89267
89267
  // is called by Merger, i.e., when processing an AppSync response
89268
89268
 
89269
89269
  if (opType === _types__WEBPACK_IMPORTED_MODULE_3__["OpType"].UPDATE && !syncResponse) {
89270
+ //
89271
+ // TODO: LOOK!!!
89272
+ // the `model` used here is in effect regardless of what model
89273
+ // comes back from adapter.save().
89274
+ // Prior to fix, SQLite adapter had been returning two models
89275
+ // of different types, resulting in invalid outbox entries.
89276
+ //
89277
+ // the bug is essentially fixed in SQLite adapter.
89278
+ // leaving as-is, because it's currently unclear whether anything
89279
+ // depends on this remaining as-is.
89280
+ //
89270
89281
  updateMutationInput = _this.getUpdateMutationInput(model, savedElement, patchesTuple); // // an update without changed user fields
89271
89282
  // => don't create mutationEvent
89272
89283