@ttoss/react-auth 1.6.27 → 1.6.29
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/dist/esm/index.js +0 -6
- package/dist/index.js +0 -6
- package/i18n/compiled/en.json +0 -6
- package/i18n/lang/en.json +0 -4
- package/package.json +2 -2
- package/src/AuthSignUp.tsx +0 -7
package/dist/esm/index.js
CHANGED
|
@@ -712,12 +712,6 @@ var AuthSignUp = ({
|
|
|
712
712
|
}]
|
|
713
713
|
}, {
|
|
714
714
|
value: PASSWORD_MINIMUM_LENGTH
|
|
715
|
-
})).oneOf([yup3.ref("confirmPassword")], intl.formatMessage({
|
|
716
|
-
id: "SPiKja",
|
|
717
|
-
defaultMessage: [{
|
|
718
|
-
"type": 0,
|
|
719
|
-
"value": "Password requirements not met"
|
|
720
|
-
}]
|
|
721
715
|
})).trim(),
|
|
722
716
|
confirmPassword: yup3.string().required(intl.formatMessage({
|
|
723
717
|
id: "NJ57Qj",
|
package/dist/index.js
CHANGED
|
@@ -756,12 +756,6 @@ var AuthSignUp = ({
|
|
|
756
756
|
}]
|
|
757
757
|
}, {
|
|
758
758
|
value: PASSWORD_MINIMUM_LENGTH
|
|
759
|
-
})).oneOf([import_forms3.yup.ref("confirmPassword")], intl.formatMessage({
|
|
760
|
-
id: "SPiKja",
|
|
761
|
-
defaultMessage: [{
|
|
762
|
-
"type": 0,
|
|
763
|
-
"value": "Password requirements not met"
|
|
764
|
-
}]
|
|
765
759
|
})).trim(),
|
|
766
760
|
confirmPassword: import_forms3.yup.string().required(intl.formatMessage({
|
|
767
761
|
id: "NJ57Qj",
|
package/i18n/compiled/en.json
CHANGED
package/i18n/lang/en.json
CHANGED
|
@@ -59,10 +59,6 @@
|
|
|
59
59
|
"defaultMessage": "Recovering Password",
|
|
60
60
|
"description": "Recovering Password"
|
|
61
61
|
},
|
|
62
|
-
"SPiKja": {
|
|
63
|
-
"defaultMessage": "Password requirements not met",
|
|
64
|
-
"description": "Password requirements not met"
|
|
65
|
-
},
|
|
66
62
|
"SnONhb": {
|
|
67
63
|
"defaultMessage": "Please, insert a valid e-mail",
|
|
68
64
|
"description": "Please, insert a valid e-mail"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ttoss/react-auth",
|
|
3
|
-
"version": "1.6.
|
|
3
|
+
"version": "1.6.29",
|
|
4
4
|
"description": "ttoss authentication module for React apps.",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"author": "ttoss",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"dependencies": {
|
|
25
25
|
"@xstate/react": "^3.2.2",
|
|
26
26
|
"xstate": "^4.37.2",
|
|
27
|
-
"@ttoss/forms": "^0.18.
|
|
27
|
+
"@ttoss/forms": "^0.18.10"
|
|
28
28
|
},
|
|
29
29
|
"peerDependencies": {
|
|
30
30
|
"aws-amplify": "^5.0.0",
|
package/src/AuthSignUp.tsx
CHANGED
|
@@ -60,13 +60,6 @@ export const AuthSignUp = ({ onSignUp, onReturnToSignIn }: AuthSignUpProps) => {
|
|
|
60
60
|
{ value: PASSWORD_MINIMUM_LENGTH }
|
|
61
61
|
)
|
|
62
62
|
)
|
|
63
|
-
.oneOf(
|
|
64
|
-
[yup.ref('confirmPassword')],
|
|
65
|
-
intl.formatMessage({
|
|
66
|
-
description: 'Password requirements not met',
|
|
67
|
-
defaultMessage: 'Password requirements not met',
|
|
68
|
-
})
|
|
69
|
-
)
|
|
70
63
|
.trim(),
|
|
71
64
|
confirmPassword: yup
|
|
72
65
|
.string()
|