Skip to content

Commit

Permalink
fix: update apollo library for new version and fix a test case
Browse files Browse the repository at this point in the history
Signed-off-by: goncalo-frade-iohk <[email protected]>
  • Loading branch information
goncalo-frade-iohk committed Aug 15, 2024
1 parent 0b302f5 commit 4c88360
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -142,10 +142,10 @@ extension PolluxImpl {
}
let isRevoked = try await credential.isRevoked
let isSuspended = try await credential.isSuspended
guard isRevoked else {
guard !isRevoked else {
throw PolluxError.credentialIsRevoked(jwtString: jwtString)
}
guard isSuspended else {
guard !isSuspended else {
throw PolluxError.credentialIsSuspended(jwtString: jwtString)
}
}
Expand Down
4 changes: 2 additions & 2 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ let package = Package(
.package(url: "https://github.com/beatt83/jose-swift.git", from: "3.2.0"),
.package(url: "https://github.com/beatt83/peerdid-swift.git", from: "3.0.1"),
.package(url: "https://github.com/input-output-hk/anoncreds-rs.git", exact: "0.4.1"),
.package(url: "https://github.com/input-output-hk/atala-prism-apollo.git", exact: "1.3.3"),
.package(url: "https://github.com/hyperledger/identus-apollo.git", exact: "1.4.2"),
.package(url: "https://github.com/KittyMac/Sextant.git", exact: "0.4.31"),
.package(url: "https://github.com/kylef/JSONSchema.swift.git", exact: "0.6.0"),
.package(url: "https://github.com/goncalo-frade-iohk/eudi-lib-sdjwt-swift.git", from: "0.0.2"),
Expand Down Expand Up @@ -95,7 +95,7 @@ let package = Package(
"Domain",
"Core",
.product(name: "AnoncredsSwift", package: "anoncreds-rs"),
.product(name: "ApolloLibrary", package: "atala-prism-apollo")
.product(name: "ApolloLibrary", package: "identus-apollo")
],
path: "EdgeAgentSDK/Apollo/Sources"
),
Expand Down

0 comments on commit 4c88360

Please sign in to comment.