Skip to content

Commit 4c88360

Browse files
fix: update apollo library for new version and fix a test case
Signed-off-by: goncalo-frade-iohk <[email protected]>
1 parent 0b302f5 commit 4c88360

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

EdgeAgentSDK/Pollux/Sources/PolluxImpl+CredentialVerification.swift

+2-2
Original file line numberDiff line numberDiff line change
@@ -142,10 +142,10 @@ extension PolluxImpl {
142142
}
143143
let isRevoked = try await credential.isRevoked
144144
let isSuspended = try await credential.isSuspended
145-
guard isRevoked else {
145+
guard !isRevoked else {
146146
throw PolluxError.credentialIsRevoked(jwtString: jwtString)
147147
}
148-
guard isSuspended else {
148+
guard !isSuspended else {
149149
throw PolluxError.credentialIsSuspended(jwtString: jwtString)
150150
}
151151
}

Package.swift

+2-2
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ let package = Package(
6060
.package(url: "https://github.com/beatt83/jose-swift.git", from: "3.2.0"),
6161
.package(url: "https://github.com/beatt83/peerdid-swift.git", from: "3.0.1"),
6262
.package(url: "https://github.com/input-output-hk/anoncreds-rs.git", exact: "0.4.1"),
63-
.package(url: "https://github.com/input-output-hk/atala-prism-apollo.git", exact: "1.3.3"),
63+
.package(url: "https://github.com/hyperledger/identus-apollo.git", exact: "1.4.2"),
6464
.package(url: "https://github.com/KittyMac/Sextant.git", exact: "0.4.31"),
6565
.package(url: "https://github.com/kylef/JSONSchema.swift.git", exact: "0.6.0"),
6666
.package(url: "https://github.com/goncalo-frade-iohk/eudi-lib-sdjwt-swift.git", from: "0.0.2"),
@@ -95,7 +95,7 @@ let package = Package(
9595
"Domain",
9696
"Core",
9797
.product(name: "AnoncredsSwift", package: "anoncreds-rs"),
98-
.product(name: "ApolloLibrary", package: "atala-prism-apollo")
98+
.product(name: "ApolloLibrary", package: "identus-apollo")
9999
],
100100
path: "EdgeAgentSDK/Apollo/Sources"
101101
),

0 commit comments

Comments
 (0)