@tencentcloud/chat-uikit-vue
Advanced tools
Comparing version 1.3.0 to 1.3.1
@@ -0,1 +1,9 @@ | ||
## 1.3.1 (2023-1-12) | ||
### 新增 | ||
- 支持本地审核功能,使用本地审核功能请点击 [控制台](https://console.cloud.tencent.com/im/local-audit-setting) 开启,详情参见 [内容审核](https://cloud.tencent.com/document/product/269/79139)。 | ||
- 支持群聊点击群成员列表头像跳转至用户信息界面 | ||
- 支持接口开关直接控制 消息已读回执、对方正在输入、用户在线状态、消息表情评论 等功能 | ||
### 修复 | ||
- 修复已知问题,提升稳定性 | ||
## 1.3.0 (2022-01-03) | ||
@@ -2,0 +10,0 @@ ### 新增 |
@@ -68,2 +68,4 @@ { | ||
"进行体验": "进行体验。", | ||
"您当前购买使用的套餐包暂未开通群消息已读回执功能": "您当前购买使用的套餐包暂未开通【群消息已读回执】功能,请升级至旗舰版进行体验", | ||
"您当前购买使用的套餐包暂未开通在线用户列表功能": "您当前购买使用的套餐包暂未开通【在线用户列表】功能,请升级至旗舰版进行体验", | ||
"您当前购买使用的套餐包暂未开通此功能": "您当前购买使用的套餐包暂未开通此功能。", | ||
@@ -70,0 +72,0 @@ "manage": { |
{ | ||
"name": "@tencentcloud/chat-uikit-vue", | ||
"version": "1.3.0", | ||
"version": "1.3.1", | ||
"dependencies": { | ||
@@ -8,2 +8,3 @@ "@vueuse/core": "8.9.4", | ||
"tim-upload-plugin": "^1.0.6", | ||
"tim-profanity-filter-plugin": "^0.9.0", | ||
"vue-clipboard3": "2.0.0", | ||
@@ -18,2 +19,3 @@ "vue-i18n": "9.2.0-beta.32", | ||
"tim-upload-plugin": "^1.0.6", | ||
"tim-profanity-filter-plugin": "^0.9.0", | ||
"vue-clipboard3": "2.0.0", | ||
@@ -20,0 +22,0 @@ "vue-i18n": "9.2.0-beta.32", |
@@ -7,2 +7,8 @@ /* eslint-disable */ | ||
} | ||
declare module 'tim-profanity-filter-plugin' { | ||
import TIMProfanityFilterPlugin from 'tim-profanity-filter-plugin' | ||
export default TIMProfanityFilterPlugin | ||
} | ||
declare module 'tuicall-engine-webrtc' { | ||
@@ -9,0 +15,0 @@ import { TUICallEngine, TUICallEvent, TUICallType } from 'tuicall-engine-webrtc'; |
@@ -1071,2 +1071,21 @@ import IComponentServer from '../IComponentServer'; | ||
/** | ||
* 校验好友关系 | ||
* check friend | ||
* | ||
* @param {string} userID 用户账号 | ||
* @returns {Promise} | ||
*/ | ||
public async checkFriend(userID: string, type: string): Promise<void> { | ||
return this.handlePromiseCallback(async (resolve: any, reject: any) => { | ||
try { | ||
const imResponse = await this.TUICore.tim.checkFriend({ userIDList: [userID], type }); | ||
const isFriendShip = imResponse?.data?.successUserIDList[0]?.relation; | ||
resolve(isFriendShip); | ||
} catch (error) { | ||
reject(error); | ||
} | ||
}); | ||
} | ||
/** | ||
* 获取群消息已读成员列表 | ||
@@ -1073,0 +1092,0 @@ * Get the list of memebers who have read the group message. |
@@ -5,2 +5,3 @@ import { TUITheme, TUIi18n, TUIEnv, TUIDirective } from '../../TUIPlugin'; | ||
import TIMUploadPlugin from 'tim-upload-plugin'; | ||
import TIMProfanityFilterPlugin from 'tim-profanity-filter-plugin'; | ||
@@ -55,6 +56,7 @@ import ITUIServer from '../interfaces/ITUIServer'; | ||
this.tim.registerPlugin({ 'tim-upload-plugin': TIMUploadPlugin }); | ||
this.tim.registerPlugin({ 'tim-profanity-filter-plugin': TIMProfanityFilterPlugin }); | ||
this.bindTIMEvent(); | ||
this.TUIEnv = TUIEnv(); | ||
this.isOfficial = this.SDKAppID === 1400187352; | ||
this.isOfficial = this.SDKAppID === 1400187352 || this.SDKAppID === 1400188366; | ||
} | ||
@@ -61,0 +63,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
879000
293
6698
16
+ Addedtim-profanity-filter-plugin@0.9.0(transitive)