@onyx-p/imlib-web 1.5.9 → 1.6.1
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.esm.js +3 -1
- package/index.umd.js +3 -1
- package/package.json +1 -1
package/index.esm.js
CHANGED
@@ -13543,6 +13543,7 @@ class WebSocketServer {
|
|
13543
13543
|
return;
|
13544
13544
|
}
|
13545
13545
|
if (networkResponse.code) {
|
13546
|
+
logger.error('on received message error -> ', networkResponse.code);
|
13546
13547
|
this.onDisconnect(ConnectionStatus.DISCONNECT_BY_SERVER);
|
13547
13548
|
return;
|
13548
13549
|
}
|
@@ -13551,6 +13552,7 @@ class WebSocketServer {
|
|
13551
13552
|
return;
|
13552
13553
|
}
|
13553
13554
|
if (networkResponse.cmdId === CmdIds$1.SignOutPish || networkResponse.cmdId === CmdIds$1.SignOutPish2) {
|
13555
|
+
logger.error('on received signoutpush -> ', networkResponse.cmdId);
|
13554
13556
|
this.onDisconnect(ConnectionStatus.DISCONNECT_BY_SERVER);
|
13555
13557
|
return;
|
13556
13558
|
}
|
@@ -28553,7 +28555,7 @@ function onceEventListener(eventType, listener, target) {
|
|
28553
28555
|
imClient.once(eventType, listener, target);
|
28554
28556
|
}
|
28555
28557
|
const removeEventListener = (eventType, listener, target) => {
|
28556
|
-
imClient
|
28558
|
+
imClient?.off(eventType, listener, target);
|
28557
28559
|
};
|
28558
28560
|
const getConversationList = async options => {
|
28559
28561
|
logger.debug('get conversation list ->');
|
package/index.umd.js
CHANGED
@@ -13549,6 +13549,7 @@
|
|
13549
13549
|
return;
|
13550
13550
|
}
|
13551
13551
|
if (networkResponse.code) {
|
13552
|
+
logger.error('on received message error -> ', networkResponse.code);
|
13552
13553
|
this.onDisconnect(exports.ConnectionStatus.DISCONNECT_BY_SERVER);
|
13553
13554
|
return;
|
13554
13555
|
}
|
@@ -13557,6 +13558,7 @@
|
|
13557
13558
|
return;
|
13558
13559
|
}
|
13559
13560
|
if (networkResponse.cmdId === CmdIds$1.SignOutPish || networkResponse.cmdId === CmdIds$1.SignOutPish2) {
|
13561
|
+
logger.error('on received signoutpush -> ', networkResponse.cmdId);
|
13560
13562
|
this.onDisconnect(exports.ConnectionStatus.DISCONNECT_BY_SERVER);
|
13561
13563
|
return;
|
13562
13564
|
}
|
@@ -28559,7 +28561,7 @@
|
|
28559
28561
|
imClient.once(eventType, listener, target);
|
28560
28562
|
}
|
28561
28563
|
const removeEventListener = (eventType, listener, target) => {
|
28562
|
-
imClient
|
28564
|
+
imClient?.off(eventType, listener, target);
|
28563
28565
|
};
|
28564
28566
|
const getConversationList = async options => {
|
28565
28567
|
logger.debug('get conversation list ->');
|