easemob-websdk 4.3.0-beta → 4.3.0
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/CHANGELOG.md +3 -2
- package/Easemob-chat.d.ts +3 -3
- package/contact/contact.d.ts +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/Easemob-chat.d.ts
CHANGED
|
@@ -4324,7 +4324,7 @@ export declare namespace EasemobChat {
|
|
|
4324
4324
|
/** The user ID. You can type a specific user ID to add a single user to the blocklist or type an array of user IDs, like ["user1","user2"], to add multiple users. */
|
|
4325
4325
|
name: UserId | UserId[];
|
|
4326
4326
|
}
|
|
4327
|
-
): Promise<OperateResult
|
|
4327
|
+
): Promise<AsyncResult<OperateResult>>;
|
|
4328
4328
|
|
|
4329
4329
|
/**
|
|
4330
4330
|
* @deprecated Use {@link addUsersToBlocklist} instead.
|
|
@@ -4335,7 +4335,7 @@ export declare namespace EasemobChat {
|
|
|
4335
4335
|
/** The user ID. You can type a specific user ID to add a single user to the blocklist or type an array of user IDs, like ["user1","user2"], to add multiple users. */
|
|
4336
4336
|
name: UserId | UserId[];
|
|
4337
4337
|
}
|
|
4338
|
-
): Promise<
|
|
4338
|
+
): Promise<AsyncResult<OperateResult>>;
|
|
4339
4339
|
|
|
4340
4340
|
/**
|
|
4341
4341
|
* Adds a contact to the blocklist.
|
|
@@ -4350,7 +4350,7 @@ export declare namespace EasemobChat {
|
|
|
4350
4350
|
/** The user ID. You can type a specific user ID to add a single user to the blocklist or type an array of user IDs, like ["user1","user2"], to add multiple users. */
|
|
4351
4351
|
name: UserId | UserId[];
|
|
4352
4352
|
}
|
|
4353
|
-
): Promise<
|
|
4353
|
+
): Promise<AsyncResult<OperateResult>>;
|
|
4354
4354
|
|
|
4355
4355
|
/** @deprecated Use {@link removeUserFromBlackList} instead. */
|
|
4356
4356
|
removeFromBlackList(
|
package/contact/contact.d.ts
CHANGED
|
@@ -218,7 +218,7 @@ export interface Contact {
|
|
|
218
218
|
addUsersToBlocklist(options: {
|
|
219
219
|
/** The user ID. You can type a specific user ID to add a single user to the blocklist or type an array of user IDs, like ["user1","user2"], to add multiple users. */
|
|
220
220
|
name: UserId | UserId[];
|
|
221
|
-
}): Promise<IndexTypes.OperateResult
|
|
221
|
+
}): Promise<AsyncResult<IndexTypes.OperateResult>>;
|
|
222
222
|
|
|
223
223
|
/**
|
|
224
224
|
*
|