Skip to content

Commit

Permalink
Expose consent entries (#206)
Browse files Browse the repository at this point in the history
* bump to latest rust version

* make a few items public for RN

* bump the pod spec
  • Loading branch information
nplasterer authored Dec 6, 2023
1 parent 5de131e commit 47b8ffb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions Sources/XMTP/Contacts.swift
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ public enum ContactError: Error {
case invalidIdentifier
}

class ConsentList {
var entries: [String: ConsentState] = [:]
public class ConsentList {
public var entries: [String: ConsentState] = [:]
var publicKey: Data
var privateKey: Data
var identifier: String?
Expand Down Expand Up @@ -148,7 +148,7 @@ public actor Contacts {
// Whether or not we have sent invite/intro to this contact
var hasIntroduced: [String: Bool] = [:]

var consentList: ConsentList
public var consentList: ConsentList

init(client: Client) {
self.client = client
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.7.0-alpha0"
spec.version = "0.7.1-alpha0"
spec.summary = "XMTP SDK Cocoapod"

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

0 comments on commit 47b8ffb

Please sign in to comment.