Skip to content

Commit

Permalink
Make public init for Reaction Codec (#135)
Browse files Browse the repository at this point in the history
* add public init block

* bump the version

* remove extra white sapce
  • Loading branch information
nplasterer authored Jul 28, 2023
1 parent a8f38c8 commit 996d707
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions Sources/XMTP/Codecs/ReactionCodec.swift
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,11 @@ public enum ReactionSchema: String, Codable {
}

public struct ReactionCodec: ContentCodec {
public typealias T = Reaction
public var contentType = ContentTypeReaction

public init() {}

public func encode(content: Reaction) throws -> EncodedContent {
var encodedContent = EncodedContent()

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.4.2-alpha0"
spec.version = "0.4.3-alpha0"
spec.summary = "XMTP SDK Cocoapod"

# This description is used to generate tags and improve search results.
Expand Down

0 comments on commit 996d707

Please sign in to comment.