From ff8349c06e837e309cad9a5b246b357f76d66e6a Mon Sep 17 00:00:00 2001 From: Cameron Voell <1103838+cameronvoell@users.noreply.github.com> Date: Thu, 12 Dec 2024 11:28:56 -0800 Subject: [PATCH] Fix send encoded content in Conversation class (#446) * fix send encoded content in Conversation class * update podspec version --------- Co-authored-by: cameronvoell --- Package.resolved | 16 ++++++++-------- Sources/XMTPiOS/Conversation.swift | 7 +++---- XMTP.podspec | 2 +- 3 files changed, 12 insertions(+), 13 deletions(-) diff --git a/Package.resolved b/Package.resolved index 005bb9de..6522f9be 100644 --- a/Package.resolved +++ b/Package.resolved @@ -19,21 +19,21 @@ } }, { - "identity" : "libxmtp-swift", + "identity" : "csecp256k1.swift", "kind" : "remoteSourceControl", - "location" : "https://github.com/xmtp/libxmtp-swift.git", + "location" : "https://github.com/tesseract-one/CSecp256k1.swift.git", "state" : { - "revision" : "f495d4feaab40a0a6a48c1d5a99585de8107f5d2", - "version" : "3.0.1" + "revision" : "cfbd6f540d5084bc96a60af841121472fbe725a3", + "version" : "0.2.0" } }, { - "identity" : "secp256k1.swift", + "identity" : "libxmtp-swift", "kind" : "remoteSourceControl", - "location" : "https://github.com/Boilertalk/secp256k1.swift.git", + "location" : "https://github.com/xmtp/libxmtp-swift.git", "state" : { - "revision" : "cd187c632fb812fd93711a9f7e644adb7e5f97f0", - "version" : "0.1.7" + "revision" : "bab83b5de3ed4713d50535e61bca281179bf04fd", + "version" : "3.0.10" } }, { diff --git a/Sources/XMTPiOS/Conversation.swift b/Sources/XMTPiOS/Conversation.swift index 672cc6b0..1f003e4a 100644 --- a/Sources/XMTPiOS/Conversation.swift +++ b/Sources/XMTPiOS/Conversation.swift @@ -132,14 +132,13 @@ public enum Conversation: Identifiable, Equatable, Hashable { } @discardableResult public func send( - encodedContent: EncodedContent, options: SendOptions? = nil - ) async throws -> String { + encodedContent: EncodedContent) async throws -> String { switch self { case let .group(group): return try await group.send( - content: encodedContent, options: options) + encodedContent: encodedContent) case let .dm(dm): - return try await dm.send(content: encodedContent, options: options) + return try await dm.send(encodedContent: encodedContent) } } diff --git a/XMTP.podspec b/XMTP.podspec index 94becff8..ce2e0685 100644 --- a/XMTP.podspec +++ b/XMTP.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |spec| spec.name = "XMTP" - spec.version = "3.0.14" + spec.version = "3.0.15" spec.summary = "XMTP SDK Cocoapod" spec.description = <<-DESC