Skip to content

Commit

Permalink
Merge pull request #110 from niscy-eudiw/fixes
Browse files Browse the repository at this point in the history
Update Package.resolved and Package.swift with new versions for openid4vci, openid4vp
  • Loading branch information
phisakel authored Oct 16, 2024
2 parents e1c45a2 + 2740aef commit 145d3dd
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 10 deletions.
14 changes: 7 additions & 7 deletions Package.resolved
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"originHash" : "b5a574ae9a5a190e024df6467d5fb5bcb9df780cacf6d2096ac36b48f0041542",
"originHash" : "b67feccbd1f8993b7daae2734ce787ff627abb69b550179cbe226a9574f98dda",
"pins" : [
{
"identity" : "blueecc",
Expand Down Expand Up @@ -51,26 +51,26 @@
"kind" : "remoteSourceControl",
"location" : "https://github.com/eu-digital-identity-wallet/eudi-lib-ios-openid4vci-swift.git",
"state" : {
"revision" : "aa315bc7c81e0ac6b82f3825f45e4401c65a0e41",
"version" : "0.6.0"
"revision" : "5483f37046bcd5607af5b817cea3147257b3f3c6",
"version" : "0.7.0"
}
},
{
"identity" : "eudi-lib-ios-presentation-exchange-swift",
"kind" : "remoteSourceControl",
"location" : "https://github.com/eu-digital-identity-wallet/eudi-lib-ios-presentation-exchange-swift.git",
"state" : {
"revision" : "2c5486e3c3e38dab5018445af545677b62e9a712",
"version" : "0.0.43"
"revision" : "bf9396b3bc9ed27a3b740759b045c31d10b0eb62",
"version" : "0.1.1"
}
},
{
"identity" : "eudi-lib-ios-siop-openid4vp-swift",
"kind" : "remoteSourceControl",
"location" : "https://github.com/eu-digital-identity-wallet/eudi-lib-ios-siop-openid4vp-swift.git",
"state" : {
"revision" : "294e198eb9daf7fbed1b6f6cac27b2ca86a38f50",
"version" : "0.4.0"
"revision" : "1a6912fb79646dfaad393625e71aef427e4635b6",
"version" : "0.5.0"
}
},
{
Expand Down
4 changes: 2 additions & 2 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ let package = Package(
.package(url: "https://github.com/crspybits/swift-log-file", from: "0.1.0"),
.package(url: "https://github.com/eu-digital-identity-wallet/eudi-lib-ios-iso18013-data-transfer.git", exact: "0.3.3"),
.package(url: "https://github.com/eu-digital-identity-wallet/eudi-lib-ios-wallet-storage.git", exact: "0.3.0"),
.package(url: "https://github.com/eu-digital-identity-wallet/eudi-lib-ios-siop-openid4vp-swift.git", exact: "0.4.0"),
.package(url: "https://github.com/eu-digital-identity-wallet/eudi-lib-ios-openid4vci-swift.git", exact: "0.6.0"),
.package(url: "https://github.com/eu-digital-identity-wallet/eudi-lib-ios-siop-openid4vp-swift.git", exact: "0.5.0"),
.package(url: "https://github.com/eu-digital-identity-wallet/eudi-lib-ios-openid4vci-swift.git", exact: "0.7.0"),
],
targets: [
// Targets are the basic building blocks of a package, defining a module or a test suite.
Expand Down
2 changes: 1 addition & 1 deletion Sources/EudiWalletKit/Services/OpenId4VciService.swift
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ public class OpenId4VCIService: NSObject, @unchecked Sendable, ASWebAuthenticati
let issuerMetadata = await CredentialIssuerMetadataResolver(fetcher: Fetcher(session: urlSession)).resolve(source: .credentialIssuer(credentialIssuerIdentifier))
switch issuerMetadata {
case .success(let metaData):
if let authorizationServer = metaData?.authorizationServers?.first, let metaData {
if let authorizationServer = metaData.authorizationServers?.first {
let authServerMetadata = await AuthorizationServerMetadataResolver(oidcFetcher: Fetcher(session: urlSession), oauthFetcher: Fetcher(session: urlSession)).resolve(url: authorizationServer)
let (credentialConfigurationIdentifier, _, displayName) = try getCredentialIdentifier(credentialsSupported: metaData.credentialsSupported, docType: docType, format: format)
let offer = try CredentialOffer(credentialIssuerIdentifier: credentialIssuerIdentifier, credentialIssuerMetadata: metaData, credentialConfigurationIdentifiers: [credentialConfigurationIdentifier], grants: nil, authorizationServerMetadata: try authServerMetadata.get())
Expand Down
6 changes: 6 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## v0.7.4
- Update Package.resolved and Package.swift with new versions for openid4vci, openid4vp

## v0.7.3
- Bug fix

## v0.7.2
- Removed `@MainActor` annotation from class definitions

Expand Down

0 comments on commit 145d3dd

Please sign in to comment.