@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 CHANGED
@@ -13636,7 +13636,7 @@ class WebSocketServer {
13636
13636
  resolve(ErrorCode.RC_SOCKET_DISCONNECTED);
13637
13637
  });
13638
13638
  socket.onError(e => {
13639
- logger$1.error('websocket error -> ', e);
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.error('on received signoutpush -> ', networkResponse.cmdId);
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.error('Please do not perform the init method repeatedly');
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.error('websocket error -> ', e);
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.error('on received signoutpush -> ', networkResponse.cmdId);
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.error('Please do not perform the init method repeatedly');
31045
+ logger$1.warn('Please do not perform the init method repeatedly');
31046
31046
  return IMClient.imClient;
31047
31047
  }
31048
31048
  super();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onyx-p/imlib-web",
3
- "version": "2.6.4",
3
+ "version": "2.6.5",
4
4
  "main": "index.umd.js",
5
5
  "module": "index.esm.js",
6
6
  "types": "types/index.d.ts",