diff --git a/Package.swift b/Package.swift index 2dae8028..f1b2eafd 100644 --- a/Package.swift +++ b/Package.swift @@ -25,7 +25,7 @@ let package = Package( .package(url: "https://github.com/1024jp/GzipSwift", from: "5.2.0"), .package(url: "https://github.com/bufbuild/connect-swift", exact: "0.12.0"), .package(url: "https://github.com/apple/swift-docc-plugin.git", from: "1.0.0"), - .package(url: "https://github.com/xmtp/libxmtp-swift.git", exact: "3.0.1"), + .package(url: "https://github.com/xmtp/libxmtp-swift.git", exact: "3.0.3"), ], targets: [ // Targets are the basic building blocks of a package. A target can define a module or a test suite. diff --git a/Sources/XMTPiOS/Client.swift b/Sources/XMTPiOS/Client.swift index 8e47bcac..b545a4b7 100644 --- a/Sources/XMTPiOS/Client.swift +++ b/Sources/XMTPiOS/Client.swift @@ -321,6 +321,10 @@ public final class Client { public func inboxIdFromAddress(address: String) async throws -> String? { return try await ffiClient.findInboxId(address: address.lowercased()) } + + public func signWithInstallationKey(message: String) throws -> Data { + return try ffiClient.signWithInstallationKey(text: message) + } public func findGroup(groupId: String) throws -> Group? { do { diff --git a/XMTP.podspec b/XMTP.podspec index 2d843ca4..dc49a473 100644 --- a/XMTP.podspec +++ b/XMTP.podspec @@ -16,7 +16,7 @@ Pod::Spec.new do |spec| # spec.name = "XMTP" - spec.version = "3.0.5" + spec.version = "3.0.6" spec.summary = "XMTP SDK Cocoapod" # This description is used to generate tags and improve search results. @@ -44,5 +44,5 @@ Pod::Spec.new do |spec| spec.dependency "web3.swift" spec.dependency "GzipSwift" spec.dependency "Connect-Swift", "= 0.12.0" - spec.dependency 'LibXMTP', '= 3.0.1' + spec.dependency 'LibXMTP', '= 3.0.3' end diff --git a/XMTPiOSExample/XMTPiOSExample.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved b/XMTPiOSExample/XMTPiOSExample.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved index 1e1fef94..4f6d7203 100644 --- a/XMTPiOSExample/XMTPiOSExample.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved +++ b/XMTPiOSExample/XMTPiOSExample.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved @@ -59,8 +59,8 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/xmtp/libxmtp-swift.git", "state" : { - "revision" : "f495d4feaab40a0a6a48c1d5a99585de8107f5d2", - "version" : "3.0.1" + "revision" : "d44798db766bd82e93c4f49f9997b5369f927971", + "version" : "3.0.3" } }, {