From 9d2d8bbe004fef4ae86c70b6b8d9ea08629bfd97 Mon Sep 17 00:00:00 2001 From: jguz-pubnub Date: Thu, 2 Jan 2025 15:03:18 +0100 Subject: [PATCH] Add missing type field --- Sources/PubNub/KMP/Wrappers/KMPAppContextEventResult.swift | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Sources/PubNub/KMP/Wrappers/KMPAppContextEventResult.swift b/Sources/PubNub/KMP/Wrappers/KMPAppContextEventResult.swift index 895216a8..245de88e 100644 --- a/Sources/PubNub/KMP/Wrappers/KMPAppContextEventResult.swift +++ b/Sources/PubNub/KMP/Wrappers/KMPAppContextEventResult.swift @@ -221,9 +221,10 @@ public class KMPChannelMetadata: NSObject { } @objc - public init(id: String, custom: KMPAnyJSON, status: String?) { + public init(id: String, custom: KMPAnyJSON, type: String?, status: String?) { self.id = id self.custom = custom.asMap() + self.type = type self.status = status } } @@ -255,10 +256,12 @@ public class KMPUserMetadata: NSObject { public init( id: String, custom: KMPAnyJSON?, + type: String?, status: String? ) { self.id = id self.custom = custom?.asMap() + self.type = type self.status = status }