@rongcloud/engine 4.6.0-beem.8 → 4.6.0-beem.9
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/dist/index.d.ts +13 -5
- package/dist/index.esm.js +2 -2
- package/dist/index.js +2 -2
- package/dist/index.umd.js +1 -1
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* RCEngine - v4.6.0-beem.
|
|
3
|
-
* CommitId -
|
|
4
|
-
*
|
|
2
|
+
* RCEngine - v4.6.0-beem.9
|
|
3
|
+
* CommitId - a0cd2903ecedf8ef1d8c5477bc9039c063551176
|
|
4
|
+
* Fri Jun 03 2022 12:32:58 GMT+0800 (China Standard Time)
|
|
5
5
|
* ©2020 RongCloud, Inc. All rights reserved.
|
|
6
6
|
*/
|
|
7
7
|
/**
|
|
@@ -908,13 +908,17 @@ declare enum ErrorCode {
|
|
|
908
908
|
*/
|
|
909
909
|
RC_CONN_USER_BLOCKED = 31009,
|
|
910
910
|
/**
|
|
911
|
-
* Disconnect
|
|
911
|
+
* Disconnect,该用户其他设备登录,本端被踢下线;
|
|
912
912
|
*/
|
|
913
913
|
RC_DISCONN_KICK = 31010,
|
|
914
914
|
/**
|
|
915
|
-
* Disconnect
|
|
915
|
+
* Disconnect,连接被服务端主动关闭;
|
|
916
916
|
*/
|
|
917
917
|
RC_DISCONN_EXCEPTION = 31011,
|
|
918
|
+
/**
|
|
919
|
+
* 开启禁止把已在线客户端踢下线开关后,该错误码标识已有同类型端在线,禁止链接;
|
|
920
|
+
*/
|
|
921
|
+
RC_DISCONN_SAME_CLIENT_ON_LINE = 31023,
|
|
918
922
|
/**
|
|
919
923
|
* app 验证Token 验证不通过。所有内部超时,访问失败,返回给客户端sdk都是验证不通过,由服务端日志去看具体是那种失败。
|
|
920
924
|
*/
|
|
@@ -1629,6 +1633,10 @@ declare enum ConnectionStatus {
|
|
|
1629
1633
|
* appkey 不正确
|
|
1630
1634
|
*/
|
|
1631
1635
|
APPKEY_IS_FAKE = 20,
|
|
1636
|
+
/**
|
|
1637
|
+
* 其他端登录,本端禁止连接和重连
|
|
1638
|
+
*/
|
|
1639
|
+
FORBID_RECONNECT_BY_OTHER_SAME_CLIENT = 21,
|
|
1632
1640
|
/**
|
|
1633
1641
|
* 互踢次数过多(`count > 5`),此时可能出现:在其它他设备登陆有 reconnect 逻辑
|
|
1634
1642
|
*/
|