@aws-amplify/auth 4.3.4 → 4.3.6
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,22 @@
|
|
|
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.6](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/auth@4.3.5...@aws-amplify/auth@4.3.6) (2021-09-17)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @aws-amplify/auth
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
## [4.3.5](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/auth@4.3.4...@aws-amplify/auth@4.3.5) (2021-09-09)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @aws-amplify/auth
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
6
22
|
## [4.3.4](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/auth@4.3.3...@aws-amplify/auth@4.3.4) (2021-09-07)
|
|
7
23
|
|
|
8
24
|
**Note:** Version bump only for package @aws-amplify/auth
|
package/dist/aws-amplify-auth.js
CHANGED
|
@@ -8276,6 +8276,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
8276
8276
|
|
|
8277
8277
|
|
|
8278
8278
|
|
|
8279
|
+
var USER_POOL_ID_MAX_LENGTH = 55;
|
|
8279
8280
|
/** @class */
|
|
8280
8281
|
|
|
8281
8282
|
var CognitoUserPool = /*#__PURE__*/function () {
|
|
@@ -8305,7 +8306,7 @@ var CognitoUserPool = /*#__PURE__*/function () {
|
|
|
8305
8306
|
throw new Error('Both UserPoolId and ClientId are required.');
|
|
8306
8307
|
}
|
|
8307
8308
|
|
|
8308
|
-
if (!/^[\w-]+_
|
|
8309
|
+
if (UserPoolId.length > USER_POOL_ID_MAX_LENGTH || !/^[\w-]+_[0-9a-zA-Z]+$/.test(UserPoolId)) {
|
|
8309
8310
|
throw new Error('Invalid UserPoolId format.');
|
|
8310
8311
|
}
|
|
8311
8312
|
|