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 }