@aws-amplify/datastore 3.7.1-unstable.3 → 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.
|
@@ -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*/
|