diff --git a/Package.swift b/Package.swift index b41aaa1..4ceaa87 100644 --- a/Package.swift +++ b/Package.swift @@ -14,7 +14,7 @@ let package = Package( targets: ["SpruceIDWalletSdk"]) ], dependencies: [ - .package(url: "https://github.com/spruceid/wallet-sdk-rs.git", from: "0.0.24"), + .package(url: "https://github.com/spruceid/wallet-sdk-rs.git", from: "0.0.25"), // .package(path: "../wallet-sdk-rs"), .package(url: "https://github.com/apple/swift-algorithms", from: "1.2.0") ], diff --git a/Sources/WalletSdk/MDoc.swift b/Sources/WalletSdk/MDoc.swift index 32972bd..a2e7111 100644 --- a/Sources/WalletSdk/MDoc.swift +++ b/Sources/WalletSdk/MDoc.swift @@ -99,9 +99,8 @@ public class BLESessionManager { self.cancel() return } - let signature = try P256.Signing.ECDSASignature(derRepresentation: derSignature) let response = try SpruceIDWalletSdkRs.submitSignature(sessionManager: sessionManager!, - signature: signature.rawRepresentation) + derSignature: derSignature) self.bleManager.writeOutgoingValue(data: response) } catch { self.callback.update(state: .error("\(error)"))