From 38874f503c8caf907304c41d8cc1347bb54c9bce Mon Sep 17 00:00:00 2001 From: Naomi Plasterer Date: Wed, 20 Sep 2023 21:06:04 -0700 Subject: [PATCH 1/2] make iOS match JS and Android --- Sources/XMTP/Codecs/RemoteAttachmentCodec.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Sources/XMTP/Codecs/RemoteAttachmentCodec.swift b/Sources/XMTP/Codecs/RemoteAttachmentCodec.swift index bc41c14c..19853757 100644 --- a/Sources/XMTP/Codecs/RemoteAttachmentCodec.swift +++ b/Sources/XMTP/Codecs/RemoteAttachmentCodec.swift @@ -31,7 +31,7 @@ struct HTTPFetcher: RemoteContentFetcher { public struct RemoteAttachment { public enum Scheme: String { - case https = "https://" + case https = "https" } public var url: String @@ -149,7 +149,7 @@ public struct RemoteAttachmentCodec: ContentCodec { "secret": content.secret.toHex, "salt": content.salt.toHex, "nonce": content.nonce.toHex, - "scheme": "https://", + "scheme": "https", "contentLength": String(content.contentLength ?? -1), "filename": content.filename ?? "", ] From 52d2a2b9f6613d8dfd926ae07ae67b1715faef77 Mon Sep 17 00:00:00 2001 From: Naomi Plasterer Date: Thu, 21 Sep 2023 09:39:24 -0700 Subject: [PATCH 2/2] bump the pod spec --- XMTP.podspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/XMTP.podspec b/XMTP.podspec index fbc3c7c4..8d57dac4 100644 --- a/XMTP.podspec +++ b/XMTP.podspec @@ -16,7 +16,7 @@ Pod::Spec.new do |spec| # spec.name = "XMTP" - spec.version = "0.5.10-alpha0" + spec.version = "0.5.11-alpha0" spec.summary = "XMTP SDK Cocoapod" # This description is used to generate tags and improve search results.