|
1 | 1 | import Foundation |
2 | 2 |
|
3 | | -public let ChatUIKit_VERSION = "4.10.0" |
| 3 | +public let ChatUIKit_VERSION = "4.10.1" |
4 | 4 |
|
5 | | -public let cache_update_notification = "EaseChatUIKitContextUpdateCache" |
| 5 | +public let cache_update_notification = "ChatUIKitContextUpdateCache" |
6 | 6 |
|
7 | 7 | @objcMembers public class ChatUIKitOptions: NSObject { |
8 | 8 |
|
@@ -64,7 +64,7 @@ public let cache_update_notification = "EaseChatUIKitContextUpdateCache" |
64 | 64 |
|
65 | 65 | /// Login user. |
66 | 66 | /// - Parameters: |
67 | | - /// - user: An instance that conforms to ``EaseProfileProtocol``. |
| 67 | + /// - user: An instance that conforms to ``ChatUserProfileProtocol``. |
68 | 68 | /// - token: The user chat token. |
69 | 69 | @objc(loginWithUser:token:completion:) |
70 | 70 | public func login(user: ChatUserProfileProtocol,token: String,completion: @escaping (ChatError?) -> Void) { |
@@ -114,10 +114,10 @@ public let cache_update_notification = "EaseChatUIKitContextUpdateCache" |
114 | 114 |
|
115 | 115 | // /// Updates user information that is used for login with the `login(with user: UserInfoProtocol,token: String,use userProperties: Bool = true,completion: @escaping (ChatError?) -> Void)` method. |
116 | 116 | // /// - Parameters: |
117 | | -// /// - info: An instance that conforms to ``EaseProfileProtocol``. |
| 117 | +// /// - info: An instance that conforms to ``ChatUserProfileProtocol``. |
118 | 118 | // /// - completion: Callback. |
119 | 119 | // @objc(updateWithUserInfo:completion:) |
120 | | -// public func updateUserInfo(info: EaseProfileProtocol,completion: @escaping (ChatError?) -> Void) { |
| 120 | +// public func updateUserInfo(info: ChatUserProfileProtocol,completion: @escaping (ChatError?) -> Void) { |
121 | 121 | // self.userService?.updateUserInfo(userInfo: info, completion: { success, error in |
122 | 122 | // completion(error) |
123 | 123 | // }) |
|
0 commit comments