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

input-output-hk / atala-prism-wallet-sdk-swift / 9466819027

11 Jun 2024 01:48PM UTC coverage: 40.328% (-0.5%) from 40.822%
9466819027

Pull #145

github

web-flow
Merge 1399bca59 into 8e68386ce
Pull Request #145: feat(pollux): add support for sd-jwt

76 of 394 new or added lines in 20 files covered. (19.29%)

2 existing lines in 2 files now uncovered.

4518 of 11203 relevant lines covered (40.33%)

16.34 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/EdgeAgentSDK/Pollux/Sources/Models/SDJWT/SDJWT+ProvableCredential.swift
1
import Domain
2
import Foundation
3

4
extension SDJWTCredential: ProvableCredential {
NEW
5
    func presentation(request: Domain.Message, options: [Domain.CredentialOperationsOptions]) throws -> String {
×
NEW
6
        try SDJWTPresentation().createPresentation(
×
NEW
7
            credential: self,
×
NEW
8
            request: request, 
×
NEW
9
            options: options
×
NEW
10
        )
×
NEW
11
    }
×
12
    
NEW
13
    func isValidForPresentation(request: Domain.Message, options: [Domain.CredentialOperationsOptions]) throws -> Bool {
×
NEW
14
        request.attachments.first.map { $0.format == "vc+sd-jwt"} ?? true
×
NEW
15
    }
×
16
}
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