@aws-amplify/datastore 3.7.0 → 3.7.1-unstable.4
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/dist/aws-amplify-datastore.js +8 -9
- package/dist/aws-amplify-datastore.js.map +1 -1
- package/dist/aws-amplify-datastore.min.js +2 -2
- package/dist/aws-amplify-datastore.min.js.map +1 -1
- package/lib/storage/storage.js +2 -1
- package/lib/storage/storage.js.map +1 -1
- package/lib-esm/storage/storage.js +2 -1
- package/lib-esm/storage/storage.js.map +1 -1
- package/package.json +9 -9
- package/src/storage/storage.ts +12 -15
|
@@ -70458,7 +70458,7 @@ var getAmplifyUserAgent = function getAmplifyUserAgent() {
|
|
|
70458
70458
|
__webpack_require__.r(__webpack_exports__);
|
|
70459
70459
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "version", function() { return version; });
|
|
70460
70460
|
// generated by genversion
|
|
70461
|
-
var version = '4.3.
|
|
70461
|
+
var version = '4.3.8';
|
|
70462
70462
|
|
|
70463
70463
|
/***/ }),
|
|
70464
70464
|
|
|
@@ -71237,6 +71237,7 @@ function () {
|
|
|
71237
71237
|
case 2:
|
|
71238
71238
|
_a.sent();
|
|
71239
71239
|
|
|
71240
|
+
this._nextSequenceToken = undefined;
|
|
71240
71241
|
return [4
|
|
71241
71242
|
/*yield*/
|
|
71242
71243
|
, this._validateLogStreamExists(this._config.logGroupName, this._config.logStreamName)];
|
|
@@ -71244,14 +71245,10 @@ function () {
|
|
|
71244
71245
|
case 3:
|
|
71245
71246
|
logStream = _a.sent();
|
|
71246
71247
|
|
|
71247
|
-
if (
|
|
71248
|
-
this._nextSequenceToken =
|
|
71249
|
-
return [2
|
|
71250
|
-
/*return*/
|
|
71251
|
-
, ''];
|
|
71248
|
+
if (logStream) {
|
|
71249
|
+
this._nextSequenceToken = logStream.uploadSequenceToken;
|
|
71252
71250
|
}
|
|
71253
71251
|
|
|
71254
|
-
this._nextSequenceToken = logStream.uploadSequenceToken || '';
|
|
71255
71252
|
return [2
|
|
71256
71253
|
/*return*/
|
|
71257
71254
|
, this._nextSequenceToken];
|
|
@@ -71372,7 +71369,7 @@ function () {
|
|
|
71372
71369
|
case 0:
|
|
71373
71370
|
_a.trys.push([0, 3,, 4]);
|
|
71374
71371
|
|
|
71375
|
-
this._nextSequenceToken =
|
|
71372
|
+
this._nextSequenceToken = undefined;
|
|
71376
71373
|
this._dataTracker.eventUploadInProgress = true;
|
|
71377
71374
|
return [4
|
|
71378
71375
|
/*yield*/
|
|
@@ -88894,7 +88891,9 @@ function () {
|
|
|
88894
88891
|
updatedFields.forEach(function (field) {
|
|
88895
88892
|
var e_2, _a, e_3, _b;
|
|
88896
88893
|
|
|
88897
|
-
var
|
|
88894
|
+
var _c;
|
|
88895
|
+
|
|
88896
|
+
var targetName = Object(_types__WEBPACK_IMPORTED_MODULE_3__["isTargetNameAssociation"])((_c = fields[field]) === null || _c === void 0 ? void 0 : _c.association); // if field refers to a belongsTo relation, use the target field instead
|
|
88898
88897
|
|
|
88899
88898
|
var key = targetName || field; // check field values by value. Ignore unchanged fields
|
|
88900
88899
|
|