Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[5.2.0] feat(RequestToken): add request_token support to all methods #89

Merged
merged 2 commits into from
Aug 5, 2024

Conversation

marcelscr
Copy link
Contributor

Esse PR adiciona o suporte para recebimento do request_token como substituto do installation_id e session_token em todos os métodos. Como não queremos fazer uma mudança quebrante, o installation_id e session_token permanecem como alternativas - mas deixam de ser obrigatórios.

@@ -114,7 +120,52 @@ describe('API', () => {
expect(signup).toEqual(expectedResponse)
})

it('registers a web signup', async () => {
it('registers signup with request_token', async () => {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Esses testes ficaram meio replicados nessa versão, mas eles já mudaram completamente no PR do 6 (singleton). Estou adicionando aqui as validações que ainda não existiam.

@marcelscr marcelscr changed the title feat(RequestToken): add request_token support to all methods [5.2.0] feat(RequestToken): add request_token support to all methods Aug 5, 2024
@marcelscr marcelscr merged commit 5ed2af8 into feat/web-payment Aug 5, 2024
4 checks passed
@marcelscr marcelscr deleted the feat/add-request-token-support branch September 23, 2024 18:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants