@dynamic-labs/locale 4.57.1 → 4.58.0

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
@@ -1,4 +1,20 @@
1
1
 
2
+ ## [4.58.0](https://github.com/dynamic-labs/dynamic-auth/compare/v4.57.2...v4.58.0) (2026-01-28)
3
+
4
+
5
+ ### Features
6
+
7
+ * add password setup flow for WaaS wallets ([#10308](https://github.com/dynamic-labs/dynamic-auth/issues/10308)) ([aad892d](https://github.com/dynamic-labs/dynamic-auth/commit/aad892d0359df589753b141c1099a03c72b799d9))
8
+ * add useRefreshAuth ([#10280](https://github.com/dynamic-labs/dynamic-auth/issues/10280)) ([bff850a](https://github.com/dynamic-labs/dynamic-auth/commit/bff850afc4167d47d3a38c5e9845d35b754ea573))
9
+ * **waas:** add unlockWallet and getWalletRecoveryState methods ([#10286](https://github.com/dynamic-labs/dynamic-auth/issues/10286)) ([4c2f26b](https://github.com/dynamic-labs/dynamic-auth/commit/4c2f26b1cd6483406288513d73be66554cd3c66a))
10
+
11
+ ### Bug Fixes
12
+
13
+ * ensure refresh user not update the jwt ([#10278](https://github.com/dynamic-labs/dynamic-auth/issues/10278)) ([c8cdbe6](https://github.com/dynamic-labs/dynamic-auth/commit/c8cdbe6e10636b39985f299a219fa362c25b4cd0))
14
+ * use isVersionedTransaction for reliable Solana transaction type detection ([#10319](https://github.com/dynamic-labs/dynamic-auth/issues/10319)) ([472aa15](https://github.com/dynamic-labs/dynamic-auth/commit/472aa15a94cfe541b22b96c5c63483e6a5971781))
15
+
16
+ ### [4.57.2](https://github.com/dynamic-labs/dynamic-auth/compare/v4.57.1...v4.57.2) (2026-01-23)
17
+
2
18
  ### [4.57.1](https://github.com/dynamic-labs/dynamic-auth/compare/v4.57.0...v4.57.1) (2026-01-22)
3
19
 
4
20
 
package/package.cjs CHANGED
@@ -3,6 +3,6 @@
3
3
 
4
4
  Object.defineProperty(exports, '__esModule', { value: true });
5
5
 
6
- var version = "4.57.1";
6
+ var version = "4.58.0";
7
7
 
8
8
  exports.version = version;
package/package.js CHANGED
@@ -1,4 +1,4 @@
1
1
  'use client'
2
- var version = "4.57.1";
2
+ var version = "4.58.0";
3
3
 
4
4
  export { version };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynamic-labs/locale",
3
- "version": "4.57.1",
3
+ "version": "4.58.0",
4
4
  "description": "Locale for Dynamic SDK",
5
5
  "author": "Dynamic Labs, Inc.",
6
6
  "license": "MIT",
@@ -20,7 +20,7 @@
20
20
  "dependencies": {
21
21
  "i18next": "23.4.6",
22
22
  "react-i18next": "13.5.0",
23
- "@dynamic-labs/assert-package-version": "4.57.1"
23
+ "@dynamic-labs/assert-package-version": "4.58.0"
24
24
  },
25
25
  "peerDependencies": {}
26
26
  }
@@ -1019,7 +1019,9 @@ const translation = {
1019
1019
  },
1020
1020
  export_section: {
1021
1021
  backup_button: 'Backup Key Share',
1022
+ backup_button_v2: 'Backup',
1022
1023
  export_button: 'Export Private key',
1024
+ export_recovery_button: 'Export & Recovery',
1023
1025
  private_key_button: 'Private key',
1024
1026
  srp_button: 'Recovery phrase',
1025
1027
  title: 'Export & Backup',
@@ -1040,6 +1042,7 @@ const translation = {
1040
1042
  title: 'MFA',
1041
1043
  passkey_button: 'Passkeys',
1042
1044
  totp_button: 'TOTP',
1045
+ passcode_button: 'Add Passcode',
1043
1046
  },
1044
1047
  wallet_security_section: {
1045
1048
  title: 'Wallet Security',
@@ -1081,7 +1084,9 @@ const translation = {
1081
1084
  },
1082
1085
  export_section: {
1083
1086
  backup_button: 'Backup Key Share',
1087
+ backup_button_v2: 'Backup',
1084
1088
  export_button: 'Export Private key',
1089
+ export_recovery_button: 'Export & Recovery',
1085
1090
  private_key_button: 'Private key',
1086
1091
  srp_button: 'Recovery phrase',
1087
1092
  title: 'Export & Backup',
@@ -1102,6 +1107,7 @@ const translation = {
1102
1107
  title: 'MFA',
1103
1108
  passkey_button: 'Passkeys',
1104
1109
  totp_button: 'TOTP',
1110
+ passcode_button: 'Add Passcode',
1105
1111
  },
1106
1112
  wallet_security_section: {
1107
1113
  title: 'Wallet Security',
@@ -1111,6 +1117,11 @@ const translation = {
1111
1117
  button_logout: 'Log out',
1112
1118
  account_security: {
1113
1119
  title: 'Account & Security',
1120
+ password: {
1121
+ title: 'Password',
1122
+ button: 'Set Up Password',
1123
+ set_button: 'Set Password',
1124
+ },
1114
1125
  },
1115
1126
  empty_screen: {
1116
1127
  title: 'Nothing to see here yet!',
@@ -2036,6 +2047,102 @@ const translation = {
2036
2047
  title: 'Save passcode',
2037
2048
  warning: 'If you lose your passcode, you cannot recover access to your account.',
2038
2049
  },
2050
+ /**
2051
+ * @description copy keys for setup password flow
2052
+ * @default
2053
+ * {
2054
+ terms: {
2055
+ title: 'Set up password',
2056
+ description: 'Before setting up a password, please acknowledge the following:',
2057
+ checkbox_1: 'I understand that if I lose my password, I will permanently lose access to my wallet and all assets.',
2058
+ checkbox_2: 'I understand that Dynamic support cannot recover my password or access my wallet.',
2059
+ checkbox_3: 'I understand that this password is only for this application and cannot be used elsewhere.',
2060
+ },
2061
+ enter: {
2062
+ title: 'Create password',
2063
+ description: 'Create a strong password to protect your wallet.',
2064
+ label: 'Password',
2065
+ placeholder: 'Enter password',
2066
+ requirement_length: '8-70 characters',
2067
+ requirement_uppercase: '1 uppercase letter',
2068
+ requirement_lowercase: '1 lowercase letter',
2069
+ requirement_number: '1 number',
2070
+ requirement_symbol: '1 special character',
2071
+ },
2072
+ confirm: {
2073
+ title: 'Confirm password',
2074
+ description: 'Re-enter your password to confirm.',
2075
+ label: 'Confirm password',
2076
+ placeholder: 'Re-enter password',
2077
+ match: 'Passwords match',
2078
+ mismatch: 'Passwords do not match',
2079
+ },
2080
+ knowledge_check: {
2081
+ title: 'Knowledge check',
2082
+ question: 'What happens if you lose your password?',
2083
+ option_a: 'I can reset it through email',
2084
+ option_b: 'Support can help me recover access',
2085
+ option_c: 'I will permanently lose access to my wallet',
2086
+ error: 'Incorrect. If you lose your password, you will permanently lose access to your wallet and all assets.',
2087
+ },
2088
+ success: {
2089
+ title: 'Password created successfully!',
2090
+ description: 'All set! You have successfully created a password.',
2091
+ },
2092
+ button: {
2093
+ continue: 'Continue',
2094
+ confirm: 'Confirm',
2095
+ done: 'Done',
2096
+ },
2097
+ }
2098
+ */
2099
+ dyn_setup_password: {
2100
+ terms: {
2101
+ title: 'Set up password',
2102
+ description: 'Before setting up a password, please acknowledge the following:',
2103
+ checkbox_1: 'I understand that if I lose my password, I will permanently lose access to my wallet and all assets.',
2104
+ checkbox_2: 'I understand that Dynamic support cannot recover my password or access my wallet.',
2105
+ checkbox_3: 'I understand that this password is only for this application and cannot be used elsewhere.',
2106
+ },
2107
+ enter: {
2108
+ title: 'Create password',
2109
+ description: 'Create a strong password to protect your wallet.',
2110
+ label: 'Password',
2111
+ placeholder: 'Enter password',
2112
+ requirement_length: '8-70 characters',
2113
+ requirement_uppercase: '1 uppercase letter',
2114
+ requirement_lowercase: '1 lowercase letter',
2115
+ requirement_number: '1 number',
2116
+ requirement_symbol: '1 special character',
2117
+ },
2118
+ confirm: {
2119
+ title: 'Confirm password',
2120
+ description: 'Re-enter your password to confirm.',
2121
+ label: 'Confirm password',
2122
+ placeholder: 'Re-enter password',
2123
+ match: 'Passwords match',
2124
+ mismatch: 'Passwords do not match',
2125
+ },
2126
+ knowledge_check: {
2127
+ title: 'Knowledge check',
2128
+ description: 'Please answer the question to finalise your understanding',
2129
+ question: 'What happens if you lose this password?',
2130
+ option_a: 'I can reset it through email',
2131
+ option_b: 'Support can help me recover access',
2132
+ option_c: 'I will permanently lose access to my wallet',
2133
+ error: 'Incorrect, there is no password recovery. Please review the terms again carefully.',
2134
+ review_terms: 'Review terms again',
2135
+ },
2136
+ success: {
2137
+ title: 'Password created successfully!',
2138
+ description: 'All set! You have successfully created a password.',
2139
+ },
2140
+ button: {
2141
+ continue: 'Continue',
2142
+ confirm: 'Confirm',
2143
+ done: 'Done',
2144
+ },
2145
+ },
2039
2146
  /**
2040
2147
  * @description copy keys for secure pregenerated embedded wallet
2041
2148
  * @default
@@ -1013,7 +1013,9 @@ export declare const translation: {
1013
1013
  },
1014
1014
  export_section: {
1015
1015
  backup_button: 'Backup Key Share',
1016
+ backup_button_v2: 'Backup',
1016
1017
  export_button: 'Export Private key',
1018
+ export_recovery_button: 'Export & Recovery',
1017
1019
  private_key_button: 'Private key',
1018
1020
  srp_button: 'Recovery phrase',
1019
1021
  title: 'Export & Backup',
@@ -1034,6 +1036,7 @@ export declare const translation: {
1034
1036
  title: 'MFA',
1035
1037
  passkey_button: 'Passkeys',
1036
1038
  totp_button: 'TOTP',
1039
+ passcode_button: 'Add Passcode',
1037
1040
  },
1038
1041
  wallet_security_section: {
1039
1042
  title: 'Wallet Security',
@@ -1075,7 +1078,9 @@ export declare const translation: {
1075
1078
  };
1076
1079
  export_section: {
1077
1080
  backup_button: string;
1081
+ backup_button_v2: string;
1078
1082
  export_button: string;
1083
+ export_recovery_button: string;
1079
1084
  private_key_button: string;
1080
1085
  srp_button: string;
1081
1086
  title: string;
@@ -1098,6 +1103,7 @@ export declare const translation: {
1098
1103
  title: string;
1099
1104
  passkey_button: string;
1100
1105
  totp_button: string;
1106
+ passcode_button: string;
1101
1107
  };
1102
1108
  wallet_security_section: {
1103
1109
  title: string;
@@ -1107,6 +1113,11 @@ export declare const translation: {
1107
1113
  button_logout: string;
1108
1114
  account_security: {
1109
1115
  title: string;
1116
+ password: {
1117
+ title: string;
1118
+ button: string;
1119
+ set_button: string;
1120
+ };
1110
1121
  };
1111
1122
  empty_screen: {
1112
1123
  title: string;
@@ -2032,6 +2043,102 @@ export declare const translation: {
2032
2043
  title: string;
2033
2044
  warning: string;
2034
2045
  };
2046
+ /**
2047
+ * @description copy keys for setup password flow
2048
+ * @default
2049
+ * {
2050
+ terms: {
2051
+ title: 'Set up password',
2052
+ description: 'Before setting up a password, please acknowledge the following:',
2053
+ checkbox_1: 'I understand that if I lose my password, I will permanently lose access to my wallet and all assets.',
2054
+ checkbox_2: 'I understand that Dynamic support cannot recover my password or access my wallet.',
2055
+ checkbox_3: 'I understand that this password is only for this application and cannot be used elsewhere.',
2056
+ },
2057
+ enter: {
2058
+ title: 'Create password',
2059
+ description: 'Create a strong password to protect your wallet.',
2060
+ label: 'Password',
2061
+ placeholder: 'Enter password',
2062
+ requirement_length: '8-70 characters',
2063
+ requirement_uppercase: '1 uppercase letter',
2064
+ requirement_lowercase: '1 lowercase letter',
2065
+ requirement_number: '1 number',
2066
+ requirement_symbol: '1 special character',
2067
+ },
2068
+ confirm: {
2069
+ title: 'Confirm password',
2070
+ description: 'Re-enter your password to confirm.',
2071
+ label: 'Confirm password',
2072
+ placeholder: 'Re-enter password',
2073
+ match: 'Passwords match',
2074
+ mismatch: 'Passwords do not match',
2075
+ },
2076
+ knowledge_check: {
2077
+ title: 'Knowledge check',
2078
+ question: 'What happens if you lose your password?',
2079
+ option_a: 'I can reset it through email',
2080
+ option_b: 'Support can help me recover access',
2081
+ option_c: 'I will permanently lose access to my wallet',
2082
+ error: 'Incorrect. If you lose your password, you will permanently lose access to your wallet and all assets.',
2083
+ },
2084
+ success: {
2085
+ title: 'Password created successfully!',
2086
+ description: 'All set! You have successfully created a password.',
2087
+ },
2088
+ button: {
2089
+ continue: 'Continue',
2090
+ confirm: 'Confirm',
2091
+ done: 'Done',
2092
+ },
2093
+ }
2094
+ */
2095
+ dyn_setup_password: {
2096
+ terms: {
2097
+ title: string;
2098
+ description: string;
2099
+ checkbox_1: string;
2100
+ checkbox_2: string;
2101
+ checkbox_3: string;
2102
+ };
2103
+ enter: {
2104
+ title: string;
2105
+ description: string;
2106
+ label: string;
2107
+ placeholder: string;
2108
+ requirement_length: string;
2109
+ requirement_uppercase: string;
2110
+ requirement_lowercase: string;
2111
+ requirement_number: string;
2112
+ requirement_symbol: string;
2113
+ };
2114
+ confirm: {
2115
+ title: string;
2116
+ description: string;
2117
+ label: string;
2118
+ placeholder: string;
2119
+ match: string;
2120
+ mismatch: string;
2121
+ };
2122
+ knowledge_check: {
2123
+ title: string;
2124
+ description: string;
2125
+ question: string;
2126
+ option_a: string;
2127
+ option_b: string;
2128
+ option_c: string;
2129
+ error: string;
2130
+ review_terms: string;
2131
+ };
2132
+ success: {
2133
+ title: string;
2134
+ description: string;
2135
+ };
2136
+ button: {
2137
+ continue: string;
2138
+ confirm: string;
2139
+ done: string;
2140
+ };
2141
+ };
2035
2142
  /**
2036
2143
  * @description copy keys for secure pregenerated embedded wallet
2037
2144
  * @default
@@ -1015,7 +1015,9 @@ const translation = {
1015
1015
  },
1016
1016
  export_section: {
1017
1017
  backup_button: 'Backup Key Share',
1018
+ backup_button_v2: 'Backup',
1018
1019
  export_button: 'Export Private key',
1020
+ export_recovery_button: 'Export & Recovery',
1019
1021
  private_key_button: 'Private key',
1020
1022
  srp_button: 'Recovery phrase',
1021
1023
  title: 'Export & Backup',
@@ -1036,6 +1038,7 @@ const translation = {
1036
1038
  title: 'MFA',
1037
1039
  passkey_button: 'Passkeys',
1038
1040
  totp_button: 'TOTP',
1041
+ passcode_button: 'Add Passcode',
1039
1042
  },
1040
1043
  wallet_security_section: {
1041
1044
  title: 'Wallet Security',
@@ -1077,7 +1080,9 @@ const translation = {
1077
1080
  },
1078
1081
  export_section: {
1079
1082
  backup_button: 'Backup Key Share',
1083
+ backup_button_v2: 'Backup',
1080
1084
  export_button: 'Export Private key',
1085
+ export_recovery_button: 'Export & Recovery',
1081
1086
  private_key_button: 'Private key',
1082
1087
  srp_button: 'Recovery phrase',
1083
1088
  title: 'Export & Backup',
@@ -1098,6 +1103,7 @@ const translation = {
1098
1103
  title: 'MFA',
1099
1104
  passkey_button: 'Passkeys',
1100
1105
  totp_button: 'TOTP',
1106
+ passcode_button: 'Add Passcode',
1101
1107
  },
1102
1108
  wallet_security_section: {
1103
1109
  title: 'Wallet Security',
@@ -1107,6 +1113,11 @@ const translation = {
1107
1113
  button_logout: 'Log out',
1108
1114
  account_security: {
1109
1115
  title: 'Account & Security',
1116
+ password: {
1117
+ title: 'Password',
1118
+ button: 'Set Up Password',
1119
+ set_button: 'Set Password',
1120
+ },
1110
1121
  },
1111
1122
  empty_screen: {
1112
1123
  title: 'Nothing to see here yet!',
@@ -2032,6 +2043,102 @@ const translation = {
2032
2043
  title: 'Save passcode',
2033
2044
  warning: 'If you lose your passcode, you cannot recover access to your account.',
2034
2045
  },
2046
+ /**
2047
+ * @description copy keys for setup password flow
2048
+ * @default
2049
+ * {
2050
+ terms: {
2051
+ title: 'Set up password',
2052
+ description: 'Before setting up a password, please acknowledge the following:',
2053
+ checkbox_1: 'I understand that if I lose my password, I will permanently lose access to my wallet and all assets.',
2054
+ checkbox_2: 'I understand that Dynamic support cannot recover my password or access my wallet.',
2055
+ checkbox_3: 'I understand that this password is only for this application and cannot be used elsewhere.',
2056
+ },
2057
+ enter: {
2058
+ title: 'Create password',
2059
+ description: 'Create a strong password to protect your wallet.',
2060
+ label: 'Password',
2061
+ placeholder: 'Enter password',
2062
+ requirement_length: '8-70 characters',
2063
+ requirement_uppercase: '1 uppercase letter',
2064
+ requirement_lowercase: '1 lowercase letter',
2065
+ requirement_number: '1 number',
2066
+ requirement_symbol: '1 special character',
2067
+ },
2068
+ confirm: {
2069
+ title: 'Confirm password',
2070
+ description: 'Re-enter your password to confirm.',
2071
+ label: 'Confirm password',
2072
+ placeholder: 'Re-enter password',
2073
+ match: 'Passwords match',
2074
+ mismatch: 'Passwords do not match',
2075
+ },
2076
+ knowledge_check: {
2077
+ title: 'Knowledge check',
2078
+ question: 'What happens if you lose your password?',
2079
+ option_a: 'I can reset it through email',
2080
+ option_b: 'Support can help me recover access',
2081
+ option_c: 'I will permanently lose access to my wallet',
2082
+ error: 'Incorrect. If you lose your password, you will permanently lose access to your wallet and all assets.',
2083
+ },
2084
+ success: {
2085
+ title: 'Password created successfully!',
2086
+ description: 'All set! You have successfully created a password.',
2087
+ },
2088
+ button: {
2089
+ continue: 'Continue',
2090
+ confirm: 'Confirm',
2091
+ done: 'Done',
2092
+ },
2093
+ }
2094
+ */
2095
+ dyn_setup_password: {
2096
+ terms: {
2097
+ title: 'Set up password',
2098
+ description: 'Before setting up a password, please acknowledge the following:',
2099
+ checkbox_1: 'I understand that if I lose my password, I will permanently lose access to my wallet and all assets.',
2100
+ checkbox_2: 'I understand that Dynamic support cannot recover my password or access my wallet.',
2101
+ checkbox_3: 'I understand that this password is only for this application and cannot be used elsewhere.',
2102
+ },
2103
+ enter: {
2104
+ title: 'Create password',
2105
+ description: 'Create a strong password to protect your wallet.',
2106
+ label: 'Password',
2107
+ placeholder: 'Enter password',
2108
+ requirement_length: '8-70 characters',
2109
+ requirement_uppercase: '1 uppercase letter',
2110
+ requirement_lowercase: '1 lowercase letter',
2111
+ requirement_number: '1 number',
2112
+ requirement_symbol: '1 special character',
2113
+ },
2114
+ confirm: {
2115
+ title: 'Confirm password',
2116
+ description: 'Re-enter your password to confirm.',
2117
+ label: 'Confirm password',
2118
+ placeholder: 'Re-enter password',
2119
+ match: 'Passwords match',
2120
+ mismatch: 'Passwords do not match',
2121
+ },
2122
+ knowledge_check: {
2123
+ title: 'Knowledge check',
2124
+ description: 'Please answer the question to finalise your understanding',
2125
+ question: 'What happens if you lose this password?',
2126
+ option_a: 'I can reset it through email',
2127
+ option_b: 'Support can help me recover access',
2128
+ option_c: 'I will permanently lose access to my wallet',
2129
+ error: 'Incorrect, there is no password recovery. Please review the terms again carefully.',
2130
+ review_terms: 'Review terms again',
2131
+ },
2132
+ success: {
2133
+ title: 'Password created successfully!',
2134
+ description: 'All set! You have successfully created a password.',
2135
+ },
2136
+ button: {
2137
+ continue: 'Continue',
2138
+ confirm: 'Confirm',
2139
+ done: 'Done',
2140
+ },
2141
+ },
2035
2142
  /**
2036
2143
  * @description copy keys for secure pregenerated embedded wallet
2037
2144
  * @default