Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/xmtp/xmtp-ios into np/remov…
Browse files Browse the repository at this point in the history
…e-cocoapod-dependencies
  • Loading branch information
nplasterer committed Nov 19, 2024
2 parents 0be941e + f4a2d77 commit f537e83
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 @@ -20,7 +20,7 @@ let package = Package(
.package(url: "https://github.com/blocto/secp256k1.swift", from: "0.7.4"),
.package(url: "https://github.com/bufbuild/connect-swift", exact: "1.0.0"),
.package(url: "https://github.com/apple/swift-docc-plugin.git", from: "1.4.3"),
.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"),
.package(url: "https://github.com/krzyzanowskim/CryptoSwift.git", exact: "1.8.3")
],
targets: [
Expand Down
4 changes: 4 additions & 0 deletions Sources/XMTPiOS/Client.swift
Original file line number Diff line number Diff line change
Expand Up @@ -320,6 +320,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
@@ -1,6 +1,6 @@
Pod::Spec.new do |spec|
spec.name = "XMTP"
spec.version = "3.0.5"
spec.version = "3.0.6"
spec.summary = "XMTP SDK Cocoapod"

spec.description = <<-DESC
Expand All @@ -22,7 +22,7 @@ Pod::Spec.new do |spec|

spec.dependency 'secp256k1Swift'
spec.dependency "Connect-Swift", "= 1.0.0"
spec.dependency 'LibXMTP', '= 3.0.1'
spec.dependency 'LibXMTP', '= 3.0.3'
spec.dependency 'CryptoSwift', '= 1.8.3'

spec.ios.deployment_target = '14.0'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,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 f537e83

Please sign in to comment.