@aws-amplify/core 4.3.9-unstable.3 → 4.3.9

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,17 @@
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.9](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/core@4.3.8...@aws-amplify/core@4.3.9) (2021-12-02)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * **@aws-amplify/core:** Use undefined for default sequence token with CloudWatch logging ([#9181](https://github.com/aws-amplify/amplify-js/issues/9181)) ([6f217aa](https://github.com/aws-amplify/amplify-js/commit/6f217aa89e672fc4665816756994e6245b19227e))
12
+
13
+
14
+
15
+
16
+
6
17
  ## [4.3.8](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/core@4.3.7...@aws-amplify/core@4.3.8) (2021-11-18)
7
18
 
8
19
  **Note:** Version bump only for package @aws-amplify/core
@@ -33504,6 +33504,7 @@ function () {
33504
33504
  case 2:
33505
33505
  _a.sent();
33506
33506
 
33507
+ this._nextSequenceToken = undefined;
33507
33508
  return [4
33508
33509
  /*yield*/
33509
33510
  , this._validateLogStreamExists(this._config.logGroupName, this._config.logStreamName)];
@@ -33511,14 +33512,10 @@ function () {
33511
33512
  case 3:
33512
33513
  logStream = _a.sent();
33513
33514
 
33514
- if (!logStream) {
33515
- this._nextSequenceToken = '';
33516
- return [2
33517
- /*return*/
33518
- , ''];
33515
+ if (logStream) {
33516
+ this._nextSequenceToken = logStream.uploadSequenceToken;
33519
33517
  }
33520
33518
 
33521
- this._nextSequenceToken = logStream.uploadSequenceToken || '';
33522
33519
  return [2
33523
33520
  /*return*/
33524
33521
  , this._nextSequenceToken];
@@ -33639,7 +33636,7 @@ function () {
33639
33636
  case 0:
33640
33637
  _a.trys.push([0, 3,, 4]);
33641
33638
 
33642
- this._nextSequenceToken = '';
33639
+ this._nextSequenceToken = undefined;
33643
33640
  this._dataTracker.eventUploadInProgress = true;
33644
33641
  return [4
33645
33642
  /*yield*/