Skip to content

Commit

Permalink
Make init public for read receipts (#158)
Browse files Browse the repository at this point in the history
* make a public init for it

* bump the pod spec
  • Loading branch information
nplasterer authored Sep 15, 2023
1 parent 6c3546f commit 2b0bdc4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion Sources/XMTP/Codecs/ReadReceiptCodec.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion 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 = "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.
Expand Down

0 comments on commit 2b0bdc4

Please sign in to comment.