From 47b8ffb044f607500491d3627ccf65d40fcbccc8 Mon Sep 17 00:00:00 2001 From: Naomi Plasterer Date: Wed, 6 Dec 2023 11:22:49 -0800 Subject: [PATCH] Expose consent entries (#206) * bump to latest rust version * make a few items public for RN * bump the pod spec --- Sources/XMTP/Contacts.swift | 6 +++--- XMTP.podspec | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Sources/XMTP/Contacts.swift b/Sources/XMTP/Contacts.swift index d83d6887..d1ff6157 100644 --- a/Sources/XMTP/Contacts.swift +++ b/Sources/XMTP/Contacts.swift @@ -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? @@ -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 diff --git a/XMTP.podspec b/XMTP.podspec index cae0ffdf..c5a914a3 100644 --- a/XMTP.podspec +++ b/XMTP.podspec @@ -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.