Skip to content

Commit

Permalink
Update to mobile-sdk-rs 0.1.0 (#43)
Browse files Browse the repository at this point in the history
* Update to mobile-sdk-rs 0.1.0

* Bump to 0.1.0 for release
  • Loading branch information
cobward authored Oct 22, 2024
1 parent a0d774e commit a97dc9c
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 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
4 changes: 2 additions & 2 deletions SpruceIDMobileSdk.podspec
Original file line number Diff line number Diff line change
@@ -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.
Expand All @@ -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 a97dc9c

Please sign in to comment.