From 58d3f63cf2bae5781c3fff57ea39974662b68330 Mon Sep 17 00:00:00 2001 From: Naomi Plasterer Date: Fri, 15 Sep 2023 15:07:03 -0700 Subject: [PATCH 1/2] make a public init for it --- Sources/XMTP/Codecs/ReadReceiptCodec.swift | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Sources/XMTP/Codecs/ReadReceiptCodec.swift b/Sources/XMTP/Codecs/ReadReceiptCodec.swift index 8fd61cf5..354e8b68 100644 --- a/Sources/XMTP/Codecs/ReadReceiptCodec.swift +++ b/Sources/XMTP/Codecs/ReadReceiptCodec.swift @@ -9,7 +9,9 @@ import Foundation public let ContentTypeReadReceipt = ContentTypeID(authorityID: "xmtp.org", typeID: "readReceipt", versionMajor: 1, versionMinor: 0) -public struct ReadReceipt {} +public struct ReadReceipt { + public init() {} +} public struct ReadReceiptCodec: ContentCodec { public typealias T = ReadReceipt From 56b55beecc425eca901e3227360720752474c402 Mon Sep 17 00:00:00 2001 From: Naomi Plasterer Date: Fri, 15 Sep 2023 15:07:27 -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 f3cdfae0..da7a1088 100644 --- a/XMTP.podspec +++ b/XMTP.podspec @@ -16,7 +16,7 @@ Pod::Spec.new do |spec| # spec.name = "XMTP" - spec.version = "0.5.6-alpha0" + spec.version = "0.5.7-alpha0" spec.summary = "XMTP SDK Cocoapod" # This description is used to generate tags and improve search results.