diff --git a/Package.resolved b/Package.resolved index 691e665..34c0236 100644 --- a/Package.resolved +++ b/Package.resolved @@ -5,8 +5,8 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/spruceid/mobile-sdk-rs.git", "state" : { - "revision" : "4dcde0bee6374e19fcc3840fc82c144b99ffc54c", - "version" : "0.0.33" + "revision" : "b86808fe89c4440e0ce3b9799ec2936b2657aecf", + "version" : "0.1.0" } }, { diff --git a/Package.swift b/Package.swift index 8df191e..5e65d0c 100644 --- a/Package.swift +++ b/Package.swift @@ -14,7 +14,7 @@ let package = Package( targets: ["SpruceIDMobileSdk"]) ], dependencies: [ - .package(url: "https://github.com/spruceid/mobile-sdk-rs.git", exact: "0.0.36"), + .package(url: "https://github.com/spruceid/mobile-sdk-rs.git", from: "0.1.0"), // .package(path: "../mobile-sdk-rs"), .package(url: "https://github.com/apple/swift-algorithms", from: "1.2.0") ], diff --git a/Sources/MobileSdk/IsoMdlPresentation.swift b/Sources/MobileSdk/IsoMdlPresentation.swift index f21d389..b039e65 100644 --- a/Sources/MobileSdk/IsoMdlPresentation.swift +++ b/Sources/MobileSdk/IsoMdlPresentation.swift @@ -22,14 +22,14 @@ public class IsoMdlPresentation { init?( mdoc: MDoc, engagement: DeviceEngagement, callback: BLESessionStateDelegate, useL2CAP: Bool - ) async { + ) { self.callback = callback self.uuid = UUID() self.mdoc = mdoc self.useL2CAP = useL2CAP do { self.session = - try await SpruceIDMobileSdkRs.initializeMdlPresentationFromBytes( + try SpruceIDMobileSdkRs.initializeMdlPresentationFromBytes( mdoc: mdoc.inner, uuid: self.uuid.uuidString) bleManager = MDocHolderBLECentral( callback: self, diff --git a/SpruceIDMobileSdk.podspec b/SpruceIDMobileSdk.podspec index 041ba1f..d0ce407 100644 --- a/SpruceIDMobileSdk.podspec +++ b/SpruceIDMobileSdk.podspec @@ -20,7 +20,7 @@ Pod::Spec.new do |spec| spec.source_files = "Sources/MobileSdk/*.swift" spec.static_framework = true - spec.dependency 'SpruceIDMobileSdkRs', "~> 0.0.36" + spec.dependency 'SpruceIDMobileSdkRs', "~> 0.1.0" spec.dependency 'SwiftAlgorithms', "~> 1.0.0" spec.frameworks = 'Foundation', 'CoreBluetooth', 'CryptoKit' end