diff --git a/Sources/XMTP/Contacts.swift b/Sources/XMTP/Contacts.swift index c3704471..81d8786a 100644 --- a/Sources/XMTP/Contacts.swift +++ b/Sources/XMTP/Contacts.swift @@ -74,7 +74,7 @@ class AllowList { RustVec(envelope.message) ) - preferences.append(try PrivatePreferencesAction(contiguousBytes: Data(payload).bytes)) + preferences.append(try PrivatePreferencesAction(serializedData: Data(payload))) } preferences.forEach { preference in @@ -101,7 +101,7 @@ class AllowList { case .blocked: payload.block.walletAddresses = [entry.value] case .unknown: - payload.unknownFields + payload.messageType = nil } let message = try XMTPRust.ecies_encrypt_k256_sha3_256( diff --git a/XMTP.podspec b/XMTP.podspec index 8be822db..61c28902 100644 --- a/XMTP.podspec +++ b/XMTP.podspec @@ -16,7 +16,7 @@ Pod::Spec.new do |spec| # spec.name = "XMTP" - spec.version = "0.6.1-alpha0" + spec.version = "0.6.2-alpha0" spec.summary = "XMTP SDK Cocoapod" # This description is used to generate tags and improve search results.