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

[INTER-708] Response transparency and webhook signature validation #106

Merged
merged 42 commits into from
Jun 17, 2024

Conversation

TheUnderScorer
Copy link
Collaborator

No description provided.

@TheUnderScorer TheUnderScorer self-assigned this Jun 17, 2024
Copy link

This PR will create a minor release 🚀

4.1.0 (2024-06-17)

Features

  • add isValidWebhookSignature function for validating webhook signature [INTER-731] (885b693)
  • add delete API (9f581ab)
  • add os Mismatch (c3ca8d7)
  • add revision string field to confidence object (a664c2d)
  • expose raw response in errors (fd8e352)
  • make Options.region optional (48c8024)
  • provide error as-is without serialization in getEvent method (c21a7b6)

Documentation

  • README: remove ipLocation field (acb7c38)

Copy link

Coverage report

St.
Category Percentage Covered / Total
🟢 Statements
97.06% (-0.08% 🔻)
165/170
🟢 Branches
88.14% (-1.64% 🔻)
104/118
🟢 Functions 100% 39/39
🟢 Lines
97.04% (-0.08% 🔻)
164/169
Show new covered files 🐣
St.
File Statements Branches Functions Lines
🟢 webhook.ts 100% 100% 100% 100%
Show files with reduced coverage 🔻
St.
File Statements Branches Functions Lines
🟢 types.ts 100%
90.48% (-2.55% 🔻)
100% 100%
🟢 urlUtils.ts
97.14% (-2.86% 🔻)
85.71% (-14.29% 🔻)
100%
97.14% (-2.86% 🔻)

Test suite run success

81 tests passing in 10 suites.

Report generated by 🧪jest coverage report action from f945245

Show full coverage report
St File % Stmts % Branch % Funcs % Lines Uncovered Line #s
🟢 All files 97.05 88.13 100 97.04
🟢  src 96.77 88.03 100 96.77
🟢   index.ts 100 100 100 100
🟢   sealedResults.ts 100 100 100 100
🟢   serverApiClient.ts 92.3 80 100 92.3 34,68,127,195
🟢   types.ts 100 90.47 100 100 78-90,117,120
🟢   urlUtils.ts 97.14 85.71 100 97.14 41
🟢   webhook.ts 100 100 100 100
🟢  src/errors 100 100 100 100
🟢   unsealError.ts 100 100 100 100

@TheUnderScorer TheUnderScorer marked this pull request as ready for review June 17, 2024 10:49
@TheUnderScorer TheUnderScorer merged commit fcdc011 into main Jun 17, 2024
14 of 18 checks passed
@TheUnderScorer TheUnderScorer deleted the feature/INTER-708-response-transparency branch June 17, 2024 11:16
@fingerprint-dx-team
Copy link

🎉 This PR is included in version 4.1.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants