Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/xmtp/xmtp-ios
Browse files Browse the repository at this point in the history
  • Loading branch information
nplasterer committed Nov 19, 2024
2 parents 2e145f8 + f4a2d77 commit 36dea14
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
4 changes: 4 additions & 0 deletions Sources/XMTPiOS/Client.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
4 changes: 2 additions & 2 deletions XMTP.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
},
{
Expand Down

0 comments on commit 36dea14

Please sign in to comment.