@aws-amplify/auth 4.3.10 → 4.3.11-in-app-messaging.48

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.
@@ -6111,7 +6111,6 @@ var CognitoUser = /*#__PURE__*/function () {
6111
6111
  this.storage = data.Storage || new _StorageHelper__WEBPACK_IMPORTED_MODULE_13__["default"]().getStorage();
6112
6112
  this.keyPrefix = "CognitoIdentityServiceProvider." + this.pool.getClientId();
6113
6113
  this.userDataKey = this.keyPrefix + "." + this.username + ".userData";
6114
- this.uploadProgressKey = '__uploadInProgress';
6115
6114
  }
6116
6115
  /**
6117
6116
  * Sets the session for this user
@@ -7453,7 +7452,6 @@ var CognitoUser = /*#__PURE__*/function () {
7453
7452
 
7454
7453
  _proto.clearCachedUserData = function clearCachedUserData() {
7455
7454
  this.storage.removeItem(this.userDataKey);
7456
- this.storage.removeItem(this.uploadProgressKey);
7457
7455
  };
7458
7456
 
7459
7457
  _proto.clearCachedUser = function clearCachedUser() {
@@ -11594,12 +11592,22 @@ function () {
11594
11592
  _a = mfaMethod;
11595
11593
 
11596
11594
  switch (_a) {
11597
- case 'TOTP' || false:
11595
+ case 'TOTP':
11598
11596
  return [3
11599
11597
  /*break*/
11600
11598
  , 2];
11601
11599
 
11602
- case 'SMS' || false:
11600
+ case 'SOFTWARE_TOKEN_MFA':
11601
+ return [3
11602
+ /*break*/
11603
+ , 2];
11604
+
11605
+ case 'SMS':
11606
+ return [3
11607
+ /*break*/
11608
+ , 3];
11609
+
11610
+ case 'SMS_MFA':
11603
11611
  return [3
11604
11612
  /*break*/
11605
11613
  , 3];