@onyx-p/imlib-web 1.6.3 → 1.6.4

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
@@ -17472,7 +17472,7 @@ const GetNewSettingDialogListResp = $root$1.GetNewSettingDialogListResp = (() =>
17472
17472
  };
17473
17473
  return GetNewSettingDialogListResp;
17474
17474
  })();
17475
- const NewMessageNotificationResp = $root$1.NewMessageNotificationResp = (() => {
17475
+ $root$1.NewMessageNotificationResp = (() => {
17476
17476
  /**
17477
17477
  * Properties of a NewMessageNotificationResp.
17478
17478
  * @exports INewMessageNotificationResp
@@ -20123,8 +20123,7 @@ class LibLoader {
20123
20123
  }
20124
20124
  messageListener(cmdId, body) {
20125
20125
  if (cmdId === CmdIds$1.NewMessagePush) {
20126
- const newMsgNotiResp = NewMessageNotificationResp.decode(body);
20127
- this.messageLoader?.syncMsg(newMsgNotiResp.seqno);
20126
+ console.log('messageListener: new message push');
20128
20127
  } else if (cmdId === CmdIds$1.DialogChangedPush) {
20129
20128
  ConversationManager$1.get().syncConversationStatus();
20130
20129
  } else {
package/index.umd.js CHANGED
@@ -17478,7 +17478,7 @@
17478
17478
  };
17479
17479
  return GetNewSettingDialogListResp;
17480
17480
  })();
17481
- const NewMessageNotificationResp = $root$1.NewMessageNotificationResp = (() => {
17481
+ $root$1.NewMessageNotificationResp = (() => {
17482
17482
  /**
17483
17483
  * Properties of a NewMessageNotificationResp.
17484
17484
  * @exports INewMessageNotificationResp
@@ -20129,8 +20129,7 @@
20129
20129
  }
20130
20130
  messageListener(cmdId, body) {
20131
20131
  if (cmdId === CmdIds$1.NewMessagePush) {
20132
- const newMsgNotiResp = NewMessageNotificationResp.decode(body);
20133
- this.messageLoader?.syncMsg(newMsgNotiResp.seqno);
20132
+ console.log('messageListener: new message push');
20134
20133
  } else if (cmdId === CmdIds$1.DialogChangedPush) {
20135
20134
  ConversationManager$1.get().syncConversationStatus();
20136
20135
  } else {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onyx-p/imlib-web",
3
- "version": "1.6.3",
3
+ "version": "1.6.4",
4
4
  "main": "index.umd.js",
5
5
  "module": "index.esm.js",
6
6
  "types": "types/index.d.ts",