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

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

Build:
DEFAULT BRANCH: main
Ran 21 Feb 2025 02:26PM UTC
Jobs 2
Files 827
Run time 3min
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

21 Feb 2025 02:23PM UTC coverage: 91.135% (-0.002%) from 91.137%
13458779067

push

github

web-flow
refactor: issue token from validated message (#2351)

We have to methods for Sign-In with Ethereum messages. This refactors the existing to use the simpler method implemented for org. onboard.

The `ISiweRepository` is now only responsible for parsing and validating a submitted `message`/`signature`. The `nonce` of which is compared against cached ones. As the upper limit for token expiration is auth-specific, that is now handled in the `AuthService`.

1. User calls `/nonce` and one is generated, cached and returned to the user.
2. User calls `/verify` and the message is parsed, validated, nonce compared, signature verified and then passed to the `AuthService`. The service ensures an `expirationTime` does not exceed the maxium and issues the token.

Note: on-chain signature verification was removed as it is not being used.

- Remove unused code from `ISiweRepository`.
- Move `expirationTime` check to `AuthService`.
- Add `iat` claim to token.
- Update tests accordingly.

3008 of 3624 branches covered (83.0%)

Branch coverage included in aggregate %.

11 of 11 new or added lines in 2 files covered. (100.0%)

1 existing line in 1 file now uncovered.

10397 of 11085 relevant lines covered (93.79%)

508.68 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
91.95
-1.34% src/routes/notifications/v1/notifications.controller.ts
Jobs
ID Job ID Ran Files Coverage
1 run-test:cov - 13458779067.1 21 Feb 2025 02:28PM UTC 1621
91.98
GitHub Action Run
2 run-test:e2e:cov - 13458779067.2 21 Feb 2025 02:26PM UTC 1472
50.69
GitHub Action Run
Source Files on build 13458779067
  • Tree
  • List 827
  • Changed 225
  • Source Changed 5
  • Coverage Changed 223
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #13458779067
  • 6e0540b9 on github
  • Prev Build on main (#13456886798)
  • Next Build on main (#13458783849)
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