Skip to content

Commit

Permalink
Allow Pagination to be Initialized (#126)
Browse files Browse the repository at this point in the history
* make fields public for initializer

* bump the podspec
  • Loading branch information
nplasterer authored Jul 19, 2023
1 parent b2c6241 commit 1d086cd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions Sources/XMTP/Messages/PagingInfo.swift
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ typealias PagingInfoCursor = Xmtp_MessageApi_V1_Cursor
typealias PagingInfoSortDirection = Xmtp_MessageApi_V1_SortDirection

public struct Pagination {
var limit: Int?
public var limit: Int?
var direction: PagingInfoSortDirection?
var before: Date?
var after: Date?
public var before: Date?
public var after: Date?

var pagingInfo: PagingInfo {
var info = PagingInfo()
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.3.7-alpha0"
spec.version = "0.3.8-alpha0"
spec.summary = "XMTP SDK Cocoapod"

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

0 comments on commit 1d086cd

Please sign in to comment.