@aws-amplify/ui 5.3.1 → 5.4.1
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/helpers/authenticator/textUtil.js +1 -1
- package/dist/esm/helpers/authenticator/utils.js +1 -1
- package/dist/esm/i18n/dictionaries/authenticator/de.js +1 -1
- package/dist/esm/i18n/dictionaries/authenticator/defaultTexts.js +1 -1
- package/dist/esm/i18n/dictionaries/authenticator/en.js +1 -1
- package/dist/esm/i18n/dictionaries/authenticator/es.js +1 -1
- package/dist/esm/i18n/dictionaries/authenticator/fr.js +1 -1
- package/dist/esm/i18n/dictionaries/authenticator/id.js +1 -1
- package/dist/esm/i18n/dictionaries/authenticator/it.js +1 -1
- package/dist/esm/i18n/dictionaries/authenticator/ja.js +1 -1
- package/dist/esm/i18n/dictionaries/authenticator/kr.js +1 -1
- package/dist/esm/i18n/dictionaries/authenticator/nl.js +1 -1
- package/dist/esm/i18n/dictionaries/authenticator/pl.js +1 -1
- package/dist/esm/i18n/dictionaries/authenticator/pt.js +1 -1
- package/dist/esm/i18n/dictionaries/authenticator/ru.js +1 -1
- package/dist/esm/i18n/dictionaries/authenticator/sv.js +1 -1
- package/dist/esm/i18n/dictionaries/authenticator/tr.js +1 -1
- package/dist/esm/i18n/dictionaries/authenticator/zh.js +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/machines/authenticator/actors/resetPassword.js +1 -1
- package/dist/esm/machines/authenticator/actors/signIn.js +1 -1
- package/dist/esm/machines/authenticator/index.js +1 -1
- package/dist/index.js +1 -1
- package/dist/types/helpers/authenticator/utils.d.ts +6 -0
- package/dist/types/i18n/dictionaries/authenticator/defaultTexts.d.ts +7 -0
- package/dist/types/i18n/dictionaries/index.d.ts +7 -0
- package/dist/types/i18n/translations.d.ts +7 -0
- package/package.json +1 -1
|
@@ -3,6 +3,11 @@
|
|
|
3
3
|
* implementations can use.
|
|
4
4
|
*/
|
|
5
5
|
import { AuthInterpreter, AuthMachineHubHandler } from '../../types';
|
|
6
|
+
declare type ConfigureOptions = {
|
|
7
|
+
packageName: string;
|
|
8
|
+
version: string;
|
|
9
|
+
};
|
|
10
|
+
export declare const configureComponent: ({ packageName, version, }: ConfigureOptions) => void;
|
|
6
11
|
export declare const censorAllButFirstAndLast: (value: string) => string;
|
|
7
12
|
export declare const censorPhoneNumber: (val: string) => string;
|
|
8
13
|
/**
|
|
@@ -21,3 +26,4 @@ export declare const defaultAuthHubHandler: AuthMachineHubHandler;
|
|
|
21
26
|
export declare const listenToAuthHub: (service: AuthInterpreter, handler?: AuthMachineHubHandler) => () => void;
|
|
22
27
|
export declare const hasSpecialChars: (password: string) => boolean;
|
|
23
28
|
export declare const getTotpCodeURL: (issuer: string, username: string, secret: string) => string;
|
|
29
|
+
export {};
|
|
@@ -4,6 +4,10 @@ export declare const defaultTexts: {
|
|
|
4
4
|
CHANGE_PASSWORD: string;
|
|
5
5
|
CHANGING_PASSWORD: string;
|
|
6
6
|
CODE: string;
|
|
7
|
+
CODE_ARRIVAL: string;
|
|
8
|
+
CODE_EMAILED: string;
|
|
9
|
+
CODE_SENT: string;
|
|
10
|
+
CODE_TEXTED: string;
|
|
7
11
|
CONFIRM_PASSWORD: string;
|
|
8
12
|
CONFIRM_RESET_PASSWORD_HEADING: string;
|
|
9
13
|
CONFIRM_SIGNUP_HEADING: string;
|
|
@@ -55,5 +59,8 @@ export declare const defaultTexts: {
|
|
|
55
59
|
VERIFY_CONTACT: string;
|
|
56
60
|
VERIFY_HEADING: string;
|
|
57
61
|
VERIFY: string;
|
|
62
|
+
WE_EMAILED: string;
|
|
63
|
+
WE_SENT_CODE: string;
|
|
64
|
+
WE_TEXTED: string;
|
|
58
65
|
WEBSITE: string;
|
|
59
66
|
};
|
|
@@ -836,6 +836,10 @@ export declare const defaultTexts: {
|
|
|
836
836
|
CHANGE_PASSWORD: string;
|
|
837
837
|
CHANGING_PASSWORD: string;
|
|
838
838
|
CODE: string;
|
|
839
|
+
CODE_ARRIVAL: string;
|
|
840
|
+
CODE_EMAILED: string;
|
|
841
|
+
CODE_SENT: string;
|
|
842
|
+
CODE_TEXTED: string;
|
|
839
843
|
CONFIRM_PASSWORD: string;
|
|
840
844
|
CONFIRM_RESET_PASSWORD_HEADING: string;
|
|
841
845
|
CONFIRM_SIGNUP_HEADING: string;
|
|
@@ -887,5 +891,8 @@ export declare const defaultTexts: {
|
|
|
887
891
|
VERIFY_CONTACT: string;
|
|
888
892
|
VERIFY_HEADING: string;
|
|
889
893
|
VERIFY: string;
|
|
894
|
+
WE_EMAILED: string;
|
|
895
|
+
WE_SENT_CODE: string;
|
|
896
|
+
WE_TEXTED: string;
|
|
890
897
|
WEBSITE: string;
|
|
891
898
|
};
|
|
@@ -16,6 +16,10 @@ export declare const DefaultTexts: {
|
|
|
16
16
|
readonly CHANGE_PASSWORD: string;
|
|
17
17
|
readonly CHANGING_PASSWORD: string;
|
|
18
18
|
readonly CODE: string;
|
|
19
|
+
readonly CODE_ARRIVAL: string;
|
|
20
|
+
readonly CODE_EMAILED: string;
|
|
21
|
+
readonly CODE_SENT: string;
|
|
22
|
+
readonly CODE_TEXTED: string;
|
|
19
23
|
readonly CONFIRM_PASSWORD: string;
|
|
20
24
|
readonly CONFIRM_RESET_PASSWORD_HEADING: string;
|
|
21
25
|
readonly CONFIRM_SIGNUP_HEADING: string;
|
|
@@ -67,6 +71,9 @@ export declare const DefaultTexts: {
|
|
|
67
71
|
readonly VERIFY_CONTACT: string;
|
|
68
72
|
readonly VERIFY_HEADING: string;
|
|
69
73
|
readonly VERIFY: string;
|
|
74
|
+
readonly WE_EMAILED: string;
|
|
75
|
+
readonly WE_SENT_CODE: string;
|
|
76
|
+
readonly WE_TEXTED: string;
|
|
70
77
|
readonly WEBSITE: string;
|
|
71
78
|
};
|
|
72
79
|
export declare type Phrase = typeof DefaultTexts[keyof typeof DefaultTexts];
|