@aws-amplify/auth 4.6.1-unstable.4 → 4.6.2-unstable.11
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 +12 -0
- package/dist/aws-amplify-auth.js +2 -2
- package/dist/aws-amplify-auth.js.map +1 -1
- package/dist/aws-amplify-auth.min.js +1 -1
- package/dist/aws-amplify-auth.min.js.map +1 -1
- package/lib/Auth.js +2 -2
- package/lib/Auth.js.map +1 -1
- package/lib-esm/Auth.js +2 -2
- package/lib-esm/Auth.js.map +1 -1
- package/package.json +5 -5
- package/src/Auth.ts +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-amplify/auth",
|
|
3
|
-
"version": "4.6.
|
|
3
|
+
"version": "4.6.2-unstable.11+92cef8ade",
|
|
4
4
|
"description": "Auth category of aws-amplify",
|
|
5
5
|
"main": "./lib/index.js",
|
|
6
6
|
"module": "./lib-esm/index.js",
|
|
@@ -41,9 +41,9 @@
|
|
|
41
41
|
},
|
|
42
42
|
"homepage": "https://aws-amplify.github.io/",
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"@aws-amplify/cache": "4.0.
|
|
45
|
-
"@aws-amplify/core": "4.6.
|
|
46
|
-
"amazon-cognito-identity-js": "5.2.11-unstable.
|
|
44
|
+
"@aws-amplify/cache": "4.0.51-unstable.11+92cef8ade",
|
|
45
|
+
"@aws-amplify/core": "4.6.2-unstable.11+92cef8ade",
|
|
46
|
+
"amazon-cognito-identity-js": "5.2.11-unstable.35+92cef8ade",
|
|
47
47
|
"crypto-js": "^4.1.1"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
@@ -95,5 +95,5 @@
|
|
|
95
95
|
],
|
|
96
96
|
"testSequencer": "./testSequencer.js"
|
|
97
97
|
},
|
|
98
|
-
"gitHead": "
|
|
98
|
+
"gitHead": "92cef8adee275bfbb4840be4cf49a7367fd95ce4"
|
|
99
99
|
}
|
package/src/Auth.ts
CHANGED
|
@@ -374,7 +374,7 @@ export class AuthClass {
|
|
|
374
374
|
|
|
375
375
|
autoSignIn = params.autoSignIn ?? { enabled: false };
|
|
376
376
|
if (autoSignIn.enabled) {
|
|
377
|
-
this._storage.setItem('amplify-auto-sign-in', true);
|
|
377
|
+
this._storage.setItem('amplify-auto-sign-in', 'true');
|
|
378
378
|
autoSignInValidationData = autoSignIn.validationData ?? {};
|
|
379
379
|
autoSignInClientMetaData = autoSignIn.clientMetaData ?? {};
|
|
380
380
|
}
|
|
@@ -462,7 +462,7 @@ export class AuthClass {
|
|
|
462
462
|
}
|
|
463
463
|
|
|
464
464
|
private handleLinkAutoSignIn(authDetails: AuthenticationDetails) {
|
|
465
|
-
this._storage.setItem('amplify-polling-started', true);
|
|
465
|
+
this._storage.setItem('amplify-polling-started', 'true');
|
|
466
466
|
const start = Date.now();
|
|
467
467
|
const autoSignInPollingIntervalId = setInterval(() => {
|
|
468
468
|
if (Date.now() - start > MAX_AUTOSIGNIN_POLLING_MS) {
|