@aws-amplify/ui 6.0.1 → 6.0.2
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.
|
@@ -87,7 +87,7 @@ const authenticatorTextUtil = {
|
|
|
87
87
|
getDeliveryMethodText,
|
|
88
88
|
/** ConfirmSignIn */
|
|
89
89
|
getChallengeText,
|
|
90
|
-
/**
|
|
90
|
+
/** ForgotPassword */
|
|
91
91
|
getResetYourPasswordText: () => translate(DefaultTexts.RESET_PASSWORD),
|
|
92
92
|
/** SetupTotp */
|
|
93
93
|
getSetupTotpText: () => translate(DefaultTexts.SETUP_TOTP),
|
|
@@ -122,7 +122,7 @@ function forgotPasswordActor({ services, }) {
|
|
|
122
122
|
tags: 'pending',
|
|
123
123
|
entry: ['clearError', 'sendUpdate'],
|
|
124
124
|
invoke: {
|
|
125
|
-
src: '
|
|
125
|
+
src: 'handleResetPassword',
|
|
126
126
|
onDone: { target: 'idle' },
|
|
127
127
|
onError: { actions: 'setRemoteError', target: 'idle' },
|
|
128
128
|
},
|
package/dist/index.js
CHANGED
|
@@ -3121,7 +3121,7 @@ const authenticatorTextUtil = {
|
|
|
3121
3121
|
getDeliveryMethodText,
|
|
3122
3122
|
/** ConfirmSignIn */
|
|
3123
3123
|
getChallengeText,
|
|
3124
|
-
/**
|
|
3124
|
+
/** ForgotPassword */
|
|
3125
3125
|
getResetYourPasswordText: () => translate(DefaultTexts.RESET_PASSWORD),
|
|
3126
3126
|
/** SetupTotp */
|
|
3127
3127
|
getSetupTotpText: () => translate(DefaultTexts.SETUP_TOTP),
|
|
@@ -3817,7 +3817,7 @@ function forgotPasswordActor({ services, }) {
|
|
|
3817
3817
|
tags: 'pending',
|
|
3818
3818
|
entry: ['clearError', 'sendUpdate'],
|
|
3819
3819
|
invoke: {
|
|
3820
|
-
src: '
|
|
3820
|
+
src: 'handleResetPassword',
|
|
3821
3821
|
onDone: { target: 'idle' },
|
|
3822
3822
|
onError: { actions: 'setRemoteError', target: 'idle' },
|
|
3823
3823
|
},
|
|
@@ -33,7 +33,7 @@ export declare const authenticatorTextUtil: {
|
|
|
33
33
|
readonly getDeliveryMethodText: (codeDeliveryDetails: V5CodeDeliveryDetails) => string;
|
|
34
34
|
/** ConfirmSignIn */
|
|
35
35
|
readonly getChallengeText: (challengeName?: ChallengeName) => string;
|
|
36
|
-
/**
|
|
36
|
+
/** ForgotPassword */
|
|
37
37
|
readonly getResetYourPasswordText: () => string;
|
|
38
38
|
/** SetupTotp */
|
|
39
39
|
readonly getSetupTotpText: () => string;
|