From a97dc9cd4032b49b6f23957e502f7304fc6b3171 Mon Sep 17 00:00:00 2001 From: Jacob Date: Tue, 22 Oct 2024 15:54:56 +0100 Subject: [PATCH] Update to mobile-sdk-rs 0.1.0 (#43) * Update to mobile-sdk-rs 0.1.0 * Bump to 0.1.0 for release --- Package.resolved | 4 ++-- Package.swift | 2 +- Sources/MobileSdk/IsoMdlPresentation.swift | 4 ++-- SpruceIDMobileSdk.podspec | 4 ++-- 4 files changed, 7 insertions(+), 7 deletions(-) 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..7b89e10 100644 --- a/SpruceIDMobileSdk.podspec +++ b/SpruceIDMobileSdk.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |spec| spec.name = "SpruceIDMobileSdk" - spec.version = "0.0.12" + spec.version = "0.1.0" spec.summary = "Swift Mobile SDK." spec.description = <<-DESC SpruceID Swift Mobile SDK. @@ -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