• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

safe-global / safe-client-gateway / 6903197072
89%

Build:
DEFAULT BRANCH: main
Ran 17 Nov 2023 11:10AM UTC
Jobs 2
Files 515
Run time 50s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

17 Nov 2023 11:08AM UTC coverage: 90.445% (-0.05%) from 90.491%
6903197072

push

github

web-flow
Add EmailRegistrationGuard (#854)

The EmailRegistrationGuard is a guard that can be used to authenticate email registrations.

This guard is successful only if the provided signature is valid. The message that will be validated in the signature needs to follow the format:

`email-register-${chainId}-${safe}-${emailAddress}-${account}-${timestamp}`

The guard can be applied to any route that has:

- the 'chainId' declared as a parameter
- the 'safeAddress' declared as a parameter
- the 'emailAddress' as part of the JSON body (top level)
- the 'account' as part of the JSON body (top level)
- the 'signature' as part of the JSON body (top level) - see message format to be signed
- the 'timestamp' as part of the JSON body (top level)

1403 of 1682 branches covered (0.0%)

Branch coverage included in aggregate %.

18 of 20 new or added lines in 1 file covered. (90.0%)

1 existing line in 1 file now uncovered.

5166 of 5581 relevant lines covered (92.56%)

160.61 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
92.86
src/routes/email/email-registration.guard.ts

Uncovered Existing Lines

Lines Coverage ∆ File
1
90.0
-10.0% src/routes/transactions/entities/__tests__/human-description.builder.ts
Jobs
ID Job ID Ran Files Coverage
1 run-test:e2e:cov - 6903197072.1 17 Nov 2023 11:10AM UTC 820
56.07
GitHub Action Run
2 run-test:cov - 6903197072.2 17 Nov 2023 11:11AM UTC 1026
90.88
GitHub Action Run
Source Files on build 6903197072
  • Tree
  • List 515
  • Changed 58
  • Source Changed 0
  • Coverage Changed 122
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #6903197072
  • a2d78611 on github
  • Prev Build on main (#6903190690)
  • Next Build on main (#6903203735)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc