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

Update VerifyResponse type #27

Merged
merged 2 commits into from
Jun 26, 2024
Merged

Conversation

vastus
Copy link
Owner

@vastus vastus commented Jun 26, 2024

Add missing fields to VerifyResponse.

Closes #24

@vastus vastus merged commit 2edfcad into master Jun 26, 2024
1 check failed
@@ -79,7 +79,7 @@ describe('hCaptcha', function () {
verify(secret, token)
.then(done.fail)
.catch(error => {
assert.strictEqual(error.message, 'Unexpected token < in JSON at position 0')
assert.match(error.message, /unexpected token/i);

Choose a reason for hiding this comment

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

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.

index.d.ts type discrepancy
2 participants