@onyx-p/imlib-web 2.2.2 → 2.2.3
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 +12 -2
- package/index.umd.js +12 -2
- package/package.json +1 -1
package/index.esm.js
CHANGED
@@ -20846,8 +20846,18 @@ class MessageLoader {
|
|
20846
20846
|
MessageReceiptManager$1.get()?.sendArrivalReceipts(normalMessages);
|
20847
20847
|
}
|
20848
20848
|
if (done) {
|
20849
|
-
|
20850
|
-
|
20849
|
+
let seqNo_long;
|
20850
|
+
if (seqno) {
|
20851
|
+
if (Long.isLong(seqno)) {
|
20852
|
+
seqNo_long = seqno;
|
20853
|
+
} else if (typeof seqno === 'string') {
|
20854
|
+
seqNo_long = Long.fromString(seqno);
|
20855
|
+
} else if (typeof seqno === 'number') {
|
20856
|
+
seqNo_long = Long.fromNumber(seqno);
|
20857
|
+
}
|
20858
|
+
}
|
20859
|
+
if (seqNo_long && Long.isLong(seqNo_long) && seqNo_long.ge(this.serverMsgSeqno)) {
|
20860
|
+
this.serverMsgSeqno = seqNo_long;
|
20851
20861
|
}
|
20852
20862
|
const isFinished = this.serverMsgSeqno.lessThanOrEqual(offset);
|
20853
20863
|
logger.info(`pullMsg success -> syncTime: ${offset}, finished: ${isFinished}`);
|
package/index.umd.js
CHANGED
@@ -20852,8 +20852,18 @@
|
|
20852
20852
|
MessageReceiptManager$1.get()?.sendArrivalReceipts(normalMessages);
|
20853
20853
|
}
|
20854
20854
|
if (done) {
|
20855
|
-
|
20856
|
-
|
20855
|
+
let seqNo_long;
|
20856
|
+
if (seqno) {
|
20857
|
+
if (Long.isLong(seqno)) {
|
20858
|
+
seqNo_long = seqno;
|
20859
|
+
} else if (typeof seqno === 'string') {
|
20860
|
+
seqNo_long = Long.fromString(seqno);
|
20861
|
+
} else if (typeof seqno === 'number') {
|
20862
|
+
seqNo_long = Long.fromNumber(seqno);
|
20863
|
+
}
|
20864
|
+
}
|
20865
|
+
if (seqNo_long && Long.isLong(seqNo_long) && seqNo_long.ge(this.serverMsgSeqno)) {
|
20866
|
+
this.serverMsgSeqno = seqNo_long;
|
20857
20867
|
}
|
20858
20868
|
const isFinished = this.serverMsgSeqno.lessThanOrEqual(offset);
|
20859
20869
|
logger.info(`pullMsg success -> syncTime: ${offset}, finished: ${isFinished}`);
|