@12-apps/payments-frontend 3.43.0 → 3.43.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@12-apps/payments-frontend",
3
- "version": "3.43.0",
3
+ "version": "3.43.1",
4
4
  "type": "module",
5
5
  "sideEffects": false,
6
6
  "description": "Browser half of the vendor-agnostic payments platform: plug-and-play MUI components for the per-provider settings page (credential form from each provider's schema, masked hints, verify/enable) and the checkout page (PIX QR + polling, card tokenization, hosted-checkout redirect), plus the headless hooks and fetch clients they build on. Talks only to the host's payments HTTP surface — never to a provider directly. Microfrontend-ready: no app coupling, host injects theme and auth.",
@@ -23,7 +23,7 @@
23
23
  "storybook:build": "storybook build"
24
24
  },
25
25
  "dependencies": {
26
- "@12-apps/payments-backend": "^4.33.0",
26
+ "@12-apps/payments-backend": "^4.33.1",
27
27
  "react-qr-code": "^2.2.0"
28
28
  },
29
29
  "peerDependencies": {
@@ -122,18 +122,19 @@ export const EN_US_PLATFORM_HOMOLOGACAO_COPY: PlatformHomologacaoCopy = {
122
122
  reconnect: 'Reconnect test seller',
123
123
  connectFailed: 'Could not start the test seller connection.',
124
124
  returnedConnected: 'Test seller connected. The callback and the code exchange were recorded in the evidence.',
125
- returnedFailed: 'The test seller connection did not complete. The reason was recorded in the evidence file.',
125
+ returnedFailed: 'The test seller connection did not complete. Try connecting again.',
126
126
  generate: 'Generate evidence file\u00a0(TXT)',
127
- downloadLatest: 'Download again (no run)',
127
+ downloadLatest: 'Download the latest recorded',
128
128
  phases: {
129
129
  preparing: 'Consulting the application, renewing the token and minting the public key…',
130
130
  encrypting: 'Encrypting the test cards in the browser…',
131
131
  running: 'Creating the Pix and card orders in the sandbox — this can take up to a minute…',
132
132
  downloading: 'Building the file…',
133
133
  },
134
- summary: ({ executed, failed, pending }) => `✓ ${executed} executed · ✗ ${failed} failed · ⧗ ${pending} pending`,
134
+ summary: ({ executed, failed, pending }) =>
135
+ `✓\u00a0${executed}\u00a0executed · ✗\u00a0${failed}\u00a0failed · ⧗\u00a0${pending}\u00a0pending`,
135
136
  incomplete:
136
- 'The file lists what is missing under Pendências. Do not submit it as complete. Notifications that arrive later show up when you download again.',
137
+ 'The file lists what is missing under Pendências. Do not submit it as complete. Notifications that arrive later show up when you download the latest recorded.',
137
138
  generateFailed: (phase) =>
138
139
  `${
139
140
  {
@@ -142,6 +143,6 @@ export const EN_US_PLATFORM_HOMOLOGACAO_COPY: PlatformHomologacaoCopy = {
142
143
  running: 'Creating the orders in the sandbox failed.',
143
144
  downloading: 'Building the file failed.',
144
145
  }[phase]
145
- } Try again; "Download again" still returns what was recorded.`,
146
+ } Try again; "Download the latest recorded" still returns what was recorded.`,
146
147
  },
147
148
  };
@@ -103,9 +103,9 @@ export const PT_BR_PLATFORM_HOMOLOGACAO_COPY: PlatformHomologacaoCopy = {
103
103
  returnedConnected:
104
104
  'Lojista de teste conectado. O callback e a troca do código foram registrados nas evidências.',
105
105
  returnedFailed:
106
- 'A conexão do lojista de teste não foi concluída. O motivo foi registrado no arquivo de evidências.',
106
+ 'A conexão do lojista de teste não foi concluída. Tente conectar de novo.',
107
107
  generate: 'Gerar arquivo de evidências\u00a0(TXT)',
108
- downloadLatest: 'Baixar de novo (sem executar)',
108
+ downloadLatest: 'Baixar o último registrado',
109
109
  phases: {
110
110
  preparing: 'Consultando a aplicação, renovando o token e gerando a chave pública…',
111
111
  encrypting: 'Criptografando os cartões de teste no navegador…',
@@ -113,11 +113,12 @@ export const PT_BR_PLATFORM_HOMOLOGACAO_COPY: PlatformHomologacaoCopy = {
113
113
  downloading: 'Montando o arquivo…',
114
114
  },
115
115
  summary: ({ executed, failed, pending }) =>
116
- `✓ ${executed} ${executed === 1 ? 'executado' : 'executados'} · ` +
117
- `✗ ${failed} ${failed === 1 ? 'falhou' : 'falharam'} · ` +
118
- `⧗ ${pending} ${pending === 1 ? 'pendente' : 'pendentes'}`,
116
+ // Non-breaking inside each count, so only the separators may wrap.
117
+ `✓\u00a0${executed}\u00a0${executed === 1 ? 'executado' : 'executados'} · ` +
118
+ `✗\u00a0${failed}\u00a0${failed === 1 ? 'falhou' : 'falharam'} · ` +
119
+ `⧗\u00a0${pending}\u00a0${pending === 1 ? 'pendente' : 'pendentes'}`,
119
120
  incomplete:
120
- 'O arquivo lista o que falta na seção Pendências. Não o envie como completo. Notificações que chegarem depois aparecem ao baixar de novo.',
121
+ 'O arquivo lista o que falta na seção Pendências. Não o envie como completo. Notificações que chegarem depois aparecem ao baixar o último registrado.',
121
122
  generateFailed: (phase) =>
122
123
  `${
123
124
  {
@@ -126,6 +127,6 @@ export const PT_BR_PLATFORM_HOMOLOGACAO_COPY: PlatformHomologacaoCopy = {
126
127
  running: 'Falhou ao criar os pedidos no sandbox.',
127
128
  downloading: 'Falhou ao montar o arquivo.',
128
129
  }[phase]
129
- } Tente de novo; "Baixar de novo" ainda traz o que já foi registrado.`,
130
+ } Tente de novo; "Baixar o último registrado" ainda traz o que já foi registrado.`,
130
131
  },
131
132
  };