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

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

Build:
DEFAULT BRANCH: main
Ran 18 Jul 2024 02:28PM UTC
Jobs 1
Files 523
Run time 2min
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

18 Jul 2024 02:26PM UTC coverage: 48.141% (-0.1%) from 48.244%
9993369111

push

github

web-flow
Refactor `JwtService` to expose issuer/secret (#1768)

Refactors `JwtService` to allow manually setting the issuer/secret when signing a token:

- Expose the option to specify issuer/secret to `JwtClient`, otherwise defaulting to env. vars. in `JwtService`
- Remove `options` that override claims on token, instead opting for their spec, e.g. `iat`, `nbf`, `exp` (instead of `issuedAt`, `notBefore`, `expiresIn`)
- Accept/return dates for the all spec. specific dateclaims
- Use `JwtService` in `FirebaseCloudMessagingApiService` instead of `jsonwebtoken`
- Update tests accordingly

417 of 2612 branches covered (15.96%)

Branch coverage included in aggregate %.

3 of 16 new or added lines in 6 files covered. (18.75%)

4282 of 7149 relevant lines covered (59.9%)

12.98 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
33.33
-66.67% src/datasources/jwt/jwt-claims.entity.ts
1
25.0
-16.67% src/domain/auth/auth.repository.ts
1
50.0
0.0% src/domain/common/utils/time.ts
1
53.85
0.0% src/routes/auth/auth.controller.ts
3
36.84
-4.33% src/datasources/jwt/jwt.module.ts
6
20.0
-8.57% src/datasources/jwt/jwt.service.ts
Jobs
ID Job ID Ran Files Coverage
1 run-test:e2e:cov - 9993369111.1 18 Jul 2024 02:28PM UTC 1046
52.89
GitHub Action Run
Source Files on build 9993369111
  • Tree
  • List 523
  • Changed 10
  • Source Changed 9
  • Coverage Changed 151
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #9993369111
  • 092b2828 on github
  • Prev Build on main (#9991351602)
  • Next Build on main (#9993997228)
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