@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.
- package/CHANGELOG.md +54 -381
- package/dist/aws-amplify-auth.js +12 -4
- package/dist/aws-amplify-auth.js.map +1 -1
- package/dist/aws-amplify-auth.min.js +2 -2
- package/dist/aws-amplify-auth.min.js.map +1 -1
- package/lib/Auth.d.ts +1 -1
- package/lib/Auth.js +4 -2
- package/lib/Auth.js.map +1 -1
- package/lib/urlListener.native.js +13 -4
- package/lib/urlListener.native.js.map +1 -1
- package/lib-esm/Auth.d.ts +1 -1
- package/lib-esm/Auth.js +4 -2
- package/lib-esm/Auth.js.map +1 -1
- package/lib-esm/urlListener.native.js +13 -4
- package/lib-esm/urlListener.native.js.map +1 -1
- package/package.json +5 -5
- package/src/Auth.ts +5 -3
- package/src/urlListener.native.ts +10 -3
package/dist/aws-amplify-auth.js
CHANGED
|
@@ -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'
|
|
11595
|
+
case 'TOTP':
|
|
11598
11596
|
return [3
|
|
11599
11597
|
/*break*/
|
|
11600
11598
|
, 2];
|
|
11601
11599
|
|
|
11602
|
-
case '
|
|
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];
|