@rongcloud/imlib-next 5.10.0 → 5.10.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.d.ts +7 -7
- package/index.esm.js +15 -10295
- package/index.js +15 -10595
- package/package.json +2 -2
package/index.d.ts
CHANGED
|
@@ -627,7 +627,7 @@ declare enum Events {
|
|
|
627
627
|
*/
|
|
628
628
|
/**
|
|
629
629
|
* 我的用户信息变更通知
|
|
630
|
-
* @since 5.10.
|
|
630
|
+
* @since 5.10.1
|
|
631
631
|
*/
|
|
632
632
|
OWN_USER_PROFILE_CHANGED = "OWN_USER_PROFILE_CHANGED"
|
|
633
633
|
}
|
|
@@ -4629,7 +4629,7 @@ declare function getSubscribeUserStatus(subscribeType: SubscribeType, userIds: s
|
|
|
4629
4629
|
* @description 此方法用于更新当前用户的资料信息
|
|
4630
4630
|
* @param profile 用户资料信息
|
|
4631
4631
|
* @returns 返回一个 {@link IAsyncRes} 类型 Promise,其中 data 为 { errorKey: string } 类型
|
|
4632
|
-
* @since 5.10.
|
|
4632
|
+
* @since 5.10.1
|
|
4633
4633
|
* @example 更新用户资料示例:
|
|
4634
4634
|
* ```ts
|
|
4635
4635
|
* const profile = {
|
|
@@ -4659,7 +4659,7 @@ declare function updateMyUserProfile(profile: IUserProfileInfo): Promise<IAsyncR
|
|
|
4659
4659
|
* @description 此方法用于批量获取用户的资料信息
|
|
4660
4660
|
* @param userIds 用户ID 列表,一次最多获取 100 个
|
|
4661
4661
|
* @returns 返回一个 {@link IAsyncRes} 类型 Promise,其中 data 为 {@link IUserProfileInfo} 类型数组
|
|
4662
|
-
* @since 5.10.
|
|
4662
|
+
* @since 5.10.1
|
|
4663
4663
|
* @example 批量获取用户资料示例:
|
|
4664
4664
|
* ```ts
|
|
4665
4665
|
* const userIds = ['user1', 'user2'];
|
|
@@ -4673,7 +4673,7 @@ declare function getUserProfiles(userIds: string[]): Promise<IAsyncRes<IUserProf
|
|
|
4673
4673
|
* @category 用户资料
|
|
4674
4674
|
* @description 此方法用于获取当前用户的资料信息
|
|
4675
4675
|
* @returns 返回一个 {@link IAsyncRes} 类型 Promise,其中 data 为 {@link IUserProfileInfo} 类型
|
|
4676
|
-
* @since 5.10.
|
|
4676
|
+
* @since 5.10.1
|
|
4677
4677
|
* @example 获取当前用户资料示例:
|
|
4678
4678
|
* ```ts
|
|
4679
4679
|
* const res = await RongIMLib.getMyUserProfile();
|
|
@@ -4687,7 +4687,7 @@ declare function getMyUserProfile(): Promise<IAsyncRes<IUserProfileInfo>>;
|
|
|
4687
4687
|
* @description 此方法用于设置用户信息权限
|
|
4688
4688
|
* @param Visibility 用户信息权限
|
|
4689
4689
|
* @returns 返回一个 {@link IAsyncRes} 类型 Promise,其中 data 为 void 类型
|
|
4690
|
-
* @since 5.10.
|
|
4690
|
+
* @since 5.10.1
|
|
4691
4691
|
* @example 用户权限设置示例:
|
|
4692
4692
|
* ```ts
|
|
4693
4693
|
* const visibility = RongIMLib.UserProfileVisibility.EVERYONE;
|
|
@@ -4701,7 +4701,7 @@ declare function updateMyUserProfileVisibility(visibility: UserProfileVisibility
|
|
|
4701
4701
|
* @category 用户资料
|
|
4702
4702
|
* @description 此方法用于获取用户信息权限
|
|
4703
4703
|
* @returns 返回一个 {@link IAsyncRes} 类型 Promise,其中 data 为 {@link UserProfileVisibility} 类型
|
|
4704
|
-
* @since 5.10.
|
|
4704
|
+
* @since 5.10.1
|
|
4705
4705
|
* @example 用户权限获取示例:
|
|
4706
4706
|
* ```ts
|
|
4707
4707
|
* const res = await RongIMLib.getMyUserProfileVisibility();
|
|
@@ -4715,7 +4715,7 @@ declare function getMyUserProfileVisibility(): Promise<IAsyncRes<UserProfileVisi
|
|
|
4715
4715
|
* @description 此方法用于按用户应用号精确搜索用户信息
|
|
4716
4716
|
* @param uniqueId 用户应用号
|
|
4717
4717
|
* @returns 返回一个 {@link IAsyncRes} 类型 Promise,其中 data 为 {@link IUserProfileInfo} 类型
|
|
4718
|
-
* @since 5.10.
|
|
4718
|
+
* @since 5.10.1
|
|
4719
4719
|
* @example 按用户应用号精确搜索用户信息示例:
|
|
4720
4720
|
* ```ts
|
|
4721
4721
|
* const uniqueId = 'uniqueId';
|