From 79eea6cb6b2b415633d4178d720d88e9580d3f7f Mon Sep 17 00:00:00 2001 From: franciscoemanuel-clk Date: Fri, 15 May 2026 19:08:51 -0300 Subject: [PATCH 1/6] =?UTF-8?q?feat:=20atualiza=20p=C3=A1gina=20de=20teste?= =?UTF-8?q?=20para=20o=20Verify=20com=20novos=20ambientes=20e=20configura?= =?UTF-8?q?=C3=A7=C3=A3o?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- v3/verify/index.html | 144 +++++++++++++++++++++++++++++++------------ v3/verify/style.css | 18 +++++- 2 files changed, 121 insertions(+), 41 deletions(-) diff --git a/v3/verify/index.html b/v3/verify/index.html index 2b4313f..57ae0d5 100644 --- a/v3/verify/index.html +++ b/v3/verify/index.html @@ -21,42 +21,49 @@

šŸ” SDK de AutenticaƧƵes

āš™ļø Configuração

-

Sobre este SDK

-

Este widget permite verificação segura de identidade através de detecção biométrica de prova de vida. Os casos de uso incluem:

- +

Como usar

+
    +
  1. Insira seu token de acesso da API
  2. +
  3. Selecione o ambiente desejado
  4. +
  5. Edite o corpo da requisição se necessÔrio
  6. +
  7. Clique em "Nova captura" para criar uma transação e iniciar a verificação
  8. +
+

Documentação

- + - Obtenha esta chave da sua transação + Token de autenticação para criar transações
Selecione o ambiente de destino para o widget
+
+ + + JSON enviado no POST /api/v1/transactions +
+
-
@@ -93,9 +100,17 @@

šŸ“” Monitor de Eventos do SDK

diff --git a/v3/verify/style.css b/v3/verify/style.css index 8701e33..9333b14 100644 --- a/v3/verify/style.css +++ b/v3/verify/style.css @@ -221,12 +221,13 @@ button.primary:hover { } button.secondary { - background: #e2e8f0; - color: #4a5568; + background: transparent; + color: #f25924; + border: 2px solid #f25924; } button.secondary:hover { - background: #cbd5e0; + background: rgba(242, 89, 36, 0.08); } button.small { @@ -590,6 +591,77 @@ iframe { height: 100%; } +.config-modal-overlay { + background: rgba(25, 24, 38, 0.8); + padding: 24px; +} + +.config-modal { + width: min(100%, 720px); + max-height: calc(100vh - 48px); + overflow: auto; + background: #ffffff; + border-radius: 12px; + padding: 24px; + box-shadow: 0 16px 40px rgba(0, 0, 0, 0.24); +} + +.config-modal h3 { + margin-bottom: 8px; +} + +.config-modal-help { + margin: 0 0 14px 0; + color: #4a5568; + font-size: 14px; +} + +#configTextarea { + width: 100%; + min-height: 420px; + resize: vertical; + border: 2px solid #e2e8f0; + border-radius: 8px; + padding: 14px; + font-size: 13px; + line-height: 1.5; + font-family: 'Monaco', 'Menlo', monospace; + color: #2d3748; +} + +#configTextarea:focus { + outline: none; + border-color: #f25924; + box-shadow: 0 0 0 3px rgba(242, 89, 36, 0.1); +} + +.config-modal-actions { + margin-top: 16px; + display: flex; + justify-content: flex-end; + gap: 10px; +} + +.config-modal-actions .button { + width: auto; + min-width: 100px; +} + +@media (max-width: 768px) { + .config-modal-overlay { + padding: 12px; + } + + .config-modal { + padding: 16px; + width: 100%; + } + + #configTextarea { + min-height: 320px; + } +} + #toastContainer { position: fixed; top: 16px; From 4cb3d307755122bfb675f9fb90da5ad5871ad53a Mon Sep 17 00:00:00 2001 From: franciscoemanuel-clk Date: Tue, 26 May 2026 19:21:56 -0300 Subject: [PATCH 6/6] refactor: remove data-api --- v3/verify/index.html | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/v3/verify/index.html b/v3/verify/index.html index 0e4e0e4..c1dc082 100644 --- a/v3/verify/index.html +++ b/v3/verify/index.html @@ -45,12 +45,12 @@

Como usar

Selecione o ambiente de destino para o widget