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

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

Build:
DEFAULT BRANCH: main
Ran 22 Dec 2023 01:18PM UTC
Jobs 2
Files 529
Run time 43s
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

22 Dec 2023 01:17PM UTC coverage: 90.474% (+0.07%) from 90.408%
7300318701

push

github

web-flow
Add email update functionality (#968)

This adds email update capabilities to the `chains/:chainId/safes/:safeAddress/emails endpoint` endpoint via a new `PUT` method.

Each request requires the following payload:

```json
{
  "emailAddress": <string>,
  "account": <string>,
  "timestamp": <number>,
  "signature": <string>
}
```

The route is protected by the signature: the signature of signing `email-update-{chainId}-{safeAddress}-{emailAddress}-{account}-{timestamp}` with the specified account.

---

* Add email update functionality

* Check if email matches then update as unverified

* Split tests for updating (un-)verified emails and add mock/assertions for datasource

1446 of 1724 branches covered (0.0%)

Branch coverage included in aggregate %.

49 of 51 new or added lines in 8 files covered. (96.08%)

1 existing line in 1 file now uncovered.

5440 of 5887 relevant lines covered (92.41%)

152.98 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
92.86
src/routes/email/guards/email-update.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:cov - 7300318701.1 22 Dec 2023 01:20PM UTC 1054
90.86
GitHub Action Run
2 run-test:e2e:cov - 7300318701.2 22 Dec 2023 01:18PM UTC 888
54.56
GitHub Action Run
Source Files on build 7300318701
  • Tree
  • List 529
  • Changed 467
  • Source Changed 7
  • Coverage Changed 133
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #7300318701
  • fa09f38a on github
  • Prev Build on main (#7300161596)
  • Next Build on main (#7328499434)
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

© 2025 Coveralls, Inc