@onyx-p/imlib-web 2.6.4 → 2.6.5
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 -3
- package/index.umd.js +3 -3
- package/package.json +1 -1
package/index.esm.js
CHANGED
@@ -13636,7 +13636,7 @@ class WebSocketServer {
|
|
13636
13636
|
resolve(ErrorCode.RC_SOCKET_DISCONNECTED);
|
13637
13637
|
});
|
13638
13638
|
socket.onError(e => {
|
13639
|
-
logger$1.
|
13639
|
+
logger$1.warn('websocket error -> ', e);
|
13640
13640
|
this.onDisconnect(ConnectionStatus.WEBSOCKET_ERROR);
|
13641
13641
|
resolve(ErrorCode.RC_SOCKET_NOT_CREATED);
|
13642
13642
|
});
|
@@ -13700,7 +13700,7 @@ class WebSocketServer {
|
|
13700
13700
|
return;
|
13701
13701
|
}
|
13702
13702
|
if (networkResponse.cmdId === CmdIds$1.SignOutPish || networkResponse.cmdId === CmdIds$1.SignOutPish2) {
|
13703
|
-
logger$1.
|
13703
|
+
logger$1.warn('on received signoutpush -> ', networkResponse.cmdId);
|
13704
13704
|
this.onDisconnect(ConnectionStatus.DISCONNECT_BY_SERVER);
|
13705
13705
|
return;
|
13706
13706
|
}
|
@@ -31036,7 +31036,7 @@ class IMClient extends EventEmitter {
|
|
31036
31036
|
libLoader;
|
31037
31037
|
constructor(options) {
|
31038
31038
|
if (IMClient.imClient) {
|
31039
|
-
logger$1.
|
31039
|
+
logger$1.warn('Please do not perform the init method repeatedly');
|
31040
31040
|
return IMClient.imClient;
|
31041
31041
|
}
|
31042
31042
|
super();
|
package/index.umd.js
CHANGED
@@ -13642,7 +13642,7 @@
|
|
13642
13642
|
resolve(exports.ErrorCode.RC_SOCKET_DISCONNECTED);
|
13643
13643
|
});
|
13644
13644
|
socket.onError(e => {
|
13645
|
-
logger$1.
|
13645
|
+
logger$1.warn('websocket error -> ', e);
|
13646
13646
|
this.onDisconnect(exports.ConnectionStatus.WEBSOCKET_ERROR);
|
13647
13647
|
resolve(exports.ErrorCode.RC_SOCKET_NOT_CREATED);
|
13648
13648
|
});
|
@@ -13706,7 +13706,7 @@
|
|
13706
13706
|
return;
|
13707
13707
|
}
|
13708
13708
|
if (networkResponse.cmdId === CmdIds$1.SignOutPish || networkResponse.cmdId === CmdIds$1.SignOutPish2) {
|
13709
|
-
logger$1.
|
13709
|
+
logger$1.warn('on received signoutpush -> ', networkResponse.cmdId);
|
13710
13710
|
this.onDisconnect(exports.ConnectionStatus.DISCONNECT_BY_SERVER);
|
13711
13711
|
return;
|
13712
13712
|
}
|
@@ -31042,7 +31042,7 @@
|
|
31042
31042
|
libLoader;
|
31043
31043
|
constructor(options) {
|
31044
31044
|
if (IMClient.imClient) {
|
31045
|
-
logger$1.
|
31045
|
+
logger$1.warn('Please do not perform the init method repeatedly');
|
31046
31046
|
return IMClient.imClient;
|
31047
31047
|
}
|
31048
31048
|
super();
|