Skip to content

Commit

Permalink
Update to mobile-sdk-rs 0.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
cobward committed Oct 22, 2024
1 parent 6ce57e9 commit 85d2221
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions Package.resolved
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
},
{
Expand Down
2 changes: 1 addition & 1 deletion Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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")
],
Expand Down
4 changes: 2 additions & 2 deletions Sources/MobileSdk/IsoMdlPresentation.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion SpruceIDMobileSdk.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 85d2221

Please sign in to comment.