@hellotext/hellotext 1.6.2 → 1.6.3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hellotext/hellotext",
3
- "version": "1.6.2",
3
+ "version": "1.6.3",
4
4
  "description": "Hellotext JavaScript Client",
5
5
  "source": "src/index.js",
6
6
  "main": "lib/index.js",
@@ -24,7 +24,7 @@ class OTPBuilder {
24
24
  type="text"
25
25
  name="otp"
26
26
  data-hellotext--otp-target="input"
27
- placeholder="Enter your OTP"
27
+ placeholder="${Hellotext.business.locale.otp.placeholder}"
28
28
  maxlength="6"
29
29
  />
30
30
  </header>
package/src/locales/en.js CHANGED
@@ -6,6 +6,7 @@ export default {
6
6
  invalid: 'Invalid One-Time Password',
7
7
  resend: 'Resend OTP',
8
8
  throttled: 'You have reached the maximum number of attempts. Please try again in 1 minute.',
9
+ placeholder: 'Enter the code here',
9
10
  },
10
11
  white_label: {
11
12
  powered_by: 'Powered by',
package/src/locales/es.js CHANGED
@@ -5,8 +5,8 @@ export default {
5
5
  resend_successful: 'El código de un solo uso ha sido reenviado exitosamente',
6
6
  invalid: 'Código de un solo uso inválido',
7
7
  resend: 'Reenviar OTP',
8
- throttled:
9
- 'Has alcanzado el número máximo de intentos. Por favor intenta de nuevo en 1 minuto.',
8
+ throttled: 'Has alcanzado el número máximo de intentos. Por favor intenta de nuevo en 1 minuto.',
9
+ placeholder: 'Ingresa el código aquí'
10
10
  },
11
11
  white_label: {
12
12
  powered_by: 'Desarrollado por',