@aws-amplify/auth 4.3.12-unstable.3 → 4.3.12-unstable.8

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.
@@ -7880,7 +7880,7 @@ var CognitoUser = /*#__PURE__*/function () {
7880
7880
  var _this18 = this; // If tokens won't be revoked, we just clean the client data.
7881
7881
 
7882
7882
 
7883
- if (!revokeTokenCallback || typeof revokeTokenCallback !== "function") {
7883
+ if (!revokeTokenCallback || typeof revokeTokenCallback !== 'function') {
7884
7884
  this.cleanClientData();
7885
7885
  return;
7886
7886
  }
@@ -11592,12 +11592,22 @@ function () {
11592
11592
  _a = mfaMethod;
11593
11593
 
11594
11594
  switch (_a) {
11595
- case 'TOTP' || false:
11595
+ case 'TOTP':
11596
11596
  return [3
11597
11597
  /*break*/
11598
11598
  , 2];
11599
11599
 
11600
- 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':
11601
11611
  return [3
11602
11612
  /*break*/
11603
11613
  , 3];